[hobbit] NCV Graphing

Dominique Frise dominique.frise at unil.ch
Fri Mar 20 08:17:23 CET 2009


Adam Goryachev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> I'm trying to follow the Help -> Custom Graphs instructions as follows:
> I've written a script to collect data, asked hobbitclient to run it
> regularly.
> Checked that the data is arriving on the xymon server
> backup.notme.org.au|temp|green||1237445672|1237515673|1237517473|0|0|xxx.xxx.xxx.xxx|-1|||Y
> green Fri Mar 20 13:21:13 EST 2009 Temp GOOD (38 degrees)
> sda : 38
> sdb : 36
> 
> hobbitserver.cfg:TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,if_load=devmon,mysql=ncv,dnsnum=ncv,astnet=ncv,ups=ncv,temp=ncv"
> 
> Added this line to indicate that the numbers are absolute values, not
> always increasing values (default of DERIVE)...
> hobbitserver.cfg:NCV_temp="*:GAUGE"
> 
> Re-started the hobbit rrd processes, and eventually also re-started
> xymon completely.
> 
> rrdtool dump shows this:
> <!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
>         <step> 300 </step> <!-- Seconds -->
>         <lastupdate> 1237515898 </lastupdate> <!-- 2009-03-20 13:24:58
> EST -->
> 
>         <ds>
>                 <name> sda </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> 8.0460000000e+03 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
> 
>         <ds>
>                 <name> sdb </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> 8.0460000000e+03 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
> 
> So, for some reason the values are not getting into the rrd files....
> 
> Note, I found that I previously had an entry in TEST2RRD for
> temp=devmon, so I have removed that and deleted all the rrd files (for
> temp) so that they would be re-created.
> 
> Could anyone advise what I might have done wrong/missed here?
> 
> Thanks,
> Adam
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAknDADAACgkQGyoxogrTyiXesACgjm5OMDHyUVWEZL6G/dk33I+1
> uDMAn3wHeDkD8r3ySgcnl45v++0Y8+5F
> =8zMD
> -----END PGP SIGNATURE-----
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
Have you got an EOL after the last value in your status message?

$BB $BBDISP "status backup.notme.org.au.temp green Fri Mar 20 13:21:13 
EST 2009 Temp GOOD (38 degrees)
sda : 38
sdb : 36
"

Dominique



More information about the Xymon mailing list