[mrtg] mrtg Digest, Vol 2, Issue 1

Alegria, Luis lalegria at ics-canada.net
Tue Apr 3 15:09:10 CEST 2007


Download Mr Daemon at http://www.geocities.com/mrtg_daemon/Main.html and
then create batch files. I have 60 interfaces spreaded in 6 batch files
of 10 it takes about 30 seconds to pull them all out. My mrtg runs on a
regular Pentium 4 with XP pro, and works like a charm.
 
Luis Alegria
Network Administrator
ICS Courier
Toronto- Canada

________________________________

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of
ABhardwaj at IN.Safenet-inc.com
Sent: Tuesday, April 03, 2007 7:08 AM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] mrtg Digest, Vol 2, Issue 1



Gents, 

Need a piece of advice for running MRTG with Win 2003. 

I have 80 devices and increasing (like Cisco Routers, PIX, Switches and
Servers) that I have to monitor 24x7. Now I am running MRTG on Windows
2003. 

My MRTG system always has 80 command prompt sessions open. When I update
and patch the server OS, restart the server- I need to run these 80
sessions one by one (all over again).

1. Is there a way (maybe GUI) that I can use MRTG and work for these 80
sessions? 
2. Maybe some batch file script that would run all of them in a single
go? 
3. How can I use RRD with MRTG to determine temp, disk, cpu? 

Thanks in advance, 
Akash Bhardwaj 

-----Original Message----- 
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of
mrtg-request at lists.oetiker.ch 
Sent: Thursday, February 01, 2007 6:33 PM 
To: mrtg at lists.oetiker.ch 
Subject: mrtg Digest, Vol 2, Issue 1 

Send mrtg mailing list submissions to 
        mrtg at lists.oetiker.ch 

To subscribe or unsubscribe via the World Wide Web, visit 
        https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 
or, via email, send a message with subject or body 'help' to 
        mrtg-request at lists.oetiker.ch 

You can reach the person managing the list at 
        mrtg-owner at lists.oetiker.ch 

When replying, please edit your Subject line so it is more specific 
than "Re: Contents of mrtg digest..." 


Today's Topics: 

   1. graphing more than 2 values (Brian Pontz) 
   2. snmpv3 - problems with cfgmaker (jpulido at utap.ej-gv.es) 
   3. Re: Newbie.. MRTG Windows NT4.0 Exchange 5.5  monitoring.. 
      (Ed LaFrance) 
   4. Re: graphing more than 2 values (Steve Shipway) 
   5. use mrtg to report utilization of IP address range (Pak Tong Poy) 
   6. Re: use mrtg to report utilization of IP address range 
      (Koelstra, J. (Jan)) 
   7. help regarding cfgmaker (Gaurav Ghimire) 


---------------------------------------------------------------------- 

Message: 1 
Date: Wed, 31 Jan 2007 06:13:20 -0800 (PST) 
From: Brian Pontz <axehind007 at yahoo.com> 
Subject: [mrtg] graphing more than 2 values 
To: mrtg at lists.oetiker.ch 
Message-ID: <328838.13677.qm at web33204.mail.mud.yahoo.com> 
Content-Type: text/plain; charset=iso-8859-1 

Hi, 

Is there a way with mrtg to graph more than 2 
different values? I have 4 different values I want all 
on the same graph, how do I do that with mrtg? 

Thanks, 
Brian 



------------------------------ 

Message: 2 
Date: Wed, 31 Jan 2007 16:31:26 +0100 
From: jpulido at utap.ej-gv.es 
Subject: [mrtg] snmpv3 - problems with cfgmaker 
To: mrtg at lists.oetiker.ch 
Message-ID: 
 
<OF1A2D7F63.24F7AFAF-ONC1257274.0053E3A9-C1257274.0055460F at utap.ej-gv.es
> 
        
Content-Type: text/plain; charset="us-ascii" 

Hi all, 

I'm unable to configure MRTG to work with SNMPv3. I'm using mrtg-2.15 on
a 
WXP machine, and when I try to make the cfg file with cfgmaker: 

perl cfgmaker --global "EnableSnmpV3: yes" --username="mrtg" 
IP.IP.IP.IP:::::3  (the easiest configuration) 

I get this error: 
--base: SNMP V3 libraries found, SNMP V3 enabled. 
Undefined subroutine &main::snmpmapOID called at cfgmaker line 1497. 

