commit c918092e569f272464e1e4ffc439bf6869b9e65b Author: Patrick Date: Mon Jan 15 22:20:26 2018 +0100 NRPE-Config erstellt diff --git a/etc/nagios/nrpe.d/dienst.cfg b/etc/nagios/nrpe.d/dienst.cfg new file mode 100644 index 0000000..750e4ac --- /dev/null +++ b/etc/nagios/nrpe.d/dienst.cfg @@ -0,0 +1,3 @@ +command[check_hdd]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mmcblk0p2 +command[check_inode]=/usr/lib/nagios/plugins/check_disk -W 20% -K 10% -p /dev/mmcblk0p2 + diff --git a/etc/nagios/nrpe.d/os_update.cfg b/etc/nagios/nrpe.d/os_update.cfg new file mode 100644 index 0000000..6a66dd2 --- /dev/null +++ b/etc/nagios/nrpe.d/os_update.cfg @@ -0,0 +1,2 @@ + +command[check_os_update]=/usr/lib/nagios/plugins/check_apt -t 30 -l diff --git a/etc/nagios/nrpe.d/rasp_temp.cfg b/etc/nagios/nrpe.d/rasp_temp.cfg new file mode 100644 index 0000000..5bde054 --- /dev/null +++ b/etc/nagios/nrpe.d/rasp_temp.cfg @@ -0,0 +1 @@ +command[check_rasp_temp]=sudo -u root /usr/lib/nagios/plugins/check_rasp_temp -w 60 -c 70 diff --git a/etc/nagios/nrpe.d/total_procs.cfg b/etc/nagios/nrpe.d/total_procs.cfg new file mode 100644 index 0000000..1cc8858 --- /dev/null +++ b/etc/nagios/nrpe.d/total_procs.cfg @@ -0,0 +1 @@ +command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 200 -c 250 diff --git a/etc/nagios/nrpe_local.cfg b/etc/nagios/nrpe_local.cfg new file mode 100644 index 0000000..2a02c5c --- /dev/null +++ b/etc/nagios/nrpe_local.cfg @@ -0,0 +1,5 @@ +###################################### +# Do any local nrpe configuration here +###################################### + +allowed_hosts=icinga, 192.168.110.11, 127.0.0.1