mirror of
https://github.com/oneoffdallas/pfsense-nagios-checks.git
synced 2024-11-24 03:13:44 +01:00
Create nagios_core_services.cfg
This commit is contained in:
parent
d63df99d84
commit
096faa0508
156
nagios_core_services.cfg
Normal file
156
nagios_core_services.cfg
Normal file
@ -0,0 +1,156 @@
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Version
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_version"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Uptime
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_uptime"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description CPU Temperature
|
||||
check_command check_by_ssh!-H <hostname or IP address> -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 <named host>
|
||||
service_description CPU
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_cpu -w 80 -c 95"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Load
|
||||
check_command check_by_ssh!-H <hostname or IP address> -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 <named host>
|
||||
service_description Memory
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_mem -w 90 -c 95"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Total Processes
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_procs -w 200 -c 400"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description State Table
|
||||
check_command check_by_ssh!-H <hostname or IP address> -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 <named host>
|
||||
service_description LAN Interface
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_interface -i re1 -name LAN"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description VPN To Somewhere
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "sudo /usr/local/libexec/nagios/check_pf_ipsec_tunnel -e <external hostname or IP address> -name Somewhere"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Ping To OpenDNS
|
||||
check_command check_by_ssh!-H <hostname or IP address> -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 <named host>
|
||||
service_description NTP Variation
|
||||
check_command check_by_ssh!-H <hostname or IP address> -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 <named host>
|
||||
service_description Service: pinger
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_services -name pinger"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Service: dhcpd
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_services -name dhcpd"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Service: openvpn
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_services -name openvpn server 1"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Service: squid
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_services -name squid"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
define service{
|
||||
use generic-service
|
||||
host_name <named host>
|
||||
service_description Service: squidguard
|
||||
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_services -name squidGuard"
|
||||
notifications_enabled 1
|
||||
servicegroups firewall
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user