Problem in services.cfg

prabhu.anandh at wipro.com prabhu.anandh at wipro.com
Wed Feb 11 09:17:48 CET 2004


hi guys,
when i give the command " /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg " I got the following error.
 
 
Error: Template 'generic-service' specified in service definition could
not be not found (config file '/usr/local/nagios/etc/services.cfg', line
56)

This is the place where the problem is :
 
# Service definition
error points to this  place----->define service{
        use                             generic-service         ; Name
of service template to use
 
        host_name                       ipv61
        service_description             PING
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  nagios
        notification_interval           120
        notification_period             24x7
        notification_options            c,r
        check_command                   check_ping!100.0,20%!500.0,60%
        }

help me to solve this problem.
 
regards,
Prabhu Anandh 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040211/14d5d4f8/attachment.html>


More information about the Users mailing list