Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nagios_plugins [2015/10/08 10:25] steve |
nagios_plugins [2015/10/08 10:41] steve |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[NRPE]] | * [[NRPE]] | ||
- | === check_disk === | + | ==== check_disk ==== |
Check the amount of disk space available. | Check the amount of disk space available. | ||
Line 14: | Line 14: | ||
</code> | </code> | ||
- | === check_load === | + | ==== check_load ==== |
Check the current system load average. The load average format is the same used by "uptime" and "w". | Check the current system load average. The load average format is the same used by "uptime" and "w". | ||
Line 26: | Line 26: | ||
</code> | </code> | ||
- | === check_procs === | + | ==== check_procs ==== |
Check for running processes. | Check for running processes. | ||
Line 43: | Line 43: | ||
<code> | <code> | ||
- | check_procs -c 1: -u root -a /usr/sbin/sshd | + | check_procs -c 1: -u root -C sshd -a /usr/sbin/sshd |
</code> | </code> | ||
- | === check_swap === | + | ** ntpd ** |
+ | |||
+ | <code> | ||
+ | check_procs -c 1: -u root -C ntpd -a /usr/sbin/ntpd | ||
+ | </code> | ||
+ | |||
+ | ** syslog-ng ** | ||
+ | |||
+ | <code> | ||
+ | check_procs -c 1: -u root -C syslog-ng -a /usr/sbin/syslog-ng | ||
+ | </code> | ||
+ | |||
+ | ==== check_swap ==== | ||
Check swap space. | Check swap space. |