Hey all
bit new to Nagios monitoring having taken over the job from someone else so any help here would be appreciated.
Just set up a new Aerospike cluster of 3, and trying to get a few bits monitored in check mk.
followed the read me and got all parts configured, aerospike_nagios.py on both boxes, check_nrpe command working ok. NRPE configured to accept commands and arguments.
i can run the following command from the Nagios box
/opt/omd/versions/1.20/lib/nagios/plugins/check_nrpe -H remotehost1 -c aerospike -a free-pct-memory 40 30
and returns a nice
Aerospike Stats - free-pct-memory=99
When i pipe this into the check mk interface it returns (null)
when i change the command to below
define service {
use check_mk_perf,check_mk_default
host_name remotehost1
service_description Aerospike available PCT memory
check_command check_nrpe!aerospike -a free-pct-memory 40 30
active_checks_enabled 1
service_groups Aerospike-Service }
it returns (Return code of 127 is out of bounds - plugin may be missing)
when i execute this on the command line i get the below
-bash: /opt/omd/versions/1.20/lib/nagios/plugins/check_nrpeaerospike_nagios.py: No such file or directory
that is running any variation of
/opt/omd/versions/1.20/lib/nagios/plugins/check_nrpe!aerospike
even without any arguments after so im guessing the problem lies on the Nagios box itself.
i was wondering if anyone has come across this problem before?
if you require more information please let me know