Search found 2 matches

by steveherring
Mon Jan 12, 2015 4:18 pm
Forum: Open Source Nagios Projects
Topic: check_by_ssh on Solaris 11.2 fails
Replies: 4
Views: 1863

Re: check_by_ssh on Solaris 11.2 fails

Sorry I forgot to mention that it works fine when we are actually SSH into the box:

nagios@nagios:~$ ssh -i ~/gfi_monitor_id_dsa -l gfi_monitor ldap2.cs.tamu.edu /admin/gfi_monitor/nms/Nagios_Scripts/test_script.sh

***removed MOTD***

!!Script Executed Successfully!!
nagios@nagios:~$ echo $?
0
by steveherring
Mon Jan 12, 2015 3:47 pm
Forum: Open Source Nagios Projects
Topic: check_by_ssh on Solaris 11.2 fails
Replies: 4
Views: 1863

check_by_ssh on Solaris 11.2 fails

We have a script that was working fine on Solaris 11.1 however we updated the zone to Solaris 11.2 and it now returns: Remote command execution failed: ******************************* we wrote a simple test script and ran it: :: more test_script.sh #!/bin/bash echo "!!Script Executed Successful...