I "think" this may be fixed in cs:nagios-42.  To be verified.

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~nagios-charmers
Post to     : nagios-charmers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nagios-charmers
More help   : https://help.launchpad.net/ListHelp

Reply via email to