Page 2 of 3

Re: Problem with VMware Monitoring Wizard

Posted: Wed Jul 20, 2011 11:16 am
by nscott
So the wizard is not creating services for you? (And thanks for pointing out the wizard not having a continue link.)

Re: Problem with VMware Monitoring Wizard

Posted: Thu Jul 21, 2011 8:36 am
by srrhd
Yes it doesn't create any VM services.

Malcz86 what about you ? Do you get something ?

Re: Problem with VMware Monitoring Wizard

Posted: Thu Jul 21, 2011 8:51 am
by Malcz86
Yes tried it just now, exactly the same thing. No services created.

Re: Problem with VMware Monitoring Wizard

Posted: Thu Jul 21, 2011 10:43 am
by nscott
Hey guys, would you mind running the wizard I've been working on. It still beta but perhaps it might fix your issue. I haven't run into the issue with it not adding the services, but intall it and let me know if it works. I just want to warn you again this is beta and you should test it on a test system before throwing into production.

Just to be safe, remove the old Wizard before installing this one.

Re: Problem with VMware Monitoring Wizard

Posted: Thu Jul 21, 2011 11:35 pm
by srrhd
We do not have a NagiosXI server for test. So if you got one Malcz86 i wait for your feedback, otherwise i might be able to set up one next week, i hope.

Re: Problem with VMware Monitoring Wizard

Posted: Fri Jul 22, 2011 4:44 am
by Malcz86
That new wizard works! only issue I had was the auth file it generated was missing a line space between the username/password but added that in manually and is now ok.

Re: Problem with VMware Monitoring Wizard

Posted: Fri Jul 22, 2011 9:05 am
by nscott
Thats great Malcz, what file did you have edit?

Re: Problem with VMware Monitoring Wizard

Posted: Fri Jul 22, 2011 10:01 am
by Malcz86
When the wizard completes it generates a "auth file" in /usr/local/nagiosxi/etc/components/vmware/server01_auth.txt

Should contain username

Code: Select all

username=root
password=password1234
The wizard seems to miss out the line break so it looks like

Code: Select all

username=rootpassword=password1234

Re: Problem with VMware Monitoring Wizard

Posted: Fri Jul 22, 2011 12:28 pm
by lmiltchev
Thanks Malcz86! We will have to modify the script - just put it on our TODO list.

Re: Problem with VMware Monitoring Wizard

Posted: Fri Jul 22, 2011 4:57 pm
by nscott
Ok I updated it to fix the line break issue.

Srrhd, I think its safe to give this a shot. I would like to point out that mguthrie and I did some digging on this wizard and the perl plugin it uses to poll the ESXi server is a little on the inefficient side, so if you're seeing some performance loss, this plugin may be the culprit. Its not going to bring your server down, but once you get your Nagios XI server crammed with stuff and you're looking for a way to reduce CPU usage, this one is one of the plugins that would server well to cut back on.