mirror of
https://github.com/oneoffdallas/pfsense-nagios-checks.git
synced 2024-11-22 02:13:41 +01:00
190 lines
8.9 KiB
INI
190 lines
8.9 KiB
INI
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
|
|
}
|
|
|
|
|
|
define service{
|
|
use generic-service
|
|
host_name <named host>
|
|
service_description eMMC Status LTEA Usage
|
|
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_emmc_status -C LTEA -w 5 -c 8"
|
|
notifications_enabled 1
|
|
servicegroups firewall
|
|
}
|
|
define service{
|
|
use generic-service
|
|
host_name <named host>
|
|
service_description eMMC Status LTEB Usage
|
|
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_emmc_status -C LTEB -w 5 -c 8"
|
|
notifications_enabled 1
|
|
servicegroups firewall
|
|
}
|
|
|
|
define service{
|
|
use generic-service
|
|
host_name <named host>
|
|
service_description eMMC Status Pre EOL Status
|
|
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_emmc_status -C EOL -w 2 -c 3"
|
|
notifications_enabled 1
|
|
servicegroups firewall
|
|
}
|
|
|
|
define service{
|
|
use generic-service
|
|
host_name <named host>
|
|
service_description SMART Status SATA and NVMe drives
|
|
check_command check_by_ssh!-H <hostname or IP address> -C "/usr/local/libexec/nagios/check_pf_smart -i auto -d <device name>"
|
|
notifications_enabled 1
|
|
servicegroups firewall
|
|
} |