Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
nrpe [2015/06/01 18:03] steve |
nrpe [2015/09/24 16:57] steve |
||
---|---|---|---|
Line 93: | Line 93: | ||
check_command check_nrpe!check_total_procs | check_command check_nrpe!check_total_procs | ||
} | } | ||
+ | </code> | ||
+ | |||
+ | === Commands === | ||
+ | |||
+ | Here are some examples for hadoop: | ||
+ | |||
+ | <code> | ||
+ | command[check_master]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -u hadoop -a "internal_start master" | ||
+ | command[check_rest]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -u hadoop -a "internal_start rest" | ||
+ | command[check_zookeeper]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -u hadoop -a "internal_start zookeeper" | ||
</code> | </code> |