check_by_ssh anomaly

Daniel Tandowski dtandowski at electusdistribution.com.au
Fri Jun 1 12:42:01 CEST 2007


Hi all, long time Nagios user, first time poster.

I'm having an issue with one of my check_by_ssh scripts - which basically just 
checks the size and modified time of a backup file on each of roughly 70 
Linux hosts.

All of the hosts are working correctly, except one, which as far as I can 
tell, is configured the same as the rest.  This is where it gets wierd, when 
I run the full command straight from the CLI, it returns correctly:

Command:
#/usr/lib/nagios/plugins/check_by_ssh -t 60 -H <IP-Address> -l root -i <RSA 
Key> -C /usr/lib/nagios/plugins/check_backup_log

Result:
OK: /home/user/file.backup.gz Size: 72.99Mb Updated: 13.92 hours ago

However, when it runs from within the nagios process, the web interface 
returns this:

Remote command execution failed: 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Has anyone come across this problem? As Google won't let me search @'s - it is 
extremely difficult to search this issue!

Sorry about the long email, please let me know if you have any ideas!

Thanks,

Daniel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list