Go to file
Yavuz Aydın 0802c3c459 Delete 'restart_service_from_remote' 2021-10-07 10:48:03 +02:00
README.md Delete 'restart_service_from_remote' 2021-10-07 10:48:03 +02:00
check_reboot-required first commit 2021-01-07 17:18:45 +01:00
restart_service Small changes 2021-10-07 10:47:15 +02:00
stat_net.pl Added stat_net.pl 2021-06-11 09:17:24 +02:00

README.md

monitoring-plugins

Monitoring plugins for Nagios, Icinga and all other NRPE compatible monitoring solutions

check_reboot-required

Plugin for NRPE (Nagios Remote Plugin Executor) for Debian/Ubuntu and Red Hat/CentOS to check if a reboot is required and also list packages that requires reboot

stat_net.pl

Plugin for checking network errors and statictics

restart_service

Event command to restart a service. Restarting a service will require sudo privileges on systemctl / service binaries. Add the following to /etc/sudoers on the client machine:

icinga ALL=(ALL) NOPASSWD: /bin/systemctl restart *
icinga ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart *
icinga ALL=(ALL) NOPASSWD: /sbin/service * restart
icinga ALL=(ALL) NOPASSWD: /usr/sbin/service * restart

If your Icinga2 client runs as a different user adjust as necessary.

This is meant for use with a command_endpoint set to the client. See official documentation examples.