Post new topic Reply to topic  [ 3 posts ] 

Board index : GroundWork Monitor Community Edition (GWMCE) : GroundWork Monitor 6.0

Author Message
 Post subject: Performance Graphing Question
PostPosted: Mon Feb 08, 2010 8:31 am 
Offline

Joined: Mon Feb 08, 2010 6:33 am
Posts: 1
I'm using GWCE 6.0 on RHEL 5 and I'm trying to configure the performance graph for a check that returns the following:

Code:
ILO2_HEALTH OK - Overall Health Ok, Temperatures: CPU 1 (Ok): 39, CPU 2 (Ok): 40, CPU 3 (Ok): 35, CPU 4 (Ok): 36, Ambient (Ok): 19, System (Ok): 41, System (Ok): 40, System (Ok): 43, Memory (Ok): 40 | ''CPU 1''=39;95;99 ''CPU 2''=40;95;99 ''CPU 3''=35;95;99 ''CPU 4''=36;95;99 'Ambient'=19;40;45 'System'=41;75;80 'System'=40;75;80 'System'=43;75;80 'Memory'=40;75;80


If I turn off "Use Status Text Parsing instead of Performance Data", then I get the following error:

Code:
ERROR:  Invalid RRD create command: /usr/local/groundwork/common/bin/rrdtool update /usr/local/groundwork/rrd/htvmcl08.qcorpaa.aa.com_check_iLO2.rrd
-t Ambient:System:System:System:Memory 1265234970:19:42:40:43:40


I believe it is failing on the duplicate system values, however, it also appears to be missing all of the CPU values that I would also like to graph. I would like to graph the CPU temperatures and the Ambient temperature, more than the System temperatures. I've tried to do this using parsing, but I don't think I understand how the parsing works, I am familar with Regular Expressions, but I'm not familar with how Groundwork or Nagios is handling them. Here is what I've setup:

Code:
Graph Label:  Blade iLO Temperatures
Service:   check_iLO2
Use Service as a Regular Expression: OFF
Host: *
Status Text Parsing Regular Expression:  =(\d\d+)
Use Status Text Parsing instead of Performance Data:  ON
RRD Name:  /usr/local/groundwork/rrd/$HOST$_$SERVICE$.rrd
RRD Create Command:  $RRDTOOL$ create $RRDNAME$ --step 300 --start n-1yr DS:CPU1:GAUGE:1800:U:U DS:CPU2:GAUGE:1800:U:U DS:CPU3:GAUGE:1800:U:U DS:CPU4:GAUGE:1800:U:U RRA:AVERAGE:0.5:12:9480RRD Update Command   $RRDTOOL$ update $RRDNAME$ -t CPU1:CPU2:CPU3:CPU4 $LASTCHECK$:$VALUE1$:$VALUE2$:$VALUE3$:$VALUE4$ 2>&1
Custom RRDtool Graph Command   '/graphs/cgi-bin/number_graph.cgi'
Enable   ON


Any help on this would be appreciated.


Back to top
 Profile  
 
 Post subject: Re: Performance Graphing Question
PostPosted: Fri Apr 09, 2010 9:19 am 
Offline

Joined: Fri Apr 09, 2010 9:17 am
Posts: 1
Hello, after some trial and error i concluded with that you need a regexp like this.

=(\d+).*=(\d+).*=(\d+).*=(\d+).*=(\d+).*

its one =(\d+).* for each value in the status text.

Rgs
Egil


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index : GroundWork Monitor Community Edition (GWMCE) : GroundWork Monitor 6.0


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

Search for:
Jump to:  
Follow us on Twitter    Visit our Facebook page    Blog Talk Radio
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.