Xymon Mailing List Archive search

Devmon on Xymon 4.3.2 - if_load and temp issue for all devmon hosts -Resloved

list Nick Camaldi
Fri, 27 May 2011 08:56:54 -0400
Message-Id: <user-600759388b06@xymon.invalid>


 So i finally figured it out.
 
Since i moved over everything manually i missed one file.
 
I updated rrddefinitions.cfg and essentially it was working i just couldn't see it. 
 
I had not updated the graph.cfg file once i added the info for if_load and temp it worked 
((DOH))
 
Well at least this won't be bothering me throughout the long weekend.
 
Joe


Date: Thu, 26 May 2011 00:45:19 -0400
Subject: Re: [Xymon] Devmon on Xymon 4.3.2 - if_load and temp issue for all devmon hosts
From: user-00a5e44c48c0@xymon.invalid
To: user-93c600de5418@xymon.invalid
CC: xymon at xymon.com


Quick question - when you say "here are my rrddefinitons for the above", did you put those into server/etc/graphs.cfg, or server/etc/rrddefinitions.cfg??  


The rrddefinitions.cfg file is read into a structure that gets handed to rrdtool to create the rrd file if it doesn't exist.  All that wants is things that would get passed to "rrdtool create" and it doesn't want a "-l 0" option. 


The graphs.cfg file is the place where you describe how to generate the graphs when the cgi program is called to display them.


Ralph Mitchell


On Wed, May 25, 2011 at 2:39 PM, Nick Camaldi <user-93c600de5418@xymon.invalid> wrote:


The plot thickens 
 
i compiled this on production made all modifications
 
moved all my data over and everything works except for if_load and temp. devmon is pulling the data.
 
here are my rrddefinitons for the above.
 
[if_load]
        FNPATTERN if_load.(.*).rrd
        TITLE Network Traffic
        YAXIS Bits/second
        DEF:in at RRDIDX@=@RRDFN@:ds0:AVERAGE
        CDEF:inbytes at RRDIDX@=in at RRDIDX@,8,*
        DEF:out at RRDIDX@=@RRDFN@:ds1:AVERAGE
        CDEF:outbytes at RRDIDX@=out at RRDIDX@,8,*
        LINE1:inbytes at RRDIDX@#@COLOR@:@RRDPARAM@ In
        GPRINT:inbytes at RRDIDX@:LAST: %8.2lf %s (cur)
        GPRINT:inbytes at RRDIDX@:MAX: %8.2lf %s (max)
        GPRINT:inbytes at RRDIDX@:MIN: %8.2lf %s (min)
        GPRINT:inbytes at RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
        LINE1:outbytes at RRDIDX@#@COLOR@:@RRDPARAM@ Out
        GPRINT:outbytes at RRDIDX@:LAST: %8.2lf %s (cur)
        GPRINT:outbytes at RRDIDX@:MAX: %8.2lf %s (max)
        GPRINT:outbytes at RRDIDX@:MIN: %8.2lf %s (avg)
        GPRINT:outbytes at RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
        -l 0

[temp]
        FNPATTERN temp.(.*).rrd
        TITLE Temperature
        YAXIS Degrees Celsius
        DEF:in at RRDIDX@=@RRDFN@:ds0:AVERAGE
        DEF:out at RRDIDX@=@RRDFN@:ds1:AVERAGE
        LINE1:in at RRDIDX@#@COLOR@:@RRDPARAM@ Temperature
        GPRINT:in at RRDIDX@:LAST: %8.2lf %s (cur)
        GPRINT:in at RRDIDX@:MAX: %8.2lf %s (max)
        GPRINT:in at RRDIDX@:MIN: %8.2lf %s (min)
        GPRINT:in at RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
        #LINE1:out at RRDIDX@#@COLOR@:@RRDPARAM@ Threshold
        #GPRINT:out at RRDIDX@:LAST: %8.2lf %s (cur)
        #GPRINT:out at RRDIDX@:MAX: %8.2lf %s (max)
        #GPRINT:out at RRDIDX@:MIN: %8.2lf %s (avg)
        #GPRINT:out at RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
        -l 0

 
From: user-9b139aff4dec@xymon.invalid
To: user-93c600de5418@xymon.invalid
Subject: Re: [Xymon] Devmon on Xymon 4.3.2 - if_load and temp issue for all devmon hosts
Date: Wed, 25 May 2011 16:02:45 +0200

On Wednesday, 25 May 2011 15:24:27 Nick Camaldi wrote:
RRD files for If_load and temp for all devmon hosts are not working it
shows a red x
So the graph definition was not available in your new Xymon configuration.
and not updating i try and remove rrd files for a host and it doesn't
re-create.
No need to remove them ...

For this one, most likely your TEST2RRD does not contain the correct 
'if_load=devmon' and 'temp=devmon' values, although these are defaults?

Regards,
Buchan