[hobbit] MRTG graphs

Christophe Truffier ctruffier at pack-solutions.com
Fri Jun 2 14:29:45 CEST 2006


Henrik Stoerner wrote:
> On Fri, Jun 02, 2006 at 12:22:45PM +0200, Christophe Truffier wrote:
>> Thanks, but I've tried and I still have no graph...
>> Really don't understand, I'm using 4.1.2p1-1 version under debian, the 
>> rrd file for this host has data:
>>
>> filename = "mrtg.master.eth0.rrd"
>> rrd_version = "0003"
>> step = 300
> 
> Is that a dump with rrdtool ? Doesn't look like it. You must save
> the MRTG data files in RRDtool format (a binary format) for Hobbit
> to recognize and graph them. The old text-file format used by MRTG
> is not recognized by Hobbit.

oh sorry, I've done «rrdtool info mrtg.master.eth0.rrd» to get these 
data. With «rrdtool dump» I get :

<!-- Round Robin Database Dump -->
<rrd>
         <version> 0003 </version>
         <step> 300 </step> <!-- Seconds -->
         <lastupdate> 1149251083 </lastupdate> <!-- 2006-06-02 14:24:43 
CEST -->

         <ds>
                 <name> ds0 </name>
                 <type> COUNTER </type>
                 <minimal_heartbeat> 600 </minimal_heartbeat>
                 <min> 0.0000000000e+00 </min>
                 <max> 1.2500000000e+07 </max>

                 <!-- PDP Status -->
                 <last_ds> 364460851 </last_ds>
                 <value> 4.5913901320e+05 </value>
                 <unknown_sec> 0 </unknown_sec>
         </ds>

         <ds>
                 <name> ds1 </name>
                 <type> COUNTER </type>
                 <minimal_heartbeat> 600 </minimal_heartbeat>
                 <min> 0.0000000000e+00 </min>
                 <max> 1.2500000000e+07 </max>

                 <!-- PDP Status -->
                 <last_ds> 364460851 </last_ds>
                 <value> 4.5913901320e+05 </value>
                 <unknown_sec> 0 </unknown_sec>
         </ds>
(...)

I can see that rrd file as data inside, but how can I debug why 
hobbit-cgi/bb-hostsvc.sh nor hobbit-cgi/hobbitgraph.sh generate corrects 
graphs ?


-- 
Christophe Truffier
Pack-Solutions



More information about the Xymon mailing list