Skip to content

Commit ccb252f

Browse files
committed
fix(args): remove "Supports Nagios ranges" from HELP_TEXTS (not all plugins implement it)
1 parent f784119 commit ccb252f

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

args.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@
4141
'--count': (
4242
'Number of consecutive checks the threshold must be exceeded before alerting.'
4343
),
44-
'--critical': 'CRIT threshold in percent. Supports Nagios ranges.',
45-
'--critical-count': (
46-
'CRIT threshold for the number of matching items. Supports Nagios ranges.'
47-
),
48-
'--critical-seconds': 'CRIT threshold in seconds. Supports Nagios ranges.',
44+
'--critical': 'CRIT threshold in percent.',
45+
'--critical-count': 'CRIT threshold for the number of matching items.',
46+
'--critical-seconds': 'CRIT threshold in seconds.',
4947
'--defaults-file': (
5048
'Specifies a cnf file to read parameters like user, host and password from '
5149
'(for MySQL/MariaDB cnf-style files).'
@@ -105,11 +103,9 @@
105103
'Makes this plugin verbose during the operation. '
106104
'Useful for debugging and seeing what is going on under the hood.'
107105
),
108-
'--warning': 'WARN threshold in percent. Supports Nagios ranges.',
109-
'--warning-count': (
110-
'WARN threshold for the number of matching items. Supports Nagios ranges.'
111-
),
112-
'--warning-seconds': 'WARN threshold in seconds. Supports Nagios ranges.',
106+
'--warning': 'WARN threshold in percent.',
107+
'--warning-count': 'WARN threshold for the number of matching items.',
108+
'--warning-seconds': 'WARN threshold in seconds.',
113109
}
114110

115111

0 commit comments

Comments
 (0)