nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #01207
[Bug 1915524] Re: max_check_attempts None
** Changed in: charm-nagios
Milestone: None => 21.04
--
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1915524
Title:
max_check_attempts None
Status in Nagios Charm:
In Progress
Bug description:
Charm shouldn't put in None for max_check_attempts.
Give it a default possibly?
define service {
use generic-service
check_command check_nrpe_H_HOSTADDRESS__ccheck_megacli_t15!
host_name bootstack-pccw-malawi-CTR02
service_description bootstack-pccw-malawi-CTR02-megacli
max_check_attempts None
}
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'bootstack-pccw-malawi-CTR01-ipmi' on host 'bootstack-pccw-malawi-CTR01'
Error: Could not register service (config file '/etc/nagios3/conf.d/charm.cfg', starting on line 6452)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
sed '/max_check_attempts None/d' -i
/etc/nagios3/conf.d/charm.cfg
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1915524/+subscriptions
References