I am trying to monitor and return a specific value from a Mikrotik router, RG411. The value I need cannot be queried via OIDs, however, if I execute the following command via a bash script, I can capture the results to the $outputSSH string.
outputSSH=$(ssh $community@$Host "/interface wireless monitor 0 once"|grep tx-ccq|grep -v overall-tx-ccq|sed 's/%//')
Can I get some help with implementing this in Nagios Core? Some suggestions would be appreciated.
Many thanks,
Mike
Request for Options: SSh Command Execution
Re: Request for Options: SSh Command Execution
See your original post: http://support.nagios.com/forum/viewtop ... 540#p33540