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

 

 

 

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               WEB-LIN02

        alias                   WEB-LIN02

        address                 172.16.100.41

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B5S1

        alias                   SWITCH-B5S1

        address                 10.10.250.7

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        } 

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B2S4

        alias                   SWITCH-B2S4

        address                 10.10.250.6

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        } 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B2S3

        alias                   SWITCH-B2S3

        address                 10.10.250.5

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }  

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B2S2

        alias                   SWITCH-B2S2

        address                 10.10.250.4

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }   

   

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B2S1

        alias                   SWITCH-B2S1

        address                 10.10.250.3

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }   

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               SWITCH-B1S2

        alias                   SWITCH-B1S2

        address                 10.10.250.2

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }  

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               ROUTER-3

        alias                   ROUTER-3

        address                 10.20.50.1

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }   

 

define host{

        use                     generic-host; Name of host template to use

        host_name               ROUTER-4

        alias                   ROUTER-4

        address                 10.22.50.1

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }

 

 

define host{

        use                     generic-host; Name of host template to use

        host_name               PIX-MHPix

        alias                   PIX-MHPix

        address                 10.10.1.60

        check_command           check-host-alive

        max_check_attempts      10

        notification_interval   120

        notification_period     24x7

        notification_options    d,r

        contact_groups  admins

        }  

 
 

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