[mrtg] Fw: How can I configure for multiple mrtg processes with multiple configuration files generate the graphs periodically?
Leif Neland
leifn at neland.dk
Sun Feb 13 00:29:40 MET 2000
----- Original Message -----
From: "Leif Neland" <leifn at neland.dk>
To: "Vivianna" <bany at chollian.net>
Sent: Sunday, February 13, 2000 12:25 AM
Subject: Re: [mrtg] How can I configure for multiple mrtg processes with multiple configuration files generate the graphs periodically?
----- Original Message -----
From: "Vivianna" <bany at chollian.net>
To: <mrtg at list.ee.ethz.ch>
Sent: Saturday, February 12, 2000 8:33 AM
Subject: [mrtg] How can I configure for multiple mrtg processes with multiple configuration files generate the graphs periodically?
>
> Thanks for your anwsers.
>
> But I have still problem.
>
> I am using Linux machine.
> I want to monitor two different factor for a target. One is concurrent user monitoring and the other is traffic bandwidth monitoring. So I create two configuration files for a target as bottom of this mail. Each cfg files are fine. If I run mrtg with mrtg1.cfg, it creates gif files in its workdir(/home/httpd/html/mrtg) and also if I run mrtg with mrtg2.cfg, it creates gif files in its workdir(/home/httpd/html/traffic) .
You don't need to have separate configfiles, even if you want to monitor several variables from the same target.
The label between [ ] is just that: a label. It doesn't have to be an ip-adress or a name of the machine.
You could have lines like:
Target[modempool.numusers]:`/usr/bin/mrgt/numusers`
Target[modempool.traffic]: public at modempool.
Target[modempool.temperature]: `/usr/bin/mrtg/temperature`
and have several graphs for the same machine on the same page.
No need to complicate stuff...
Leif
> ********* mrtg1.cfg ***********
>
> WorkDir: /home/httpd/html/mrtg
>
>
> Target[192.96.1.1.1]:`/usr/bin/mrtg/run/numusers`
> MaxBytes[192.96.1.1.1]: 12500000
> .....
>
>
>
> ******** mrtg2.cfg ************
>
> WorkDir: /home/httpd/html/traffic
> LoadMIBs: /home/httpd/html/mibs/SLB05003.mib
>
>
> Target[192.96.1.1.1]:interfaces.ifTable.ifEntry.ifInOctets.1&interfaces.ifTable.ifEntry.ifOutOctets.1:public at 192.96.1.1
> MaxBytes[192.96.1.1.1]: 12500000
> ....
>
> Thanks in advance.
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/mrtg
>
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list