Daihl, Richard L (Rick | 3 Oct 2006 00:34
Picon
Favicon

Monitoring SAN containing McData switches

Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I use MRTG 2.10.15 and RRD 1.0.49 to monitor read/write traffic on a few
thousand SAN ports across about 40+ SANs.

I extract the transmit and receive statistics for each port on the
switch and stuff them into an rrd.   These statistics are

classified as Counter64 coming out of the switch.   I know this because
I did an snmpbulkget on the switch.  I did an

rrdtool dump of an .rrd file and noticed that rrd saves the data in
Counter format.   The question is does MRTG and RRD

handle Counter64 correctly?

=20

I see some anomilies like the following:

'Daily' graph (5 Minute Average)

=20

'Weekly' graph (30 Minute Average)

=20

'Monthly' graph (2 Hour Average)
(Continue reading)

tom.voussure | 4 Oct 2006 12:13
Picon

NTI Enviromux

Hi,
I've got a question concerning an NTI Enviromux.
(it's a network device for measuring the temperature).

I would like to graph the current temperature in MRTG. The oid to do this 
is 1.3.6.1.4.1.3699.1.1.3.1.2.1.

When I do an snmp walk command (snmpwalk -c private -v 1 10.72.10.254 
1.3.6.1.4.1.3699.1.1.3.1.2.1) I get the value back:
SNMPv2-SMI::enterprises.3699.1.1.3.1.2.1.0 = INTEGER: 223
(where 223 = 22,3°)

When I try an snmpget (to use with mrtg), it failes:
snmpget -c private -v 1 10.72.10.254 1.3.6.1.4.1.3699.1.1.3.1.2.1
result:
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.3699.1.1.3.1.2.1

Unfortunately (for as far as I know) mrtg can only use snmpget, and I 
don't get any support from the manufacturer.

Can anybody help ?

Thanks,
tom
--
Unsubscribe mailto:mrtg-request <at> list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
(Continue reading)

Koelstra, J. (Jan | 4 Oct 2006 13:26
Picon

Re: NTI Enviromux


Tom,

If you look carefuly you will see the returned oid string is longer than the one you used in the snmpwalk command.
With snmpget it is important to use the exact oid.
Add ".0" to the end of the oid in your SNMPget command and you will be fine.

HTH,

Jan.

-----Original Message-----
From: mrtg-bounce <at> list.ee.ethz.ch [mailto:mrtg-bounce <at> list.ee.ethz.ch] On Behalf Of tom.voussure <at> sita.be
Sent: Wednesday, October 04, 2006 12:13 PM
To: mrtg <at> list.ee.ethz.ch
Subject: [mrtg] NTI Enviromux

Hi,
I've got a question concerning an NTI Enviromux.
(it's a network device for measuring the temperature).

I would like to graph the current temperature in MRTG. The oid to do this
is 1.3.6.1.4.1.3699.1.1.3.1.2.1.

When I do an snmp walk command (snmpwalk -c private -v 1 10.72.10.254
1.3.6.1.4.1.3699.1.1.3.1.2.1) I get the value back: SNMPv2-SMI::enterprises.3699.1.1.3.1.2.1.0 =
INTEGER: 223 (where 223 = 22,3°)

When I try an snmpget (to use with mrtg), it failes:
snmpget -c private -v 1 10.72.10.254 1.3.6.1.4.1.3699.1.1.3.1.2.1
(Continue reading)

Uffe R. B. Andersen | 4 Oct 2006 13:32
Favicon

mrtg-rrd.cgi, Apache2 and mod_perl


Hi

Has anyone successfully used mrtg-rrd.cgi with mod_perl on an Apache 2.x.x
server? When I tries yesterday my apache errorlog stated:
Deep recursion on subroutine
"ModPerl::ROOT::ModPerl::Registry::var_www_localhost_cgi_2dbin_mrtg_2drrd_2ecgi::handler"
at /var/www/localhost/cgi-bin/mrtg-rrd.cgi line 1038.

Line 1038 is the "handler($q);" line. The server rapidly became sluggish
and eventually I had to reboot it, to regain control :(

In my setup I have 400 hosts, with 12-14 targets each. The mrtg/rrdtool
combination works fine, tweaked a bit to stay within 5 minutes intervals,
but rendering the images for a host takes (close to) forever. Loading
Smokeping pages is much faster and I guess it is due to the use of
SpeedyCGI. I could use a similar solution for mrtg-rrd.

--
Med venlig hilsen - Sincerely
Uffe R. B. Andersen - mailto:urb <at> twe.net
http://www.twe.net/

tom.voussure | 4 Oct 2006 14:55
Picon

Re: NTI Enviromux

JAn, 
you're a genious !

It works !

thanks,
tom

--
Unsubscribe mailto:mrtg-request <at> list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Stephen Jones | 5 Oct 2006 03:33

Generating MRTGs from historical logs

I did a bit of searching on the web and on the MRTG site and I couldn't
find an information about how to generate graphs from historical logs.

I've been able to 'fake' it, but I can't get around the 300 second
minimal 'sampling' interval, so as an experiment I just fed some of
the data in chunks with a sleep of 300 seconds between each chunk.

Of course, that sounds really tedious.  Has someone already done the
work to allow for something like this?  I've got about 10 to 15 years
worth of data I'd like to start working with.  Specifically I'm looking
for something to alter MRTG's time perception, not for a logfile parser.
I can provide the metrics myself, I just need a way to fool mrtg.

Thanks

--
Unsubscribe mailto:mrtg-request <at> list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Matthew Petach | 5 Oct 2006 08:47
Picon
Favicon

Re: Generating MRTGs from historical logs

You can pass the timestamp into rateup explicitly,
avoiding the need for the 'sleep' call, and allowing
you to stuff data in from any historical time period,
so long as you do it in sorted order.  I have a script
called mrtg_stuffer.pl that stuffs historical data in
for you.  You can read the description for it, and
grab a copy from here:
http://web.archive.org/web/20021010035349/buckaroo.xo.com/MRTG/

Good luck with it!

Matt

----- Original Message ----
From: Stephen Jones <sjones <at> sevcom.com>
To: mrtg <at> list.ee.ethz.ch
Sent: Wednesday, October 4, 2006 6:33:15 PM
Subject: [mrtg] Generating MRTGs from historical logs

I did a bit of searching on the web and on the MRTG site and I couldn't
find an information about how to generate graphs from historical logs.

I've been able to 'fake' it, but I can't get around the 300 second
minimal 'sampling' interval, so as an experiment I just fed some of
the data in chunks with a sleep of 300 seconds between each chunk.

Of course, that sounds really tedious.  Has someone already done the
work to allow for something like this?  I've got about 10 to 15 years
worth of data I'd like to start working with.  Specifically I'm looking
for something to alter MRTG's time perception, not for a logfile parser.
(Continue reading)

jo warson | 6 Oct 2006 14:58
Picon

snmp config for cisco1700

Dear all,

For my company (partially hosting &development) i need to get a definite 
grip on the network traffic. I've allready put mrtg on the windows 
servers which was quite easy.
Can somebody give me a short howto on how to enable snmp on a cisco 
1700? For networking i'm quite a noob so...We also use a 3com switch 
which i'd like to monitor.

Thanks in advance,

--
Unsubscribe mailto:mrtg-request <at> list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Meurer, Jason | 6 Oct 2006 15:40
Favicon

Re: snmp config for cisco1700

The quick hitter list below.  Be careful if any of these command are in
place as you do not want to blow up any existing access.

"String" would be your desired SNMP sting, no quotes.
RO is for read-only, RW would give you read-write
12 is the Access list number used to control what device can hit your
router with SNMP.  You can make this anything you want between 1 and 99.
Within the access-list command, replace 10.156.40.40 with your MRTG
server's IP.
The access-list deny log command is if you want to log any unauthorized
SNMP traffic.

snmp-server community "string" RO 12
access-list 12 permit 10.156.40.40
access-list 12 deny   any log

-----Original Message-----
From: mrtg-bounce <at> list.ee.ethz.ch [mailto:mrtg-bounce <at> list.ee.ethz.ch]
On Behalf Of jo warson
Sent: Friday, October 06, 2006 8:58 AM
To: mrtg <at> list.ee.ethz.ch
Subject: [mrtg] snmp config for cisco1700

Dear all,

For my company (partially hosting &development) i need to get a definite
grip on the network traffic. I've allready put mrtg on the windows
servers which was quite easy.
Can somebody give me a short howto on how to enable snmp on a cisco
1700? For networking i'm quite a noob so...We also use a 3com switch
(Continue reading)

Eric Brander | 9 Oct 2006 19:24
Favicon

Re: Monitoring SAN containing McData switches

Daihl, Richard L (Rick) wrote:
> Does anyone have any ideas about what is going here?=20
>
>
>   

Richard,

I'm not sure of your exact problem but when I was monitoring some McData 
2 gig ports I couldn't get any of the normal counters to work. I had to 
use the 4-byte frame counter and then do some math in MRTG. I'm afraid 
that was too long ago for me to recall the exact config and I don't have 
that set-up anymore but maybe this will help you go down that path.

HTH,

Eric Brander

--
Unsubscribe mailto:mrtg-request <at> list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


Gmane