If, for example, I try to do a snmpwalk from netsnmp, I get the result 
perfectly. 


I've also tried to make the config myself this way: 

EnableSnmpv3: yes 

######### ddd ############ 

Target[IP.IP.IP.IP_1]: 1:IP.IP.IP.IP:::::3 
SnmpOptions[IP.IP.IP.IP_1]: username=>"mrtg" 
        <div> 
        </div> 


workdir: d:\mrtg_www 

But unfortunately I get another error: 

2007-01-31 16:29:00: ERROR: Target[IP.IP.IP.IP_1][_IN_] 
'1:IP.IP.IP.IP:::::3' (warn): Bareword "IP.IP.IP.IP::::" refers to 
nonexistent package at (eval 16) line 1. 
2007-01-31 16:29:00: ERROR: Target[IP.IP.IP.IP_1][_OUT_] 
'1:IP.IP.IP.IP:::::3' (warn): Bareword "IP.IP.IP.IP::::" refers to 
nonexistent package at (eval 17) line 1. 

Can anybody help? 

Thanks a lot 

-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20070131/ac206e7d/att
achment.htm 

------------------------------ 

Message: 3 
Date: Wed, 31 Jan 2007 08:52:29 -0800 
From: Ed LaFrance <Ed.LaFrance at newmediaems.com> 
Subject: Re: [mrtg] Newbie.. MRTG Windows NT4.0 Exchange 5.5 
        monitoring.. 
To: ABhardwaj at IN.Safenet-inc.com, mrtg at lists.oetiker.ch 
Message-ID: <20070131164422.6D4543BA97 at james.oetiker.ch> 
Content-Type: text/plain; charset="us-ascii" 

Hello - 

Do you have host authorization enabled on the switch(es)? If so, then 
assuming you are running this on a different host than the others, 
you need to add the new IP to the host tables. 

Ed 


At 02:53 AM 1/31/2007, ABhardwaj at IN.Safenet-inc.com wrote: 
>Hi, 
> 
>I am a newbie with MRTG & in process of implementing MRTG for 
>Network Monitoring via SNMP for my LAN switches, devices & servers. 
> 
>Problem is on one of my NT 4.0 Exchange 5.5 server - I keep getting 
>the below error & unable to get the mrtg web pages. Do I need to do 
>something special for Exchange5.5? The same process works fine on my 
>NT 4.0 PDC & all other Windows 2003/2000 servers, switches, devices. 
> 
>D:\MRTG\Bin>perl mrtg Inexch1.cfg 
>Error with Exchange server- D:\mrtg\bin>perl cfgmaker 
>snmp-code at 172.25.10.16 --global "WorkDir: D:\MRTGReports\Exchange" 
>--output Exchange.cfg 
>--base: Get Device Info on snmp-code at 172.25.10.16: 
>WARNING: Skipping snmp-code at 172.25.10.16: as no info could be retrieved

>--base: Writing Exchange.cfg 
> 
>Please advice. 
> 
>Akash 
> 
> 
>The information contained in this electronic mail transmission may 
>be privileged and confidential, and therefore, protected from 
>disclosure. If you have received this communication in error, please 
>notify us immediately by replying to this message and deleting it 
>from your computer without copying or disclosing it. 
>_______________________________________________ 
>mrtg mailing list 
>mrtg at lists.oetiker.ch 
>https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 

=============================================================== 
:::::::::::::     PREMIUM COLOCATION SERVICES     ::::::::::::: 
=============================================================== 
New Media LLC                    info at servercolocation.ws 
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 
=============================================================== 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20070131/507c66b3/att
achment.html 

------------------------------ 

Message: 4 
Date: Thu, 1 Feb 2007 10:35:41 +1300 
From: "Steve Shipway" <s.shipway at auckland.ac.nz> 
Subject: Re: [mrtg] graphing more than 2 values 
To: "Brian Pontz" <axehind007 at yahoo.com> 
Cc: mrtg <mrtg at lists.oetiker.ch> 
Message-ID: 
 
<12A6FDDD13C460408A6E47E5DB1235A2798216 at UXCHANGE3.UoA.auckland.ac.nz> 
Content-Type: text/plain;       charset="US-ASCII" 


