Search found 2 matches
- Thu Apr 07, 2011 5:49 pm
- Forum: Open Source Nagios Projects
- Topic: New plugin produces (null) output
- Replies: 2
- Views: 1440
Re: New plugin produces (null) output
Tony, 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, ...
- Thu Apr 07, 2011 2:19 am
- Forum: Open Source Nagios Projects
- Topic: New plugin produces (null) output
- Replies: 2
- Views: 1440
New plugin produces (null) output
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: #!/bin/bash ssh root@remote_server ping -c 1 $1 | awk '{ print $7 }'| gr...