config check problem
Stefan Kargl
stefan.kargl at designers.at
Mon Mar 15 17:16:26 CET 2004
kevin wrote:
> <snip>
>
>>
>> # Service definition
>> define service{
>> use generic-service ; Name
>> of service template to use
>>
>> host_name gateway
>> service_description PING
>> is_volatile 0
>> check_command check_ping!100.0,20%!500.0,60%
>> check_period 24x7
>> max_check_attempts 3
>> normal_check_interval 5
>> retry_check_interval 1
>> contact_groups superuser
>> notification_interval 240
>> notification_period 24x7
>> notification_options c,r
>> }
>>
>> the path to the services.cfg is set correctly in nagios.cfg, group
>> superuser exists with users, host gateway exists
>>
> I would try adding a register line to the service definition. Below
> is an example of one of my service definitions.
> define service{
> use generic-passive ; Name of
> service template to use
> hostgroup_name SMTP
> service_description port8126
> contact_groups smtp-contacts, Administrators
> notification_options w,c,r
> check_command service-is-stale
> register 1
> }
> Kevin Calhoon
>
that didn´t do the trick - here some additional information:
nagios version 1.2
debian unstable
Stefan Kargl
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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