Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
nagios_plugins [2015/10/08 10:22] steve |
nagios_plugins [2015/10/08 10:26] 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 38: | Line 38: | ||
* **-C <command>** - only check for exact match of command, without path | * **-C <command>** - only check for exact match of command, without path | ||
- | ** Check that SSHD is running, with at least one process ** | + | ** OpenSSH ** |
SSHD will have one proc for the master daemon, and one for each user login as well. So setting a minimal range of 1 will check if it is running at all: | SSHD will have one proc for the master daemon, and one for each user login as well. So setting a minimal range of 1 will check if it is running at all: | ||
Line 46: | Line 46: | ||
</code> | </code> | ||
- | === check_swap === | + | ==== check_swap ==== |
Check swap space. | Check swap space. |