define host { use freebsd-server host_name zweot.vanderzwet.net address 78.46.85.230 } define host { use freebsd-server parents zweot.vanderzwet.net host_name roel.vanderzwet.net } define host { use freebsd-server parents zweot.vanderzwet.net host_name wifisoft.vanderzwet.net } define host{ use freebsd-server host_name buzz.vanderzwet.net } define host { use freebsd-server host_name riff.vanderzwet.net } define host { use freebsd-server host_name wiki.lorentzschool.nl address 145.102.33.45 } define host { use freebsd-server host_name wiki2.lorentzschool.nl address 145.102.33.46 } define host { use freebsd-server check_command check_ssh host_name dellas.wirelessleiden.nl } define host { use freebsd-server host_name siteview.wirelessleiden.nl } define host { use freebsd-server host_name CNodeZwet.wleiden.net parents } define host { use freebsd-server parents CNodeZwet.wleiden.net host_name sunny.wleiden.net } define host { use freebsd-server host_name sunfire.wirelessleiden.nl } define hostgroup { hostgroup_name routers alias Various external polled routers members fritz.box,ns.xs4all.nl,CNodeZwet.wleiden.net } define hostgroup { hostgroup_name vanderzwet.net alias Rick van der Zwet - FreeBSD Servers members buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net,roel.vanderzwet.net,wifisoft.vanderzwet.net } define hostgroup { hostgroup_name lorentzschool.nl alias Lorentzschool education servers - FreeBSD Servers members wiki.lorentzschool.nl,wiki2.lorentzschool.nl } define hostgroup { hostgroup_name wirelessleiden.nl alias WirelessLeiden.nl Project Servers - FreeBSD Servers members siteview.wirelessleiden.nl,dellas.wirelessleiden.nl,sunfire.wirelessleiden.nl,sunny.wleiden.net } # Define a service to "ping" the local machine define service{ use local-service host_name !dellas.wirelessleiden.nl hostgroup_name * service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define a service to check SSH on the local machine. # Disable notifications for this service by default, as not all users may have # SSH enabled. define service{ use local-service hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl service_description SSH check_command check_ssh notifications_enabled 1 } define service{ use local-service host_name !siteview.wirelessleiden.nl hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl service_description HTTP check_command check_http notifications_enabled 1 } define service{ use local-service host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net hostgroup_name vanderzwet.net,wirelessleiden.nl service_description SMTP check_command check_smtp notifications_enabled 1 } define service{ use local-service host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,dellas.wirelessleiden.nl,zweot.vanderzwet.net service_description DNS check_command check_dns notifications_enabled 1 } # # Localhost services only! # # Define a service to check the disk space of the root partition # on the local machine. Warning if < 20% free, critical if # < 10% free space on partition. define service{ use local-service host_name buzz.vanderzwet.net service_description Root Partition check_command check_local_disk!20%!10%!/ } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use local-service host_name buzz.vanderzwet.net service_description Current Users check_command check_local_users!20!50 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use local-service host_name buzz.vanderzwet.net service_description Total Processes check_command check_local_procs!250!400!RSZDT } # Define a service to check the load on the local machine. define service{ use local-service host_name buzz.vanderzwet.net service_description Current Load check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } # Define a service to check the swap usage the local machine. # Critical if less than 10% of swap is free, warning if less than 20% is free define service{ use local-service host_name buzz.vanderzwet.net service_description Swap Usage check_command check_local_swap!20!10 } define service { use local-service host_name riff.vanderzwet.net service_description Interface usage check_command check_snmp_int!vr0 notifications_enabled 0 }