[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/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

Software support and information
It is currently Sat May 30, 2020 6:23 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 177 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18  Next
Author Message
PostPosted: Tue Nov 29, 2011 10:33 pm 
Offline
User

Joined: Tue Nov 29, 2011 10:23 pm
Posts: 1


Top
 Profile Send private message  
 
PostPosted: Sun Dec 04, 2011 10:34 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The 'net' reports (and the ones for disk io) are not working yet; there are problems correctly identifying the relevant items.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Tue Dec 06, 2011 6:03 am 
Offline
User

Joined: Tue Dec 06, 2011 5:51 am
Posts: 1
Just wanted to say thanks for the plugin!
So far it's working great!


Top
 Profile Send private message  
 
PostPosted: Sat Feb 11, 2012 12:29 am 
Offline
User

Joined: Sat May 21, 2011 4:32 am
Posts: 2
Guys... What to do...
I have ESXi 5 hosts.
Also I have the same problem with cpus and NICs

CRIT: CPU usage at 297586.56% (need more CPU allocation?)
CRIT: Network usage at 80537144Kbps (need more resource shares or physical interfaces?)|net=80537144;7680;10240;0;

What should I do? How to resolve this bug.
Maybe I should downgrade to SDK 4? Or not. I guess not...
Because I can monitor correct values from ESXi 4.1

So what to do?


Top
 Profile Send private message  
 
PostPosted: Thu Mar 22, 2012 12:49 am 
Offline
User

Joined: Thu Mar 22, 2012 12:30 am
Posts: 1
Hello everybody,

I had tested your script and for me it's works fine except that as you said it is resource intensive. Have you any idea why it consume so many resources ?
I'm not a developper so maybe it's a stupid question.

Indeed, I tested your script with FAN (Fully Automated Nagios: Nagios + Centreon) and all dependencies necessary (Perl Kit, ...). The VM was configured with 1 vCPU (2,8GHz) and 1GB Memory, no CPU or memory contention is the ESXi (vSphere 5).
I scheduled 4 check (CPU, Memory, Network and Disk), so 4 executions of the script, every 2 minutes and each execution consume between 75% and 90% of CPU.

Is in the future version it will be optimize to consume less CPU resource ?

Actually, Is it possible to optimize it ?


Sebastien.


Top
 Profile Send private message  
 
PostPosted: Thu Mar 29, 2012 9:16 am 
Offline
User

Joined: Thu Mar 29, 2012 9:13 am
Posts: 1
Just curious how I can use your check_vmware.pl script with Nagios to examine the status of multiple vCenter servers. Our environment is multi-tennant with multiple ESX clusters each managed by an independent vCenter server. I'm new to Nagios so any direction would be helpful.

Bob Rains


Top
 Profile Send private message  
 
PostPosted: Tue May 01, 2012 12:25 am 
Offline
User

Joined: Tue May 01, 2012 12:19 am
Posts: 2
the script is working fine on my environment except --report=net. It gives me exactly the same result (0) everytime!


[root@nagiosrv VMWare]# ./check_vmware.pl --config=configfile --report net --debug
Starting.
Connecting
Connected
Server Time : 2012-04-30T11:23:14.980296Z
Report type requested is [net]
Base is Datacenters
Running network report
Retrieving PerfMgr data
Selected interval is: 300
Retrieving list of hosts...
Making new propertyspec
Making new filterspec from
Retrieving vim_service
Retrieving properties from VimService
Checking faults on SoapResponse
Processing entities:
host-18
host-9
host-15260
host-8843
host-8848
host-15265
Creating query for MORef host-18
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Creating query for MORef host-9
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Creating query for MORef host-15260
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Creating query for MORef host-8843
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Creating query for MORef host-8848
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Creating query for MORef host-15265
Start time: 2012-04-30T11:18:00Z
End time : 2012-04-30T11:23:00Z
Retrieving data...
Perfstats retrieved...
Results for value host-18
Perfdata object: 2012-04-30T11:25:00Z
Results for value host-9
Perfdata object: 2012-04-30T11:25:00Z
Results for value host-15260
Perfdata object: 2012-04-30T11:25:00Z
Results for value host-8843
Perfdata object: 2012-04-30T11:25:00Z
Results for value host-8848
Perfdata object: 2012-04-30T11:25:00Z
Results for value host-15265
Perfdata object: 2012-04-30T11:25:00Z
Disconnecting...
Exiting with status (0)
Network usage at 0Kbps|net=0;7680;10240;0;


Do you have any idea? I am using SDK for Perl 4.1 and check_vmware_1.13. thanks~


Top
 Profile Send private message  
 
PostPosted: Mon May 07, 2012 5:21 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
The network usage part is not yet working - it is still under development.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Tue Jun 26, 2012 1:36 pm 
Offline
User

Joined: Thu Jun 21, 2012 6:28 am
Posts: 2
I've tried multiple ideas, but have come up with nothing.

From my testing, datastores can only be checked for integer values, and only in GB.

Am I missing using a percentage, for example, I've been asked to check for 75% and 85%.

Well, it appears I can only use integers. For large datastores, this works fine.

But one of the datastores I've been asked to monitor is only 2GB, so it appears the only thing I can check is 1GB, which isn't at all what the other department wants or needs.

Checking for 0.75GB would be acceptable, but alas, it's looking for an integer.

Please help!


Dave


Top
 Profile Send private message  
 
PostPosted: Tue Jun 26, 2012 3:33 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This is a limitation of the current code; at the moment, the parameter can only be integer, and for disk space is in GB. I had not anticipated a datastore of a smaller size than 100GB...
Unfortunately this is not such a quick fix because Im using the VMWare tools API option parsing functions. I'll need to look into it... in the meantime, you always have the option to exclude this datastore from the checks, should you wish.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 177 posts ]  Go to page Previous  1 ... 13, 14, 15, 16, 17, 18  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group