Removed obsolete information
This commit is contained in:
parent
710a97cf2e
commit
1311b30cea
18
README.md
18
README.md
|
@ -4,20 +4,4 @@ Monitoring plugins for Nagios, Icinga and all other NRPE compatible monitoring s
|
||||||
|
|
||||||
#### check_reboot-required
|
#### check_reboot-required
|
||||||
Plugin for NRPE (Nagios Remote Plugin Executor) for Debian/Ubuntu and Red Hat/CentOS
|
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
|
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](https://icinga.com/docs/icinga-2/latest/doc/03-monitoring-basics/#use-event-commands-to-send-information-from-the-master) examples.
|
|
Loading…
Reference in New Issue