[mrtg] Help- I've created a monster

Stefano Giraldo stefano at neotokyo3.it
Thu Sep 3 00:06:13 CEST 2009


Hi, I got the same thing for long time before moving the less important 
devices on Cacti... anyway I used this way:

just one mrtg.cfg file and inside it, many "Include" like these:

Include: /var/STATS/rrd_cfg/sys/gsr1-2_cpu.cfg
Include: /var/STATS/rrd_cfg/sys/gsr1-2_mem.cfg

In the first line I'm adding the CPU utilization for both GSR and in the 
second one the memory usage. But this can be done in different way, for 
example you can group your devices divided for department, or for floor, or 
for buildings, or customer, or city... everything you want. So you can write 
a mrtg.cfg file with a hierachical organization, even placing others 
"Include" in the files included in mrtg.cfg file.

Hope this will be helpful,

            Stefano.

----- Original Message ----- 
From: "Daniel J McDonald" <dan.mcdonald at austinenergy.com>
To: <mrtg at lists.oetiker.ch>
Sent: Friday, August 28, 2009 10:39 PM
Subject: Re: [mrtg] Help- I've created a monster


> On Fri, 2009-08-28 at 11:24 -0700, Rob Dover wrote:
>> Greetings
>>
>> I currently have somewhere around 500 – 600 nodes that I manage with
>> MRTG / RRDTool / Routers2 and thousands of interfaces.
>>
>> Managing the config files for all these devices is getting to be quite
>> a challenge.
>>
>> Is there a utility or add on that anyone can recommend to streamline
>> this?  I am not looking for a display front end, just something to
>> help manage the config files.
>
> I have a similar number of devices, with unique snmp credentials for
> every device (and, we change a few every day, just for kicks!)
> Similarly, there are a wide range of devices, so I have custom templates
> for each class of device (router, firewall,ups,temperature probe, etc).
>
> To keep track of the mayhem, I track all hosts in a database.  There is
> a script that I wrote to collect the information from the database, test
> all hosts to see if they are alive (can I snmpget sysInfo?) and generate
> appropriate cfgmaker command lines as well as a mrtg.cfg file with
> Include: statements for all of the alive devices.  It does a few other
> things for our Xymon alerting system as well.
>
> My scripts are fairly custom to our environment, but that's the sort of
> thing you would need to do to get a handle on it all.
>
>
>
>
>
>
> -- 
> Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
> www.austinenergy.com
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> 



More information about the mrtg mailing list