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 rplay.vanderzwet.net } define host { use freebsd-server parents zweot.vanderzwet.net host_name wifisoft.vanderzwet.net } define host { use freebsd-server parents zweot.vanderzwet.net host_name pzwet.vanderzwet.net } define host{ use freebsd-server parents host_name buzz.vanderzwet.net } define host { use freebsd-server host_name riff.vanderzwet.net } define host { use freebsd-server check_command check_ssh host_name tyan.wirelessleiden.nl } define host { use freebsd-server host_name siteview.wirelessleiden.nl } define host { use freebsd-server host_name HybridZwet.wleiden.net max_check_attempts 60 } define host { use freebsd-server parents HybridZwet.wleiden.net host_name sunny.wleiden.net max_check_attempts 60 } 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,HybridZwet.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,rplay.vanderzwet.net,wifisoft.vanderzwet.net,pzwet.vanderzwet.net } define hostgroup { hostgroup_name wirelessleiden.nl alias WirelessLeiden.nl Project Servers - FreeBSD Servers members siteview.wirelessleiden.nl,tyan.wirelessleiden.nl,sunfire.wirelessleiden.nl,sunny.wleiden.net } # 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 host_name !riff.vanderzwet.net,!buzz.vanderzwet.net,!rplay.vanderzwet.net service_description SSH check_command check_ssh notifications_enabled 1 } define service{ use local-service host_name riff.vanderzwet.net,buzz.vanderzwet.net,rplay.vanderzwet.net service_description SSH check_command check_ssh!-p 1022 notifications_enabled 1 } define service{ use local-service host_name fritz.box,HybridZwet.wleiden.net,pzwet.vanderzwet.net service_description HTTP check_command check_http notifications_enabled 1 } define service { use local-service host_name tyan.wirelessleiden.nl service_description HTTP - Drupal check_command check_http! -H www.wirelessleiden.nl -s 'Voorpagina' notifications_enabled 1 } define service { use local-service host_name tyan.wirelessleiden.nl service_description HTTP - SVN check_command check_http! -H svn.wirelessleiden.nl -u /svn -s 'Revision' notifications_enabled 1 } define service { use local-service host_name zweot.vanderzwet.net service_description HTTP - Trac check_command check_http! -H rickvanderzwet.nl -s 'FreeBSD' notifications_enabled 1 } define service { use local-service host_name zweot.vanderzwet.net service_description HTTP - SVN check_command check_http! -H rickvanderzwet.nl -u /svn/personal -s 'svn version' notifications_enabled 1 } define service { use local-service host_name wifisoft.vanderzwet.net service_description HTTP - Trac check_command check_http! -H wifisoft.org -s 'About' notifications_enabled 1 } define service { use local-service host_name wifisoft.vanderzwet.net service_description HTTP - Drupal check_command check_http! -H opencommunitycamp.org -s 'Program' notifications_enabled 1 } define service { use local-service host_name tyan.wirelessleiden.nl service_description HTTP - Trac check_command check_http! -H wirelessleiden.nl -u /projects -s 'SaveEnergy' notifications_enabled 1 } define service { use local-service host_name tyan.wirelessleiden.nl service_description HTTP - MoinMoin check_command check_http! -H wiki.wirelessleiden.nl -s 'Uitsluiting' notifications_enabled 1 } define service { use local-service host_name tyan.wirelessleiden.nl service_description HTTP - Mailman check_command check_http! -H lijst.wirelessleiden.nl -s 'Vrijwilligers' notifications_enabled 1 } define service use local-service host_name rplay.vanderzwet.net service_description HTTP - WLHeatmap check_command check_http! -H wleiden.maps.vanderzwet.net -u http://wleiden.maps.vanderzwet.net/heatmap/ -s 'Stichting Wireless Leiden' notifications_enabled 1 } define service { use local-service host_name riff.vanderzwet.net,buzz.vanderzwet.net,sunny.wleiden.net,sunfire.wirelessleiden.nl service_description HTTP - WL Services Proxy servicegroups wlservices check_command check_http! -u /wleiden/ -s 'Wireless Leiden Services' max_check_attempts 60 } define servicedependency { host_name riff.vanderzwet.net,buzz.vanderzwet.net,sunny.wleiden.net service_description HTTP - WL Services Proxy dependent_host_name HybridZwet.wleiden.net dependent_service_description HTTP execution_failure_criteria w,c,u notification_failure_criteria w,c,u } define service{ use local-service host_name !riff.vanderzwet.net,!siteview.wirelessleiden.nl,!sunny.wleiden.net,!sunfire.wirelessleiden.nl 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,tyan.wirelessleiden.nl,zweot.vanderzwet.net,ns.xs4all.nl 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 siteview.wirelessleiden.nl service_description Interface usage em0 check_command check_snmp_int!em0 } define service { use local-service host_name riff.vanderzwet.net service_description Interface usage vr0 check_command check_snmp_int!vr0 } define service { use local-service host_name riff.vanderzwet.net service_description Interface usage vr1 check_command check_snmp_int!vr1 } define service { use local-service host_name zweot.vanderzwet.net service_description Interface usage re0 check_command check_snmp_int!re0 } define service { use local-service host_name tyan.wirelessleiden.nl service_description Interface usage bge1 check_command check_snmp_int!bge1 } define service { use local-service host_name zweot.vanderzwet.net service_description NTP Server check_command check_ntp_peer } define service { use local-service host_name buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net service_description ICMP under IPv6 check_command check_ping_ipv6 } define service { use local-service host_name tyan.wirelessleiden.nl service_description ICMP under IPv6 check_command check_ping_ipv6_addr!2001:610:600:850::1 } define servicegroup { servicegroup_name wlservices alias Wireless Leiden Services }