[mrtg] add another device to monitor

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Mar 9 09:57:17 CET 2007


To add an other device to your config you can run cfgmaker against the new device, have its output written to a file and put this file in a new "Include: " line in the global config below.
For details about cfgmaker see http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html



-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Bob Peck
Sent: Thursday, March 08, 2007 8:55 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] add another device to monitor


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:public at router.localnet # 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,

## 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
mrtg at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.

More information about the mrtg mailing list