diff --git a/nagios_core_services.cfg b/nagios_core_services.cfg new file mode 100644 index 0000000..cdc18ff --- /dev/null +++ b/nagios_core_services.cfg @@ -0,0 +1,156 @@ +define service{ + use generic-service + host_name + service_description Version + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_version" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Uptime + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_uptime" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description CPU Temperature + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_cpu_temp -w 75 -c 90" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description CPU + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_cpu -w 80 -c 95" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Load + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_load -w 3,2.8,2.6 -c 10,7,5 -r" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Memory + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_mem -w 90 -c 95" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Total Processes + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_procs -w 200 -c 400" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description State Table + check_command check_by_ssh!-H -C "sudo /usr/local/libexec/nagios/check_pf_state_table -w 60 -c 90" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description LAN Interface + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_interface -i re1 -name LAN" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description VPN To Somewhere + check_command check_by_ssh!-H -C "sudo /usr/local/libexec/nagios/check_pf_ipsec_tunnel -e -name Somewhere" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Ping To OpenDNS + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_ping -H 208.67.222.222 -w 80,10% -c 150,40%" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description NTP Variation + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_ntp_time -H pool.ntp.org" + check_interval 30 + retry_interval 3 + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Service: pinger + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_services -name pinger" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Service: dhcpd + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_services -name dhcpd" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Service: openvpn + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_services -name openvpn server 1" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Service: squid + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_services -name squid" + notifications_enabled 1 + servicegroups firewall + } + +define service{ + use generic-service + host_name + service_description Service: squidguard + check_command check_by_ssh!-H -C "/usr/local/libexec/nagios/check_pf_services -name squidGuard" + notifications_enabled 1 + servicegroups firewall + } + +