Monitor a guest VM on a VMWare host
Re: Monitor a guest VM on a VMWare host
Yes, the user is able to read the guests. I've added an another user, but I get the same screen.
Re: Monitor a guest VM on a VMWare host
One thing I noticed - these scripts are owned by nagios:root:
Can you run the following check from the CLI, and show us the output? (hide the sensitive info)
while on all of my test boxes the permissions are nagios:nagios. You can try changing the permissions and see if this is going to help.ls -la /usr/local/nagiosxi/html/includes/configwizards/vmware/scripts/
total 28
drwxr-xr-x 2 nagios root 4096 Jan 21 20:11 .
drwxr-xr-x 6 nagios root 4096 Jan 21 20:11 ..
-rwxr-xr-x 1 nagios root 5187 Jan 21 20:11 getguests.pl
-rwxr-xr-x 1 nagios root 5187 Jan 21 20:11 growguest.pl
-rwxr-xr-x 1 nagios root 2033 Jan 21 20:11 NagiosXI-VMWare.sh
Can you run the following check from the CLI, and show us the output? (hide the sensitive info)
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -H "<ip address>" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>.txt" -N "<VM name>" -l "CPU"Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitor a guest VM on a VMWare host
I had changed the permissions, but it doesnt' help.
I've followed the path and there is no "vmware" Directory.
And I'll get this message:Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -H "<ip address>" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>.txt" -N "<VM name>" -l "CPU"
Code: Select all
Unable to open auth file "/usr/local/nagiosxi/etc/components/vmware/<hostname>.txt"Re: Monitor a guest VM on a VMWare host
We found a bug in the latest vmware wizard. Download the patched wizard below:
Don't unzip it - just install it by going to: Admin->Manage Config Wizards->Btowse->vmware.zip->Upload Wizard
Next, rerun the vmware wizard and see if the issue has been resolved. Thanks!
Don't unzip it - just install it by going to: Admin->Manage Config Wizards->Btowse->vmware.zip->Upload Wizard
Next, rerun the vmware wizard and see if the issue has been resolved. Thanks!
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
[email protected]
- Posts: 3
- Joined: Sat Dec 07, 2013 10:52 pm
Re: Monitor a guest VM on a VMWare host
I have exact same problem
I can add ESXi 5.0 -5.5 hosts no problem on my XI server. When I add VM guests using the wizard (the new 1 posted), it is blank.
Running as nagios user ./getguests.pl -H [ipaddress] -u root -p [passwd] is successful & lists all my guest VMs from that ESX host
The user account & password used has access to all client VMs
Running as nagios user ./getguests.pl -H [ipaddress] -u root -p [passwd] is successful & lists all my guest VMs from that ESX host
The user account & password used has access to all client VMs
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor a guest VM on a VMWare host
@[email protected] - Did you ypload the new wizard lmiltchev posted here?
http://support.nagios.com/forum/viewtop ... 10#p125864
You can upload through Admin -> Manage Config Wizards
http://support.nagios.com/forum/viewtop ... 10#p125864
You can upload through Admin -> Manage Config Wizards
-
[email protected]
- Posts: 3
- Joined: Sat Dec 07, 2013 10:52 pm
Re: Monitor a guest VM on a VMWare host
Confirmed I did successfully upload the Wizard attached to this support thread
Shaun
Shaun
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitor a guest VM on a VMWare host
There have been 2 attached, to confirm you installed the one posted by lmiltchev?[email protected] wrote:Confirmed I did successfully upload the Wizard attached to this support thread
Shaun
viewtopic.php?f=6&t=31097&start=10#p125864
And to confirm one more thing, are you getting the same results, or did this resolve the issue?
-
[email protected]
- Posts: 3
- Joined: Sat Dec 07, 2013 10:52 pm
Re: Monitor a guest VM on a VMWare host
Downloaded that latest wizard
Removed current wizard
Installed new
restarted httpd
Test it & works now!
Thanks All!!
Removed current wizard
Installed new
restarted httpd
Test it & works now!
Thanks All!!