Home Monitoring Sample Nagios Service configuration file
Sample Nagios Service configuration file PDF Print E-mail
Written by Siva   
Tuesday, 23 November 2010 11:47

 

#define service{

#        use                             generic-service         ; Name of service template to use

#        host_name                       WEB-LIN02

#        service_description             HTTS

#        is_volatile                     0

#        check_period                    24x7

#        max_check_attempts              4

#        normal_check_interval           5

#        retry_check_interval            1

#        contact_groups                  admins

#        notification_options            w,u,c,r

#        notification_interval           960

#        notification_period             24x7

#        check_command                   check_https

#        }

 

 

#define service{

#        use                             generic-service         ; Name of service template to use

#        host_name                       WEB-LIN02

#        service_description             FTP

#        is_volatile                     0

#        check_period                    24x7

#        max_check_attempts              4

#        normal_check_interval           5

#        retry_check_interval            1

#        contact_groups                  admins

#        notification_options            w,u,c,r

#        notification_interval           960

#        notification_period             24x7

#        check_command                   check_ftp

#        }

 

 

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B1S2

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        } 

       

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B2S1

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        } 

  

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B2S2

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        } 

 

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B2S3

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        } 

 

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B2S4

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        } 

 

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       SWITCH-B5S1

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        }

 

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       ROUTER-3

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        }   

  

define service{

        use                             generic-service         ; Name of service template to use

        host_name                       ROUTER-4

        service_description             PING

        is_volatile                     0

        check_period                    24x7

        max_check_attempts              4

        normal_check_interval           5

        retry_check_interval            1

        contact_groups                  admins

        notification_options            w,u,c,r

        notification_interval           960

        notification_period             24x7

        check_command                   check_ping!100.0,20%!500.0,60%

        }   

  

#define service{

#        use                             generic-service         ; Name of service template to use

#        host_name                       PIX-MHPix

#        service_description             PING

#        is_volatile                     0

#        check_period                    24x7

#        max_check_attempts              4

#        normal_check_interval           5

#        retry_check_interval            1

#        contact_groups                  admins

#        notification_options            w,u,c,r

#        notification_interval           960

#        notification_period             24x7

#        check_command                   check_ping!100.0,20%!500.0,60%

#        } 

 
 

Advertisement

Featured Links:
HREmail.com
Looking for job? Try HREmail.com
Want to have CMS based Websites?
Try siliconwebcreators.com to CMS based websites.
VM Solutions Inc
For best VM solutions..
Digital Procedure Inc.
Looking for Oracle /SAP /Weblogic Consulting services? visit digitalprocedure.com