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