This has now been resolved. I upgraded nagios from 3.5 which yum installed to 4.0.8 by uninstalling and starting from scratch, and it works.
Thanks for your help, all good now.
Search found 2 matches
- Thu Jul 02, 2015 4:18 pm
- Forum: Open Source Nagios Projects
- Topic: CHECK_SSH fails but works at command line
- Replies: 3
- Views: 1416
- Wed Jul 01, 2015 7:45 pm
- Forum: Open Source Nagios Projects
- Topic: CHECK_SSH fails but works at command line
- Replies: 3
- Views: 1416
CHECK_SSH fails but works at command line
Hey there If I run the following command line it works: # /usr/lib64/nagios/plugins/check_ssh -4 -p 1157 104.xxx.xxx.xxx SSH OK - OpenSSH_5.3 (protocol 2.0) | time=0.132206s;;;0.000000;10.000000 However with the same command line in nrpe.cfg connection is always refused command[check_remote_ssh]=/us...