[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - check_vmware: Nagios/MRTG plugin for VMware ESX
Cheshire Cat Computing
http://www.steveshipway.org/forum/

check_vmware: Nagios/MRTG plugin for VMware ESX
http://www.steveshipway.org/forum/viewtopic.php?f=28&t=1648
Page 1 of 18

Author:  stevesh [ Mon Sep 29, 2008 4:57 pm ]
Post subject:  check_vmware: Nagios/MRTG plugin for VMware ESX



Attachments:
File comment: version 1.13
Now added net monitoring and version number reported correctly.

check_vmware.pl [67.08 KiB]
Downloaded 6928 times
File comment: version 0.12beta
check_vmware.pl [61.04 KiB]
Downloaded 3100 times
File comment: NRPE plugins for Linux and Windows to query vCPU and Memory via VMware Tools API
VMWare.zip [73.17 KiB]
Downloaded 4365 times

Author:  stevesh [ Mon Sep 29, 2008 5:07 pm ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

Here are some example graphs, taken from MRTG

Attachments:
File comment: Farm datastores (total)
example-farm-datastores-graph.png
example-farm-datastores-graph.png [ 43.2 KiB | Viewed 94644 times ]
File comment: Guest CPU usage
example-guest-cpu-graph.png
example-guest-cpu-graph.png [ 54.4 KiB | Viewed 94640 times ]
File comment: Host resource usage
example-host-resources-graph.png
example-host-resources-graph.png [ 68.01 KiB | Viewed 94616 times ]

Author:  neo-mycin [ Thu Oct 02, 2008 8:16 pm ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

Hi Steve,

i installed the plugin & API on OpenSuSe 11 and it is working perfect! Currently i'm monitoring 4 ESX Hosts.

Are there any plans to report performance data to nagios?

Regards from Hamburg (Germany)

Dennis

Author:  stevesh [ Fri Oct 03, 2008 10:59 am ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX


Author:  elwappo [ Mon Oct 13, 2008 11:02 am ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

First let me say thank you for working on this plugin. I have been struggling to find a good solution to chart performance of ESX 3i hosts. I have currently been experimenting with unnoc and that is working ok but not quite how I want it to. I have one quick question on this plugin. Will it work with MRTG for windows?

Again many thanks.

Author:  darren_foley [ Tue Oct 14, 2008 5:34 am ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

Hey Steve & elwappo,

Fair play on the work with this plugin.
I'm trying to configure it to query my ESX 3.5 hosts via my VC, but I keep getting a login failed error.

:/var/local/nagios/libexec# ./check_vmware.pl --guest guestname --password=mypasswd --username=myuser --debug --server=myserverip --verbose
Connecting
Login to VirtualCentre server failed.
UNKNOWN: Login to VirtualCentre server failed.

any quick pointers for me?
- I've already tested my connectivity and I do have sufficient privileges on the box in question.
- Nagios box has sufficient network routes/fw rules in place to talk to the VC.

Really appreciate it.
D.

Author:  stevesh [ Tue Oct 14, 2008 9:50 am ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

This plugin should work the same with MRTG for windows; of course you'll need to get the Windows version of the VI API files.

The login failure may be due to specifying the username. If your username has a backstroke in it then you'll need to escape it. Maybe use a vmconfig file, specified with --config=filename and put the username and password in there, as in the example above? This can solve problems with unusual characters in the username and password.

Also, try using different usernames just in case it is a permissions issue (use one you know works via the virtualcentre client)

Author:  angelus99 [ Thu Oct 16, 2008 10:25 pm ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

Hello,

First, thank you for this plugin.

I configure your plugin but i have an error :

[libexec]# ./check_vmware.pl --username=****** --password=****** --server=10.165.13.8 --report=cpu
CPU usage at 12.35%<BR>(Problem retrieving CPU fairness data)

I try on other vmware but i have the same problem, and in NAGIOS I have no result.

Thanks

Author:  stevesh [ Fri Oct 17, 2008 11:44 am ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

The 'problem retrieving fairness data' is currently normal - it happens on our VC servers, too. For some reason, although the VC can report this fairness data, and the counter exists in the object definition, it does not appear to be presented when the retrieval is run. I'm looking into this; however the other CPU and Memory checks work fine so lack of Fairness data is not a big issue.

The 'fairness data' is the per-ESX host indicator of what percentage of guest resources requested are actually provided. In a low-usage farm this would normally always be >95% - its the lower of the two DRS graphs. If you don't have DRS enabled, of course, you probably dont have this figure available :)

I'm currently working to get a persistent session established with this - the performance of the VI API sucks and with a lot of servers it puts an unacceptable load of login/logout on the VC.

Author:  stevesh [ Tue Oct 21, 2008 5:27 pm ]
Post subject:  Re: check_vmware: Nagios/MRTG plugin for VMware ESX

I now have a 'persistent session' versionof this plugin, which stops the constant login/logout on the VC. It is slightly faster, but not by much, as the majority of the time is taken up downloading the initial object tree. You need a nice, fast VC server (don't run your VC in a guest. I know VMware say you can, and it does work, but it is stupidly slow, not to mention the chicken-and-egg situation you get if all your ESX hosts go down)

Page 1 of 18 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/