From c918092e569f272464e1e4ffc439bf6869b9e65b Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 15 Jan 2018 22:20:26 +0100 Subject: [PATCH] NRPE-Config erstellt --- etc/nagios/nrpe.d/dienst.cfg | 3 +++ etc/nagios/nrpe.d/os_update.cfg | 2 ++ etc/nagios/nrpe.d/rasp_temp.cfg | 1 + etc/nagios/nrpe.d/total_procs.cfg | 1 + etc/nagios/nrpe_local.cfg | 5 +++++ 5 files changed, 12 insertions(+) create mode 100644 etc/nagios/nrpe.d/dienst.cfg create mode 100644 etc/nagios/nrpe.d/os_update.cfg create mode 100644 etc/nagios/nrpe.d/rasp_temp.cfg create mode 100644 etc/nagios/nrpe.d/total_procs.cfg create mode 100644 etc/nagios/nrpe_local.cfg 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