<html>
<body>
Same for me - I monitor multiple devices, and each has it's own cofig
file and data directory. I call mrtg from a cron job at regular intervals
for each config.<br><br>
Ed<br><br>
At 12:32 PM 3/8/2007, Christopher Noyes wrote:<br><br>
<blockquote type=cite class=cite cite=""><font size=2>Hello,</font>
<br><br>
<font size=2> In my experience, it's been more managable for
me to create config files for each switch/router/device I want to
monitor. I also keep the rrd databases stored in a seperate
directory for each device being monitored. I guess how you want to
do it depends on how many devices you have to monitor.</font> <br><br>
<font size=2>-Chris Noyes</font> <br>
<font size=2><br><br>
<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose.<br>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
</font><br><br>
<br>
<font size=1><b>Bob Peck <bpeck@chimesnet.com></b> </font><br>
<font size=1>Sent by: mrtg-bounces@lists.oetiker.ch</font> <br><br>
<font size=1>03/08/2007 02:54 PM</font> <br>
<div align="right"><font size=1>To<br>
</div>
mrtg@lists.oetiker.ch</font> <br>
<div align="right"><font size=1>cc<br>
Subject<br>
</div>
[mrtg] add another device to monitor</font> <br><br>
<br><br>
<tt>Hello,<br>
</tt><br>
<tt>I'm fairly new to MRTG, I'd like to know how would I add another
switch<br>
to be monitor say gige-core3.. if my mrtg.cfg looks like the
following<br>
</tt><br>
<tt># Global configuration<br>
# WorkDir: /var/www/mrtg<br>
# WriteExpires: Yes<br>
</tt><br>
<tt># Title[^]: Traffic Analysis for<br>
</tt><br>
<tt># 128K leased line<br>
# ----------------<br>
# Title[leased]: a 128K leased line<br>
# PageTop[leased]: <H1>Our 128K link to the outside
world</H1><br>
# Target[leased]: 1:public@router.localnet<br>
# MaxBytes[leased]: 16000<br>
</tt><br>
<tt>WorkDir: /home/apache/mrtg<br>
ThreshDir: /home/apache/mrtg/threshdir<br>
</tt><br>
<tt>## Switches<br>
Include: /etc/mrtg/gige-core1.inc<br>
Include: /etc/mrtg/gige-core2.inc<br>
</tt><br>
<tt>LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,<br>
/usr/share/snmp/mibs/TCP-MIB.txt,<br>
/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt<br>
</tt><br>
<tt>## Servers<br>
Include: /etc/mrtg/frwl001.inc<br>
#Include: /etc/mrtg/punchbowl.inc<br>
Include: /etc/mrtg/c501.inc<br>
Include: /etc/mrtg/c502.inc<br>
Include: /etc/mrtg/c505.inc<br>
Include: /etc/mrtg/c506.inc<br>
Include: /etc/mrtg/c507.inc<br>
Include: /etc/mrtg/c508.inc<br>
Include: /etc/mrtg/c509.inc<br>
</tt><br><br>
<tt>Thanks for any help<br>
</tt><br>
<tt>--<br>
Bob Peck<br>
Network Architect<br>
Chimes, Inc<br>
5455 Corporate Drive, Suite 303<br>
Troy MI 48098<br>
</tt><br>
<tt>office (248) 293-6767 ext 270<br>
mobile (586) 604-4665<br>
</tt><br><br>
<br><br>
<br><br>
<tt>_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg" eudora="autourl">
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a></tt> <br><br>
_______________________________________________<br>
mrtg mailing list<br>
mrtg@lists.oetiker.ch<br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg" eudora="autourl">
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a></blockquote>
<x-sigsep><p></x-sigsep>
===============================================================<br>
::::::::::::: PREMIUM COLOCATION
SERVICES ::::::::::::: <br>
===============================================================<br>
New Media
LLC
info@servercolocation.ws<br>
11630 Fair Oaks Blvd., #300
<a href="http://www.servercolocation.ws/" eudora="autourl">
http://www.servercolocation.ws<br>
</a>Fair Oaks, CA
95628
(916) 961-0446<br>
(866) 519-4680 Toll-Free
(916) 961-0447 Fax<br>
===============================================================</body>
</html>