Invalid values for service after changes to config files

Mike McClure mmcclure at pneservices.com
Wed Oct 8 02:02:05 CEST 2003


I think you need a retry_check_interval value for the service.

> Hello;
>  I am running Nagios 1.1 on RH 7.3. I am attempting to receive snmp
> traps from a Storagetek D280 using the NSCA (2.4) addon. I have added
> the device to the appropriate files (hosts & services entries shown
> below).
>  I get this error when I try to check the validity of the changes to my
> config files before I reload nagios. Deleteing this host/service brings
> back a clean check.
>   BTW- The sevices entry was cut/pasted from the docs. I am also
> assuming that you need to set up this type of sevice just as any other
> service.
>  Does this look familiar to anyone, and am I missing something?
>
> Thanks for the help.....
>
> -Drew
>
> Reading configuration data...
>
> Error: Invalid max_attempts, check_interval, retry_interval, or
> notification_interval value for service 'D280_FAILURE' on host
> 'is-d280-1a'
>
> Error: Could not register service (config file
> '/usr/local/nagios/etc/services.cfg', line 3602)
>
> # Service definition
> define service{
>         host_name                       is-d280-1a
>         service_description             D280_FAILURE
>         is_volatile                     1
>         active_checks_enabled           0
>         passive_checks_enabled          1
>         max_check_attempts              1
>         contact_groups                  admins
>         notification_interval           0
>         notification_period             24x7
>         notification_options            w,c,r
>         check_command                   check_none
> }
>
> # 'is-d280-1a' host definition
> define host{
>         use                     generic-host            ; Name of host
> template to use
>
>         host_name               is-d280-1a
>         alias                   is-d280-1a
>         address                 143.100.12.1
>         check_command           check-host-alive
>         max_check_attempts      10
>         notification_interval   120
>         notification_period     24x7
>         notification_options    d,u,r
>         }
>
> --
>
> Drew Cullis
> ITS UNIX Sys Admin
> Phone: 303-737-6506   Email: drew.cullis at gwl.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>
>


-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure [at] pneservices [dot] com
mobile: 913-636-5590



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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