Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/usr/local/nagios/etc/objects/computerisms.lan.cfg: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 01:19, 19 September 2013

define host{
        use                     linux-server
        host_name               houselian
        alias                   houselian
        address                 192.168.26.10
        }

define host{
        use                     linux-server
        host_name               porchlian
        alias                   porchlian
        address                 192.168.26.1
        }

define host{
        use                     linux-server
        host_name               shedlian
        alias                   shedlian
        address                 192.168.26.11
        }

define hostgroup{
        hostgroup_name          Computerisms LAN ; The name of the hostgroup
        alias                   Computerisms Internal ; Long name of the group
        members                 porchlian, shedlian
        }

define service{
        use                             generic-service         ; Name of service template to use
        hostgroup_name                  Computerisms LAN
        service_description             PING
        check_command                   check_ping!100.0,20%!500.0,60%

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             PING
	check_command			check_ping!100.0,20%!500.0,60%
        }

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Root Partition
	check_command			check_nrpe!check_disc1
	}

define service{
	use				generic-service
	host_name			shedlian
	service_description		First Mounted Partition
	check_command			check_nrpe!check_disc2
	}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             Root Partition
	check_command			check_local_disk!10%!5%!/
        }

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Remote Users Check
	check_command			check_nrpe!check_users
	}

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Current Load
	check_command			check_nrpe!check_load
	}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             Current Load
	check_command			check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
        }

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Zombie Processes
	check_command			check_nrpe!check_zombie_procs
	}

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Total Processes
	check_command			check_nrpe!check_total_procs
	}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             Total Processes
	check_command			check_local_procs!150!200!RSZDT
        }

define service{
	use				generic-service
        hostgroup_name                  Computerisms LAN
	service_description		Swap Usage
	check_command			check_nrpe!check_swap
	}

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             Swap Usage
	check_command			check_local_swap!90!50
        }

define service{
        use                             generic-service         ; Name of service template to use
        hostgroup_name                  Computerisms LAN
        service_description             Memory Usage
	check_command			check_nrpe!check_mem_usage
        }

define service{
        use                             local-service         ; Name of service template to use
        host_name                       houselian
        service_description             Memory Usage
	check_command			check_mem_usage
        }