max_check_attempts error

jeremiah jeremiah.jester at panasonic.aero
Wed Oct 15 00:09:40 CEST 2008


Also, here are the first 20 or so lines of my generic-host_nagios2.cfg.

# Generic host definition template
define host{
  name                          generic-host    ; The name of this host
template - referenced in other host definitions, used for template
recursion/resolution
  notifications_enabled         1       ; Host notifications are enabled
  event_handler_enabled         1       ; Host event handler is enabled
  flap_detection_enabled        1       ; Flap detection is enabled
  process_perf_data             1       ; Process performance data
  retain_status_information     1       ; Retain status information
across program restarts
  retain_nonstatus_information  1       ; Retain non-status information
across program restarts
  register                      0       ; DONT REGISTER THIS DEFINITION
- ITS NOT A REAL HOST, JUST A TEMPLATE!
}

define host{
  host_name  pse01
  alias      dev
  address    (ip hidden)
  use        generic-host
}


On Tue, 2008-10-14 at 15:06 -0700, jeremiah wrote:
> Hello, 
> 
> I am relatively new to nagios. Am using version 2. 
> 
> Can anyone shed any light on this error?
> 
> ++++
> Error: Invalid max_check_attempts value for host 'pse01'
> Error: Could not register host (config file
> '/etc/nagios2/conf.d/generic-host_nagios2.cfg', starting on line 13)
> ++++
> 
> Thanks,
> JJ



Disclaimer: The information contained in this transmission, including any 
attachments, may contain confidential information of Panasonic Avionics
Corporation.  This transmission is intended only for the use of the 
addressee(s) listed above.  Unauthorized review, dissemination or other use 
of the information contained in this transmission is strictly prohibited. 
If you have received this transmission in error or have reason to believe 
you are not authorized to receive it, please notify the sender by return 
email and promptly delete the transmission.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list