[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/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_esx_gw,RRD, and Groundwork

Cheshire Cat Computing

Software support and information
It is currently Thu Dec 11, 2025 6:55 am

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jul 16, 2008 10:49 am 
Offline
User

Joined: Fri Jul 04, 2008 3:27 am
Posts: 4
Steve

First, thank you for your work with check_esx! It is much appreciated. I have been smacking my head against a brickwall for a week or so on creating graph data from the output of check_esx_gw. The command itself works fine. Here is a copy of the output:

/usr/local/groundwork/nagios/libexec/check_esx_gw -N -H 192.1.1.1 -C "public" -l MEM -w "25" -c "10" -t 20
SERVICE STATUS: OK: Memory free: 8001Mb (67.72%) [Total available 11813Mb] [Console=4.18%]
Memory split: pvt/shr/bal/swp = 41.68%/58.31%/0%/0%|mem_free_pc=67.72%;;;0;100 console_mem_pc=4.18%;;;0;100 allvms_mem_pvt_pc=41.68%;;;0;100 allvms_mem_shr_pc=58.31%;;;0;100 allvms_mem_bal_pc=0%;;;0;100 allvms_mem_swp_pc=0%;;;0;100

The problem is getting RRD data. Here is a copy of what I have been trying in Groundwork v5.2.1:

Graph Label: check_esx3_memory
Service: check_esx3_memory
Use Service as a Regular Expression OFF
Host: *
Status Text Parsing Regular Expression:
Use Status Text Parsing instead of Performance Data OFF
RRD Name /usr/local/groundwork/rrd/$HOST$_$SERVICE$.rrd
RRD Create Command RRDTOOL$ create $RRDNAME$ --step 300 --start n-1yr DS:mem_free_pc:GAUGE:1800:U:U DS:console_mem_pc:GAUGE:1800:U:U DS:allvms_mem_pvt_pc:GAUGE:1800:U:U DS:allvms_mem_shr_pc:GAUGE:1800:U:U DS:allvms_mem_bal_pc:GAUGE:1800:U:U DS:allvms_mem_swp_pc:GAUGE:1800:U:U RRA:AVERAGE:0.5:1:8640 RRA:AVERAGE:0.5:12:9480
RRD Update Command $RRDTOOL$ update $RRDNAME$ -t mem_free_pc:console_mem_pc:allvms_mem_pvt_pc:allvms_mem_shr_pc:allvms_mem_bal_pc:allvms_mem_swp_pc $LASTCHECK$:$VALUE1$:$VALUE2$:$VALUE3$:$VALUE4$:$VALUE5$:$VALUE6$ 2>&1
Custom RRDtool Graph Command ''
Enable ON

Any ideas or words of wisdom would be much appreciated.

Jerry Sipes
sipesjr@fotf.org


Top
 Profile Send private message  
 
PostPosted: Thu Jul 17, 2008 1:07 am 
Offline
User

Joined: Fri Jul 04, 2008 3:27 am
Posts: 4
Update:
I have been digging and see check_esx3 has Merged in GW additions. Moving to check_esx3.
Also I am testing this on ESX 3.5
I am using your code from vmware-monitoring-beta2.

Jerry Sipes


Top
 Profile Send private message  
 
PostPosted: Fri Jul 18, 2008 7:09 am 
Offline
User

Joined: Fri Jul 04, 2008 3:27 am
Posts: 4
update:

I have it working! :D

I found a couple of spaces in my create RRD Update, but that did not fix it. :roll:
I ran the RRD create manually and reset permissions. That created the graphs.
/usr/local/groundwork/bin/rrdtool create /usr/local/groundwork/rrd/test01_check_esx3.rrd --step 300 --start n-1yr DS:mem_free_pc:GAUGE:1800:U:U DS:console_mem_pc:GAUGE:1800:U:U DS:allvms_mem_pvt_pc:GAUGE:1800:U:U DS:allvms_mem_shr_pc:GAUGE:1800:U:U DS:allvms_mem_bal_pc:GAUGE:1800:U:U DS:allvms_mem_swp_pc:GAUGE:1800:U:U RRA:AVERAGE:0.5:1:8640 RRA:AVERAGE:0.5:12:9480

I'm not sure why the Performance Configuration Administration entry did not work. It is work for all other graphs.

Jerry Sipes


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] 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