How to use check_cluster plugin
Philip Schiller
p.schiller at plusoptix.de
Wed Jun 26 09:21:30 CEST 2024
Hello Plugin-Teams,
I did setup a monitoring nagios system for our cluster but i have some
problems to find out the correct command line for the nagios plugin
check_cluster.
I try to run it manually, afterwards I'll implement it in my nagios
systems, so please help me with the command line approach.
I tried a lot of different approaches, this is what makes the most sense
for me, but it still does not work:
/check_cluster -s -l "Host Cluster" -d "pri-vm-1,pri-vm-2" -w "0" -c "0"
So from my undestanding:
-s / I want to check services from clusters like VM's
-l / I give the Check a Labelname
-d / I list different services i want to check
-w / I set warnings threshhold to 0 meaning 1 or more warnings i get a
notification
-c / Same as with warnings but for critical
What is working would be the following command line:
/check_cluster -s -l "Host Cluster" -d "0,0" -w "0" -c "0"
but I don't understand the benefit as i just tell the plugin -d "0,0". I
am not really monitoring.
One last question would be if a stopped VM has status Critical or is it
still Ok? With this information i could troubleshoot.
Please correct my first stated command line approach or tell me if I
have to configure anything additional in the nrpe.cfg.
With kind regards,
Philip Schiller.
More information about the Help
mailing list