[root@nagiosxi ~]# su nagios
[nagios@nagiosxi root]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 192.168.100.88 -C "~/box293_check_vmware.pl --server 192.168.103.210 --version"
box293_check_vmware Version: 2016-10-02
[nagios@nagiosxi root]$
Issue Establishing SSH Session With vMA Host
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Issue Establishing SSH Session With vMA Host
Thanks so much,
Tom
Tom
Re: Issue Establishing SSH Session With vMA Host
What I would verify that the contents of these 2 folders have the same files.
Run this as root in a shell.
Then test the credentials in the XI GUI and post the output from the tail command.
Code: Select all
/home/nagios/.ssh
/var/www/.ssh/Code: Select all
tail -f /var/log/*_logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Issue Establishing SSH Session With vMA Host
Here are the files:
[root@nagiosxi ~]# ls /home/nagios/.ssh/
id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts known_hosts.old
[root@nagiosxi ~]# ls /var/www/.ssh/
id_dsa known_hosts
[root@nagiosxi ~]#
[root@nagiosxi ~]# ls /home/nagios/.ssh/
id_dsa id_dsa.pub id_rsa id_rsa.pub known_hosts known_hosts.old
[root@nagiosxi ~]# ls /var/www/.ssh/
id_dsa known_hosts
[root@nagiosxi ~]#
Thanks so much,
Tom
Tom
Re: Issue Establishing SSH Session With vMA Host
As long as the files are the same and the contents of them are the same, that is what is needed.
Try running the tail command from my previous post and see what type of messages are generated.
Try running the tail command from my previous post and see what type of messages are generated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Issue Establishing SSH Session With vMA Host
Troy Lea just asked to try the wizard again and surprisingly it's working! (strange) The checks are working and the wizard is working.
Thanks so much,
Tom
Tom
Re: Issue Establishing SSH Session With vMA Host
That is good news that is is working. Let us know if you have any further questions or that it is OK to close the post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Issue Establishing SSH Session With vMA Host
Thanks so much for your help. It's OK to close the post.
Thanks so much,
Tom
Tom