Hi
No vCenter datacenters found! / no hosts, etc..
vMA 6.0.0.1 & box293 plugin / wizard from 2014-10-23
Credentials would be correct, existing certficate used (already works with older vMA 5.5 we are replacing)
Please help
No vmware objects found with box293 plugins
No vmware objects found with box293 plugins
You do not have the required permissions to view the files attached to this post.
Re: No vmware objects found with box293 plugins
Can you run the following commands on the Nagios server and post the output?
Replace xxx.xxx.xxx.xxx with the IP address of the vMA server.
Replace yyy.yyy.yyy.yyy with the IP address of the vCenter server.
They should return the version of your VMWare systems.
Code: Select all
su nagios
/usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version"
/usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"Replace yyy.yyy.yyy.yyy with the IP address of the vCenter server.
They should return the version of your VMWare systems.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: No vmware objects found with box293 plugins
tgriep wrote:Can you run the following commands on the Nagios server and post the output?Replace xxx.xxx.xxx.xxx with the IP address of the vMA server.Code: Select all
su nagios /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version" /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"
Replace yyy.yyy.yyy.yyy with the IP address of the vCenter server.
They should return the version of your VMWare systems.
Getting this one:
[root@fikc-nagxiprod01 ~]# su nagios
[nagios@fikc-nagxiprod01 root]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 10.104.74.53 -C "~/box293_check_vmware.pl --server 172.18.18.13 --check vCenter_Name_Version"
[email protected]'s password:
CRITICAL - Plugin timed out after 10 seconds
[nagios@fikc-nagxiprod01 root]$
-
kyang
Re: No vmware objects found with box293 plugins
Could you try increasing the timeout to -t 30[nagios@fikc-nagxiprod01 root]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 10.104.74.53 -C "~/box293_check_vmware.pl --server 172.18.18.13 --check vCenter_Name_Version"
[email protected]'s password:
CRITICAL - Plugin timed out after 10 seconds
Code: Select all
su nagios
/usr/local/nagios/libexec/check_by_ssh -t 30 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version"
/usr/local/nagios/libexec/check_by_ssh -t 30 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"Re: No vmware objects found with box293 plugins
This time it worked:kyang wrote:Could you try increasing the timeout to -t 30[nagios@fikc-nagxiprod01 root]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 10.104.74.53 -C "~/box293_check_vmware.pl --server 172.18.18.13 --check vCenter_Name_Version"
[email protected]'s password:
CRITICAL - Plugin timed out after 10 seconds
See if that displays an output for the commands.Code: Select all
su nagios /usr/local/nagios/libexec/check_by_ssh -t 30 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version" /usr/local/nagios/libexec/check_by_ssh -t 30 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"
[root@fikc-nagxiprod01 libexec]# su nagios
[nagios@fikc-nagxiprod01 libexec]$ /usr/local/nagios/libexec/check_by_ssh -t 30 -E 1 -l vi-admin -H 10.104.74.53 -C "~/box293_check_vmware.pl --server 172.18.18.13 --check vCenter_Name_Version"
[email protected]'s password:
OK: VMware vCenter Server 6.0.0 build-3634793
-
kyang
Re: No vmware objects found with box293 plugins
Do you have ssh keys set up for root? You would need to set up the ssh keys for nagios. It shouldn't be prompting you for a password.
You can re-setup the account by following this doc.
https://exchange.nagios.org/components/ ... 0&cf_id=29
Once you have set up the keys for Nagios. Re-run the commands, but this time set the timeout to 60 seconds -t 60
You can re-setup the account by following this doc.
https://exchange.nagios.org/components/ ... 0&cf_id=29
Once you have set up the keys for Nagios. Re-run the commands, but this time set the timeout to 60 seconds -t 60
Code: Select all
su nagios
/usr/local/nagios/libexec/check_by_ssh -t 60 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version"
/usr/local/nagios/libexec/check_by_ssh -t 60 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"Re: No vmware objects found with box293 plugins
kyang wrote:Do you have ssh keys set up for root? You would need to set up the ssh keys for nagios. It shouldn't be prompting you for a password.
You can re-setup the account by following this doc.
https://exchange.nagios.org/components/ ... 0&cf_id=29
Once you have set up the keys for Nagios. Re-run the commands, but this time set the timeout to 60 seconds -t 60
Code: Select all
su nagios /usr/local/nagios/libexec/check_by_ssh -t 60 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check vCenter_Name_Version" /usr/local/nagios/libexec/check_by_ssh -t 60 -E 1 -l vi-admin -H xxx.xxx.xxx.xxx -C "~/box293_check_vmware.pl --server yyy.yyy.yyy.yyy --check Host_OS_Name_Version"
I have configured keys, but the problem remains. Could we have a session to look into it?
Re: No vmware objects found with box293 plugins
I see you have also opened an email ticket for this, so we will be locking this thread and continuing in the email ticket.
Former Nagios employee