ssh error in nagios plugin
Posted: Fri Jan 18, 2013 5:02 pm
Hi,
I made a plugin to check unused files in remote server.
The script is working fine when I am using it alone. But when nagios is calling the function, I am getting error:
2013-0-18 16:56:14 ------ debugging
cmd=[/usr/lib64/nagios/plugins/check_unused_file '--host' '1.1.1.1 ''/tmp']
output=[Host key verification failed.
OK: There is no file where size is greater than 1 bytes that have last modified 1 day(s) ago
I checked everything to ensure that the ssh host key verification is working fine.
Is there any other reason for this error?
Thanks.
I made a plugin to check unused files in remote server.
The script is working fine when I am using it alone. But when nagios is calling the function, I am getting error:
2013-0-18 16:56:14 ------ debugging
cmd=[/usr/lib64/nagios/plugins/check_unused_file '--host' '1.1.1.1 ''/tmp']
output=[Host key verification failed.
OK: There is no file where size is greater than 1 bytes that have last modified 1 day(s) ago
I checked everything to ensure that the ssh host key verification is working fine.
Is there any other reason for this error?
Thanks.