aboutsummaryrefslogtreecommitdiff
path: root/certmon.go
diff options
context:
space:
mode:
Diffstat (limited to 'certmon.go')
-rw-r--r--certmon.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/certmon.go b/certmon.go
index 155ff0f..36a520d 100644
--- a/certmon.go
+++ b/certmon.go
@@ -152,7 +152,12 @@ func (res CertResult) FormatPerfData() {
}
func (rl CertResultList) Format() {
- //'label'=value[UOM];[warn];[crit];[min];[max]
+ // For details about Nagios plugin output format, refer to:
+ // https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/pluginapi.html
+ // and
+ // https://nagios-plugins.org/doc/guidelines.html
+ // In particular, performance data format is:
+ // 'label'=value[UOM];[warn];[crit];[min];[max]
fmt.Printf("%s - %s ", statusString[rl.Status], rl.Address)
rl.Result[0].FormatHR()
fmt.Printf(" | ")

Return to:

Send suggestions and report system problems to the System administrator.