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.
ssh error in nagios plugin
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: ssh error in nagios plugin
What are you using to call the plugin? I am assuming you are trying to remotely activate it from nagios.