[hobbit] Custom graph missing (continued)

Sam Przyswa samp at arial-concept.com
Mon Oct 1 22:30:51 CEST 2007


Trent Melcher a écrit :
> Sam
>
> Your hobbitgraph.cfg DEF line needs to match your <ds><name> in your rrd's.
>
> You have DEF:p at RRDIDX@=@RRDFN@:temperature:AVERAGE
>
> But I don't see temperature in any of your ds names.
>   

But "temperature" in this case is the label, not a value !?

I think so, no ?.

Sam.



> -----Original Message-----
> From: Sam Przyswa [mailto:samp at arial-concept.com] 
> Sent: Monday, October 01, 2007 12:36 PM
> To: Hobbit Users List
> Subject: [hobbit] Custom graph missing (continued)
>
> Hi Hobbit users,
>
> I create à custom monitor script to check lm-sensors temperatures from
> Linux boxes named "sensors" the data are sent by the remote client as:
>
> CPU-1 Tmp : 21.88
> Brd Tmp : 19.12
> CPU-2 Tmp : 22.38 > 17 reached! (Warnlevel Yellow)
>
> To respect the name-colon-value formatted report
>
> This is well displayed on the machine's monitor page and the alerts are
> sent by mail as well, but the graph is not create in monitor and trends
> page. I put on server in hobbitserver.cfg
>
> TEST2RRD="cpu=la,...,sensors=ncv
>
> GRAPHS="...,ncv,...,sensors
>
> NCV_sensors="*:GAUGE"
>
> The sensors.rrd dump give:
>
> <!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
>         <step> 300 </step> <!-- Seconds -->
>         <lastupdate> 1191248506 </lastupdate> <!-- 2007-10-01 16:21:46
> CEST -->
>
>         <ds>
>                 <name> CPU1Tmp </name>
>                 <type> GAUGE </type>
>                 <minimal_heartbeat> 600 </minimal_heartbeat>
>                 <min> 0.0000000000e+00 </min>
>                 <max> NaN </max>
>
>                 <!-- PDP Status -->
>                 <last_ds> UNKN </last_ds>
>                 <value> 2.2662800000e+03 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
>
>         <ds>
>                 <name> BrdTmp </name>
>                 <type> GAUGE </type>
>                 <minimal_heartbeat> 600 </minimal_heartbeat>
>                 <min> 0.0000000000e+00 </min>
>                 <max> NaN </max>
>
>                 <!-- PDP Status -->
>                 <last_ds> UNKN </last_ds>
>                 <value> 2.0797200000e+03 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
>
>         <ds>
>                 <name> CPU2Tmp </name>
>                 <type> GAUGE </type>
>                 <minimal_heartbeat> 600 </minimal_heartbeat>
>                 <min> 0.0000000000e+00 </min>
>                 <max> NaN </max>
>
>                 <!-- PDP Status -->
>                 <last_ds> UNKN </last_ds>
>                 <value> 2.3722800000e+03 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
> [...]
>
> And in the hobbitgraph.cfg I have:
>
> [sensors]
>         FNPATTERN sensors.(.+).rrd
>         TITLE Temperature
>         YAXIS Celsius
>         DEF:p at RRDIDX@=@RRDFN@:temperature:AVERAGE
>         LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
>         GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
>         GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
>         GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
>         GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
>
> I forget to say this is the 4.2.0 version installed on Ubuntu and some 
> client machine on Debian.
>
> What I have missed ?
>
> Thanks for your help.
>
> Sam.
>   



-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.




More information about the Xymon mailing list