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.

Ed

At 12:32 PM 3/8/2007, Christopher Noyes wrote:

Hello,

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.

-Chris Noyes



--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Bob Peck <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

03/08/2007 02:54 PM
To
[email protected]
cc
Subject
[mrtg] add another device to monitor



Hello,

I'm fairly new to MRTG, I'd like to know how would I add another switch
to be monitor say gige-core3.. if my mrtg.cfg looks like the following

# Global configuration
# WorkDir: /var/www/mrtg
# WriteExpires: Yes

# Title[^]: Traffic Analysis for

# 128K leased line
# ----------------
# Title[leased]: a 128K leased line
# PageTop[leased]: <H1>Our 128K link to the outside world</H1>
# Target[leased]: 1:[EMAIL PROTECTED]
# MaxBytes[leased]: 16000

WorkDir: /home/apache/mrtg
ThreshDir: /home/apache/mrtg/threshdir

## Switches
Include: /etc/mrtg/gige-core1.inc
Include: /etc/mrtg/gige-core2.inc

LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,
/usr/share/snmp/mibs/TCP-MIB.txt,
/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

## Servers
Include: /etc/mrtg/frwl001.inc
#Include: /etc/mrtg/punchbowl.inc
Include: /etc/mrtg/c501.inc
Include: /etc/mrtg/c502.inc
Include: /etc/mrtg/c505.inc
Include: /etc/mrtg/c506.inc
Include: /etc/mrtg/c507.inc
Include: /etc/mrtg/c508.inc
Include: /etc/mrtg/c509.inc


Thanks for any help

--
Bob Peck
Network Architect
Chimes, Inc
5455 Corporate Drive, Suite 303
Troy MI 48098

office (248) 293-6767 ext 270
mobile (586) 604-4665






_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

===============================================================
:::::::::::::     PREMIUM COLOCATION SERVICES     :::::::::::::
===============================================================
New Media LLC                    [EMAIL PROTECTED]
11630 Fair Oaks Blvd., #300      http://www.servercolocation.ws
Fair Oaks, CA  95628             (916) 961-0446
(866) 519-4680 Toll-Free         (916) 961-0447 Fax
=============================================================== 
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to