[hobbit] MRTG graphs

Christophe Truffier ctruffier at pack-solutions.com
Wed Apr 19 14:08:40 CEST 2006


Thomas wrote:
> Christophe Truffier wrote:
>> Thomas wrote:
>>>
>>> Christophe Truffier wrote:
>>>> WorkDir: /var/lib/hobbit/rrd
>>>> LogFormat: rrdtool
>>>> EnableIPv6: no
>>>> Options[_]: growright,bits
>>>> Directory[mrtg.master.eth0]: master
>>>> Target[mrtg.master.eth0]: /192.168.0.1:public at master:
>>>> SetEnv[mrtg.master.eth0]: MRTG_INT_IP="192.168.0.1" 
>>>> MRTG_INT_DESCR="eth0"
>>>> MaxBytes[mrtg.master.eth0]: 12500000
>>>> Title[mrtg.master.eth0]: eth0   -- master
>>> Do you see the rrd file under ~hobbit/data/master/ ? do you have host 
>>> called master only and no FQDN in your bb-hosts file ?
>>
>> Yes, the rrd file is here:
>>
>> /var/lib/hobbit# ls -l rrd/master/mrtg*
>> -rw-r--r-- 1 hobbit hobbit 105160 2006-04-19 09:38 
>> rrd/master/mrtg.master.eth0.rrd
>>
>> and the host master is in my bb-host file:
>> /var/lib/hobbit# grep master /etc/hobbit/bb-hosts
>> 192.168.0.1   master       # ssh http://master/ cupsd
>>
>>
> maybe off but pls put the target line before the directory line, did you 
> make the mrtg file with cfgmaker ?
I've put the target line before directory line... I don't think that 
will change anything.
The mrtg file was done by hand, following Henrik doc.

> do you have the other rrd files under the /var/lib/hobbit/rrd directory ?
Yes, all others file for this host (master) are in rrd/master dir:
# ls -latr /var/lib/hobbit/rrd/master/
total 1131
drwxr-xr-x 12 hobbit hobbit   1024 2006-04-14 19:59 ..
drwxr-xr-x  2 hobbit hobbit   1024 2006-04-18 15:41 .
-rw-r--r--  1 hobbit hobbit 323292 2006-04-19 13:52 vmstat.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 users.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 procs.rrd
-rw-r--r--  1 hobbit hobbit 304308 2006-04-19 13:52 netstat.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 memory.swap.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 memory.real.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 memory.actual.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:52 la.rrd
-rw-r--r--  1 hobbit hobbit  38532 2006-04-19 13:52 disk,var.rrd
-rw-r--r--  1 hobbit hobbit  38532 2006-04-19 13:52 disk,root.rrd
-rw-r--r--  1 hobbit hobbit  38532 2006-04-19 13:52 disk,pub.rrd
-rw-r--r--  1 hobbit hobbit  38532 2006-04-19 13:52 disk,home.rrd
-rw-r--r--  1 hobbit hobbit  38532 2006-04-19 13:52 disk,boot.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:55 tcp.ssh.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:55 tcp.http.master,.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:55 tcp.cupsd.rrd
-rw-r--r--  1 hobbit hobbit  19548 2006-04-19 13:55 tcp.conn.rrd
-rw-r--r--  1 hobbit hobbit 105160 2006-04-19 13:55 mrtg.master.eth0.rrd

I don't understand why all other tests except mrtg works... naming 
problem ? whatever ?


-- 
Christophe Truffier
Pack-Solutions



More information about the Xymon mailing list