> Is there a way with mrtg to graph more than 2 
> different values? I have 4 different values I want all 
> on the same graph, how do I do that with mrtg? 

If you are using routers2 as your frontend to MRTG/RRD then you can 
define a UserDefined graph over the top of two or more Targets, thus 
getting all 4 variables on the same graph either as separate lines or as

stacked areas. 

Steve 

(I seem to have been advertising routers2 a bit frequently recently...) 

-- 
Steve Shipway 
ITSS, University of Auckland 
(09) 3737 599 x 86487 
s.shipway at auckland.ac.nz 



------------------------------ 

Message: 5 
Date: Thu, 1 Feb 2007 11:00:49 +0800 
From: "Pak Tong Poy" <paktongpoy at gmail.com> 
Subject: [mrtg] use mrtg to report utilization of IP address range 
To: mrtg <mrtg at lists.oetiker.ch> 
Message-ID: 
        <dbaa17d0701311900t101d39efsb4334e36556a8bd4 at mail.gmail.com> 
Content-Type: text/plain; charset="iso-8859-1" 

Hi list, 

is it possible to make mrtg report the traffic of certain IP address
range 
instead of interface utilization? If so, how can it be done? 

Many thanks 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20070201/09ec8467/att
achment.htm 

------------------------------ 

Message: 6 
Date: Thu, 1 Feb 2007 09:55:52 +0100 
From: "Koelstra, J. (Jan)" <JKoelstra at MINSZW.NL> 
Subject: Re: [mrtg] use mrtg to report utilization of IP address range 
To: "Pak Tong Poy" <paktongpoy at gmail.com>,      "mrtg" 
        <mrtg at lists.oetiker.ch> 
Message-ID: 
        <683B3FF6C774E449A307F8EF7079C4675488DB at MAILCL1002.MINSZW.NL> 
Content-Type: text/plain; charset="iso-8859-1" 


Pak, 

In general the answer is no. 
The reason: Most devices don't keep track of this sort of counters. 

Jan. 



        -----Original Message----- 
        From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Pak Tong Poy 
        Sent: Thursday, February 01, 2007 4:01 AM 
        To: mrtg 
        Subject: [mrtg] use mrtg to report utilization of IP address
range 


        Hi list, 

        is it possible to make mrtg report the traffic of certain IP
address range instead of interface utilization? If so, how can it be
done?

        Many thanks 




_________________________________________________________ 

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.

_________________________________________________________ 
-------------- next part -------------- 
An HTML attachment was scrubbed... 
URL:
http://lists.oetiker.ch/pipermail/mrtg/attachments/20070201/4e3bbeb7/att
achment.html 

------------------------------ 

Message: 7 
Date: Thu, 1 Feb 2007 18:47:14 +0545 (NPT) 
From: "Gaurav Ghimire" <gaurav at subisu.net.np> 
Subject: [mrtg] help regarding cfgmaker 
To: mrtg at lists.oetiker.ch 
Message-ID: 
        <23064.202.51.81.125.1170334934.squirrel at mail.subisu.net.np> 
Content-Type: text/plain;charset=iso-8859-1 

Dear all, 

I installed mrtg and compiled it well but now the problem is with
cfgmaker 
as in the guides I issued the cfgmaker --globaldir etc etc command but 
there isn't any executable for cfgmaker and indexmaker but there are 
scripts of them can anybody guide me how to make the executables out of 
the scripts or can I use the scripts for the purpose.....I mean when I 
used the scripts to create the mrtg configuration files it worked well
but 
had i had the executables it would have been more easier and one more 
thing I need to know is i have to keep the logs and the HTML files in
the 
html directory and the respective configuration files can they be placed

anywhere i like?? 

Regards, 

Gaurav Ghimire 
Support Dept. 
Subisu Cablenet Pvt. Ltd. 
Baluwatar, Kathmandu. 



------------------------------ 

_______________________________________________ 
mrtg mailing list 
mrtg at lists.oetiker.ch 
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 


End of mrtg Digest, Vol 2, Issue 1 
********************************** 


The information contained in this electronic mail transmission may be
privileged and confidential, and therefore, protected from disclosure.
If you have received this communication in error, please notify us
immediately by replying to this message and deleting it from your
computer without copying or disclosing it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070403/f8b04d57/attachment.htm 


More information about the mrtg mailing list