Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I have a new installation of FAN (Fully Automated Nagios) and I have created a small shell script to check the latency between two hosts in a remote network. The script is located in /usr/lib/nagios/plugins and looks like this:
I would expect this to give me the latency between remote_server and the switches, but only returns (null) on the web interface. Am I doing something very stupid that I have not noticed?
Thanks for the fast answer, the script is executable by everyone, I have dropped a RSA key on the right location and the script works OK if I run it manually. I have checked $7 and it is correct. In some machines will not work as could be $8, depending of what version of the OS are you using, but as I said, I tested it manually and gives me a correct answer.