From mandalek at 4desertwireless.net Sun Jun 1 18:38:09 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Sun, 1 Jun 2003 09:38:09 -0700 Subject: [mrtg] Aironet 340 and 350 Bridges Message-ID: Content-Type: multipart/alternative; boundary="----_=_NextPart_003_01C3285C.2F419B6C" ------_=_NextPart_003_01C3285C.2F419B6C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I need to monitor everything I can from the BR, WGB and AP bridges for = the 340 and 350 Aironet bridges. =20 I currently have Ethernet traffic for Ethernet and radio as well as = doing response and latency ping test. I would like to monitor signal = strengths, number of users, association losses and even more if it is = possible. =20 Does anyone have information or a configuration file that will point me = in the right direction. =20 Thanks =20 Matt =20 ------_=_NextPart_003_01C3285C.2F419B6C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I need = to monitor=20 everything I can from the BR, WGB and AP bridges for the 340 and 350 = Aironet=20 bridges.
 
I = currently have=20 Ethernet traffic for Ethernet and radio as well as doing response and = latency=20 ping test.  I would like to monitor signal strengths, number of = users,=20 association losses and even more if it is possible.
 
Does = anyone have=20 information or a configuration file that will point me in the right=20 direction.
 
Thanks
 
Matt

 
------_=_NextPart_003_01C3285C.2F419B6C-- -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Desc: image001.gif -- Size: 3k (3419 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/52-image001.gif -- Attached file removed by Ecartis and put at URL below -- -- Type: text/x-vcard -- Desc: Matthew Mandalek (E-mail).vcf -- Size: 1k (1840 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/03-Matthew%20Mandalek%20(E-mail).vc -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ruben.montes at eu.didata.com Mon Jun 2 13:20:17 2003 From: ruben.montes at eu.didata.com (Ruben Montes) Date: Mon, 2 Jun 2003 13:20:17 +0200 Subject: [mrtg] Mrtg with PostgreSQL Message-ID: <110C7745627FD511A92000508BAF259751AA03@esbcnddexc1.eu.didata.com> Hello, I want to log all the data generated by mrtg in a PsSQL database. I'm sure somebody has had this idea before... Can you help me where should I begin? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Steve_godfrey at bristol-city.gov.uk Mon Jun 2 14:40:28 2003 From: Steve_godfrey at bristol-city.gov.uk (Steve Godfrey) Date: Mon, 02 Jun 2003 13:40:28 +0100 Subject: [mrtg] SNMP timeout and retry values Message-ID: I want to amend the default SNMP timeout and retry values. Can I configure the default with the MRTG script? The only way I can see to do it is to add the :::2:1: value after the string at 1.2.3.4 target value. I'm not currently using these parameters within the config files. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Mon Jun 2 14:41:46 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Mon, 2 Jun 2003 05:41:46 -0700 Subject: [mrtg] RRD Install Message-ID: I used the instruction in the readme to install the RRD routines. I had no problem setting up the IIS stuff, but when I run the following command this is what I get... ppm install rrds.ppd C:\RRD\perl-shared>ppm install rrds.ppd Error: neither 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in registry at c:\perl\bin/ppm.bat line 27. Can Anyone help? Thanks Matt <> -- Attached file removed by Ecartis and put at URL below -- -- Type: text/x-vcard -- Desc: Matthew Mandalek (E-mail).vcf -- Size: 1k (1840 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/04-Matthew%20Mandalek%20(E-mail).vc -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Mon Jun 2 14:51:02 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Mon, 2 Jun 2003 05:51:02 -0700 Subject: [mrtg] What is best to use Message-ID: I am new to the RRD tools. What is the best front end to use for a "not so good" perl programmer? Thanks Matt <> -- Attached file removed by Ecartis and put at URL below -- -- Type: text/x-vcard -- Desc: Matthew Mandalek (E-mail).vcf -- Size: 1k (1840 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/05-Matthew%20Mandalek%20(E-mail).vc -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From simon at limmat.switch.ch Mon Jun 2 15:26:18 2003 From: simon at limmat.switch.ch (Simon Leinen) Date: Mon, 02 Jun 2003 15:26:18 +0200 Subject: [mrtg] Re: MRTG Request ID In-Reply-To: <002401c310f2$920b9af0$8b00a8c0@puyo> (dyndns@puyo.dyndns.org's message of "Fri, 2 May 2003 23:34:11 +0200") References: <002401c310f2$920b9af0$8b00a8c0@puyo> Message-ID: puyo writes: > I have the 7004BR work verry well . > i like now to get snmp value from router Via MRTG 2.9.29 redhat 7.3 . > In fact, the router firmware doesn't follow the SNMP specification > exactly... For each query, you need to use a query ID which can be > from -2^32 to 2^32 > the Router doen't like when it is not from 0 to 2^16 First of all, thank you for doing this detailed analysis first! There are in fact a few agents that have trouble with negative request IDs. The SNMP_Session.pm library that MRTG uses has a workaround for this - see "avoid_negative_request_ids" in the code. You could patch your SNMP_Session.pm to set this to "1" by default, or patch MRTG to set it for the problematic target. Oops, you said it masks the entire upper 16 bits. Well there's no workaround for this, but one could do it in SNMP_Session.pm, either by adding a "use_16_bit_unsigned_request_id" variable or by doing something like "lenient_request_id_matching". But the best fix would be to fix your agent. Maybe there is newer firmware available for the router that fixes the problem. Otherwise, "MRTG doesn't work" will be a good incentive for the vendor to fix it. And therefore I'm reluctant to add this workaround to SNMP_Session.pm: We would be adding workarounds all the time for differently broken SNMP agents, and end up with the lowest common denominator that would work badly with all agents. > request (mrtg) > Comm/Auth Object Type/Len: 0x30 0x57 (87) > Version Number Type/Len/Value: 0x02 0x01 (1) 0x00 > Community Type/Len/Value: 0x04 0x06 (6) public > PDU Message Type: 0xA0 Get Request > PDU Message Length: 0x4A (74) > Request ID Type/Len/Value: 0x02 0x04 (4) 0x477C2EF0 > answere (router) > Comm/Auth Object Type/Len: 0x30 0x5F (95) > Version Number Type/Len/Value: 0x02 0x01 (1) 0x00 > Community Type/Len/Value: 0x04 0x06 (6) public > PDU Message Type: 0xA2 Get Response > PDU Message Length: 0x52 (82) > Request ID Type/Len/Value: 0x02 0x02 (2) 0x2EF0 > How i can fix MRTG to use only from 0 to 2^16 request ID ? > can some one help me please? > best regards -- Simon Leinen simon at babar.switch.ch SWITCH http://www.switch.ch/misc/leinen/ Computers hate being anthropomorphized. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From simon at limmat.switch.ch Mon Jun 2 15:30:05 2003 From: simon at limmat.switch.ch (Simon Leinen) Date: Mon, 02 Jun 2003 15:30:05 +0200 Subject: [mrtg] Re: Mrtg to monitor FTP traffic In-Reply-To: <67F78AB288691C479957FE28F9493552078B17@ax1.bp1.amtel.hu> ( =?iso-8859-1?q?F=FCl=F6p_M=E1rton's_message_of?= "Fri, 30 May 2003 12:06:32 +0200") References: <67F78AB288691C479957FE28F9493552078B17@ax1.bp1.amtel.hu> Message-ID: F?l?p M?rton writes: >> How can I monitor FTP traffic on 21 port on 123.456.678.789 Ip >> address? Can somebody tell me how to make cfg fort this? > configure your firewall for traffic accounting and pass that data to > MRTG. Good suggestion. > keep in mind ftp often uses random ports for data transfer. Yes, today most data traffic flows over non-well-known ports in "passive" mode. Active mode (which does use a well-known port) is more complicated for firewalls, therefore it is broken in many places, therefore newer FTP client software (such as the major browsers) use passive mode by default. -- Simon. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From simon at limmat.switch.ch Mon Jun 2 15:34:25 2003 From: simon at limmat.switch.ch (Simon Leinen) Date: Mon, 02 Jun 2003 15:34:25 +0200 Subject: [mrtg] Re: Mrtg to monitor FTP traffic In-Reply-To: <1054297807.2156.28.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> (Daniel J. McDonald's message of "30 May 2003 07:30:08 -0500") References: <67F78AB288691C479957FE28F9493552078B17@ax1.bp1.amtel.hu> <1054297807.2156.28.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> Message-ID: Daniel J McDonald writes: > So, how do you create the counter? You can, on the FTP box, create a > firewall rule that counts bytes and monitor it. You can, on a Cisco > Router, right a rule using CAR or the Modular QOS rules that somehow > identifies the appropriate traffic and provides a counter. You can, > using a Cisco or Juniper router, export netflow records and correlate > them with a package like flow-tools and write a gnarly script to come up > with traffic stats from that. Those are all good suggestions. Juniper (those with an IP II ASIC) also has the "FIREWALL-MIB" which can be used to monitor traffic that matches filter list rules. It would also be nice if popular FTP servers came with a small SNMP agent that would expose these statistics. That might be a good term project for a student or so. -- Simon. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kwoody at citytel.net Mon Jun 2 19:05:28 2003 From: kwoody at citytel.net (Keith Woodworth) Date: Mon, 2 Jun 2003 10:05:28 -0700 (PDT) Subject: [mrtg] Wrong numbers showing on graph. Message-ID: Been using MRTG for a number of years now but a week ago have had a situation come up where some programming was needed to pull data from a non-snmp device and graph. Ive been able to do that successfully using expect and some perl. Reading over the docs and such Ive come up with a simple MRTG cfg file: --- Cut Workdir: /usr/local/www/data/sandvine Title[Users]: Sockets in Use : PPE PageTop[Users]:

Number of P2P Sockets in use: PPE

Target[Users]: `cat /root/sockets` MaxBytes[Users]: 1000 AbsMax[Users]: 1000 Options[Users]: gauge, nopercent YLegend[Users]: # of Sockets ShortLegend[Users]: Sockets LegendI[Users]:   LegendO[Users]: Legend1[Users]: Number of Connections --- Cut The file sockets always contains 4 numbers: 450 0 0 0 The first number always changes of course but the other three remain 0. The problem lies in that MRTG is fed the data but when the graphs are produced the number that shows Current: under the graph is NOT the number that is in the /root/sockets file, which is what I'd expect. So instead of 450 being displayed as Current Sockets the graph displays a seemingly random number but it will be, for example, 422. Next time the /root/sockets will have 523 and the graph will display 501. Ive deleted all the html/png files so MRTG has to recreate them again but the problem persists. MRTG v2.9.22 on FreeBSD 4.7. Any pointers on how to fix this error? I'm not sure why it happening. Thanks, Keith -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Darryl.kegg at thehortongroup.com Mon Jun 2 19:22:24 2003 From: Darryl.kegg at thehortongroup.com (Darryl Kegg) Date: Mon, 2 Jun 2003 12:22:24 -0500 Subject: [mrtg] Doing Calculations Message-ID: <9CEFC781408F414EAEE713C282CFB1E298D45F@opmail.hortonins.com> Sorry for such a dumb question, but I have been scouring the archives and cannot find a single example. I am trying to do a Celsius to Farenheit conversion for the APC environmental monitor, I know the formula F = (C x 1.8) +32 but cannot find where I would insert this formula in MRTG, I assume it is done in the CFG file but cannot seem to find the appropriate syntax. Any help would be appreciated. Thanks. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From tvaluikas at cox.net Mon Jun 2 19:35:10 2003 From: tvaluikas at cox.net (Anthony Valuikas) Date: Mon, 2 Jun 2003 12:35:10 -0500 Subject: [mrtg] Re: Doing Calculations In-Reply-To: <9CEFC781408F414EAEE713C282CFB1E298D45F@opmail.hortonins.com> Message-ID: Here is one way. end of the target line...public at IP * 9 / 5 + 32 Tv -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On Behalf Of Darryl Kegg Sent: Monday, June 02, 2003 12:22 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Doing Calculations Sorry for such a dumb question, but I have been scouring the archives and cannot find a single example. I am trying to do a Celsius to Farenheit conversion for the APC environmental monitor, I know the formula F = (C x 1.8) +32 but cannot find where I would insert this formula in MRTG, I assume it is done in the CFG file but cannot seem to find the appropriate syntax. Any help would be appreciated. Thanks. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From aortega at univ-wea.com Mon Jun 2 20:06:05 2003 From: aortega at univ-wea.com (Manny Ortega) Date: Mon, 2 Jun 2003 13:06:05 -0500 Subject: [mrtg] Re: Doing Calculations Message-ID: <69D72311B46FD4119EF100D0B77CF7DA0855DB69@lightning.univ-wea.com> I have a dell server that gives temps in degrees celsius x10, IOW it's 27 degrees celsius and an SNMPget shows 270. This is what I have after the target line: :public at IPADDRESS / 10 * 1.8 + 32 If you only get degrees celsius, just use * 1.8 + 32 -MannyO -----Original Message----- From: Darryl Kegg [mailto:Darryl.kegg at thehortongroup.com] Sent: Monday, June 02, 2003 12:22 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Doing Calculations Sorry for such a dumb question, but I have been scouring the archives and cannot find a single example. I am trying to do a Celsius to Farenheit conversion for the APC environmental monitor, I know the formula F = (C x 1.8) +32 but cannot find where I would insert this formula in MRTG, I assume it is done in the CFG file but cannot seem to find the appropriate syntax. Any help would be appreciated. Thanks. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From brandonl at hms4emc.com Mon Jun 2 20:38:43 2003 From: brandonl at hms4emc.com (Brandon Lederer) Date: Mon, 2 Jun 2003 13:38:43 -0500 Subject: [mrtg] Samba List Message-ID: Is anyone that is on this list also on the Samba List? Is it down? Speaking of Samba.... Is there any Monitoring that can be done with MRTG and Samba. Does it put out any stats? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From tpavelchek at btcwcu.org Mon Jun 2 21:27:31 2003 From: tpavelchek at btcwcu.org (Tom Pavelchek) Date: Mon, 02 Jun 2003 15:27:31 -0400 Subject: [mrtg] Re: Wrong numbers showing on graph. In-Reply-To: Message-ID: <5.1.0.14.0.20030602152350.02c471e0@mail.btcwcu.org> I think you are seeing MRTG combine two consecutive measurements, since your script probably does not return values precisely on a 300 second interval. Look at the top of the .log file, and you'll see that the value graphed (2nd or 3rd column) is not the same as the maximum (4th or 5th column) for any full 300 second interval. 1054580104 1309679430540 1154047025075 1054580104 3559844 1334174 3559844 1334174 1054579807 3924060 1488237 3924060 1488237 1054579800 3924138 1488743 3929941 1526246 full 300 seconds 1054579500 3914832 1522543 3929941 1526246 " 1054579200 3610368 1446108 3920516 1446899 " At 01:05 PM 6/2/03, Keith Woodworth wrote: >Been using MRTG for a number of years now but a week ago have had a >situation come up where some programming was needed to pull data from a >non-snmp device and graph. > >Ive been able to do that successfully using expect and some perl. Reading >over the docs and such Ive come up with a simple MRTG cfg file: > >--- Cut >Workdir: /usr/local/www/data/sandvine > >Title[Users]: Sockets in Use : PPE >PageTop[Users]:

Number of P2P Sockets in use: PPE

>Target[Users]: `cat /root/sockets` >MaxBytes[Users]: 1000 >AbsMax[Users]: 1000 >Options[Users]: gauge, nopercent >YLegend[Users]: # of Sockets >ShortLegend[Users]: Sockets >LegendI[Users]:   >LegendO[Users]: >Legend1[Users]: Number of Connections >--- Cut > >The file sockets always contains 4 numbers: > >450 >0 >0 >0 > >The first number always changes of course but the other three remain 0. >The problem lies in that MRTG is fed the data but when the graphs are >produced the number that shows Current: under the graph is NOT the number >that is in the /root/sockets file, which is what I'd expect. > >So instead of 450 being displayed as Current Sockets the graph displays a >seemingly random number but it will be, for example, 422. Next time the >/root/sockets will have 523 and the graph will display 501. Ive deleted >all the html/png files so MRTG has to recreate them again but the problem >persists. > >MRTG v2.9.22 on FreeBSD 4.7. > >Any pointers on how to fix this error? I'm not sure why it happening. > >Thanks, >Keith > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://www.ee.ethz.ch/~slist/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- ----------------------------------------------------------------------- Thomas H. Pavelchek Director of Technology Business Technology Center 1160 McDermott Drive West Chester University West Chester PA, 19383 tpavelchek at btcwcu.org (610) 436-3337 x2991 ------------------------------------------------------------------------ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From hackerwacker at tarpit.cybermesa.com Mon Jun 2 21:31:04 2003 From: hackerwacker at tarpit.cybermesa.com (james) Date: Mon, 2 Jun 2003 13:31:04 -0600 Subject: [mrtg] option to bind MRTG to a specific interface References: <5.1.0.14.0.20030602152350.02c471e0@mail.btcwcu.org> Message-ID: <00ae01c3293d$821c6a30$0200000a@jamesnew> Is there a switch or flag that I can start MRTG with to bind to a specific ethernet interface ? james -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Mon Jun 2 22:11:21 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 02 Jun 2003 15:11:21 -0500 Subject: [mrtg] Re: option to bind MRTG to a specific interface In-Reply-To: <00ae01c3293d$821c6a30$0200000a@jamesnew> References: <5.1.0.14.0.20030602152350.02c471e0@mail.btcwcu.org> <00ae01c3293d$821c6a30$0200000a@jamesnew> Message-ID: <1054584681.3445.81.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Mon, 2003-06-02 at 14:31, james wrote: > Is there a switch or flag that I can start MRTG with to bind to a > specific ethernet interface ? Sort of, you can specify the source interface in the snmp queries. The syntax for this is not documented in the mrtg manuals - it's in the SNMP_util.pm README file... [blockquote] The port parameter was recently augmented to allow the specification of the IP address (or hostname) and port of the machine doing the query in addition to the IP address (or hostname) and port of the machine being queried. Some machines have additional security features that only allow SNMP queries to come from certain IP addresses. If the host doing the query has multiple interface, it may be necessary to specify the interface the query should come from. The port parameter is further broken down into "remote_port!local_address!local_port". Here are some examples: somehost somehost:161 somehost:161!192.168.2.4!4000 use 192.168.2.4 and port 4000 as source somehost:!192.168.2.4 use 192.168.2.4 as source somehost:!!4000 use port 4000 as source Most people will only need to use the first form ("somehost"). [/blockquote] So, taking the mrtg manual statement: [blockquote] Extended Host Name Syntax. In all places where ``community at router'' is accepted, you can add additional parameters for the SNMP communication using colon-separated suffixes. The full syntax is as follows: community at router[:[port][:[timeout][:[retries][:[backoff][:version]]]]] where the meaning of each parameter is as follows: port the UDP port under which to contact the SNMP agent (default: 161) timeout initial timeout for SNMP queries, in seconds (default: 2.0) retries number of times a timed-out request will be retried (default: 5) backoff factor by which the timeout is multiplied on every retry (default: 1.0). version for SNMP version. If you have a fast router you might want to put a '2' here. This will make mrtg try to poll the 64 bit counters and thus prevent excessive counter wrapping. Not all routers support this though. Example: 3:public at router1:::::2 [/blockquote] The "port" section can be extended to specify the source address (and, if truly needed, the source port). Something like: 3:public at router1:!10.10.10.1::::2 That might make a good manual addition. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kwoody at citytel.net Mon Jun 2 22:12:30 2003 From: kwoody at citytel.net (Keith Woodworth) Date: Mon, 2 Jun 2003 13:12:30 -0700 (PDT) Subject: [mrtg] Re: Wrong numbers showing on graph. In-Reply-To: <5.1.0.14.0.20030602152350.02c471e0@mail.btcwcu.org> Message-ID: That might be as thats sort of what the log does look like: 1054584725 287 0 1054584725 287 0 287 0 1054584426 281 0 281 0 1054584300 286 0 293 0 1054584000 303 0 319 0 1054583700 324 0 333 0 How to get MRTG to not do that now is the question. I'm only wanting to graph one value though. Thanks, Keith |-> |->I think you are seeing MRTG combine two consecutive measurements, since your script probably does not return values precisely on a 300 second interval. Look at the top of the .log file, and you'll see that the value graphed (2nd or 3rd column) is not the same as the maximum (4th or 5th column) for any full 300 second interval. |-> |->1054580104 1309679430540 1154047025075 |->1054580104 3559844 1334174 3559844 1334174 |->1054579807 3924060 1488237 3924060 1488237 |->1054579800 3924138 1488743 3929941 1526246 full 300 seconds |->1054579500 3914832 1522543 3929941 1526246 " |->1054579200 3610368 1446108 3920516 1446899 " |-> |->At 01:05 PM 6/2/03, Keith Woodworth wrote: |-> |->>The first number always changes of course but the other three remain 0. |->>The problem lies in that MRTG is fed the data but when the graphs are |->>produced the number that shows Current: under the graph is NOT the number |->>that is in the /root/sockets file, which is what I'd expect. |->> |->>So instead of 450 being displayed as Current Sockets the graph displays a |->>seemingly random number but it will be, for example, 422. Next time the |->>/root/sockets will have 523 and the graph will display 501. Ive deleted |->>all the html/png files so MRTG has to recreate them again but the problem |->>persists. |->> -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jarrod.friedland at dhl.com Tue Jun 3 05:06:04 2003 From: jarrod.friedland at dhl.com (Jarrod Friedland) Date: Tue, 3 Jun 2003 13:06:04 +1000 Subject: [mrtg] Loading multiple MIBS into mrtg at once Message-ID: Hi all Is it possible using --global='LoadMIBs: /home/jfriedla/MIB/*.mib,/var/www/html/mrtg' to load multiple MIB files at once ... say I have th mib files for a device and there are say 8 to load. Just wondering if there is a quicker way then running cfgmaker --global='WorkDir:/var/www/html/mrtg' --global='LoadMIBs: /home/*/MIB/rfc1757.mib,/var/www/html/mrtg' public at xxx.xxx.xxx.xxx for each mib file keep in mind the * in the above example for security reasons only:) and Im not inserting any * at this stage. thanks in advance! -- Regards, Jarrod Friedland Communications Analyst DHL Telecoms Phone: +61 (7) 3845 7777 Direct: +61 (7) 3845 7735 Fax: +61 (7) 3845 7979 *Mobile: 0401 500 134 E-mail: jarrod.friedland at dhl.com * Mobile for international callers +61 401 500 134 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Tue Jun 3 12:42:49 2003 From: mk at ugg-lan.com (Mats) Date: Tue, 3 Jun 2003 12:42:49 +0200 Subject: [mrtg] Re: RRD Install References: Message-ID: <004701c329bc$e105f3c0$0200000a@home02> Have you installed perl on the machine ? /Mats ------------------------------------- Det ?r med id?er som med sm? barn. Man tycker b?st om sina egna. Moa Martinsson ----- Original Message ----- From: "Matthew L. Mandalek" To: "MRTG (E-mail)" Sent: Monday, June 02, 2003 14:41 Subject: [mrtg] RRD Install > I used the instruction in the readme to install the RRD routines. I had no problem setting up the IIS stuff, but when I run the following command this is what I get... > ppm install rrds.ppd > > C:\RRD\perl-shared>ppm install rrds.ppd Error: neither 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in registry at c:\perl\bin/ppm.bat line 27. > > Can Anyone help? > > Thanks > > Matt > > > > <> > > -- Attached file removed by Ecartis and put at URL below -- > -- Type: text/x-vcard > -- Desc: Matthew Mandalek (E-mail).vcf > -- Size: 1k (1840 bytes) > -- URL : http://www.ee.ethz.ch/~slist/p/04-Matthew%20Mandalek%20(E-mail).vc > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Tue Jun 3 14:18:52 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 03 Jun 2003 07:18:52 -0500 Subject: [mrtg] Re: Loading multiple MIBS into mrtg at once In-Reply-To: References: Message-ID: <1054642731.2099.9.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Mon, 2003-06-02 at 22:06, Jarrod Friedland wrote: > Hi all > > Is it possible using --global='LoadMIBs: > /home/jfriedla/MIB/*.mib,/var/www/html/mrtg' to load multiple MIB files at > once ... say I have th mib files for a device and there are say 8 to load. > Just wondering if there is a quicker way then running > > cfgmaker --global='WorkDir:/var/www/html/mrtg' --global='LoadMIBs: > /home/*/MIB/rfc1757.mib,/var/www/html/mrtg' public at xxx.xxx.xxx.xxx If it is the same mib for each one of your configs, you only need to load it once. All that loadmibs does is tell SNMP_utils.pm where to go look for a mib file if it can't find a mapping in a file called oid-mib-cache.txt . If the module finds a mib name without a cached entry, it parses the mib and puts the entry in the oid-mib-cache.txt file, and ignores the mib until you add another name that it doesn't have cached. You can also edit the file manually, if your mib structure is too complex to parse without torture (Think Cisco with their 3 levels of includes and lots of bizarre dependencies) but you still want to use mnemonics. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Tue Jun 3 14:44:25 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Tue, 3 Jun 2003 05:44:25 -0700 Subject: [mrtg] Re: RRD Install Message-ID: Yes I do.. ActivePerl 5.8.0.805 -----Original Message----- From: Mats [mailto:mk at ugg-lan.com] Sent: Tuesday, June 03, 2003 3:43 AM To: Matthew L. Mandalek; MRTG (E-mail) Subject: [mrtg] Re: RRD Install Have you installed perl on the machine ? /Mats ------------------------------------- Det ?r med id?er som med sm? barn. Man tycker b?st om sina egna. Moa Martinsson ----- Original Message ----- From: "Matthew L. Mandalek" To: "MRTG (E-mail)" Sent: Monday, June 02, 2003 14:41 Subject: [mrtg] RRD Install > I used the instruction in the readme to install the RRD routines. I had no problem setting up the IIS stuff, but when I run the following command this is what I get... > ppm install rrds.ppd > > C:\RRD\perl-shared>ppm install rrds.ppd Error: neither 'HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/PPM//InstallLocation' nor 'HKEY_CURRENT_USER/SOFTWARE/ActiveState/PPM//InstallLocation' found in registry at c:\perl\bin/ppm.bat line 27. > > Can Anyone help? > > Thanks > > Matt > > > > <> > > -- Attached file removed by Ecartis and put at URL below -- > -- Type: text/x-vcard > -- Desc: Matthew Mandalek (E-mail).vcf > -- Size: 1k (1840 bytes) > -- URL : http://www.ee.ethz.ch/~slist/p/04-Matthew%20Mandalek%20(E-mail).vc > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kotaro.kaji at hp.com Wed Jun 4 03:20:07 2003 From: kotaro.kaji at hp.com (KAJI,KOTARO (HP-Japan,ex2)) Date: Wed, 4 Jun 2003 10:20:07 +0900 Subject: [mrtg] Monitoring Error Packet Message-ID: <66A8482545B4C0419D82AF923264AFB006DD480D@xjp02.jpn.hp.com> I had measured the error packet of a WAN circuit by the following CONFIG on the VLAN interface of MSFC (Catalyst6500). -----ERROR IN-------- #ifInErrors(14) & ifInUcastPkts(11) + #Dummy & ifInNUcastPkts(12) + #Dummy & ifInDiscards(13) + #Dummy & ifInErrors(14) + #Dummy & ifInUnknownProtos(15) Target[target_name]: ( .1.3.6.1.2.1.2.2.1.14.interface_num&.1.3.6.1.2.1.2.2. 1.11.interface_num:community_name\@host_name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.12.interface_num:community_name\@host _name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.13.interface_num:community_name\@host _name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.14.interface_num:community_name\@host _name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.15.interface_num:community_name\@host _name ) * 300 -----ERROR OUT-------- #ifOutErrors(20) & ifOutUcastPkts(17) + #Dummy & ifOutNUcastPkts(18) + #Dummy & ifOutDiscards(19) + Target[target_name]: ( .1.3.6.1.2.1.2.2.1.20.interface_num&.1.3.6.1.2.1.2.2. 1.17.interface_num:community_name\@host_name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.18.interface_num:community_name\@host _name + .1.3.6.1.2.1.15.2.0&.1.3.6.1.2.1.2.2.1.19.interface_num:community_name\@host _name ) * 300 ------------- However, by this method, it turns out that it cannot measure and changed to measurement in the physical port of Catalyst6500. All that matters here is that OID (.1.3.6.1.2.1.15.2.0) of Dummy does not exist in Catalyst6500. OID which always returns 0 is known? (.1.3.6.1.2.1.15.2.0=bgpLocalAs) Is there any method using OID of Dummy? Thanks /K Kaji -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ozlem.duran at turkcell.com.tr Wed Jun 4 09:38:43 2003 From: ozlem.duran at turkcell.com.tr (ozlem.duran at turkcell.com.tr) Date: Wed, 4 Jun 2003 10:38:43 +0300 Subject: [mrtg] WLAN OID - AIRONET 1100 Message-ID: Hello, I m searching for aironet 1100 OID s, specially for connection rate of users??? thanks *********************************************************************** Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir.Eger soz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz,kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye aittir ve TURKCELL'in goruslerini yansitmayabilir Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir. *********************************************************************** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted. TURKCELL makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever.The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TURKCELL. This e-mail has been scanned for all known computer viruses. *********************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From henry at zone1511.net Thu Jun 5 04:23:45 2003 From: henry at zone1511.net (Henry Chen) Date: Thu, 5 Jun 2003 10:23:45 +0800 Subject: [mrtg] Re: WLAN OID - AIRONET 1100 References: Message-ID: <003f01c32b09$7de733f0$1d00a8c0@zone1511.com> I copied the somix reference page to grep the DS0sHighWaterMark by the following: Can anybody tell me what is the correct content of $INSTANCE?? # cisco : cpmActiveDS0sHighWaterMark # # This configuraton was generated by # Somix Technologies, Inc. (www.somix.com) # # Example CFGNAME : DEVICE_NAME-cpmActiveDS0sHighWaterMark Target[$CFGNAME]: 1.3.6.1.4.1.9.10.19.1.1.8.$INSTANCE&1.3.6.1.4.1.9.10.19.1.1.8.$INSTANCE:$COM MUNITY\@$IPADDRESS MaxBytes[$CFGNAME]: $MAX Title[$CFGNAME]: $DEVICE - cisco PageTop[$CFGNAME]: $DEVICE - cisco # NOTE: You may need to change the options below to reflect this type of MIB Options[$CFGNAME]: unknaszero YLegend[$CFGNAME]: ShortLegend[$CFGNAME]: Legend1[$CFGNAME]: cpmActiveDS0sHighWaterMark Legend2[$CFGNAME]: . Legend3[$CFGNAME]: Max value per interval on graph Legend4[$CFGNAME]: . LegendI[$CFGNAME]: LegendO[$CFGNAME]: . Colours[$CFGNAME]: GREEN#00eb0c,BLUE#EEEEEE,GRAY#AAAAAA,VIOLET#FF00FF WithPeak[$CFGNAME]: ymv -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bratman at rbe.com.au Thu Jun 5 08:17:28 2003 From: bratman at rbe.com.au (Matthew Wootton) Date: Thu, 05 Jun 2003 16:17:28 +1000 Subject: [mrtg] Netware and Connected Users Message-ID: I am trying to use MRTG to graph the following OIDS: Target[{value}]: 1.3.6.1.4.1.23.2.28.3.2.0&1.3.6.1.4.1.23.2.28.3.4.0: {string}@{host} using the options: nopercent, growright, gauge the output in the log file is as follows: 1054788871 580 2890 1054788871 0 0 0 0 1054788858 0 0 0 0 1054788600 0 0 0 0 1054788300 0 0 0 0 1054788000 0 0 0 0 1054787700 0 0 0 0 1054787400 0 0 0 0 1054787100 0 0 0 0 1054786800 0 0 0 0 1054786500 0 0 0 0 1054786200 0 0 0 0 1054785900 0 0 0 0 1054785600 0 0 0 0 1054785300 0 0 0 0 1054785000 0 0 0 0 1054784700 0 0 0 0 resulting in a graph with a zero value. The first OID is the number os licensed connections on the file server and the second OID is the number of entries in the connection table. Has anyone seen mrtg do this ? The OIDs are valid and the values can be retrieved with a SNMPGET. Is there any way I can get MRTG to collect the values Matthew -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ozlem.duran at turkcell.com.tr Thu Jun 5 09:23:52 2003 From: ozlem.duran at turkcell.com.tr (ozlem.duran at turkcell.com.tr) Date: Thu, 5 Jun 2003 10:23:52 +0300 Subject: [mrtg] error rate Message-ID: hi again, Im watching error rate of 8540-6009 trunks and I dont want to see percentage because it is wrong. How can I do that? Thanks *********************************************************************** Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir.Eger soz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz,kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir TURKCELL bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye aittir ve TURKCELL'in goruslerini yansitmayabilir Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir. *********************************************************************** This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted. TURKCELL makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever.The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TURKCELL. This e-mail has been scanned for all known computer viruses. *********************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Thu Jun 5 09:49:57 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Thu, 5 Jun 2003 08:49:57 +0100 Subject: [mrtg] Re: Netware and Connected Users Message-ID: >I am trying to use MRTG to graph the following OIDS: >Target[{value}]: 1.3.6.1.4.1.23.2.28.3.2.0&1.3.6.1.4.1.23.2.28.3.4.0:{string}@{host} >using the options: nopercent, growright, gauge >the output in the log file is as follows: >1054788871 580 2890 >1054788871 0 0 0 0 >1054788858 0 0 0 0 >resulting in a graph with a zero value. This is commonly caused by maxbytes being too low, or the resultant calculated value being below 1 (mainly for sessions without the 'gauge' option) It can be caused by misusing the Options[_] and Options[target] lines. The later will cause the former to be ignored, not appended to. I suggest, if you cannot see the fault, you submit your cfg file to the group. Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From sh_khat at hotmail.com Thu Jun 5 11:37:56 2003 From: sh_khat at hotmail.com (shaza khatib) Date: Thu, 05 Jun 2003 09:37:56 +0000 Subject: [mrtg] fatal libpng error Message-ID: hi, every time i try to run the mrtg : '#mrtg mrtg.cfg' i got the following errors ,and there are no graphs in the generated files ( *.png ) if anybody have an idea about this please send it in order to fix the problem Malformed UTF-8 character (unexpected non-continuation byte 0x2e, immediately af ter start byte 0xd2) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 4997. Malformed UTF-8 character (unexpected non-continuation byte 0x20, immediately af ter start byte 0xcf) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 4997. Malformed UTF-8 character (unexpected non-continuation byte 0x2e, immediately af ter start byte 0xf0) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 5107. Rateup WARNING: /usr/bin/rateup could not read the primary log file for 10.27.10 .1_10.27.10.1 Rateup WARNING: /usr/bin/rateup The backup log file for 10.27.10.1_10.27.10.1 wa s invalid as well Rateup WARNING: /usr/bin/rateup Can't remove 10.27.10.1_10.27.10.1.old updating log file Rateup WARNING: /usr/bin/rateup Can't rename 10.27.10.1_10.27.10.1.log to 10.27. 10.1_10.27.10.1.old updating log file gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bassem.kattan at sectordynamics.com Thu Jun 5 12:36:23 2003 From: bassem.kattan at sectordynamics.com (Bassem Kattan) Date: Thu, 05 Jun 2003 13:36:23 +0300 Subject: [mrtg] cpu temperature Message-ID: <002001c32b4e$50798310$bd127ec2@bklaptop> Dear mail list subscribers, I just subscribed to the list, and I hope I can provide as much help as I might get from you. Has anyone monitored an Intel's CPU's temperature before? If so, please I need the OID. I'm trying to graph the P4 CPU temperature of a remote server. Thank you, Bassem Kattan. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Thu Jun 5 12:53:50 2003 From: mk at ugg-lan.com (mk at ugg-lan.com) Date: Thu, 5 Jun 2003 12:53:50 +0200 Subject: [mrtg] Re: cpu temperature References: <002001c32b4e$50798310$bd127ec2@bklaptop> Message-ID: <000901c32b50$c11a7320$0300000a@home03> Please supply sufficient information and an answers can be given with the same precision as the information given! Info as OS, snmp agent installed, temperature sensor ......... is essensial! Well I give an generall answer. If an snmp agent is installed in the operating system the counter for temperature is there somewhere. /Mats ----- Original Message ----- From: "Bassem Kattan" To: Sent: Thursday, June 05, 2003 12:36 Subject: [mrtg] cpu temperature > Dear mail list subscribers, > > I just subscribed to the list, and I hope I can provide as much help as > I might get from you. > > Has anyone monitored an Intel's CPU's temperature before? If so, please > I need the OID. > > I'm trying to graph the P4 CPU temperature of a remote server. > > Thank you, > > Bassem Kattan. > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bassem.kattan at sectordynamics.com Thu Jun 5 15:04:21 2003 From: bassem.kattan at sectordynamics.com (Bassem Kattan) Date: Thu, 05 Jun 2003 16:04:21 +0300 Subject: [mrtg] Re: cpu temperature In-Reply-To: <000901c32b50$c11a7320$0300000a@home03> Message-ID: <000001c32b62$fbf80270$bd127ec2@bklaptop> Thank you for your post, The CPU I want to monitor the temperature is INTEL P4, and installed is a windows2000 server operating system. The SNMP engine installed is the regular SNMP server that comes with W2K, and I had also installed an engine called SNMP4W2K which enables me to monitor free disk space, CPU utilization and free memory among other OIDs but it has nothing regarding CPU temperature. Do you recommend a specific engine? As for the temperature sensor, I presume it's the same sensor that gives you the indication when you access the BIOS of the board... Regards, Bassem -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of mk at ugg-lan.com Sent: Thursday, June 05, 2003 1:54 PM To: Bassem Kattan; mrtg at list.ee.ethz.ch Subject: [mrtg] Re: cpu temperature Please supply sufficient information and an answers can be given with the same precision as the information given! Info as OS, snmp agent installed, temperature sensor ......... is essensial! Well I give an generall answer. If an snmp agent is installed in the operating system the counter for temperature is there somewhere. /Mats ----- Original Message ----- From: "Bassem Kattan" To: Sent: Thursday, June 05, 2003 12:36 Subject: [mrtg] cpu temperature > Dear mail list subscribers, > > I just subscribed to the list, and I hope I can provide as much help as > I might get from you. > > Has anyone monitored an Intel's CPU's temperature before? If so, please > I need the OID. > > I'm trying to graph the P4 CPU temperature of a remote server. > > Thank you, > > Bassem Kattan. > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Darryl.kegg at thehortongroup.com Thu Jun 5 15:46:19 2003 From: Darryl.kegg at thehortongroup.com (Darryl Kegg) Date: Thu, 5 Jun 2003 08:46:19 -0500 Subject: [mrtg] HP Page counts Message-ID: <9CEFC781408F414EAEE713C282CFB1E298D486@opmail.hortonins.com> I am not 100% sure if this is relevant to MRTG, but since I enjoy using the product very much I will ask here. I have 30 - 40 printers in my organization that are all networked, for the higher-end units I use MRTG to get toner life, however I now have a need to obtain the printer page counts once a month and was wondering if there was any way to configure MRTG to get the page count from each printer (I know the OID) and present them in a column format? Example: Printer Name Count Printer Name Count etc.. I don't need a graph since I will only be getting the count once a month, and it is very time consuming to open each LOG file and cut / paste the page count to a spreadsheet. Any help would be appreciated. Thanks. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From csmith at bonddesk.com Thu Jun 5 16:18:45 2003 From: csmith at bonddesk.com (Corey Smith) Date: Thu, 5 Jun 2003 10:18:45 -0400 Subject: [mrtg] Sun Management Center Agent and MRTG Message-ID: <200306051018.45295.csmith@bonddesk.com> Anyone have success collecting network information from the snmp agent for Sun Management Center? snmpwalk -v 2c -c public smcbox .1.3.6.1.2.1.2.2.1 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifIndex.2 = INTEGER: 2 IF-MIB::ifIndex.3 = INTEGER: 3 IF-MIB::ifDescr.1 = STRING: lo0 IF-MIB::ifDescr.2 = STRING: eri0 IF-MIB::ifDescr.3 = STRING: eri1 IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6) IF-MIB::ifMtu.1 = INTEGER: 8232 IF-MIB::ifMtu.2 = INTEGER: 1500 IF-MIB::ifMtu.3 = INTEGER: 1500 IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 100000000 IF-MIB::ifSpeed.3 = Gauge32: 100000000 IF-MIB::ifPhysAddress.1 = STRING: 0:0:0:0:0:0 IF-MIB::ifPhysAddress.2 = STRING: 0:3:ba:b:b0:a3 IF-MIB::ifPhysAddress.3 = STRING: 0:3:ba:b:b0:a3 IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifAdminStatus.3 = INTEGER: up(1) IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.3 = INTEGER: up(1) IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00 IF-MIB::ifLastChange.2 = Timeticks: (0) 0:00:00.00 IF-MIB::ifLastChange.3 = Timeticks: (0) 0:00:00.00 IF-MIB::ifInOctets.1 = Counter32: 0 IF-MIB::ifInOctets.2 = Counter32: 1066768 IF-MIB::ifInOctets.3 = Counter32: 579124 IF-MIB::ifInUcastPkts.1 = Counter32: 61 IF-MIB::ifInUcastPkts.2 = Counter32: 17116 IF-MIB::ifInUcastPkts.3 = Counter32: 8744 IF-MIB::ifInNUcastPkts.1 = Counter32: 0 IF-MIB::ifInNUcastPkts.2 = Counter32: 16048 IF-MIB::ifInNUcastPkts.3 = Counter32: 8631 IF-MIB::ifInDiscards.1 = Counter32: 0 IF-MIB::ifInDiscards.2 = Counter32: 0 IF-MIB::ifInDiscards.3 = Counter32: 0 IF-MIB::ifInErrors.1 = Counter32: 0 IF-MIB::ifInErrors.2 = Counter32: 0 IF-MIB::ifInErrors.3 = Counter32: 0 IF-MIB::ifInUnknownProtos.1 = Counter32: 0 IF-MIB::ifInUnknownProtos.2 = Counter32: 0 IF-MIB::ifInUnknownProtos.3 = Counter32: 0 IF-MIB::ifOutOctets.1 = Counter32: 0 IF-MIB::ifOutOctets.2 = Counter32: 64440 IF-MIB::ifOutOctets.3 = Counter32: 4826 IF-MIB::ifOutUcastPkts.1 = Counter32: 61 IF-MIB::ifOutUcastPkts.2 = Counter32: 1074 IF-MIB::ifOutUcastPkts.3 = Counter32: 39 IF-MIB::ifOutNUcastPkts.1 = Counter32: 0 IF-MIB::ifOutNUcastPkts.2 = Counter32: 5 IF-MIB::ifOutNUcastPkts.3 = Counter32: 6 IF-MIB::ifOutDiscards.1 = Counter32: 0 IF-MIB::ifOutDiscards.2 = Counter32: 0 IF-MIB::ifOutDiscards.3 = Counter32: 0 IF-MIB::ifOutErrors.1 = Counter32: 0 IF-MIB::ifOutErrors.2 = Counter32: 0 IF-MIB::ifOutErrors.3 = Counter32: 0 IF-MIB::ifOutQLen.1 = Gauge32: 0 IF-MIB::ifOutQLen.2 = Gauge32: 0 IF-MIB::ifOutQLen.3 = Gauge32: 0 IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero Everything looks ok to me but if I track the incoming and outgoing packets with mrtg it always returns zero. If I manually snmpget the ifInOctets over the course of an hour then the values never change. (which is why mrtg is showing zeros!) If you use the Sun Management Center console you are able to see these oid values change which leads me to believe that they are doing an snmpset to turn this feature "on". Anybody have any ideas? Corey Smith BondDesk Group -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at itsits.com Thu Jun 5 17:11:03 2003 From: alex at itsits.com (Alexander Rokhlin) Date: Thu, 05 Jun 2003 11:11:03 -0400 Subject: [mrtg] skipping unreachable routers in cfgMaker Message-ID: <3EDF5D87.8020007@itsits.com> Hello, I am running cfgMaker with a list of routers. If cfgMaker fails to connect to anyone router in the list, it stops. Is there any way to make cfgMaker skipping unreachable router and proceed to the next in the list? Thank you, Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Thu Jun 5 17:22:50 2003 From: mk at ugg-lan.com (mk at ugg-lan.com) Date: Thu, 5 Jun 2003 17:22:50 +0200 Subject: [mrtg] Re: cpu temperature References: <000001c32b62$fbf80270$bd127ec2@bklaptop> Message-ID: <001101c32b76$53a5b590$0300000a@home03> OK, now we now the OS, but the hardware is intel P4??????? But to short down this take a look at http://mbm2mrtg.hn.org/ /Mats ----- Original Message ----- From: "Bassem Kattan" To: Sent: Thursday, June 05, 2003 15:04 Subject: [mrtg] Re: cpu temperature > Thank you for your post, > > The CPU I want to monitor the temperature is INTEL P4, and installed is > a windows2000 server operating system. The SNMP engine installed is the > regular SNMP server that comes with W2K, and I had also installed an > engine called SNMP4W2K which enables me to monitor free disk space, CPU > utilization and free memory among other OIDs but it has nothing > regarding CPU temperature. Do you recommend a specific engine? As for > the temperature sensor, I presume it's the same sensor that gives you > the indication when you access the BIOS of the board... > > Regards, > Bassem -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From AWaltman at anacomp.com Thu Jun 5 17:34:18 2003 From: AWaltman at anacomp.com (Waltman, Adam) Date: Thu, 5 Jun 2003 08:34:18 -0700 Subject: [mrtg] Re: skipping unreachable routers in cfgMaker Message-ID: What I've always done is run cfgmaker with only 1 router then take the config it generates and copy it, using the setting for each router. That way, when MRTG runs and a router becomes unreachable, MRTG continues to run on all the rest of my routers. I do this with about 40 routers now. Adam -----Original Message----- From: Alexander Rokhlin [mailto:alex at itsits.com] Sent: Thursday, June 05, 2003 10:11 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] skipping unreachable routers in cfgMaker Hello, I am running cfgMaker with a list of routers. If cfgMaker fails to connect to anyone router in the list, it stops. Is there any way to make cfgMaker skipping unreachable router and proceed to the next in the list? Thank you, Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pete.templin at texlink.com Thu Jun 5 17:50:47 2003 From: pete.templin at texlink.com (Pete Templin) Date: Thu, 5 Jun 2003 10:50:47 -0500 Subject: [mrtg] Re: skipping unreachable routers in cfgMaker Message-ID: <74E9F3444C71374BBC58FEA29FC2E511675E3D@mail.texlinkcom.com> I did the really hard task of writing a perl script to probe my routers for the module configuration, and then call subroutines that continue building the configuration based on the module. Yuck. But great results, and gives me an easy way to work around the whole "ifIndex" resequence issue after a reboot. Pete Templin IP Network Engineer Tex-Link Communications pete.templin at texlink.com (210) 892-4183 -----Original Message----- From: Waltman, Adam [mailto:AWaltman at anacomp.com] Sent: Thursday, June 05, 2003 10:34 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: skipping unreachable routers in cfgMaker What I've always done is run cfgmaker with only 1 router then take the config it generates and copy it, using the setting for each router. That way, when MRTG runs and a router becomes unreachable, MRTG continues to run on all the rest of my routers. I do this with about 40 routers now. Adam -----Original Message----- From: Alexander Rokhlin [mailto:alex at itsits.com] Sent: Thursday, June 05, 2003 10:11 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] skipping unreachable routers in cfgMaker Hello, I am running cfgMaker with a list of routers. If cfgMaker fails to connect to anyone router in the list, it stops. Is there any way to make cfgMaker skipping unreachable router and proceed to the next in the list? Thank you, Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Thu Jun 5 19:43:09 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Thu, 5 Jun 2003 19:43:09 +0200 Subject: [mrtg] Sigh... Message-ID: <20030605194309.A11163@slot.hollandcasino.net> OK, I think this is clear, he wants me to accept a job... " dear sir i think my mail subject is quite clear i am doing the following way to do this task [snip some mrtg code] tell me what is wrong in my code " How much money should I ask for such a task? Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric.Brander at ACS-INC.com Thu Jun 5 19:50:12 2003 From: Eric.Brander at ACS-INC.com (Brander, Eric) Date: Thu, 5 Jun 2003 12:50:12 -0500 Subject: [mrtg] Re: Sigh... Message-ID: >-----Original Message----- >From: Alex van den Bogaerdt [mailto:alex at ergens.op.het.net] >Sent: Thursday, June 05, 2003 12:43 PM >How much money should I ask for such a task? In the patented Dr. Evil voice, and with your pinky touched to the corner of your mouth in the same way, state the following: "one milllll-yon dollars" Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dwu at stepup.ca Thu Jun 5 20:57:17 2003 From: dwu at stepup.ca (David Wu) Date: Thu, 5 Jun 2003 11:57:17 -0700 Subject: [mrtg] traffic count table Message-ID: <8758B3F1-9787-11D7-86FD-0003931741E0@stepup.ca> Hi guys I am kind of new to MRTG. I have just set a graphical analyzer and it seems to work fine. Now I need a table format for traffic count. A table format similar to following: Month input(in MB or GB) output(in MB or GB) Total(in MB or GB) jun 2003 7.0 GB 2.2 GB 9.2 GB **** **** * **** ** hmm.. i don't have a very good clue as how to make MRTG generate a HTML table like that. Thank lots in advance!! David -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From tim at litwiller.net Fri Jun 6 00:16:55 2003 From: tim at litwiller.net (Tim Litwiller) Date: Thu, 05 Jun 2003 17:16:55 -0500 Subject: [mrtg] Re: HP Page counts In-Reply-To: <9CEFC781408F414EAEE713C282CFB1E298D486@opmail.hortonins.com> References: <9CEFC781408F414EAEE713C282CFB1E298D486@opmail.hortonins.com> Message-ID: <3EDFC157.9060907@litwiller.net> I would be interested in this also, and how you get the toner life info. Darryl Kegg wrote: >I have 30 - 40 printers in my organization that are all networked, for the >higher-end units I use MRTG to get toner life, however I now have a need to >obtain the printer page counts once a month and was wondering if there was >any way to configure MRTG to get the page count from each printer (I know >the OID) and present them in a column format? > >Example: > >Printer Name Count >Printer Name Count >etc.. > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From phil at nxtek.net Fri Jun 6 02:43:49 2003 From: phil at nxtek.net (Phil Iovino) Date: Thu, 5 Jun 2003 19:43:49 -0500 Subject: [mrtg] Clustering MRTG Servers In-Reply-To: <3EDFC157.9060907@litwiller.net> Message-ID: <008e01c32bc4$b31a5e60$94ac54d1@phil> Does anyone have any hints on clustering MRTG servers? I think I'm going to need to setup MRTG on just about every server machine in our network (6 or so). Since most scripts that monitor things like bind requests, sendmail stats, disk space, cpu load, etc, can't be run "remotely", I guess I need to setup MRTG on each box? I know there may be better tools for this use like NRG, but I'd like to stick with MRTG if possible. Any advice? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pete.templin at texlink.com Fri Jun 6 02:56:37 2003 From: pete.templin at texlink.com (Pete Templin) Date: Thu, 5 Jun 2003 19:56:37 -0500 Subject: [mrtg] Re: Clustering MRTG Servers Message-ID: <74E9F3444C71374BBC58FEA29FC2E511675E41@mail.texlinkcom.com> Add something like this to /etc/services on each server: # Local services smtp-stats 7256/tcp #smtp-stats df-stats 7258/tcp #df-stats pop-stats 7260/tcp #pop-stats mailq-stats 7261/tcp #mailq-stats uptime-stats 7262/tcp #uptime-stats user-stats 7263/tcp #user-stats isdn-stats 7264/tcp #isdn-stats modem-stats 7265/tcp #modem-stats Add something like this to /etc/inetd.conf or equivalent on each server: #:MRTG: See http://demo-stats.mountain.net for more info smtp-stats stream tcp nowait root /usr/local/scripts/smtp-stats df-stats stream tcp nowait root /bin/df df-stats pop-stats stream tcp nowait root /usr/local/scripts/pop-stats mailq-stats stream tcp nowait root /usr/local/scripts/mailq-stats uptime-stats stream tcp nowait root /usr/local/scripts/uptime-stats user-stats stream tcp nowait root /usr/local/scripts/user-stats isdn-stats stream tcp nowait root /usr/local/scripts/isdn-stats modem-stats stream tcp nowait root /usr/local/scripts/modem-stats Build those scripts to suit your own environment. Here's the "smtp-stats" script, for example: tcsh> cat /usr/local/scripts/smtp-stats #!/bin/sh # smtp-stats: exec Solaris mailstats # if [ -x "/usr/sbin/mailstats" ] then exec /usr/sbin/mailstats -f/var/log/sendmail.st fi This allows you to monitor anything for which you can create a script that outputs the number to be monitored. It's also a great way to translate SNMP objects that report as text into numbers, if that's something anyone is looking for. Pete Templin IP Network Engineer Tex-Link Communications pete.templin at texlink.com (210) 892-4183 -----Original Message----- From: Phil Iovino [mailto:phil at nxtek.net] Sent: Thursday, June 05, 2003 7:44 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Clustering MRTG Servers Does anyone have any hints on clustering MRTG servers? I think I'm going to need to setup MRTG on just about every server machine in our network (6 or so). Since most scripts that monitor things like bind requests, sendmail stats, disk space, cpu load, etc, can't be run "remotely", I guess I need to setup MRTG on each box? I know there may be better tools for this use like NRG, but I'd like to stick with MRTG if possible. Any advice? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mrtg at ragnark.vestdata.no Fri Jun 6 02:57:09 2003 From: mrtg at ragnark.vestdata.no (Ragnar =?iso-8859-15?Q?Kj=F8rstad?=) Date: Fri, 6 Jun 2003 02:57:09 +0200 Subject: [mrtg] Re: Clustering MRTG Servers In-Reply-To: <008e01c32bc4$b31a5e60$94ac54d1@phil> References: <3EDFC157.9060907@litwiller.net> <008e01c32bc4$b31a5e60$94ac54d1@phil> Message-ID: <20030606005709.GA30173@vestdata.no> On Thu, Jun 05, 2003 at 07:43:49PM -0500, Phil Iovino wrote: > Does anyone have any hints on clustering MRTG servers? I think I'm going > to need to setup MRTG on just about every server machine in our network > (6 or so). Since most scripts that monitor things like bind requests, > sendmail stats, disk space, cpu load, etc, can't be run "remotely", I > guess I need to setup MRTG on each box? I know there may be better tools > for this use like NRG, but I'd like to stick with MRTG if possible. Any > advice? Run an snmp-deamon on each server, and monitor the snmp-server with mrtg. http://www.net-snmp.org/ -- Ragnar Kj?rstad Zet.no -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From martinr at hotkey.net.au Fri Jun 6 03:00:29 2003 From: martinr at hotkey.net.au (Martin Rheumer) Date: Fri, 6 Jun 2003 11:00:29 +1000 Subject: [mrtg] Re: Clustering MRTG Servers In-Reply-To: <008e01c32bc4$b31a5e60$94ac54d1@phil> Message-ID: Phil, Look further into the Extended Tools with ucd-snmp. Have used it to monitor and collect all sorts of things. Viewing the web pages from each machine was also a hassle when mrtg was run on each seperate server. Martin -----Original Message----- Behalf Of Phil Iovino Sent: Friday, 6 June 2003 10:44 AM Does anyone have any hints on clustering MRTG servers? I think I'm going to need to setup MRTG on just about every server machine in our network (6 or so). Since most scripts that monitor things like bind requests, sendmail stats, disk space, cpu load, etc, can't be run "remotely", I guess I need to setup MRTG on each box? I know there may be better tools for this use like NRG, but I'd like to stick with MRTG if possible. Any advice? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rsr at inorganic.org Fri Jun 6 03:01:04 2003 From: rsr at inorganic.org (Roy S. Rapoport) Date: Thu, 5 Jun 2003 18:01:04 -0700 Subject: [mrtg] Re: Clustering MRTG Servers In-Reply-To: <008e01c32bc4$b31a5e60$94ac54d1@phil> References: <3EDFC157.9060907@litwiller.net> <008e01c32bc4$b31a5e60$94ac54d1@phil> Message-ID: <20030606010104.GA11665@nag.inorganic.org> On Thu, Jun 05, 2003 at 07:43:49PM -0500, Phil Iovino wrote: > Does anyone have any hints on clustering MRTG servers? I think I'm going > to need to setup MRTG on just about every server machine in our network > (6 or so). Since most scripts that monitor things like bind requests, > sendmail stats, disk space, cpu load, etc, can't be run "remotely", I > guess I need to setup MRTG on each box? I know there may be better tools > for this use like NRG, but I'd like to stick with MRTG if possible. Any > advice? Heavens, please don't. Run a decent SNMP server on these systems that will let you make external calls to scripts and get the values that way. -roy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Fri Jun 6 03:48:33 2003 From: mk at ugg-lan.com (mk at ugg-lan.com) Date: Fri, 6 Jun 2003 03:48:33 +0200 Subject: [mrtg] Re: traffic count table References: <8758B3F1-9787-11D7-86FD-0003931741E0@stepup.ca> Message-ID: <001301c32bcd$bf1ec260$0300000a@home03> Check out the contrib directory that are includrd into the mrtg package. Many intresting things there lika a summarizer. /Mats ----- Original Message ----- From: "David Wu" To: Cc: Sent: Thursday, June 05, 2003 20:57 Subject: [mrtg] traffic count table > Hi guys > > I am kind of new to MRTG. I have just set a graphical analyzer and it > seems to work fine. > Now I need a table format for traffic count. A table format similar to > following: > > Month input(in MB or GB) output(in MB or GB) Total(in MB or GB) > > jun 2003 7.0 GB 2.2 GB 9.2 GB > > **** **** * > **** > ** > > hmm.. i don't have a very good clue as how to make MRTG generate a HTML > table like that. Thank lots in advance!! > > David > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bassem.kattan at sectordynamics.com Fri Jun 6 10:32:03 2003 From: bassem.kattan at sectordynamics.com (Bassem Kattan) Date: Fri, 06 Jun 2003 11:32:03 +0300 Subject: [mrtg] Re: cpu temperature In-Reply-To: <001101c32b76$53a5b590$0300000a@home03> Message-ID: <000c01c32c06$1bb9e760$bd127ec2@bklaptop> I had actually gotten this mbm2mrtg package, but I find it a bit too obscure. Like the data offset thing, and the editing that has to be done with the perl package. When I do try to execute it after putting the default.cfg and csv.pm in the right directory, it returns an error saying : " Error: No such file or directory 0 0 0 127.0.0.1 " I had set my hostname to 127.0.0.1 Any ideas? -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of mk at ugg-lan.com Sent: Thursday, June 05, 2003 6:23 PM To: Bassem Kattan; mrtg at list.ee.ethz.ch Subject: [mrtg] Re: cpu temperature OK, now we now the OS, but the hardware is intel P4??????? But to short down this take a look at http://mbm2mrtg.hn.org/ /Mats ----- Original Message ----- From: "Bassem Kattan" To: Sent: Thursday, June 05, 2003 15:04 Subject: [mrtg] Re: cpu temperature > Thank you for your post, > > The CPU I want to monitor the temperature is INTEL P4, and installed is > a windows2000 server operating system. The SNMP engine installed is the > regular SNMP server that comes with W2K, and I had also installed an > engine called SNMP4W2K which enables me to monitor free disk space, CPU > utilization and free memory among other OIDs but it has nothing > regarding CPU temperature. Do you recommend a specific engine? As for > the temperature sensor, I presume it's the same sensor that gives you > the indication when you access the BIOS of the board... > > Regards, > Bassem -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mats at 4gurus.org Fri Jun 6 13:02:31 2003 From: mats at 4gurus.org (Mats) Date: Fri, 6 Jun 2003 13:02:31 +0200 Subject: [mrtg] Re: HP Page counts References: <9CEFC781408F414EAEE713C282CFB1E298D486@opmail.hortonins.com> <3EDFC157.9060907@litwiller.net> Message-ID: <003e01c32c1b$20f8c7e0$0300000a@home03> Start an web browser and type in www.google.com, search for printer oid page count, and you will get the answer. http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=printer+oid+page+count /Mats ----- Original Message ----- From: "Tim Litwiller" Cc: Sent: Friday, June 06, 2003 0:16 Subject: [mrtg] Re: HP Page counts > I would be interested in this also, and how you get the toner life info. > > Darryl Kegg wrote: > > >I have 30 - 40 printers in my organization that are all networked, for the > >higher-end units I use MRTG to get toner life, however I now have a need to > >obtain the printer page counts once a month and was wondering if there was > >any way to configure MRTG to get the page count from each printer (I know > >the OID) and present them in a column format? > > > >Example: > > > >Printer Name Count > >Printer Name Count > >etc.. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mats at 4gurus.org Fri Jun 6 13:20:37 2003 From: mats at 4gurus.org (Mats) Date: Fri, 6 Jun 2003 13:20:37 +0200 Subject: [mrtg] Re: HP Page counts References: <9CEFC781408F414EAEE713C282CFB1E298D486@opmail.hortonins.com> <3EDFC157.9060907@litwiller.net> <003e01c32c1b$20f8c7e0$0300000a@home03> Message-ID: <005d01c32c1d$a822ea00$0300000a@home03> By the way, here are the answer I got from an guy at HP in this matter a time ago. http://groups.google.com/groups?q=%22HP+jetdirect/printer+Pagecount+ODI%22&hl=en&lr=&ie=UTF-8&selm=37BBDD14.ACFFB4B%40hplb.hpl.hp.com&rnum=1 /Mats ----- Original Message ----- From: "Mats" To: "Tim Litwiller" Cc: Sent: Friday, June 06, 2003 13:02 Subject: [mrtg] Re: HP Page counts > Start an web browser and type in www.google.com, search for printer oid page > count, and you will get the answer. > > http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=printer+oid+page+count > > > /Mats > ----- Original Message ----- > From: "Tim Litwiller" > Cc: > Sent: Friday, June 06, 2003 0:16 > Subject: [mrtg] Re: HP Page counts > > > > I would be interested in this also, and how you get the toner life info. > > > > Darryl Kegg wrote: > > > > >I have 30 - 40 printers in my organization that are all networked, for > the > > >higher-end units I use MRTG to get toner life, however I now have a need > to > > >obtain the printer page counts once a month and was wondering if there > was > > >any way to configure MRTG to get the page count from each printer (I know > > >the OID) and present them in a column format? > > > > > >Example: > > > > > >Printer Name Count > > >Printer Name Count > > >etc.. > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Fri Jun 6 15:48:31 2003 From: mk at ugg-lan.com (Mats Karlsson) Date: Fri, 6 Jun 2003 15:48:31 +0200 Subject: [mrtg] Re: cpu temperature References: <000c01c32c06$1bb9e760$bd127ec2@bklaptop> Message-ID: <001401c32c32$5311d390$0300000a@home03> Yep, I got it working, but it wasn't intutive but. 1. Configured MBM5 to create loggfiles and place them somewhere. 2. Copied the mbm2mrtg.pl and default.cfg to my mrtg\bin directory 3. Issued the command mbm2mrtg.pl /l > pars_log.txt to get the offset point, on my motherboad was the temperature "MBM info [19]: [42]" witch gives me the offset point "19". 4. Edit the mbm2mrtg.pl with above data (logfile directory, offset point, hostname) 5. Created a temp.cfg from the mbm2mrtg.pl instructions. 6. Run mrtg with temp.cfg 7. Got an error message that it was missing csv.pm in directory c:\perl\lib so I copied the csv.pm to c:\perl.lib 8. Its working, check out http://www.ugg-lan.com/mbm/home02.html and the file temp.rar (http://www.ugg-lan.com/mbm/temp.rar) contains my config. /Mats ----- Original Message ----- From: "Bassem Kattan" To: ; Sent: Friday, June 06, 2003 10:32 Subject: [mrtg] Re: cpu temperature > I had actually gotten this mbm2mrtg package, but I find it a bit too > obscure. Like the data offset thing, and the editing that has to be done > with the perl package. When I do try to execute it after putting the > default.cfg and csv.pm in the right directory, it returns an error > saying : > > " > Error: No such file or directory > 0 > 0 > 0 > 127.0.0.1 > " > I had set my hostname to 127.0.0.1 > > Any ideas? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wolfe at daticon.com Fri Jun 6 15:52:23 2003 From: wolfe at daticon.com (wolfe at daticon.com) Date: Fri, 6 Jun 2003 09:52:23 -0400 Subject: [mrtg] Dive Utilization On WinNT 4.0 Message-ID: Hello Group, I am trying to graph MB used and drive size in MB. Below is my config. the value MaxBytes is from the HD properties. The value: .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't want to graph. In the graph, the MB used is represented in the green shading. This is what I want to do.... 1. Have the drive utilization (used in MB) graphed as blue. This I can do by swapping the position of the MIBS in Target. 2. Have the green shading represent the total drive size. Since I an unable to locate that value in the MIBS, I would like to set up a fixed value (4192731136). I don't know how to get that to graph. The system I am monitoring is a WinNT box with the snmp4tcp installed. I use a Linux box to gather the info via SNMP and create the graphs. Thanks, Austin Wolfe # This Report File Template measures HDD from a Windows NT Machine # WorkDir: /home/mrtg/disk/winnt RunAsDaemon: Yes Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, nobanner Target[ciscoworks-microsoft_winnt_hdd]: .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun ity at ip.ip.ip.ip MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space Legend2[ciscoworks-microsoft_winnt_hdd]: . Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp LegendI[ciscoworks-microsoft_winnt_hdd]: Used: LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

Colours[ciscoworks-microsoft_winnt_hdd]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks kilo[ciscoworks-microsoft_winnt_hdd]: 1024 Xsize[ciscoworks-microsoft_winnt_hdd]: 600 Ysize[ciscoworks-microsoft_winnt_hdd]: 200 Ytics[ciscoworks-microsoft_winnt_hdd]: 10 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wolfe at daticon.com Fri Jun 6 16:10:52 2003 From: wolfe at daticon.com (wolfe at daticon.com) Date: Fri, 6 Jun 2003 10:10:52 -0400 Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 Message-ID: Yes, I have been to the site. That is where I got the snmp4tcp for the NT server. I guess what I am asking is, how do I set a static value (drive size) and graph that. Austin Wolfe -----Original Message----- From: Mats [mailto:mats at 4gurus.org] Sent: Friday, June 06, 2003 10:00 AM To: wolfe at daticon.com; mrtg at list.ee.ethz.ch Subject: Re: [mrtg] Dive Utilization On WinNT 4.0 Check out Gartg williams web site that has a lot of windows related stuff +++ http://www.wtcs.org/snmp4tpc/ /Mats ----- Original Message ----- From: To: Sent: Friday, June 06, 2003 15:52 Subject: [mrtg] Dive Utilization On WinNT 4.0 > Hello Group, > I am trying to graph MB used and drive size in MB. Below is my > config. the value MaxBytes is from the HD properties. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't want > to graph. In the graph, the MB used is represented in the green shading. > This is what I want to do.... > 1. Have the drive utilization (used in MB) graphed as blue. This I can do by > swapping the position of the MIBS in Target. > 2. Have the green shading represent the total drive size. Since I an unable > to locate that value in the MIBS, I would like to set up a fixed value > (4192731136). I don't know how to get that to graph. > > The system I am monitoring is a WinNT box with the snmp4tcp installed. I use > a Linux box to gather the info via SNMP and create the graphs. > > Thanks, > Austin Wolfe > > # This Report File Template measures HDD from a Windows NT Machine > # > WorkDir: /home/mrtg/disk/winnt > RunAsDaemon: Yes > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, > nobanner > Target[ciscoworks-microsoft_winnt_hdd]: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun > ity at ip.ip.ip.ip > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space > Legend2[ciscoworks-microsoft_winnt_hdd]: . > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp > LegendI[ciscoworks-microsoft_winnt_hdd]: Used: > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: > PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

> Colours[ciscoworks-microsoft_winnt_hdd]: > GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks > kilo[ciscoworks-microsoft_winnt_hdd]: 1024 > Xsize[ciscoworks-microsoft_winnt_hdd]: 600 > Ysize[ciscoworks-microsoft_winnt_hdd]: 200 > Ytics[ciscoworks-microsoft_winnt_hdd]: 10 > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From tmelcher at trilogytel.com Fri Jun 6 16:25:02 2003 From: tmelcher at trilogytel.com (Trent Melcher) Date: Fri, 6 Jun 2003 09:25:02 -0500 Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 In-Reply-To: Message-ID: Check out this site, it should help you find what you need. http://snmpboy.msft.net/ Trent -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On Behalf Of wolfe at daticon.com Sent: Friday, June 06, 2003 9:11 AM To: mats at 4gurus.org Cc: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 Yes, I have been to the site. That is where I got the snmp4tcp for the NT server. I guess what I am asking is, how do I set a static value (drive size) and graph that. Austin Wolfe -----Original Message----- From: Mats [mailto:mats at 4gurus.org] Sent: Friday, June 06, 2003 10:00 AM To: wolfe at daticon.com; mrtg at list.ee.ethz.ch Subject: Re: [mrtg] Dive Utilization On WinNT 4.0 Check out Gartg williams web site that has a lot of windows related stuff +++ http://www.wtcs.org/snmp4tpc/ /Mats ----- Original Message ----- From: To: Sent: Friday, June 06, 2003 15:52 Subject: [mrtg] Dive Utilization On WinNT 4.0 > Hello Group, > I am trying to graph MB used and drive size in MB. Below is my > config. the value MaxBytes is from the HD properties. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't want > to graph. In the graph, the MB used is represented in the green shading. > This is what I want to do.... > 1. Have the drive utilization (used in MB) graphed as blue. This I can do by > swapping the position of the MIBS in Target. > 2. Have the green shading represent the total drive size. Since I an unable > to locate that value in the MIBS, I would like to set up a fixed value > (4192731136). I don't know how to get that to graph. > > The system I am monitoring is a WinNT box with the snmp4tcp installed. I use > a Linux box to gather the info via SNMP and create the graphs. > > Thanks, > Austin Wolfe > > # This Report File Template measures HDD from a Windows NT Machine > # > WorkDir: /home/mrtg/disk/winnt > RunAsDaemon: Yes > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, > nobanner > Target[ciscoworks-microsoft_winnt_hdd]: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun > ity at ip.ip.ip.ip > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space > Legend2[ciscoworks-microsoft_winnt_hdd]: . > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp > LegendI[ciscoworks-microsoft_winnt_hdd]: Used: > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: > PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

> Colours[ciscoworks-microsoft_winnt_hdd]: > GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks > kilo[ciscoworks-microsoft_winnt_hdd]: 1024 > Xsize[ciscoworks-microsoft_winnt_hdd]: 600 > Ysize[ciscoworks-microsoft_winnt_hdd]: 200 > Ytics[ciscoworks-microsoft_winnt_hdd]: 10 > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wolfe at daticon.com Fri Jun 6 16:27:12 2003 From: wolfe at daticon.com (wolfe at daticon.com) Date: Fri, 6 Jun 2003 10:27:12 -0400 Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 Message-ID: Interesting site but does not help me. If you look at his HD graphs there are showing percent of utilization and the current (blue) is the same as the max (green). I want to show my currnet use in MB (blue) and have a static vale for total drive size (green). This is becuase I do not see a MIB for total drive size. Also, the system that he is monitoring is Window 2003. I need to monitor WinNT 4.0 Thanks, Austin Wolfe -----Original Message----- From: Trent Melcher [mailto:tmelcher at trilogytel.com] Sent: Friday, June 06, 2003 10:25 AM To: wolfe at daticon.com; mats at 4gurus.org Cc: mrtg at list.ee.ethz.ch Subject: RE: [mrtg] Re: Dive Utilization On WinNT 4.0 Check out this site, it should help you find what you need. http://snmpboy.msft.net/ Trent -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On Behalf Of wolfe at daticon.com Sent: Friday, June 06, 2003 9:11 AM To: mats at 4gurus.org Cc: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 Yes, I have been to the site. That is where I got the snmp4tcp for the NT server. I guess what I am asking is, how do I set a static value (drive size) and graph that. Austin Wolfe -----Original Message----- From: Mats [mailto:mats at 4gurus.org] Sent: Friday, June 06, 2003 10:00 AM To: wolfe at daticon.com; mrtg at list.ee.ethz.ch Subject: Re: [mrtg] Dive Utilization On WinNT 4.0 Check out Gartg williams web site that has a lot of windows related stuff +++ http://www.wtcs.org/snmp4tpc/ /Mats ----- Original Message ----- From: To: Sent: Friday, June 06, 2003 15:52 Subject: [mrtg] Dive Utilization On WinNT 4.0 > Hello Group, > I am trying to graph MB used and drive size in MB. Below is my > config. the value MaxBytes is from the HD properties. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't want > to graph. In the graph, the MB used is represented in the green shading. > This is what I want to do.... > 1. Have the drive utilization (used in MB) graphed as blue. This I can do by > swapping the position of the MIBS in Target. > 2. Have the green shading represent the total drive size. Since I an unable > to locate that value in the MIBS, I would like to set up a fixed value > (4192731136). I don't know how to get that to graph. > > The system I am monitoring is a WinNT box with the snmp4tcp installed. I use > a Linux box to gather the info via SNMP and create the graphs. > > Thanks, > Austin Wolfe > > # This Report File Template measures HDD from a Windows NT Machine > # > WorkDir: /home/mrtg/disk/winnt > RunAsDaemon: Yes > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, > nobanner > Target[ciscoworks-microsoft_winnt_hdd]: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun > ity at ip.ip.ip.ip > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space > Legend2[ciscoworks-microsoft_winnt_hdd]: . > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp > LegendI[ciscoworks-microsoft_winnt_hdd]: Used: > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: > PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

> Colours[ciscoworks-microsoft_winnt_hdd]: > GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks > kilo[ciscoworks-microsoft_winnt_hdd]: 1024 > Xsize[ciscoworks-microsoft_winnt_hdd]: 600 > Ysize[ciscoworks-microsoft_winnt_hdd]: 200 > Ytics[ciscoworks-microsoft_winnt_hdd]: 10 > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rcrawford at globalofficeconnect.com Fri Jun 6 16:31:29 2003 From: rcrawford at globalofficeconnect.com (Roger Crawford) Date: Fri, 6 Jun 2003 10:31:29 -0400 Subject: [mrtg] Newbie "switch in for out" question. Message-ID: <09C04FBEC6C5B148AA1A461F7C535B7E05CC03@gocmail01.globalofficeconnect.com> Thanks all. I understand fully the concept of being on the "wrong" side of a switch, and using the - + target parameter for switching the graphs. What I can't seem to find, is that if I switch at the initial target level, and then subsequently aggregate several targets, do I still use the - + that I used on the original target, or do I do the opposite. Seems as though a switch at the individual target is skewing the aggregate target here.. Thanks! Roger -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mats at 4gurus.org Fri Jun 6 16:56:03 2003 From: mats at 4gurus.org (Mats) Date: Fri, 6 Jun 2003 16:56:03 +0200 Subject: [mrtg] Re: Dive Utilization On WinNT 4.0 References: Message-ID: <00ab01c32c3b$c017be60$0300000a@home03> Sorry for typing faster than reading and understanding, because Garth had this info on his page but it seems to have disapeared or I can't find it anymore. 1. The elegend colours can be switched in the cfg file. See http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html for detailed instr. But you already have that line in your cfg file : Colours[ciscoworks-microsoft_winnt_hdd]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff and you can just swap the GREEN and BLUE posistions here to achive the same goal as swapping the OID order. 2. The OIDs for HD size, with garts snmp extension installed: .1.3.6.1.2.1.25.2.3.1.5.1 = A: .1.3.6.1.2.1.25.2.3.1.5.3 = C: the value multiplied with block size (in my case 4096) is the size in bytes. .1.3.6.1.2.1.25.2.3.1.5.4 = D: .1.3.6.1.2.1.25.2.3.1.5.5 = E: and so on. The block size is the values in OID .1.3.6.1.2.1.25.2.3.1.4.3 for C: and so on. So to make this automatic just have an multiply function in the cfg file where you multiply "HD block number" by "HD block size", ex.: ----- < Snip from ref guide >---- Multi Target Syntax You can also use several statements in a mathematical expression. This could be used to aggregate both B channels in an ISDN connection or multiple T1s that are aggregated into a single channel for greater bandwidth. Note the whitespace arround the target definitions. Example: Target[ezwf]: 2:public at wellfleetA + 1:public at wellfleetA * 4:public at ciscoF ----- < /Snip from ref guide >---- Hope this is an better more detailed reply ? /Mats ----- Original Message ----- > > Hello Group, > > I am trying to graph MB used and drive size in MB. Below is my > > config. the value MaxBytes is from the HD properties. The value: > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't want > > to graph. In the graph, the MB used is represented in the green shading. > > This is what I want to do.... > > 1. Have the drive utilization (used in MB) graphed as blue. This I can do by > > swapping the position of the MIBS in Target. > > 2. Have the green shading represent the total drive size. Since I an unable > > to locate that value in the MIBS, I would like to set up a fixed value > > (4192731136). I don't know how to get that to graph. > > > > The system I am monitoring is a WinNT box with the snmp4tcp installed. I use > > a Linux box to gather the info via SNMP and create the graphs. > > > > Thanks, > > Austin Wolfe > > > > # This Report File Template measures HDD from a Windows NT Machine > > # > > WorkDir: /home/mrtg/disk/winnt > > RunAsDaemon: Yes > > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, nobanner > > Target[ciscoworks-microsoft_winnt_hdd]: .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun ity at ip.ip.ip.ip > > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 > > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization > > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes > > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space > > Legend2[ciscoworks-microsoft_winnt_hdd]: . > > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 > > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp > > LegendI[ciscoworks-microsoft_winnt_hdd]: Used: > > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: > > PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

> > Colours[]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff Colours[]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff > > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw > > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks > > kilo[ciscoworks-microsoft_winnt_hdd]: 1024 > > Xsize[ciscoworks-microsoft_winnt_hdd]: 600 > > Ysize[ciscoworks-microsoft_winnt_hdd]: 200 > > Ytics[ciscoworks-microsoft_winnt_hdd]: 10 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wolfe at daticon.com Fri Jun 6 18:50:04 2003 From: wolfe at daticon.com (wolfe at daticon.com) Date: Fri, 6 Jun 2003 12:50:04 -0400 Subject: [mrtg] FW: Dive Utilization On WinNT 4.0 Message-ID: -----Original Message----- From: Wolfe, Austin Sent: Friday, June 06, 2003 12:48 PM To: 'Mats' Subject: RE: [mrtg] Dive Utilization On WinNT 4.0 yes I have installed this. I can list the OIDS. The problem is: There is no OID for total drive size. I need a way to set a static value for the total drive size and then have MRTG graph this total drive size. Thanks, Austin Wolfe -----Original Message----- From: Mats [mailto:mats at 4gurus.org] Sent: Friday, June 06, 2003 12:16 PM To: wolfe at daticon.com Subject: Re: [mrtg] Dive Utilization On WinNT 4.0 1. Have you installed http://www.wtcs.org/snmp4tpc/snmp4nt.htm ? 2. An OID is an identifier an MIB is the definition description. 3. To customize MRTG regarding, colours, Mega, Kilo, bits, Bytes, percentage and so on read http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html Kind regards Mats ----- Original Message ----- From: To: Sent: Friday, June 06, 2003 17:30 Subject: RE: [mrtg] Dive Utilization On WinNT 4.0 > Hello, > His grphas so percent used. I am graphing usage in MB. I do not see an OID > for total drive size that I can use to graph. I would like the graph to look > like this: Blue for current drive used in MB, Green shade for total drive > size. Since I am unable to locate the MIB in WinNT 4.0 that lists total > drive size (Win2k does have this BTW), I need a way to manually enter the > total drive size and then hace MRTG graph it. > > Thanks, > Austin Wolfe > > > -----Original Message----- > From: Mats [mailto:mats at 4gurus.org] > Sent: Friday, June 06, 2003 10:56 AM > To: wolfe at daticon.com > Cc: mrtg at list.ee.ethz.ch > Subject: Re: [mrtg] Dive Utilization On WinNT 4.0 > > > Sorry for typing faster than reading and understanding, because Garth had > this info on his page but it seems to have disapeared or I can't find it > anymore. > > 1. The elegend colours can be switched in the cfg file. See > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html for detailed > instr. > > But you already have that line in your cfg file : > Colours[ciscoworks-microsoft_winnt_hdd]: > GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff > and you can just swap the GREEN and BLUE posistions here to achive the same > goal as swapping the OID order. > > > 2. The OIDs for HD size, with garts snmp extension installed: > .1.3.6.1.2.1.25.2.3.1.5.1 = A: > .1.3.6.1.2.1.25.2.3.1.5.3 = C: the value multiplied with block size (in my > case 4096) is the size in bytes. > .1.3.6.1.2.1.25.2.3.1.5.4 = D: > .1.3.6.1.2.1.25.2.3.1.5.5 = E: > and so on. > > The block size is the values in OID .1.3.6.1.2.1.25.2.3.1.4.3 for C: and so > on. > > So to make this automatic just have an multiply function in the cfg file > where you multiply "HD block number" by "HD block size", ex.: > > ----- < Snip from ref guide >---- > Multi Target Syntax > You can also use several statements in a mathematical expression. This could > be used to aggregate both B channels in an ISDN connection or multiple T1s > that are aggregated into a single channel for greater bandwidth. Note the > whitespace arround the target definitions. > > Example: > Target[ezwf]: 2:public at wellfleetA + 1:public at wellfleetA * 4:public at ciscoF > ----- < /Snip from ref guide >---- > > > Hope this is an better more detailed reply ? > > > /Mats > > ----- Original Message ----- > > > > Hello Group, > > > I am trying to graph MB used and drive size in MB. Below is my > > > config. the value MaxBytes is from the HD properties. The value: > > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value: > > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't > want > > > to graph. In the graph, the MB used is represented in the green shading. > > > This is what I want to do.... > > > 1. Have the drive utilization (used in MB) graphed as blue. This I can > do by > > > swapping the position of the MIBS in Target. > > > 2. Have the green shading represent the total drive size. Since I an > unable > > > to locate that value in the MIBS, I would like to set up a fixed value > > > (4192731136). I don't know how to get that to graph. > > > > > > The system I am monitoring is a WinNT box with the snmp4tcp installed. I > use > > > a Linux box to gather the info via SNMP and create the graphs. > > > > > > Thanks, > > > Austin Wolfe > > > > > > # This Report File Template measures HDD from a Windows NT Machine > > > # > > > WorkDir: /home/mrtg/disk/winnt > > > RunAsDaemon: Yes > > > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, > nobanner > > > Target[ciscoworks-microsoft_winnt_hdd]: > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun > ity at ip.ip.ip.ip > > > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 > > > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization > > > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes > > > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space > > > Legend2[ciscoworks-microsoft_winnt_hdd]: . > > > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 > > > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp > > > LegendI[ciscoworks-microsoft_winnt_hdd]: Used: > > > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free: > > > PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

> > > > Colours[]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff > Colours[]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff > > > > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw > > > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks > > > kilo[ciscoworks-microsoft_winnt_hdd]: 1024 > > > Xsize[ciscoworks-microsoft_winnt_hdd]: 600 > > > Ysize[ciscoworks-microsoft_winnt_hdd]: 200 > > > Ytics[ciscoworks-microsoft_winnt_hdd]: 10 > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From garth.williams at acrodex.com Fri Jun 6 20:14:34 2003 From: garth.williams at acrodex.com (Garth Williams) Date: Fri, 6 Jun 2003 12:14:34 -0600 Subject: [mrtg] Re: HP Page counts Message-ID: <6B6494913775B741A4D789FFF937F255057DC8@hebe.acrodex.net> Howdy All! This is a response to the request to have an output of Page Counts in a columnar format. In my extensive (yeah, right!) world-wide travels, I ran across this nifty little tool called SNMP Picker. It was originally available on http://www22.big.or.jp/~ntoh/win_snmpget.shtml, but that site no longer returns as valid. You can download it from my web site at http://snmp4tpc.com/files/tools/snmp/snmp_picker/snmp_pickerv1.zip. You can load a config file, and it will collect the data, and you can then save it to a log file in almost exactly the format that Darryl was looking for. I also provide a couple of sample config files, so you should be able to use it right away. I documented it, but did not write it, so can't take any credit there. I believe it to be publically available, since he had it for download (you can still get it at http://www22.big.or.jp/~ntoh/cgi/d/dl2.cgi?down=http://ntoh.web.infoseek .co.jp/data/snmp_p.zip&name=SNMP_Picker, but there even less (ok, almost none) documentation and only a small sample config file. It's a pretty raw program, but has the potential to be useful in certain situations. I added 2 config files, one for Win2K, and one for printer page counts (!). Hope this helps! Have a good weekend. Garth -----Original Message----- Tim Litwiller write: I would be interested in this also, and how you get the toner life info. Darryl Kegg wrote: if there was any way to configure MRTG to get the page count from each printer (I know the OID) and present them in a column format? Printer Name Count Printer Name Count etc.. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bernard at netwerkinformatie.com Fri Jun 6 22:47:10 2003 From: bernard at netwerkinformatie.com (Bernard van de Koppel) Date: Fri, 6 Jun 2003 22:47:10 +0200 Subject: [mrtg] Multi target definition for systemload. Message-ID: <1054932430.3ee0fdce390cd@mail.netwerkinformatie.com> Hi, I am trying to figure out how to poll the two folowing variabeles within one graph: line 1, the system load (oid 1.3.6.1.4.1.2021.11.9.0) line 2, the total load, which is in fact the system load + the user load (oid 1.3.6.1.4.1.2021.11.9.0 + 1.3.6.1.4.1.2021.11.10.0) The folowing works fine (all on one line): Target[fozzy-cpu]: 1.3.6.1.4.1.2021.11.9.0&1.3.6.1.4.1.2021.11.9.0:public at 127.0.0.1 + 1.3.6.1.4.1.2021.11.10.0&1.3.6.1.4.1.2021.11.10.0:public at 127.0.0.1 But it is not exactly what I am looking for (I want to do a similar thing for Novell purgable and free disk space. Any help appreciated. Bernard ---------------------------------------------------- This mail was sent from the netwerkinformatie server. If you get this mail in error, please inform Postmaster at netwerkinformatie.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rgomes at diveo.net.br Sat Jun 7 02:16:56 2003 From: rgomes at diveo.net.br (Rubens Carlos de Souza Gomes) Date: Fri, 6 Jun 2003 21:16:56 -0300 Subject: [mrtg] log and graph rates not equal Message-ID: I am running mrtg-2.9.25 on a Sun SPARC Solaris 7 to collect input/output utilization rates of Cisco routers. And I see differences between the results for rates displayed in the GD graphs and their corresponding MRTG logs. I am using gd-2.0.12, libpng-1.2.5, and zlib-1.1.4. My Options is: Options[_]: bits, growright, noinfo, nopercent, integer Here is the MRTG log for a given reading: ... 1054943909 485 590 485 590 that is, input rate: 485 Bytes/s --> 485*8 = 3880 b/s output rate: 590 Bytes/s --> 590*8 = 4720 b/s But the graph for the same reading plotted by GD show: input rate: 3872 b/s output rate: 4712 b/s Why are the graphs rates different than the logs rates? I also have another issue. I have a perl program that takes the log results from MRTG, converts into b/s (multiplying by 8), as follows: ... $utilization_ref->[2] = $current_in_rate * 8; # convert to bits/sec. $utilization_ref->[3] = $current_out_rate * 8; # convert to bits/sec. ... and store the result in an Oracle. After reading the results stored in Oracle I see for the above rates: (Oracle stored) input rate: 3872 b/s (Oracle stored) output rate: 4704 b/s Bottom line: Graphs rates different than log, different than calculated, and different than what is stored in Oracle by my perl program. Why? Rubens. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From sh_khat at hotmail.com Sat Jun 7 09:18:53 2003 From: sh_khat at hotmail.com (shaza khatib) Date: Sat, 07 Jun 2003 07:18:53 +0000 Subject: [mrtg] fatal libpng error Message-ID: hi, whenever i try to run mrtg , i receive the following error: gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition can anyone help ? _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Sun Jun 8 09:41:20 2003 From: lammer at mail.sochi.ru (lam) Date: Sun, 8 Jun 2003 11:41:20 +0400 Subject: [mrtg] Month traffic stats (HOWTO) ? Message-ID: <0b4801c32d91$5e322bc0$4e080d51@SNMP> I need to count ifInOctets & ifOutOctets for current month and for previous month, and then show them on generated page together with load graphics. Could anyone tell if there any written module to do so? Couldnt find how to do it in docs ;( -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mrtg at aphroland.org Sun Jun 8 15:46:12 2003 From: mrtg at aphroland.org (nate) Date: Sun, 8 Jun 2003 06:46:12 -0700 (PDT) Subject: [mrtg] Re: Month traffic stats (HOWTO) ? In-Reply-To: <0b4801c32d91$5e322bc0$4e080d51@SNMP> References: <0b4801c32d91$5e322bc0$4e080d51@SNMP> Message-ID: <36370.10.10.10.7.1055079972.squirrel@webmail.linuxpowered.net> lam said: > Could anyone tell if there any written module to do so? Couldnt find how > to do it in docs ;( http://howto.aphroland.de/HOWTO/MRTG/TrafficTotals nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan at dangraham.com Sun Jun 8 18:39:11 2003 From: dan at dangraham.com (Daniel Graham) Date: Sun, 8 Jun 2003 12:39:11 -0400 Subject: [mrtg] SNMP Error Message-ID: <200306081239.AA979632252@dangraham.com> When I run mrtg I receive an error on each device: What can I do to fix this? Thank you -DAN- ------------------------------------------------- Daemonizing MRTG ... Do Not close this window. Or MRTG will die SNMP Error: no response received SNMPv1_Session (remote host: "10.0.0.21" [10.0.0.21].161) community: "public" request ID: -619952881 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on public at 10.0. 0.21: WARNING: skipping because at least the query for ifInOctets.2 on 10.0.0.21 did not succeed ________________________________________________________________ Sent via the WebMail system at dangraham.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Sun Jun 8 21:20:30 2003 From: lammer at mail.sochi.ru (lam) Date: Sun, 8 Jun 2003 23:20:30 +0400 Subject: [mrtg] Re: Month traffic stats (HOWTO) ? References: <0b4801c32d91$5e322bc0$4e080d51@SNMP> <36370.10.10.10.7.1055079972.squirrel@webmail.linuxpowered.net> Message-ID: <0e3101c32df3$088c6f70$4e080d51@SNMP> > > Could anyone tell if there any written module to do so? Couldnt find how > > to do it in docs ;( > > http://howto.aphroland.de/HOWTO/MRTG/TrafficTotals > > nate Tryed it, it displayed 0 values. May be RRDTool can show traffic amount? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mrtg at aphroland.org Sun Jun 8 23:49:25 2003 From: mrtg at aphroland.org (nate) Date: Sun, 8 Jun 2003 14:49:25 -0700 (PDT) Subject: [mrtg] Re: Month traffic stats (HOWTO) ? In-Reply-To: <0e3101c32df3$088c6f70$4e080d51@SNMP> References: <0b4801c32d91$5e322bc0$4e080d51@SNMP> <36370.10.10.10.7.1055079972.squirrel@webmail.linuxpowered.net> <0e3101c32df3$088c6f70$4e080d51@SNMP> Message-ID: <38606.10.10.10.7.1055108965.squirrel@webmail.linuxpowered.net> lam said: > Tryed it, it displayed 0 values. May be RRDTool can show traffic amount? > be sure not to run it from cron. I'm new to RRDTool but my reading sofar indicates it is not designed to do what your asking. the total stats tool works good for me: http://mrtg.aphroland.org/summit.aphroland.org/summit.1.total.2003.html used it in several enviornments..it can be run from cron if you load it from a login shell(see my howto page for a quick explanation) nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rgomes at diveo.net.br Mon Jun 9 02:50:16 2003 From: rgomes at diveo.net.br (Rubens Carlos de Souza Gomes) Date: Sun, 8 Jun 2003 21:50:16 -0300 Subject: [mrtg] Re: log and graph rates not equal Message-ID: My main issue now is the difference between the current in/out rates seen on the GD generated graph (5 min period) and their corresponding on the mrtg text log files. I know that the data on the log is in Bytes/sec, and in my graph displays bits/sec. But doing the conversion from bytes/sec to bits/sec, the data from the mrtg log file does not match the graph. Shouldn't the current input/output rate on the graph be the same as the corresponding ones from the MRTG log files? Rubens. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From sh_khat at hotmail.com Mon Jun 9 15:01:58 2003 From: sh_khat at hotmail.com (shaza khatib) Date: Mon, 09 Jun 2003 13:01:58 +0000 Subject: [mrtg] libpng configuration Message-ID: i downloaded the 3 libraries zlib, libpng , gd and i compiled them as described in the MRTG manuals, in order to obtain the traffic graphics in the PNG format . unfortunately i'm not obtaining the PNG graphs , i want to make sure if i need to configure the libpng library after i did compile it ???? anyone have an idea ? _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From elkouissi at iam.net.ma Mon Jun 9 17:47:40 2003 From: elkouissi at iam.net.ma (elkouissi) Date: Mon, 9 Jun 2003 15:47:40 +0000 Subject: [mrtg] problem witg graph Message-ID: <3EE4AC1C.000003.00936@KOUISSI.tdak.com> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hey=0D =0D I monitor a WAN with 155Mb/s by mrtg. the problem is when mrtg arrives at 100Mb/s, the graph is initialised .(the limit is 100Mb/s).=0D =0D can you help me to go until 155Mb/s=0D =0D thanks for advance.=0D =0D =0D kouissi -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 494 bytes -- URL : http://www.ee.ethz.ch/~slist/p/45-IMSTP.gif -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From george at spidernet.net Mon Jun 9 18:01:27 2003 From: george at spidernet.net (George Georgiou) Date: Mon, 9 Jun 2003 19:01:27 +0300 Subject: [mrtg] Multiple WorkDir Message-ID: <00c001c32ea0$62f8e670$d3859ac2@officenet.spidernet.net> Can i setup multiple WorkDirs within a .cfg file? George Georgiou Systems Engineer SpiderNet Services Ltd. www.spidernet.net ________________________________ email: george at spidernet.net Tel: +357 22 844 844 Fax: +357 22 669 470 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From wolfe at daticon.com Mon Jun 9 18:08:53 2003 From: wolfe at daticon.com (wolfe at daticon.com) Date: Mon, 9 Jun 2003 12:08:53 -0400 Subject: [mrtg] WinNT Drive Utilization and Unscaled Option Issue Message-ID: WorkDir: /var/www/htdocs/disk/winnt Hello Group, I have written this question before in the group. I have a WinNT 4.0 server. I want to monitor drive usage in MB and total drive size. I have installed snmp4 on the WinNT server. There is no MIB / OID for total drive size. I have had several responses from the group concerning this issue and I thank everyone for the insight but I am still unable to resolve this. I then had an idea. Since I can't draw a line within the mrtg.cfg file where the total drive size is, how about using the TheshMax option?. At least it would paint a red line where the MAX value is, which I use as the total drive size. First problem is that the scale of the graph does not show the TheshMax line. So I set the .cfg file to Unscaled. Now the red line appears but it no longer graphs the current drive information. I search thought the list and found a thread where it was stated that you would have to use a version of MRTG above .27 since there was a problem with sizes above 2GB in older versions. My MRTG server is using version .25 so I have another server that is using ver .29 and I set the .cfg file to run for there. I still get the same issue. As long as Unscaled is set, it will not graph any data. Does anyone have any ideas? Thanks, Austin Wolfe RunAsDaemon: Yes Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright, nobanner Target[ciscoworks-microsoft_winnt_hdd]: .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun ity at ip.ip.ip.ip MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136 YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space Legend2[ciscoworks-microsoft_winnt_hdd]: . Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136 Legend4[ciscoworks-microsoft_winnt_hdd]: . LegendI[ciscoworks-microsoft_winnt_hdd]: Free Space: LegendO[ciscoworks-microsoft_winnt_hdd]: PageTop[ciscoworks-microsoft_winnt_hdd]:

ciscoworks

Colours[ciscoworks-microsoft_winnt_hdd]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks kilo[ciscoworks-microsoft_winnt_hdd]: 1024 Xsize[ciscoworks-microsoft_winnt_hdd]: 600 Ysize[ciscoworks-microsoft_winnt_hdd]: 200 Ytics[ciscoworks-microsoft_winnt_hdd]: 10 Unscaled[ciscoworks-microsoft_winnt_hdd]: ymwd # The following information allows you to perform some task(s) # whenever a minimum of maximum threshold has been breached # In order to activate this features, simply remove the # from the # lines below. # ThreshMinI[$CFGNAME]: $THRESHOLDMIN ThreshMaxI[ciscoworks-microsoft_winnt_hdd]: 4192731136 # ThreshProgI[$CFGNAME]: BATCHLOCthreshold_in.bat # ThreshProgOKI[$CFGNAME]: BATCHLOCthreshold_oki.bat # ThreshMinO[$CFGNAME]: $THRESHOLDMIN #ThreshMaxO[ciscoworks-microsoft_winnt_hdd]: 4192731136 # ThreshProgO[$CFGNAME]: BATCHLOCthreshold_out.bat # ThreshProgOKO[$CFGNAME]: BATCHLOCthreshold_oko.bat -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric.Brander at ACS-INC.com Mon Jun 9 18:43:46 2003 From: Eric.Brander at ACS-INC.com (Brander, Eric) Date: Mon, 9 Jun 2003 11:43:46 -0500 Subject: [mrtg] Re: Multiple WorkDir Message-ID: > -----Original Message----- > From: George Georgiou [mailto:george at spidernet.net] > Subject: [mrtg] Multiple WorkDir > Can i setup multiple WorkDirs within a .cfg file? I think so. Config files are read from top to bottom, so each subsequent WorkDir setting will override the previous. Its probably not the best way to do it though. Check out the Directory[] option, I think you might be happy with it. It will use a directory (whatever you name it) one level below the WorkDir, or if you use LogDir, ImageDir, etc, it will put it one level below there. Great for keeping your files and directories "clean". Here is what I use: ### Global Config Options HtmlDir: \mrtg\www ImageDir: \mrtg\images IconDir: \mrtg\images LogDir: \mrtg\log ThreshDir: \mrtg\thresh ### Global Defaults WithPeak[_]: dwmy Background[_]: #FFFFE8 ThreshProgO[_]: \mrtg\thresh\NotifyError.Bat ThreshProgOKO[_]: \mrtg\thresh\NotifyOK.Bat Directory[_]: MyServer1 ~snip~ That will creat a MyServer1 folder (and associated files) under \mrtg\www, \mrtg\images, and \mrtg\log. If you use WorkDir, then there will be one folder under the specified WorkDir and all the logs, images and html will be put there. HTH Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Mon Jun 9 19:06:28 2003 From: lammer at mail.sochi.ru (lam) Date: Mon, 9 Jun 2003 21:06:28 +0400 Subject: [mrtg] Re: Month traffic stats (HOWTO) ? References: <0b4801c32d91$5e322bc0$4e080d51@SNMP> <36370.10.10.10.7.1055079972.squirrel@webmail.linuxpowered.net> <0e3101c32df3$088c6f70$4e080d51@SNMP> <38606.10.10.10.7.1055108965.squirrel@webmail.linuxpowered.net> Message-ID: <04cb01c32ea9$79bd84c0$fdfea8c0@SNMP> > be sure not to run it from cron. I'm new to RRDTool but my reading > sofar indicates it is not designed to do what your asking. the total > stats tool works good for me: > > http://mrtg.aphroland.org/summit.aphroland.org/summit.1.total.2003.html Iam running it in windows env. There also some problem with GDGrphs .pms, not all of them (which are required by mrtg_total) are released for win. So I had to turn that feature off (in .pl). BTW is it possible (temporary, before I solve problems with mrtg_total) to set MRTG print in analyze page the current value of IfInOctets received from router? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jcalderon at bankguay.com Mon Jun 9 22:28:13 2003 From: jcalderon at bankguay.com (=?iso-8859-1?Q?Jos=E9_Antonio_Calder=F3n_C.?=) Date: Mon, 9 Jun 2003 15:28:13 -0500 Subject: [mrtg] test Message-ID: <009c01c32ec5$a9811570$03411aac@jacc> test -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Mikevl at paradise.net.nz Tue Jun 10 00:14:57 2003 From: Mikevl at paradise.net.nz (Mikevl) Date: Tue, 10 Jun 2003 10:14:57 +1200 Subject: [mrtg] MRTG Install & config problems Message-ID: <00b301c32ed4$90e11380$c80aa8c0@notebook> Hello I have been using MRTG for a few years now but have just updated my RedHat 7.2 system using the mrtg-2.9.25-1.7.2.i386.rpm. When I try to run MRTG now I get the following [root at Lizzi root]# /usr/bin/mrtg /etc/mrtg/mrtg.cfg gd-png: fatal libpng error: Invalid filter type specified gd-png error: setjmp returns error condition [root at Lizzi root]# My version of gd is gd-1.8.4-4 My version of png = libpng-1.0.14-0.7x.4 any suggestions much appreciated many thanks Mike -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rgomes at diveo.net.br Tue Jun 10 03:55:11 2003 From: rgomes at diveo.net.br (Rubens Carlos de Souza Gomes) Date: Mon, 9 Jun 2003 22:55:11 -0300 Subject: [mrtg] weird graph Message-ID: I recently did several upgrades on my Sun SPARC Solaris 7. I compiled the perl (perl 5.8.0), and re-compiled mrtg and all the latest versions of the required libraries: gd, png, zlib libraries (which I downloaded from the web). I used the gnu gcc 3.2.3 compiler. Since these upgrades, the graphs are squared, showing several pieces of straight lines for 5 minutes interval. What could have gone wrong? The following are the versions used for the compile of mrtg (mrtg-2.9.25): gd 2.0.5 zlib 1.1.4 libpng 1.2.5 I did not use freetype nor jpeg libs when compiling gd. Is freetype or jpeg libs required? Is there any other factor other than lack of SNMP data for the graphs to be squared? Rubens. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jibanez at unav.es Tue Jun 10 10:39:29 2003 From: jibanez at unav.es (=?ISO-8859-1?Q?Jorge_Ib=E1=F1ez?=) Date: Tue, 10 Jun 2003 10:39:29 +0200 Subject: [mrtg] MRTG upgrade problems Message-ID: <3EE59941.2060404@unav.es> Hello. I have been using MRTG on a Solaris Machine for long time. Now I have change that machine for a new Intel server with RedHat Linux 9.0 and I have found two problems. In Solaris I had mrtg 2.9.22, rrdtool 1.0.38 and mrtg-rrd.cgi like frontend. In Intel server I have installed mrtg 2.9.29 and rrdtool 1.0.41. 1.- The rrd files are not compatible. This is the message: "Error: RRDs::graph failed, This RRD was created on other architecture" So I must begin with new rrd files, losing all my old values... 2.- All the values in the html pages: Max, Average and Current say "%.1lf", even this way the graphs are good. What can I do? Any suggestions much appreciated Thanks. Jorge -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ruben.montes at eu.didata.com Tue Jun 10 12:30:22 2003 From: ruben.montes at eu.didata.com (Ruben Montes) Date: Tue, 10 Jun 2003 12:30:22 +0200 Subject: [mrtg] Logging to Psql database Message-ID: <110C7745627FD511A92000508BAF2597789B93@esbcnddexc1.eu.didata.com> Hello, I want to log all the data generated by MRTG in the .log file into an Psql database. Is there a perl script to do so? Thanks in advance, Ruben -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Andreas.Larsen at tre.se Tue Jun 10 13:55:44 2003 From: Andreas.Larsen at tre.se (Larsen,Andreas) Date: Tue, 10 Jun 2003 13:55:44 +0200 Subject: [mrtg] Off the topic ! Message-ID: I would like to know if anyone out there have come over any type of good "IP inventory" management tool. That is open source like Mrtg. Regards Andreas -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Tue Jun 10 15:08:02 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Tue, 10 Jun 2003 06:08:02 -0700 Subject: [mrtg] Cisco Airnet and ODIs Message-ID: This is my first attempt at using OIDs for monitoring, so please bare with me... The following is a .cfg for a Cisco Aironet 340 bridge, the first four items work, but the last two do not. Also, I am not sure that I have the TARGET line setup correctly as I am using the same OID for both entries. RunAsDaemon: yes Options[_]: bits Refresh: 500 Interval: 5 WorkDir: C:\inetpub\wwwroot\mrtg\ ThreshDir: C:\inetpub\wwwroot\mrtg\Thresholds AddHead[^]: \n\n # PortolaIndio # Round Trip Ping Test Directory[PortolaIndio.pingtest]: test\PortolaIndio SetEnv[PortolaIndio.pingtest]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio" Target[PortolaIndio.pingtest]: `perl c:\mrtg\scripts\pingp-210\mrtg-ping-probe 10.0.0.3` Title[PortolaIndio.pingtest]: Round Trip Ping Time Analysis for PortolaIndio PageTop[PortolaIndio.pingtest]:

Round Trip Ping Time Analysis for PortolaIndio

AddHead[PortolaIndio.pingtest]: MaxBytes[PortolaIndio.pingtest]: 180 AbsMax[PortolaIndio.pingtest]: 10000 WithPeak[PortolaIndio.pingtest]: ymwd Options[PortolaIndio.pingtest]: gauge YLegend[PortolaIndio.pingtest]: round trip time ShortLegend[PortolaIndio.pingtest]: ms Legend1[PortolaIndio.pingtest]: Maximum Round Trip Time in ms Legend2[PortolaIndio.pingtest]: Minimum Round Trip Time in ms Legend3[PortolaIndio.pingtest]: Maximal 5 Minute Maximum Round Trip Time in ms Legend4[PortolaIndio.pingtest]: Maximal 5 Minute Minimum Round Trip Time in ms LegendI[PortolaIndio.pingtest]:  Max: LegendO[PortolaIndio.pingtest]:  Min: # Packet Loss Test Directory[PortolaIndio.packetloss]: test\PortolaIndio SetEnv[PortolaIndio.packetloss]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio" Target[PortolaIndio.packetloss]: `perl c:\mrtg\scripts\pingp-210\mrtg-ping-probe -t 42 -p loss/loss 10.0.0.3` Title[PortolaIndio.packetloss]: Packet Loss Analysis for PortolaIndio PageTop[PortolaIndio.packetloss]:

Packet Loss Analysis for PortolaIndio

AddHead[PortolaIndio.packetloss]: MaxBytes[PortolaIndio.packetloss]: 100 AbsMax[PortolaIndio.packetloss]: 101 WithPeak[PortolaIndio.packetloss]: ymwd Options[PortolaIndio.packetloss]: gauge Unscaled[PortolaIndio.packetloss]: dwmy YLegend[PortolaIndio.packetloss]: % Packet Loss ShortLegend[PortolaIndio.packetloss]: % Legend1[PortolaIndio.packetloss]: % Packet Loss Legend2[PortolaIndio.packetloss]: % Packet Loss Legend3[PortolaIndio.packetloss]: Maximal 5 Minute % Packet Loss Legend4[PortolaIndio.packetloss]: Maximal 5 Minute % Packet Loss LegendI[PortolaIndio.packetloss]:  % loss: LegendO[PortolaIndio.packetloss]:  % loss: # Radio Traffic Test Directory[PortolaIndio.radiotraffic]: test\PortolaIndio Target[PortolaIndio.radiotraffic]: 1:public at 10.0.0.3: SetEnv[PortolaIndio.radiotraffic]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio - Radio" MaxBytes[PortolaIndio.radiotraffic]: 1250000 Title[PortolaIndio.radiotraffic]: Radio Traffic Analysis for PortolaIndio - Radio PageTop[PortolaIndio.radiotraffic]:

Radio Traffic Analysis for PortolaIndio - Radio

AddHead[PortolaIndio.radiotraffic]: # Ethernet Traffic Test Directory[PortolaIndio.ethernettraffic]: test\PortolaIndio Target[PortolaIndio.ethernettraffic]: 2:public at 10.0.0.3: SetEnv[PortolaIndio.ethernettraffic]: MRTG_INT_IP="10.0.0.3" MRTG_INT_DESCR="PortolaIndio - Ethernet" MaxBytes[PortolaIndio.ethernettraffic]: 1250000 Title[PortolaIndio.ethernettraffic]: Ethernet Traffic Analysis for PortolaIndio - Ethernet PageTop[PortolaIndio.ethernettraffic]:

Ethernet Traffic Analysis for PortolaIndio - Ethernet

AddHead[PortolaIndio.ethernettraffic]: # Receive Strenght Directory[PortolaIndio.strenght]: test\PortolaIndio Target[PortolaIndio.strenght]: 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3 Options[PortolaIndio.strenght]: growright, gauge WithPeak[PortolaIndio.strenght]: ymwd YLegend[PortolaIndio.strenght]: Receive Strength MaxBytes[PortolaIndio.strenght]: 100 LegendI[PortolaIndio.strenght]:  Strength: LegendO[PortolaIndio.strenght]:  Strength: Title[PortolaIndio.strenght]: Receive Strength for PortolaIndio Legend1[PortolaIndio.strenght]: Strenght Legend2[PortolaIndio.strenght]: Strenght Legend3[PortolaIndio.strenght]: Maximal Strenght Legend4[PortolaIndio.strenght]: Maximal Strenght ShortLegend[PortolaIndio.strenght]: % Suppress[PortolaIndio.strenght]: y PageTop[PortolaIndio.strenght]:

Receive Strenght for PortolaIndio

AddHead[PortolaIndio.strenght]: # Receive Quality Directory[PortolaIndio.Quality]: test\PortolaIndio Target[PortolaIndio.Quality]: 1.3.6.1.4.1.522.3.12.5.1.10&1.3.6.1.4.1.522.3.12.5.1.10:public at 10.0.0.3 Options[PortolaIndio.Quality]: growright, gauge WithPeak[PortolaIndio.Quality]: ymwd YLegend[PortolaIndio.Quality]: Receive Quality MaxBytes[PortolaIndio.Quality]: 100 LegendI[PortolaIndio.Quality]:  Quality: LegendO[PortolaIndio.Quality]:  Quality: Title[PortolaIndio.Quality]: Receive Quality for PortolaIndio Legend1[PortolaIndio.Quality]: Receive Quality Legend2[PortolaIndio.Quality]: Receive Quality Legend3[PortolaIndio.Quality]: Maximal Receive Legend4[PortolaIndio.Quality]: Maximal Receive ShortLegend[PortolaIndio.Quality]: % Suppress[PortolaIndio.Quality]: y PageTop[PortolaIndio.Quality]:

Receive Quality for PortolaIndio

AddHead[PortolaIndio.Quality]: Here are the errors I receive: Daemonizing MRTG ... Do Not close this window. Or MRTG will die SNMP Error: Received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.4.1.522.3.12.5.1.9) SNMPv1_Session (remote host: "10.0.0.3" [10.0.0.3].161) community: "public" request ID: -1924755671 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 458 SNMPGET Problem for 1.3.6.1.4.1.522.3.12.5.1.9 1.3.6.1.4.1.522.3.12.5.1.9 sysUpt ime sysName on public at 10.0.0.3 at mrtg.pl line 1678 SNMP Error: Received SNMP response with error code error status: noSuchName index 1 (OID: 1.3.6.1.4.1.522.3.12.5.1.10) SNMPv1_Session (remote host: "10.0.0.3" [10.0.0.3].161) community: "public" request ID: -1924755670 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 458 SNMPGET Problem for 1.3.6.1.4.1.522.3.12.5.1.10 1.3.6.1.4.1.522.3.12.5.1.10 sysU ptime sysName on public at 10.0.0.3 at mrtg.pl line 1678 ERROR: Target[portolaindio.strenght][_IN_] ' $$target[4]{$mode} ' did not eval i nto defined data ERROR: Target[portolaindio.strenght][_OUT_] ' $$target[4]{$mode} ' did not eval into defined data WARNING: Skipping Update of portolaindio.strenght, inlast is not defined WARNING: Skipping Update of portolaindio.strenght, outlast is not defined ERROR: Target[portolaindio.quality][_IN_] ' $$target[5]{$mode} ' did not eval in to defined data ERROR: Target[portolaindio.quality][_OUT_] ' $$target[5]{$mode} ' did not eval i nto defined data WARNING: Skipping Update of portolaindio.quality, inlast is not defined WARNING: Skipping Update of portolaindio.quality, outlast is not defined Any help with fixing these erros is greatly appreciated. I got the OID from http://www.mibdepot.com/cgi-bin/xsearch_index3.cgi?id=2333 Thanks Matt <> -- Attached file removed by Ecartis and put at URL below -- -- Type: text/x-vcard -- Desc: Matthew Mandalek (E-mail).vcf -- Size: 1k (1840 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/06-Matthew%20Mandalek%20(E-mail).vc -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jwitherell at us.ibm.com Tue Jun 10 15:59:43 2003 From: jwitherell at us.ibm.com (Jim Witherell) Date: Tue, 10 Jun 2003 09:59:43 -0400 Subject: [mrtg] Re: Off the topic ! Message-ID: I dug around www.gnu.org and found these which seem interesting: http://iptrack.sourceforge.net/ http://www.freeipdb.org/ http://www.emre.de/projects.php Jim Witherell Network Specialist --Live Intentionally-- IBM @ AK Steel Corp 513.425.3483 "Larsen,Andreas" re.se> cc: Sent by: Subject: [mrtg] Off the topic ! mrtg-bounce at list. ee.ethz.ch 06/10/03 07:55 AM I would like to know if anyone out there have come over any type of good "IP inventory" management tool. That is open source like Mrtg. Regards Andreas -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Tue Jun 10 16:58:39 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 10 Jun 2003 09:58:39 -0500 Subject: [mrtg] Re: Cisco Airnet and ODIs In-Reply-To: References: Message-ID: <1055257119.21163.41.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Tue, 2003-06-10 at 08:08, Matthew L. Mandalek wrote: > This is my first attempt at using OIDs for monitoring, so please bare with me... > The following is a .cfg for a Cisco Aironet 340 bridge, the first four items work, but the last two do not. Also, I am not sure that I have the TARGET line setup correctly as I am using the same OID for both entries. > Target[PortolaIndio.strenght]: 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3 The 340 doesn't support any mibs in the 522 hierarchy. The 551 tree is where it keeps it's stuff, but it's terribly un-interesting. -- Daniel J McDonald, CCIE #2495, CNX LAN/WAN Integrator Austin Energy 512-322-6739 (desk) 512-694-0654 (cell) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jayk at weblook2k.com Tue Jun 10 18:09:06 2003 From: jayk at weblook2k.com (Jeremy Koski) Date: Tue, 10 Jun 2003 09:09:06 -0700 (PDT) Subject: [mrtg] Linksys WAP54G In-Reply-To: <1055257119.21163.41.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> Message-ID: I'm trying to use mrtg to monitor a couple of Linksys WAP54G's, but not having any luck with it picking up the interfaces. Anybody have any ideas on how to graph the WAP54G's? --jk -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From brandonl at hms4emc.com Tue Jun 10 18:55:19 2003 From: brandonl at hms4emc.com (Brandon Lederer) Date: Tue, 10 Jun 2003 11:55:19 -0500 Subject: [mrtg] Re: Linksys WAP54G Message-ID: Do those have SNMP? -----Original Message----- From: Jeremy Koski [mailto:jayk at weblook2k.com] Sent: Tuesday, June 10, 2003 11:09 AM To: MRTG (E-mail) Subject: [mrtg] Linksys WAP54G I'm trying to use mrtg to monitor a couple of Linksys WAP54G's, but not having any luck with it picking up the interfaces. Anybody have any ideas on how to graph the WAP54G's? --jk -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Michael.Earls at cchmc.org Tue Jun 10 22:21:33 2003 From: Michael.Earls at cchmc.org (Michael Earls) Date: Tue, 10 Jun 2003 16:21:33 -0400 Subject: [mrtg] Re: Off the topic ! Message-ID: Another good one from www.gnu.org http://www.freshmeat.net/projects/phpip michael >>> "Jim Witherell" 06/10/03 09:59AM >>> I dug around www.gnu.org and found these which seem interesting: http://iptrack.sourceforge.net/ http://www.freeipdb.org/ http://www.emre.de/projects.php Jim Witherell Network Specialist --Live Intentionally-- IBM @ AK Steel Corp 513.425.3483 "Larsen,Andreas" re.se> cc: Sent by: Subject: [mrtg] Off the topic ! mrtg-bounce at list. ee.ethz.ch 06/10/03 07:55 AM I would like to know if anyone out there have come over any type of good "IP inventory" management tool. That is open source like Mrtg. Regards Andreas -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dwinkler at algorithmics.com Tue Jun 10 23:31:06 2003 From: dwinkler at algorithmics.com (Derek Winkler) Date: Tue, 10 Jun 2003 17:31:06 -0400 Subject: [mrtg] Re: Off the topic ! Message-ID: <06EE2C86D3DAD5119A6C0060943F3C97055E6FFC@tormail1.algorithmics.com> and another... http://www.brownkid.net/NorthStar/ -----Original Message----- From: Michael Earls [mailto:Michael.Earls at cchmc.org] Sent: Tuesday, June 10, 2003 4:22 PM To: mrtg at list.ee.ethz.ch; mrtg-bounce at list.ee.ethz.ch; jwitherell at us.ibm.com Subject: [mrtg] Re: Off the topic ! Another good one from www.gnu.org http://www.freshmeat.net/projects/phpip michael >>> "Jim Witherell" 06/10/03 09:59AM >>> I dug around www.gnu.org and found these which seem interesting: http://iptrack.sourceforge.net/ http://www.freeipdb.org/ http://www.emre.de/projects.php Jim Witherell Network Specialist --Live Intentionally-- IBM @ AK Steel Corp 513.425.3483 "Larsen,Andreas" re.se> cc: Sent by: Subject: [mrtg] Off the topic ! mrtg-bounce at list. ee.ethz.ch 06/10/03 07:55 AM I would like to know if anyone out there have come over any type of good "IP inventory" management tool. That is open source like Mrtg. Regards Andreas -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jonathan at sirtis.org.uk Wed Jun 11 00:31:58 2003 From: jonathan at sirtis.org.uk (Jonathan) Date: Tue, 10 Jun 2003 23:31:58 +0100 Subject: [mrtg] Cisco 2950 - IP addresses Message-ID: <3EE65C5E.8000102@sirtis.org.uk> Hi, Hope someone can help. I'm trying to use MRTG properly for the first time and it's certainly provided a lot for me to sink my teeth into. I'm wanting to be able to monitor 7 Cisco 2950 switches and I've been asked if it's possible to list the IP addresses which are related to each port. I realised I could write something to scan through the ARP table to process this, but I figured there must be an easier way? I haven't a clue where to look for this sort of information and my Googling has so far not produced anything useful. If someone could point me in the right direction, it would be much appreciated. TIA, Jonathan -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From vboulytchev at coinfotech.com Wed Jun 11 00:43:04 2003 From: vboulytchev at coinfotech.com (Boulytchev, Vasiliy) Date: Tue, 10 Jun 2003 16:43:04 -0600 Subject: [mrtg] mrtg and VLANs Message-ID: <1958DE295D9656499ECAAD3642822DE004476D@willow.office.coinfotech.com> Ladies and Gents, Does anyone have a sample config on getting the VLAN values? (cisco 3500). My graphs show up, but no stats are displayed. THANKS! Vasiliy Boulytchev Colorado Information Technologies Inc. (719) 473-2800 x15 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From swcxt at co.boulder.co.us Wed Jun 11 01:02:50 2003 From: swcxt at co.boulder.co.us (Shane Castle [AIX]) Date: Tue, 10 Jun 2003 17:02:50 -0600 (MDT) Subject: [mrtg] Re: Cisco 2950 - IP addresses In-Reply-To: <3EE65C5E.8000102@sirtis.org.uk> Message-ID: The command 'sho mac-ad' on the 2950 will display the MAC table, but it's not correlated with IP addresses. The 2950 won't know those since it's strictly a layer-2 device. You need to go to the nearest router and look at its ARP table; for Cisco routers the command is 'sho ip arp' and more recent IOS versions can display the IP address for a particular MAC address (e.g., 'sho ip arp 00b0.d0f3.d495'). There's a component of CiscoWorks 2000 LMS, Campus Manager, that will put that info together and display it for you nicely but CW2K is pricey. You can actually get all the necessary info via SNMP queries but it's a fair amount of research and programming to put it all together. So I think the short answer is, no, there's not an easier way. -- Shane Castle Boulder County Info Svcs Boulder CO On Tue, 10 Jun 2003, Jonathan wrote: >Hi, > >Hope someone can help. I'm trying to use MRTG properly for the first >time and it's certainly provided a lot for me to sink my teeth into. > >I'm wanting to be able to monitor 7 Cisco 2950 switches and I've been >asked if it's possible to list the IP addresses which are related to >each port. > >I realised I could write something to scan through the ARP table to >process this, but I figured there must be an easier way? > >I haven't a clue where to look for this sort of information and my >Googling has so far not produced anything useful. If someone could point >me in the right direction, it would be much appreciated. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rcrawford at globalofficeconnect.com Wed Jun 11 00:40:51 2003 From: rcrawford at globalofficeconnect.com (Roger Crawford) Date: Tue, 10 Jun 2003 18:40:51 -0400 Subject: [mrtg] Re: Cisco 2950 - IP addresses Message-ID: <09C04FBEC6C5B148AA1A461F7C535B7E0800DE@gocmail01.globalofficeconnect.com> In "related" you mean the IP bound to the individual port, or the source/destination IP? -Roger -----Original Message----- From: Jonathan [mailto:jonathan at sirtis.org.uk] Sent: Tuesday, June 10, 2003 6:32 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Cisco 2950 - IP addresses Hi, Hope someone can help. I'm trying to use MRTG properly for the first time and it's certainly provided a lot for me to sink my teeth into. I'm wanting to be able to monitor 7 Cisco 2950 switches and I've been asked if it's possible to list the IP addresses which are related to each port. I realised I could write something to scan through the ARP table to process this, but I figured there must be an easier way? I haven't a clue where to look for this sort of information and my Googling has so far not produced anything useful. If someone could point me in the right direction, it would be much appreciated. TIA, Jonathan -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jonathan at sirtis.org.uk Wed Jun 11 04:10:23 2003 From: jonathan at sirtis.org.uk (Jonathan) Date: Wed, 11 Jun 2003 03:10:23 +0100 Subject: [mrtg] Re: Cisco 2950 - IP addresses In-Reply-To: <09C04FBEC6C5B148AA1A461F7C535B7E0800DE@gocmail01.globalofficeconnect.com> References: <09C04FBEC6C5B148AA1A461F7C535B7E0800DE@gocmail01.globalofficeconnect.com> Message-ID: <3EE68F8F.1000101@sirtis.org.uk> Roger Crawford wrote: > In "related" you mean the IP bound to the individual port, or the > source/destination IP? I mean the IP address(es) of the machines plugged into the various ports. At the moment, we're seeing that, for instance, the server hanging off port 2 is doing 64kbits/s - it would be nice to say that 192.168.10.5 is doing 64kbits/s etc. > -----Original Message----- > From: Jonathan [mailto:jonathan at sirtis.org.uk] > To: mrtg at list.ee.ethz.ch > > Hi, > > Hope someone can help. I'm trying to use MRTG properly for the first > time and it's certainly provided a lot for me to sink my teeth into. > > I'm wanting to be able to monitor 7 Cisco 2950 switches and I've been > asked if it's possible to list the IP addresses which are related to > each port. [snip] Regards, Jonathan -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Wed Jun 11 07:03:52 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Tue, 10 Jun 2003 22:03:52 -0700 Subject: [mrtg] Re: Cisco Airnet and ODIs Message-ID: Do you know where I can find the definitions of what is what for the 340? Thanks -----Original Message----- From: Daniel J McDonald [mailto:dan.mcdonald at austinenergy.com] Sent: Tuesday, June 10, 2003 7:59 AM To: Matthew L. Mandalek Cc: MRTG (E-mail) Subject: Re: [mrtg] Cisco Airnet and ODIs On Tue, 2003-06-10 at 08:08, Matthew L. Mandalek wrote: > This is my first attempt at using OIDs for monitoring, so please bare with me... > The following is a .cfg for a Cisco Aironet 340 bridge, the first four items work, but the last two do not. Also, I am not sure that I have the TARGET line setup correctly as I am using the same OID for both entries. > Target[PortolaIndio.strenght]: 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3 The 340 doesn't support any mibs in the 522 hierarchy. The 551 tree is where it keeps it's stuff, but it's terribly un-interesting. -- Daniel J McDonald, CCIE #2495, CNX LAN/WAN Integrator Austin Energy 512-322-6739 (desk) 512-694-0654 (cell) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From adetutu.adeoba at bancaintesa.co.uk Wed Jun 11 15:29:01 2003 From: adetutu.adeoba at bancaintesa.co.uk (Adeoba, Adetutu) Date: Wed, 11 Jun 2003 14:29:01 +0100 Subject: [mrtg] Perl cfgmaker not working Message-ID: <356FE99999DB9A4BAF7995391D45AA4987734B@LNMAIL2.bcildn.com> I am running perl cfgmaker public@?.?.?.? - -global "WorkDir: C:\www\mrtg" - -output mrtg.cfg but it always come up with this error. Error: can't resolve "-" to IP address at C:/mrtg-2.10.0pre3/bin\..\lib\mrtg2/SNMP_util.pm line 420 SNMPWALK Problem for public at -::::::v4only at cfgmaker line 769 WARNING: Skipping public at -: as no info could be retreived --base: Writing mrtg.cfg I know that this works as I have already run this some months ago and our snip string have not changed. Just to be sure, I checked and it is still the same. Thanks IMPORTANT NOTICE: This e-mail transmission (including any attachment) is strictly confidential and intended solely for the addressee. If you are not the intended recipient, you must not copy, distribute or take any action in reliance upon it. If you have received this e-mail in error, please notify the sender and delete the e-mail transmission immediately. This communication is from Banca Intesa S.p.A. London Branch, 90 Queen Street, London EC4N 1SA Tel: +44(0)20 7651 3000 Fax: +44(0)20 7651 3200 Banca Intesa S.p.A. is regulated by the Financial Services Authority for the conduct of designated investment business in the UK and is incorporated in Italy with limited liability. It is registered in England as a branch under number BR000036. Please note that this e-mail has been created in the knowledge that internet e-mail is not a 100% secure communications medium as information could be intercepted, corrupted, amended, lost, arrive late or incomplete or contain viruses. We advise that you understand this lack of security and take into account in considering the contents of this e-mail and any attachment and that you take any necessary measures when e-mailing us. Opinions, conclusions and other information in this e-mail and any attachment which do not relate to the official business of Banca Intesa S.p.A. are neither given nor endorsed by it. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mksmith at pa.eplus.com Wed Jun 11 15:42:05 2003 From: mksmith at pa.eplus.com (Mitchell K. Smith) Date: Wed, 11 Jun 2003 09:42:05 -0400 Subject: [mrtg] Re: Perl cfgmaker not working Message-ID: <509CCC09F64F4247983A7306863627E75D7CE4@exchpa2.pa.eplus.com> This: "- -global" Should be "--global" Options are prefixed with -- -----Original Message----- From: Adeoba, Adetutu [mailto:adetutu.adeoba at bancaintesa.co.uk] Sent: Wednesday, June 11, 2003 9:29 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Perl cfgmaker not working I am running perl cfgmaker public@?.?.?.? - -global "WorkDir: C:\www\mrtg" - -output mrtg.cfg but it always come up with this error. Error: can't resolve "-" to IP address at C:/mrtg-2.10.0pre3/bin\..\lib\mrtg2/SNMP_util.pm line 420 SNMPWALK Problem for public at -::::::v4only at cfgmaker line 769 WARNING: Skipping public at -: as no info could be retreived --base: Writing mrtg.cfg I know that this works as I have already run this some months ago and our snip string have not changed. Just to be sure, I checked and it is still the same. Thanks IMPORTANT NOTICE: This e-mail transmission (including any attachment) is strictly confidential and intended solely for the addressee. If you are not the intended recipient, you must not copy, distribute or take any action in reliance upon it. If you have received this e-mail in error, please notify the sender and delete the e-mail transmission immediately. This communication is from Banca Intesa S.p.A. London Branch, 90 Queen Street, London EC4N 1SA Tel: +44(0)20 7651 3000 Fax: +44(0)20 7651 3200 Banca Intesa S.p.A. is regulated by the Financial Services Authority for the conduct of designated investment business in the UK and is incorporated in Italy with limited liability. It is registered in England as a branch under number BR000036. Please note that this e-mail has been created in the knowledge that internet e-mail is not a 100% secure communications medium as information could be intercepted, corrupted, amended, lost, arrive late or incomplete or contain viruses. We advise that you understand this lack of security and take into account in considering the contents of this e-mail and any attachment and that you take any necessary measures when e-mailing us. Opinions, conclusions and other information in this e-mail and any attachment which do not relate to the official business of Banca Intesa S.p.A. are neither given nor endorsed by it. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From vboulytchev at coinfotech.com Wed Jun 11 17:38:38 2003 From: vboulytchev at coinfotech.com (Boulytchev, Vasiliy) Date: Wed, 11 Jun 2003 09:38:38 -0600 Subject: [mrtg] FW: mrtg and VLANs Message-ID: <1958DE295D9656499ECAAD3642822DE004476F@willow.office.coinfotech.com> Can someone take the time to answer my yesterdays post? THANKS! Vasiliy Boulytchev Colorado Information Technologies Inc. (719) 473-2800 x15 -----Original Message----- From: Boulytchev, Vasiliy Sent: Tuesday, June 10, 2003 4:43 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] mrtg and VLANs Ladies and Gents, Does anyone have a sample config on getting the VLAN values? (cisco 3500). My graphs show up, but no stats are displayed. THANKS! Vasiliy Boulytchev Colorado Information Technologies Inc. (719) 473-2800 x15 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From david.kelly at ergon.com.au Thu Jun 12 00:29:59 2003 From: david.kelly at ergon.com.au (KELLY David (NQ)) Date: Thu, 12 Jun 2003 08:29:59 +1000 Subject: [mrtg] Re: Cisco Airnet and ODIs Message-ID: Try here http://www.mibdepot.com/index.shtml -----Original Message----- From: Matthew L. Mandalek [mailto:mandalek at 4desertwireless.net] Sent: Wednesday, 11 June 2003 3:04 PM To: Daniel J McDonald Cc: MRTG (E-mail) Subject: [mrtg] Re: Cisco Airnet and ODIs Do you know where I can find the definitions of what is what for the 340? Thanks -----Original Message----- From: Daniel J McDonald [mailto:dan.mcdonald at austinenergy.com] Sent: Tuesday, June 10, 2003 7:59 AM To: Matthew L. Mandalek Cc: MRTG (E-mail) Subject: Re: [mrtg] Cisco Airnet and ODIs On Tue, 2003-06-10 at 08:08, Matthew L. Mandalek wrote: > This is my first attempt at using OIDs for monitoring, so please bare > with me... The following is a .cfg for a Cisco Aironet 340 bridge, the > first four items work, but the last two do not. Also, I am not sure > that I have the TARGET line setup correctly as I am using the same OID > for both entries. > Target[PortolaIndio.strenght]: > 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3 The 340 doesn't support any mibs in the 522 hierarchy. The 551 tree is where it keeps it's stuff, but it's terribly un-interesting. -- Daniel J McDonald, CCIE #2495, CNX LAN/WAN Integrator Austin Energy 512-322-6739 (desk) 512-694-0654 (cell) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi This e-mail (including any attachments) may contain confidential or privileged information and is intended for the sole use of the person(s) to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, please notify the sender of the message or send an e-mail to mailto:help.desk at ergon.com.au immediately, and delete all copies. Any unauthorised review, use, alteration, disclosure or distribution of this e-mail by an unintended recipient is prohibited. Ergon Energy accepts no responsibility for the content of any e-mail sent by an employee which is of a personal nature. Ergon Energy Corporation Limited ABN 50 087 646 062 Ergon Energy Pty Ltd ABN 66 078 875 902 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Steve.Dowling at tafensw.edu.au Thu Jun 12 06:47:16 2003 From: Steve.Dowling at tafensw.edu.au (Dowling, Steve) Date: Thu, 12 Jun 2003 14:47:16 +1000 Subject: [mrtg] Re: Cisco Airnet and ODIs Message-ID: <1DBEF093251ED749B7E5583137F479F602F79D75@umfexch1.ultimo.tafensw.edu.au> I got a lot of good info from: http://www.cisco.com/univercd/cc/td/doc/product/wireless/airo_350/accssp ts/ap350scg/ap350ch2.htm#xtocid2028314 -----Original Message----- From: KELLY David (NQ) [mailto:david.kelly at ergon.com.au] Sent: Thursday, 12 June 2003 8:30 AM To: Matthew L. Mandalek; Daniel J McDonald Cc: MRTG (E-mail) Subject: [mrtg] Re: Cisco Airnet and ODIs Try here http://www.mibdepot.com/index.shtml -----Original Message----- From: Matthew L. Mandalek [mailto:mandalek at 4desertwireless.net] Sent: Wednesday, 11 June 2003 3:04 PM To: Daniel J McDonald Cc: MRTG (E-mail) Subject: [mrtg] Re: Cisco Airnet and ODIs Do you know where I can find the definitions of what is what for the 340? Thanks -----Original Message----- From: Daniel J McDonald [mailto:dan.mcdonald at austinenergy.com] Sent: Tuesday, June 10, 2003 7:59 AM To: Matthew L. Mandalek Cc: MRTG (E-mail) Subject: Re: [mrtg] Cisco Airnet and ODIs On Tue, 2003-06-10 at 08:08, Matthew L. Mandalek wrote: > This is my first attempt at using OIDs for monitoring, so please bare > with me... The following is a .cfg for a Cisco Aironet 340 bridge, the > first four items work, but the last two do not. Also, I am not sure > that I have the TARGET line setup correctly as I am using the same OID > for both entries. > Target[PortolaIndio.strenght]: > 1.3.6.1.4.1.522.3.12.5.1.9&1.3.6.1.4.1.522.3.12.5.1.9:public at 10.0.0.3 The 340 doesn't support any mibs in the 522 hierarchy. The 551 tree is where it keeps it's stuff, but it's terribly un-interesting. -- Daniel J McDonald, CCIE #2495, CNX LAN/WAN Integrator Austin Energy 512-322-6739 (desk) 512-694-0654 (cell) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi This e-mail (including any attachments) may contain confidential or privileged information and is intended for the sole use of the person(s) to whom it is addressed. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, please notify the sender of the message or send an e-mail to mailto:help.desk at ergon.com.au immediately, and delete all copies. Any unauthorised review, use, alteration, disclosure or distribution of this e-mail by an unintended recipient is prohibited. Ergon Energy accepts no responsibility for the content of any e-mail sent by an employee which is of a personal nature. Ergon Energy Corporation Limited ABN 50 087 646 062 Ergon Energy Pty Ltd ABN 66 078 875 902 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Thu Jun 12 15:07:12 2003 From: lammer at mail.sochi.ru (lam) Date: Thu, 12 Jun 2003 17:07:12 +0400 Subject: [mrtg] APC SMART UPS V/S 650 + MRTG = HOWTO? References: <1958DE295D9656499ECAAD3642822DE004476F@willow.office.coinfotech.com> Message-ID: <006c01c330e3$8c2ee9a0$fdfea8c0@SNMP> I have APC SMART UPS V/S 650 connected to WIN2000AS PC via Serial Cable (COM-port). Is there any manual how to get SNMP info from that UPS and setup MRTG to draw graphs? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Thu Jun 12 15:40:33 2003 From: lammer at mail.sochi.ru (lam) Date: Thu, 12 Jun 2003 17:40:33 +0400 Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? References: Message-ID: <00b901c330e8$343fd3d0$fdfea8c0@SNMP> > SNMP - it would require that the UPS statistics be integrated > into the Windows 2000 SNMP OID structure. Is it hard to do it? I need to monitor min/max volts and temperature. > Smart UPS, it'll take an APC 9606/9617 card which has all kinds EBAY dont deliver to our country, while the new one is costs here about $200. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pete.templin at texlink.com Thu Jun 12 16:05:28 2003 From: pete.templin at texlink.com (Pete Templin) Date: Thu, 12 Jun 2003 09:05:28 -0500 Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? Message-ID: <74E9F3444C71374BBC58FEA29FC2E5117D02D6@mail.texlinkcom.com> Visit http://noc.urdirect.net/mrtg/ups for a sample MRTG setup. Pete Templin IP Network Engineer Tex-Link Communications pete.templin at texlink.com (210) 892-4183 -----Original Message----- From: lam [mailto:lammer at mail.sochi.ru] Sent: Thursday, June 12, 2003 8:41 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? > SNMP - it would require that the UPS statistics be integrated > into the Windows 2000 SNMP OID structure. Is it hard to do it? I need to monitor min/max volts and temperature. > Smart UPS, it'll take an APC 9606/9617 card which has all kinds EBAY dont deliver to our country, while the new one is costs here about $200. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From AWaltman at anacomp.com Thu Jun 12 16:33:48 2003 From: AWaltman at anacomp.com (Waltman, Adam) Date: Thu, 12 Jun 2003 07:33:48 -0700 Subject: [mrtg] PVC vs. Port Speed question Message-ID: Greetings, I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, there has been some discrepancy between us and our ISP about how much we are using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC isn't the same as the port speed. Here's my questions: 1. Is it possible for MRTG to monitor the PVC speed while showing bursts above the CIR? (I have the WithPeak option specified but that stays within my stated PVC speed) 2. If I leave it the way it is, is there a way MRTG can graph spikes above the PVC or 100%? Thanks in advance, Adam -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From EJCORNWELL at coopertire.com Thu Jun 12 16:34:48 2003 From: EJCORNWELL at coopertire.com (Cornwell, Eric J.) Date: Thu, 12 Jun 2003 10:34:48 -0400 Subject: [mrtg] Re: Sending SNMP Traps from MRTG Treshold Breaches....Help !! Message-ID: <7C91EF3A81B6B3439C537BF5B375245901BE38AA@mail12.cooperworld.net> Hello, I have an W2K box that we are running MRTG 2.9.25 on and I would like to do what was mentioned below. We frequently have a couple of wan connections that use all the bandwidth available. Sending traps would be a great way for us to monitor it but I have no idea how to implement it. Thanks! Eric >Leandro, >The easiest way we found to achieve this was called a standard shell script when the threshold is passed with a few >parameters available from the SETENV lines in the cfg file. The shell script then contains the snmptrap command and parameters to forward onto an snmpd host. I can send specifics but it was actually very easy. >Martin At 08:54 AM 10/19/2002 +0100, >Leandro Nicoletti wrote: > >Hi all, > >I've got MRTG setup monitoring numerous different devices such as servers/routers etc. > >I would like to be able to send an SNMP trap when a given threshold has been breached, but I've not found >any documentation on this. > >I am trying to find documentation on how this can be >achieved on either Win2k or Linux MRTG polling server. > >Thanks > >Leandro > >__________________________________________________ >Do You Yahoo!? >Everything you'll ever need on one web page >from News and Sport to Email and Music Charts > > > >Unsubscribe >Archive >FAQ Homepage >WebAdmin > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Thu Jun 12 16:44:26 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 12 Jun 2003 09:44:26 -0500 Subject: [mrtg] Re: PVC vs. Port Speed question In-Reply-To: References: Message-ID: <1055429066.2167.11.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Thu, 2003-06-12 at 09:33, Waltman, Adam wrote: > Greetings, > > I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, > there has been some discrepancy between us and our ISP about how much we are > using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC > isn't the same as the port speed. Here's my questions: > > 1. Is it possible for MRTG to monitor the PVC speed while showing bursts > above the CIR? (I have the WithPeak option specified but that stays within > my stated PVC speed) yes. Thats what absmax is for. You should set that to PIR. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dashbrook at dmisi.com Thu Jun 12 16:45:53 2003 From: dashbrook at dmisi.com (David Ashbrook) Date: Thu, 12 Jun 2003 09:45:53 -0500 Subject: [mrtg] Re: PVC vs. Port Speed question In-Reply-To: Message-ID: <000001c330f1$53499a50$370a10ac@corp.dmisi.com> You can set your MaxBytes to the maximum you can burst over your CIR, then you can set the AbsMax option to your CIR. This will put a dotted red line across the graph wherever you set it. Is this what you are looking for? David Ashbrook -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Waltman, Adam Sent: Thursday, June 12, 2003 9:34 AM To: MRTG (E-mail) Subject: [mrtg] PVC vs. Port Speed question Greetings, I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, there has been some discrepancy between us and our ISP about how much we are using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC isn't the same as the port speed. Here's my questions: 1. Is it possible for MRTG to monitor the PVC speed while showing bursts above the CIR? (I have the WithPeak option specified but that stays within my stated PVC speed) 2. If I leave it the way it is, is there a way MRTG can graph spikes above the PVC or 100%? Thanks in advance, Adam -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From AWaltman at anacomp.com Thu Jun 12 16:55:20 2003 From: AWaltman at anacomp.com (Waltman, Adam) Date: Thu, 12 Jun 2003 07:55:20 -0700 Subject: [mrtg] Re: PVC vs. Port Speed question Message-ID: Exactly what I'm looking for. Just to make sure, AbsMax to CIR and MaxBytes to Port speed? -----Original Message----- From: David Ashbrook [mailto:dashbrook at dmisi.com] Sent: Thursday, June 12, 2003 10:46 AM To: MRTG Cc: 'Waltman, Adam' Subject: RE: [mrtg] PVC vs. Port Speed question You can set your MaxBytes to the maximum you can burst over your CIR, then you can set the AbsMax option to your CIR. This will put a dotted red line across the graph wherever you set it. Is this what you are looking for? David Ashbrook -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Waltman, Adam Sent: Thursday, June 12, 2003 9:34 AM To: MRTG (E-mail) Subject: [mrtg] PVC vs. Port Speed question Greetings, I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, there has been some discrepancy between us and our ISP about how much we are using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC isn't the same as the port speed. Here's my questions: 1. Is it possible for MRTG to monitor the PVC speed while showing bursts above the CIR? (I have the WithPeak option specified but that stays within my stated PVC speed) 2. If I leave it the way it is, is there a way MRTG can graph spikes above the PVC or 100%? Thanks in advance, Adam -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Thu Jun 12 16:58:28 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 12 Jun 2003 09:58:28 -0500 Subject: [mrtg] Re: PVC vs. Port Speed question In-Reply-To: References: Message-ID: <1055429908.2168.13.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Thu, 2003-06-12 at 09:55, Waltman, Adam wrote: > Exactly what I'm looking for. Just to make sure, AbsMax to CIR and MaxBytes > to Port speed? Nope. Absmax to PIR and MaxBytes to CIR. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From AWaltman at anacomp.com Thu Jun 12 17:01:16 2003 From: AWaltman at anacomp.com (Waltman, Adam) Date: Thu, 12 Jun 2003 08:01:16 -0700 Subject: [mrtg] Re: PVC vs. Port Speed question Message-ID: One more thing. I convert bytes to bits which means my MaxBytes is set to 100 because in my Target line, at the end, I have a * 100 / bit_amount. How do I handle that? Thanks, Adam -----Original Message----- From: David Ashbrook [mailto:dashbrook at dmisi.com] Sent: Thursday, June 12, 2003 10:46 AM To: MRTG Cc: 'Waltman, Adam' Subject: RE: [mrtg] PVC vs. Port Speed question You can set your MaxBytes to the maximum you can burst over your CIR, then you can set the AbsMax option to your CIR. This will put a dotted red line across the graph wherever you set it. Is this what you are looking for? David Ashbrook -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Waltman, Adam Sent: Thursday, June 12, 2003 9:34 AM To: MRTG (E-mail) Subject: [mrtg] PVC vs. Port Speed question Greetings, I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, there has been some discrepancy between us and our ISP about how much we are using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC isn't the same as the port speed. Here's my questions: 1. Is it possible for MRTG to monitor the PVC speed while showing bursts above the CIR? (I have the WithPeak option specified but that stays within my stated PVC speed) 2. If I leave it the way it is, is there a way MRTG can graph spikes above the PVC or 100%? Thanks in advance, Adam -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mrtg at aphroland.org Thu Jun 12 17:20:41 2003 From: mrtg at aphroland.org (nate) Date: Thu, 12 Jun 2003 08:20:41 -0700 (PDT) Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? In-Reply-To: <00b901c330e8$343fd3d0$fdfea8c0@SNMP> References: <00b901c330e8$343fd3d0$fdfea8c0@SNMP> Message-ID: <53106.10.10.10.7.1055431241.squirrel@webmail.linuxpowered.net> lam said: >> SNMP - it would require that the UPS statistics be integrated >> into the Windows 2000 SNMP OID structure. > > Is it hard to do it? I need to monitor min/max volts and temperature. http://howto.aphroland.de/HOWTO/MRTG/NUTWithMRTG you can get NUT for win32 at http://www.exploits.org/nut/ nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pete.templin at texlink.com Thu Jun 12 17:26:57 2003 From: pete.templin at texlink.com (Pete Templin) Date: Thu, 12 Jun 2003 10:26:57 -0500 Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? Message-ID: <74E9F3444C71374BBC58FEA29FC2E511675E56@mail.texlinkcom.com> Keep in mind that with MRTG, you won't get perhaps the results you might want with regard to min/max volts. MRTG takes a snapshot from the UPS, but the UPS doesn't keep track of peak max volts or trough min volts. In addition, the MRTG "WithPeak" feature will end up showing you the maximum maximum voltage and the maximum minimum voltage, not the minimum minimum voltage. But at least a number is a number. Pete Templin IP Network Engineer Tex-Link Communications pete.templin at texlink.com (210) 892-4183 -----Original Message----- From: nate [mailto:mrtg at aphroland.org] Sent: Thursday, June 12, 2003 10:21 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? lam said: >> SNMP - it would require that the UPS statistics be integrated >> into the Windows 2000 SNMP OID structure. > > Is it hard to do it? I need to monitor min/max volts and temperature. http://howto.aphroland.de/HOWTO/MRTG/NUTWithMRTG you can get NUT for win32 at http://www.exploits.org/nut/ nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dm4714 at cox.net Thu Jun 12 17:29:04 2003 From: dm4714 at cox.net (David Mohorn) Date: Thu, 12 Jun 2003 10:29:04 -0500 Subject: [mrtg] Re: PVC vs. Port Speed question In-Reply-To: <1055429066.2167.11.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> Message-ID: Hello - I just wanted to remind everyone that we have an MRTG message board at http://www.micro-mess.com/forum/ if anyone is interested. Enjoy! http://micro-mess.com http://micro-mess.com/forum/ -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Daniel J McDonald Sent: Thursday, June 12, 2003 9:44 AM To: Waltman, Adam Cc: MRTG (E-mail) Subject: [mrtg] Re: PVC vs. Port Speed question On Thu, 2003-06-12 at 09:33, Waltman, Adam wrote: > Greetings, > > I use MRTG v 2.9.25 to monitor a bunch of router's bandwidth stats. Lately, > there has been some discrepancy between us and our ISP about how much we are > using, etc... I monitor the PVC (CIR) speed in bps. Many times, the PVC > isn't the same as the port speed. Here's my questions: > > 1. Is it possible for MRTG to monitor the PVC speed while showing bursts > above the CIR? (I have the WithPeak option specified but that stays within > my stated PVC speed) yes. Thats what absmax is for. You should set that to PIR. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From AWaltman at anacomp.com Thu Jun 12 18:31:54 2003 From: AWaltman at anacomp.com (Waltman, Adam) Date: Thu, 12 Jun 2003 09:31:54 -0700 Subject: [mrtg] Re: PVC vs. Port Speed question Message-ID: Last question. Why would the AbsMax option cause MRTG to fail. I added the config in for the necessary routers but MRTG won't start. I get this message in the W2K event viewer when I try to restart the Fire Daemon service: Subprocess monitoring failed due to subprocess is no longer active. The subprocess is probably dead. Restart the service. Erro code: 0. When I comment out the AbsMax, MRTG restarts just fine. Here's a copy of my config: ### Customer ### Target[percent_10.60.13.2]: /10.60.13.2:snmp at customer * 100 / 375000 RouterUptime[percent_10.60.13.2]: snmp at customer #Options[percent_10.60.13.2]: nopercent,growright SetEnv[percent_10.60.13.2]: MRTG_INT_IP="10.60.13.2" MRTG_INT_DESCR="ATM2/IMA0.55-aal5 layer" Directory[percent_10.60.13.2]: customer Maxbytes[percent_10.60.13.2]: 100 AbsMax[percent_10.60.13.2]: 150 #Unscaled[percent_10.60.13.2]: dwmy Shortlegend[percent_10.60.13.2]: % Ylegend[percent_10.60.13.2]: Bandwidth % Legend1[percent_10.60.13.2]: Input Traffic Rate Legend2[percent_10.60.13.2]: Output Traffic Rate Title[percent_10.60.13.2]: Percent of Bandwidth Used by Customer_3640 Pagetop[percent_10.60.13.2]:

Bandwidth Analysis for Customer (Out - represents transfers to Anacomp, In - represents retrievals)

System: Customer_3640
Maintainer: Me
Description:ATM Connection to Me
Interface Type: ATM
Interface Name: ATM2/IMA0.55
PVC Speed: 3000.0 kbits/s
Port Speed: 4500.0 kbits/s
IP Address: 10.60.13.2
Is there some glaring problem? Thanks, Adam -----Original Message----- From: Daniel J McDonald [mailto:dan.mcdonald at austinenergy.com] Sent: Thursday, June 12, 2003 10:58 AM To: Waltman, Adam Cc: mrtg Subject: Re: [mrtg] Re: PVC vs. Port Speed question On Thu, 2003-06-12 at 09:55, Waltman, Adam wrote: > Exactly what I'm looking for. Just to make sure, AbsMax to CIR and MaxBytes > to Port speed? Nope. Absmax to PIR and MaxBytes to CIR. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Thu Jun 12 18:42:09 2003 From: lammer at mail.sochi.ru (lam) Date: Thu, 12 Jun 2003 20:42:09 +0400 Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? References: <00b901c330e8$343fd3d0$fdfea8c0@SNMP> <53106.10.10.10.7.1055431241.squirrel@webmail.linuxpowered.net> Message-ID: <018e01c33101$932a0a00$fdfea8c0@SNMP> > http://howto.aphroland.de/HOWTO/MRTG/NUTWithMRTG > > you can get NUT for win32 at http://www.exploits.org/nut/ Quote from http://csociety.ecn.purdue.edu/~delpha/winnut/: Currently, only the monitoring utility has been ported. This allows you to monitor a ups with a serial (or usb) connection to another machine, but that powers both. It allows for messages from the ups to be displayed on the windows machine (ie a popup window when the power fails and when it is restored), and can also shutdown windows (and power down the machine, if supported) when the ups is about to run out of battery power. === But my UPS is connected to Windows machine :((( > nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From arapoport at telepacific.com Thu Jun 12 19:25:14 2003 From: arapoport at telepacific.com (Asaf Rapoport) Date: Thu, 12 Jun 2003 10:25:14 -0700 Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? Message-ID: Anyone know of a way to conenct and monitor through the Ethernet of an APC UPS Matrix 6000? Need to get temp. V. etc. -----Original Message----- From: lam [mailto:lammer at mail.sochi.ru] Sent: Thursday, June 12, 2003 9:42 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: APC SMART UPS V/S 650 + MRTG = HOWTO? > http://howto.aphroland.de/HOWTO/MRTG/NUTWithMRTG > > you can get NUT for win32 at http://www.exploits.org/nut/ Quote from http://csociety.ecn.purdue.edu/~delpha/winnut/: Currently, only the monitoring utility has been ported. This allows you to monitor a ups with a serial (or usb) connection to another machine, but that powers both. It allows for messages from the ups to be displayed on the windows machine (ie a popup window when the power fails and when it is restored), and can also shutdown windows (and power down the machine, if supported) when the ups is about to run out of battery power. === But my UPS is connected to Windows machine :((( > nate -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HDeschenes at oakley.com Thu Jun 12 20:12:01 2003 From: HDeschenes at oakley.com (Heath Deschenes) Date: Thu, 12 Jun 2003 11:12:01 -0700 Subject: [mrtg] Re: PVC vs. Port Speed question Message-ID: Not sure, but you might not be able to use AbsMax and unscaled together. I notice that you have it commented out in this example. Is this the case for all of your interfaces? -----Original Message----- From: Waltman, Adam [mailto:AWaltman at anacomp.com] Sent: Thursday, June 12, 2003 9:32 AM To: MRTG (E-mail) Subject: [mrtg] Re: PVC vs. Port Speed question Last question. Why would the AbsMax option cause MRTG to fail. I added the config in for the necessary routers but MRTG won't start. I get this message in the W2K event viewer when I try to restart the Fire Daemon service: Subprocess monitoring failed due to subprocess is no longer active. The subprocess is probably dead. Restart the service. Erro code: 0. When I comment out the AbsMax, MRTG restarts just fine. Here's a copy of my config: ### Customer ### Target[percent_10.60.13.2]: /10.60.13.2:snmp at customer * 100 / 375000 RouterUptime[percent_10.60.13.2]: snmp at customer #Options[percent_10.60.13.2]: nopercent,growright SetEnv[percent_10.60.13.2]: MRTG_INT_IP="10.60.13.2" MRTG_INT_DESCR="ATM2/IMA0.55-aal5 layer" Directory[percent_10.60.13.2]: customer Maxbytes[percent_10.60.13.2]: 100 AbsMax[percent_10.60.13.2]: 150 #Unscaled[percent_10.60.13.2]: dwmy Shortlegend[percent_10.60.13.2]: % Ylegend[percent_10.60.13.2]: Bandwidth % Legend1[percent_10.60.13.2]: Input Traffic Rate Legend2[percent_10.60.13.2]: Output Traffic Rate Title[percent_10.60.13.2]: Percent of Bandwidth Used by Customer_3640 Pagetop[percent_10.60.13.2]:

Bandwidth Analysis for Customer (Out - represents transfers to Anacomp, In - represents retrievals)

System: Customer_3640
Maintainer: Me
Description:ATM Connection to Me
Interface Type: ATM
Interface Name: ATM2/IMA0.55
PVC Speed: 3000.0 kbits/s
Port Speed: 4500.0 kbits/s
IP Address: 10.60.13.2
Is there some glaring problem? Thanks, Adam -----Original Message----- From: Daniel J McDonald [mailto:dan.mcdonald at austinenergy.com] Sent: Thursday, June 12, 2003 10:58 AM To: Waltman, Adam Cc: mrtg Subject: Re: [mrtg] Re: PVC vs. Port Speed question On Thu, 2003-06-12 at 09:55, Waltman, Adam wrote: > Exactly what I'm looking for. Just to make sure, AbsMax to CIR and MaxBytes > to Port speed? Nope. Absmax to PIR and MaxBytes to CIR. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From j.post at sparton.ca Thu Jun 12 21:44:32 2003 From: j.post at sparton.ca (Janet Post) Date: Thu, 12 Jun 2003 15:44:32 -0400 Subject: [mrtg] Re: Netware and Connected Users Message-ID: >>> "Peter Glanville" 06/05/03 03:52 AM >>> >I am trying to use MRTG to graph the following OIDS: >Target[{value}]: 1.3.6.1.4.1.23.2.28.3.2.0&1.3.6.1.4.1.23.2.28.3.4.0:{string}@{host} >using the options: nopercent, growright, gauge >the output in the log file is as follows: >1054788871 580 2890 >1054788871 0 0 0 0 >1054788858 0 0 0 0 >resulting in a graph with a zero value. This is commonly caused by maxbytes being too low, or the resultant calculated value being below 1 (mainly for sessions without the 'gauge' option) It can be caused by misusing the Options[_] and Options[target] lines. The later will cause the former to be ignored, not appended to. I suggest, if you cannot see the fault, you submit your cfg file to the group. Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From j.post at sparton.ca Thu Jun 12 21:45:37 2003 From: j.post at sparton.ca (Janet Post) Date: Thu, 12 Jun 2003 15:45:37 -0400 Subject: [mrtg] Re: Netware and Connected Users Message-ID: >>> "Peter Glanville" 06/05/03 03:52 AM >>> >I am trying to use MRTG to graph the following OIDS: >Target[{value}]: 1.3.6.1.4.1.23.2.28.3.2.0&1.3.6.1.4.1.23.2.28.3.4.0:{string}@{host} >using the options: nopercent, growright, gauge >the output in the log file is as follows: >1054788871 580 2890 >1054788871 0 0 0 0 >1054788858 0 0 0 0 >resulting in a graph with a zero value. This is commonly caused by maxbytes being too low, or the resultant calculated value being below 1 (mainly for sessions without the 'gauge' option) It can be caused by misusing the Options[_] and Options[target] lines. The later will cause the former to be ignored, not appended to. I suggest, if you cannot see the fault, you submit your cfg file to the group. Regards Peter I track the users on my Netware servers as well, but I'm using a different OID for mine. If you can't get it working, try this OID: .1.3.6.1.2.1.25.1.5.0 Janet. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From who_let_the_idiots_out at yahoo.com Thu Jun 12 22:49:48 2003 From: who_let_the_idiots_out at yahoo.com (Ian) Date: Thu, 12 Jun 2003 13:49:48 -0700 (PDT) Subject: [mrtg] multiple CPU OID's Message-ID: <20030612204948.40557.qmail@web12602.mail.yahoo.com> I have dual CPU system of genuine Intel PIII( Coppermine). I want to find out user CPU % on both the CPU's individually.. The only OID which i can graph is .1.3.6.1.4.1.2021.11.50.0 which is nothing but ssCpuRawUser. How do I find out user CPU % on both the CPU's individually? Ian __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From j.post at sparton.ca Thu Jun 12 23:08:12 2003 From: j.post at sparton.ca (Janet Post) Date: Thu, 12 Jun 2003 17:08:12 -0400 Subject: [mrtg] Re: multiple CPU OID's Message-ID: Hello Ian, Here are the OID's that I use for monitoring more than one cpu. .1.3.6.1.2.1.25.3.3.1.2.1 .1.3.6.1.2.1.25.3.3.1.2.2 As I'm sure you can figure out for yourself, the last digit is the cpu in the system. I hope these are the generic OID's -- it's been so long since I set them up whether they are proprietary or not. Janet. >>> Ian 06/12/03 16:50 PM >>> I have dual CPU system of genuine Intel PIII( Coppermine). I want to find out user CPU % on both the CPU's individually.. The only OID which i can graph is .1.3.6.1.4.1.2021.11.50.0 which is nothing but ssCpuRawUser. How do I find out user CPU % on both the CPU's individually? Ian __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From who_let_the_idiots_out at yahoo.com Thu Jun 12 23:28:02 2003 From: who_let_the_idiots_out at yahoo.com (Ian) Date: Thu, 12 Jun 2003 14:28:02 -0700 (PDT) Subject: [mrtg] Re: multiple CPU OID's In-Reply-To: Message-ID: <20030612212802.39917.qmail@web12604.mail.yahoo.com> This OID doesnot exist for my system Any pointers? Thanks Ian --- Janet Post wrote: > Hello Ian, > > Here are the OID's that I use for monitoring more > than one cpu. > > .1.3.6.1.2.1.25.3.3.1.2.1 > .1.3.6.1.2.1.25.3.3.1.2.2 > > As I'm sure you can figure out for yourself, the > last digit is the cpu in the system. I hope these > are the generic OID's -- it's been so long since I > set them up whether they are proprietary or not. > > Janet. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From j.post at sparton.ca Thu Jun 12 23:53:26 2003 From: j.post at sparton.ca (Janet Post) Date: Thu, 12 Jun 2003 17:53:26 -0400 Subject: [mrtg] Re: multiple CPU OID's Message-ID: Ian, That OID I gave you is found in the HOST-RESOURCES-MIB file. This is pretty much a "generic" mib file that a lot of companies use for their hardware, but not all. I'm not even sure if the OID you are using is the reason your CPU is not graphing. If you are getting accurate results from the OID you are using when you probe manually, the the problem lies elsewhere, anyway! Can you manually get the numbers from the OID you are using? Janet. >>> Ian 06/12/03 17:28 PM >>> This OID doesnot exist for my system Any pointers? Thanks Ian --- Janet Post wrote: > Hello Ian, > > Here are the OID's that I use for monitoring more > than one cpu. > > .1.3.6.1.2.1.25.3.3.1.2.1 > .1.3.6.1.2.1.25.3.3.1.2.2 > > As I'm sure you can figure out for yourself, the > last digit is the cpu in the system. I hope these > are the generic OID's -- it's been so long since I > set them up whether they are proprietary or not. > > Janet. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From who_let_the_idiots_out at yahoo.com Fri Jun 13 00:38:53 2003 From: who_let_the_idiots_out at yahoo.com (Ian) Date: Thu, 12 Jun 2003 15:38:53 -0700 (PDT) Subject: [mrtg] Re: multiple CPU OID's In-Reply-To: Message-ID: <20030612223853.4714.qmail@web12603.mail.yahoo.com> > Can you manually get the numbers from the OID you > are using? yes, I am getting ssCpuRawUser with OID.1.3.6.1.4.1.2021.11.50.0. This is what mrtg is making use of to graph user process %. Also, I am not sure whether the value which it is returning is the average of both the CPU's user process % If the things dont work out with this OID stuff, is ther any perl script which finds the multiple CPU ultilization. I can then pass that value in the Target field of mrtg.conf Thanks, Ian Doldrums.. Doldrums.. :( __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From adetutu.adeoba at bancaintesa.co.uk Fri Jun 13 12:20:07 2003 From: adetutu.adeoba at bancaintesa.co.uk (Adeoba, Adetutu) Date: Fri, 13 Jun 2003 11:20:07 +0100 Subject: [mrtg] Explanation of Graph Message-ID: <356FE99999DB9A4BAF7995391D45AA49877358@LNMAIL2.bcildn.com> HI All Please can the table below be explained. I am trying to find out the spped at which the device hanging onto the port 6/11 of our switch is going at. WHat does the In/Out mean and there is also Max Speed: 12.5 MBytes/s. What does this reference mean? Does the mean 24.kb is going into the port from the switch and 1.2 kb is going out into the network from the device??? Please explain?? Also how do I get to write t this list without going throug my emal? Thanks Max Speed: 12.5 MBytes/s Max In: 35.9 kB/s (0.3%) Average In: 2406.0 B/s (0.0%) Current In: 2514.0 B/s (0.0%) Max Out: 7073.0 B/s (0.1%) Average Out: 1212.0 B/s (0.0%) Current Out: 2200.0 B/s (0.0%) IMPORTANT NOTICE: This e-mail transmission (including any attachment) is strictly confidential and intended solely for the addressee. If you are not the intended recipient, you must not copy, distribute or take any action in reliance upon it. If you have received this e-mail in error, please notify the sender and delete the e-mail transmission immediately. This communication is from Banca Intesa S.p.A. London Branch, 90 Queen Street, London EC4N 1SA Tel: +44(0)20 7651 3000 Fax: +44(0)20 7651 3200 Banca Intesa S.p.A. is regulated by the Financial Services Authority for the conduct of designated investment business in the UK and is incorporated in Italy with limited liability. It is registered in England as a branch under number BR000036. Please note that this e-mail has been created in the knowledge that internet e-mail is not a 100% secure communications medium as information could be intercepted, corrupted, amended, lost, arrive late or incomplete or contain viruses. We advise that you understand this lack of security and take into account in considering the contents of this e-mail and any attachment and that you take any necessary measures when e-mailing us. Opinions, conclusions and other information in this e-mail and any attachment which do not relate to the official business of Banca Intesa S.p.A. are neither given nor endorsed by it. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Jun 13 12:37:45 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 13 Jun 2003 11:37:45 +0100 Subject: [mrtg] Unexpected spikes in 64 bit graph Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://lists.oetiker.ch/pipermail/mrtg/attachments/20030613/d8725e93/attachment.pot From mrtg at carphead.net Fri Jun 13 12:47:41 2003 From: mrtg at carphead.net (daniel) Date: Fri, 13 Jun 2003 11:47:41 +0100 Subject: [mrtg] OT : HP Printer Status Message-ID: Hi all, Sorry if it's a bit of topic. But I've modified the PHP script written by Greg Lawler to get the status of HP Printers over SNMP. Is anybody interested in testing it for me? If so drop me a email to daniel at carphead.net Regards, Daniel -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Jun 13 13:24:30 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 13 Jun 2003 12:24:30 +0100 Subject: [mrtg] Re: Explanation of Graph Message-ID: >HI All >Please can the table below be explained. I am trying to find out the spped >at which the device hanging onto the port 6/11 of our switch is going at. >WHat does the In/Out mean and there is also Max Speed: 12.5 MBytes/s. What >does this reference mean? >Does the mean 24.kb is going into the port from the switch and 1.2 kb is >going out into the network from the device??? Please explain?? Firstly, there is a difference between bits and Bytes. Simply, a Byte (B) is 8 bits (b) Your system is 12.5 MB/s, ie it can put through 12.5 Million Bytes per second (OK, purist may say that is not "million" by 1024x1024, but lets not quibble) 12.5 MB = 12.5 x 8 = 100 Megabits per second Beware. This number is read from a comment field in the switch. It can lie. And it may be what the switch is capable of, and not what it is actually doing (plug a 10Mb device in, the switch will slow down, but the litteral may not change) "In" refers to Into the port you are measuring. "Out" is out of that port. If you are looking at a port connected to a server, "IN" is from the server Into the switch. Old networks ran at half duplex, ie they talked OR listened (ethernet collision avoidance etc) Modern kit often supports Full duplex, ie send and receive simultaneously, and so 100Mb network can send 100Mb/sec and receive 100mb/sec as well. Servers, by their nature, tend to send more traffic than they receive. So over the 5 minute period that you are averaging, you see more In to the switch than Out of the switch to the server. Current is the last 5 mins, max was the busiest 5 mins during the period covered by the graph, average is the overall average for the same period. Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From adetutu.adeoba at bancaintesa.co.uk Fri Jun 13 13:53:24 2003 From: adetutu.adeoba at bancaintesa.co.uk (Adeoba, Adetutu) Date: Fri, 13 Jun 2003 12:53:24 +0100 Subject: [mrtg] Re: Explanation of Graph Message-ID: <356FE99999DB9A4BAF7995391D45AA4987735A@LNMAIL2.bcildn.com> Thank you so very much. So is this calculation right 2832B/s 22656 b/s 22.656 kb/s 0.0022 Mb/s like 12500B/s 1000000b/s 1000Kb/s 100Mb/s Does this mean we have 0.0022Mb/s of data traffic moving into the Switch from the Server on a 100 MB/s link? Thanks -----Original Message----- From: Peter Glanville [mailto:peter_glanville at cuk.canon.co.uk] Sent: 13 June 2003 12:25 To: Adeoba, Adetutu; mrtg at list.ee.ethz.ch Subject: Re: [mrtg] Explanation of Graph >HI All >Please can the table below be explained. I am trying to find out the spped >at which the device hanging onto the port 6/11 of our switch is going at. >WHat does the In/Out mean and there is also Max Speed: 12.5 MBytes/s. What >does this reference mean? >Does the mean 24.kb is going into the port from the switch and 1.2 kb is >going out into the network from the device??? Please explain?? Firstly, there is a difference between bits and Bytes. Simply, a Byte (B) is 8 bits (b) Your system is 12.5 MB/s, ie it can put through 12.5 Million Bytes per second (OK, purist may say that is not "million" by 1024x1024, but lets not quibble) 12.5 MB = 12.5 x 8 = 100 Megabits per second Beware. This number is read from a comment field in the switch. It can lie. And it may be what the switch is capable of, and not what it is actually doing (plug a 10Mb device in, the switch will slow down, but the litteral may not change) "In" refers to Into the port you are measuring. "Out" is out of that port. If you are looking at a port connected to a server, "IN" is from the server Into the switch. Old networks ran at half duplex, ie they talked OR listened (ethernet collision avoidance etc) Modern kit often supports Full duplex, ie send and receive simultaneously, and so 100Mb network can send 100Mb/sec and receive 100mb/sec as well. Servers, by their nature, tend to send more traffic than they receive. So over the 5 minute period that you are averaging, you see more In to the switch than Out of the switch to the server. Current is the last 5 mins, max was the busiest 5 mins during the period covered by the graph, average is the overall average for the same period. Regards Peter IMPORTANT NOTICE: This e-mail transmission (including any attachment) is strictly confidential and intended solely for the addressee. If you are not the intended recipient, you must not copy, distribute or take any action in reliance upon it. If you have received this e-mail in error, please notify the sender and delete the e-mail transmission immediately. This communication is from Banca Intesa S.p.A. London Branch, 90 Queen Street, London EC4N 1SA Tel: +44(0)20 7651 3000 Fax: +44(0)20 7651 3200 Banca Intesa S.p.A. is regulated by the Financial Services Authority for the conduct of designated investment business in the UK and is incorporated in Italy with limited liability. It is registered in England as a branch under number BR000036. Please note that this e-mail has been created in the knowledge that internet e-mail is not a 100% secure communications medium as information could be intercepted, corrupted, amended, lost, arrive late or incomplete or contain viruses. We advise that you understand this lack of security and take into account in considering the contents of this e-mail and any attachment and that you take any necessary measures when e-mailing us. Opinions, conclusions and other information in this e-mail and any attachment which do not relate to the official business of Banca Intesa S.p.A. are neither given nor endorsed by it. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From radamson at routers.com Fri Jun 13 16:36:10 2003 From: radamson at routers.com (Rich Adamson) Date: Fri, 13 Jun 2003 08:36:10 -0600 Subject: [mrtg] Re: Unexpected spikes in 64 bit graph References: Message-ID: > I have recently upgraded a graph from 32 bit to 64 bit counters, and am now > getting unexpected (and I think incorrect) spikes in the graphs. All ideas > welcome. > I have a network with multiple VLANs. A layer3 wirespeed switch (an old > 3Com Coebuilder 3500) is attached with a single Gigabit interface. I can't speak to this exact model, but historically 3Com has had more then its share of snmp problems over the years. I'd suggest validating the counter values by sending a known volume of traffic through the interfaces at o-dark- thirty and comparing that to what's being reported via snmp. Also, a fair number of switch vendors do not report accurate vlan traffic statistics. You might attempt to validate both. Mrtg also had a problem around v2.9.19 (several minor version numbers had it) that caused a spike whenever one or more polls were missed (outbound poll was sent, but no response received). Since snmp polling relies on udp packets, its up to the application (mrtg polling) to determine whether a packet was missed and how to handle it. The problem was corrected somewhere around the v2.9.22 (I don't know the exact version). -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Robert.Queck at gmx.net Fri Jun 13 15:49:01 2003 From: Robert.Queck at gmx.net (Robert Queck) Date: Fri, 13 Jun 2003 15:49:01 +0200 Subject: [mrtg] newby: using mrtg with an external rrd Message-ID: <3EE9D64D.4080801@gmx.net> Hi together! I am quite a newby with mrtg and rrd and I am trying to evaluate the opportunities given by these tools. My problem right now ist that I try to visualize an already built-up rrd database with the mrtg-rrd cgi-script, so to speak to use mrtg only as the frontend first. since the cgi script is returning an error like: Error: RRDs::graph failed, the RRD does not contain an RRA matching the chosen CF I think that either mrtg has a strict standard for these archives or I did not describe them in the config-file properly (which would not be surprising since I have not found a way to do this). Questions: Has anyone of you done something similar? Is it possible to describe the RRAs of an rrd file explicitly in the mrtg config file? (probalby indirectly, e.g. target descriptions that make the cgi-script accepting an proprietary rrd) Hope this is not too far of the edge. If there is already a description of this problem, please give me a reference since I read all tutorials I found. Many Thx in advance, Robert Queck -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Sat Jun 14 00:38:39 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Sat, 14 Jun 2003 00:38:39 +0200 Subject: [mrtg] Re: newby: using mrtg with an external rrd In-Reply-To: <3EE9D64D.4080801@gmx.net>; from Robert.Queck@gmx.net on Fri, Jun 13, 2003 at 03:49:01PM +0200 References: <3EE9D64D.4080801@gmx.net> Message-ID: <20030614003839.A3348@slot.hollandcasino.net> On Fri, Jun 13, 2003 at 03:49:01PM +0200, Robert Queck wrote: > My problem right now ist that I try to visualize an already built-up rrd > database with the mrtg-rrd cgi-script, so to speak to use mrtg only as > the frontend first. Not MRTG. MRTG only retrieves the data from the device. RRDtool will process the data, the cgi script will present it to you. > since the cgi script is returning an error like: > > Error: RRDs::graph failed, the RRD does not contain an RRA matching the > chosen CF Use "rrdtool info" to get the information from the RRD. MRTG expects AVERAGE data and MAX data. These are the RRAs in your RRD. Also, MRTG expects the data source names "ds0" and "ds1". I'm not sure but I think it is possible that the error does in this case tries to tell you it couldn't find the datasource (as it couldn't find ds0->AVERAGE). If the datasources are the problem and if they are otherwise compatible, you can rename them (rrdtool tune). HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Sat Jun 14 14:19:57 2003 From: lammer at mail.sochi.ru (lam) Date: Sat, 14 Jun 2003 16:19:57 +0400 Subject: [mrtg] More than two values in one graph? References: <3EE9D64D.4080801@gmx.net> Message-ID: <032101c3326f$4726a720$fdfea8c0@SNMP> Could it be done by mrtg? I need to monitor two interfaces in one graph. Or it could be done only by RRDTool? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Sat Jun 14 18:36:34 2003 From: lammer at mail.sochi.ru (lam) Date: Sat, 14 Jun 2003 20:36:34 +0400 Subject: [mrtg] Re: More than two values in one graph? References: <3EE9D64D.4080801@gmx.net> <032101c3326f$4726a720$fdfea8c0@SNMP> <3EEB26CB.70004@hotmail.com> Message-ID: <043301c33293$207efb80$fdfea8c0@SNMP> > if you need to view the separate in- and outgoing rates you will need > rrdtool It seems I nevetheless need RRDTool. Tryed to go into it, downloaded rrdtool.tar.gz from RRDTool.com, but got: ERROR: could not find rrdtool.exe. Use PathAdd: im mrtg.cfg to help mrtg find rrdtool But there no exe file in the package. Is there rrdtool.exe for win? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.lowry at attbi.com Sun Jun 15 01:23:45 2003 From: dan.lowry at attbi.com (Dan Lowry) Date: Sat, 14 Jun 2003 19:23:45 -0400 Subject: [mrtg] MRTG Threshold Alerts over Time Message-ID: <002901c332cc$0086d760$6401a8c0@computerroom> There are times when utilization of a cpu , link, etc. spikes up over a threshold, when you prefer to not send an email, but instead wait for x number of 5 minute poll cycles and then send the alert. With the help of batchworld group , and windowsntscripting.com, we have come up with something that seems to work on NT (see configuraton below). This example looks at cpu utilization on a Cisco router, and sends an email via blat after x4 5 minute poll cycles (20 minutes) of the router CPU utiliztion over 70%. There's just one issue with the program. I tried to add a threshprogok batch file, to reset the variable in the file to 0 when threshold goes back down before 4 contiguous breaches of the threshold. Unfortunately, as soon as I enabled thresdir in the mrtg.cfg file, MRTG no longer triggered threshprog0 when a threshold was exceeded. Looking in the docs, it seems to be related to MRTG only triggering one threshold every hour. Is that correct? If so, is there any workaround? I disabled threshdir, and now, there's a possibility of having 1, 2, or 3 polls over threshold, and then back to normal leaving a 1,2, or 3 variable in the threshold.txt file. The problem is the next time the CPU utilization is over threshold , threshprog0 wil trigger sendmail.bat which will send an email in 5 , 10, or 15 minutes depending on the stale 3,2, or 1 variable in the threshold.txt file. (FYI for anyone wanting to try this batch file , I had to create the threshold.txt, and threshold.tmp files initially and put a "0" in the files, not sure why, but after this they worked fine) Here's the code that's working well (minus the ability to reset when the threshold goes back to normal). Any suggestions to simplify the code, or get it to work without having to create the initial threshold.txt and threshold.tmp files appreciated: Here's the configuration in the MRTG File to trigger the alert after x4 mrtg poll cycles of >70% cpu utilization ------------------------------------------------------------------------------------------------------------------------------------------------------------ Target[nrbu_2500_cpu]: 1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:x at x WithPeak[bu_2500_cpu]: wmy YLegend[bu_2500_cpu]: CPU Utilization ShortLegend[bu_2500_cpu]: % MaxBytes[bu_2500_cpu]: 100 Options[bu_2500_cpu]: nopercent, gauge,noo Unscaled[bu_2500_cpu]: dwmy Title[bu_2500_cpu]: Backup_2500 CPU Utilization Colours[bu_2500_cpu]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff Legend1[bu_2500_cpu]: Average 1 minute CPU Utilization Legend2[bu_2500_cpu]: Average 5 minute CPU Utilization LegendI[bu_2500_cpu]:  CPU: LegendO[bu_2500_cpu]: ThreshMaxO[bu_2500_cpu]:70 ThreshDesc[bu_2500_cpu]: CPU Utilization on Backup 2500 ThreshProgO[bu_2500_cpu]:e:\mrtg\thresholds\sendmail.bat Send an Email using Blat if CPU Utilization remains above 70% for 20 minutes --------------------------------------------------------------------------------------------------------------------- :sendmail.bat @echo off set mrtg_name=%1 set breach_value=%2 set actual_value=%3 for /f %%a in (e:\mrtg\thresholds\threshold.txt) do ( if "%%a"=="3" ECHO CPU Utilization on %1 has been %2 Percent for the last 20 Minutes! > e:\mrtg\thresholds\cpu_util.txt if "%%a"=="3" Next EMAIL in 20 Minutes if problem persists. >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="3" e:\mrtg\sendmail\blat.exe e:\mrtg\thresholds\cpu_util.txt -s "CPU Utilization on %1 has been %2 Percent for 20 minutes!" -t bozo at clown.com if "%%a"=="3" echo 0 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="3" del e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" echo 3 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="1" echo 2 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="0" echo 1 >e:\mrtg\thresholds\threshold.tmp ) copy e:\mrtg\thresholds\threshold.tmp e:\mrtg\thresholds\threshold.txt -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From andrew at urbanclimber.com Sun Jun 15 02:54:05 2003 From: andrew at urbanclimber.com (andrew at urbanclimber.com) Date: Sat, 14 Jun 2003 20:54:05 -0400 Subject: [mrtg] MRTG and SNMP V2c Message-ID: <200306150054.AHP29363@ms7.verisignmail.com> Can anyone tell me if it is possible to use MRTG with SNMP 2c? I need to collect from 64 bit counters on the host.... Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jozsef.makai at siemens.com Mon Jun 16 08:57:39 2003 From: jozsef.makai at siemens.com (Makai Jozsef) Date: Mon, 16 Jun 2003 08:57:39 +0200 Subject: [mrtg] Re: MRTG and SNMP V2c Message-ID: <37D0F88E70D96C428C19EEB865701A38019918A6@buda902a.siemens.hu> Hi Andrew, Try to check the MRTG reference: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html There you can find the answer to your question ;)) Jozsef > -----Original Message----- > From: andrew at urbanclimber.com [mailto:andrew at urbanclimber.com] > Sent: Sunday, June 15, 2003 2:54 AM > To: mrtg at list.ee.ethz.ch > Subject: [mrtg] MRTG and SNMP V2c > > > Can anyone tell me if it is possible to use MRTG with SNMP > 2c? I need to collect from 64 bit counters on the host.... > > Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From t.mayer at fh-amberg-weiden.de Mon Jun 16 09:13:41 2003 From: t.mayer at fh-amberg-weiden.de (Thomas Mayer) Date: Mon, 16 Jun 2003 09:13:41 +0200 Subject: [mrtg] Multitarget Message-ID: <3EED6E25.7020605@fh-amberg-weiden.de> Hi @ all! There's a backbone in our network. It'a address is xx.xx.xx.x. There are 24 active interfaces... xx.xx.xx.x_1001 ... ... xx.xx.xx.x_1024 Now i want to graph the addition of two interfaces in one file, three other interfaces in a different file and else 3 other interfaces in another different file - is this possible with mrtg or do i need rrdtool, because if i run mrtg with the second multitarget file with the target-address of the backbone - there already exists a file with this address... Syntax for multi-target is: Target[xx.xx.xx.x]: 1001:public at xx.xx.xx.x + 1005:public at xx.xx.xx.x etc.. for the next file... Target[xx.xx.xx.x] 1009:public at xx.xx.xx.x + 1010:public at xx.xx.xx.x + 1012.... Thanks for help -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From sh_khat at hotmail.com Mon Jun 16 09:33:02 2003 From: sh_khat at hotmail.com (shaza khatib) Date: Mon, 16 Jun 2003 07:33:02 +0000 Subject: [mrtg] snmptrap Message-ID: hi, if anyone has a perl (or shell) script about notifing the administrator when a trap has occured , please send it to me ... thanks _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jej at dansystem.dk Mon Jun 16 11:36:48 2003 From: jej at dansystem.dk (jej at dansystem.dk) Date: Mon, 16 Jun 2003 11:36:48 +0200 Subject: [mrtg] Down time Message-ID: Hi, I have done a MRTG installation where I?m polling some devices that regularly get unreachable. My question: Is it possible to make MRTG display the down time or send an email if there is no response in the designated timed interval between the polls? Regards, Jesper -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From boris at subcult.ch Mon Jun 16 11:52:06 2003 From: boris at subcult.ch (Boris Meyer) Date: 16 Jun 2003 09:52:06 -0000 Subject: [mrtg] Rateup under OBSD3.3/sparc64 problems Message-ID: <20030616095206.23349.qmail@subcult.ch> Hello there! I'm writing to this list, because intensive searching in google and mailing-lists gave me no answer to my problem. I'm using mrtg under OpenBSD3.3/sparc64 (Netra X1 Box) and rateup won't work as it should (looks like). I used the same config-file under an other box without problems. I got this problem under the mrtg-version of the current ports-tree (2.9.12a) and the self-compiled actual version (2.9.29). The compiler: # gcc -v Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd3.3/2.95.3/specs gcc version 2.95.3 20010125 (prerelease, propolice) The problem: ------------ If I start mrtg, I'll get the following error-msgs: bash-2.05b# mrtg /etc/mrtg.cfg Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file was corrupt or not in sorted order: time: 1055755651.Rateup WARNING: /usr/local/bin/rateup could not read the primary log file for 213.180.174.249_10 Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file was corrupt or not in sorted order: time: 1055755644.Rateup WARNING: /usr/local/bin/rateup The backup log file for 213.180.174.249_10 was invalid as well 2003-06-16 11:27:38 -- WARNING: rateup died from Signal 0 with Exit Value 1 when doing router '213.180.174.249_10' Signal was 0, Returncode was 1 It's not a permission-problem, I'm starting the whole thing under root - file/dir-permissions are okay. I read somewhere about a similar problem, but there was no answer available anywhere. Here the mrtg.cfg (without comments): WorkDir: /var/www/htdocs/tempdir Options[_]: growright Target[213.180.174.249_10]: 10:username at 213.180.174.249: SetEnv[213.180.174.249_10]: MRTG_INT_IP="212.90.192.131" MRTG_INT_DESCR="poe0" MaxBytes[213.180.174.249_10]: 64000 Title[213.180.174.249_10]: Traffic Analysis for subcult.ch (ExtIF) PageTop[213.180.174.249_10]:

Traffic Analysis for subcult.ch (ExtIF)

System: subcult.ch
Description:poe0
ifType: pppOE
Max Speed: 512.0 kbits/s
Ip: 213.180.174.249
It's a bug in mrtg openbsd/sparc64 or does anybody have an idea, how I may fix this problem? Thank you + Greetings, Boris Meyer -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Mon Jun 16 13:06:04 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Mon, 16 Jun 2003 13:06:04 +0200 Subject: [mrtg] Re: Rateup under OBSD3.3/sparc64 problems In-Reply-To: <20030616095206.23349.qmail@subcult.ch>; from boris@subcult.ch on Mon, Jun 16, 2003 at 09:52:06AM -0000 References: <20030616095206.23349.qmail@subcult.ch> Message-ID: <20030616130604.A18956@slot.hollandcasino.net> On Mon, Jun 16, 2003 at 09:52:06AM -0000, Boris Meyer wrote: > I'm using mrtg under OpenBSD3.3/sparc64 (Netra X1 Box) and rateup won't > work as it should (looks like). I used the same config-file under an > other box without problems. [...] > It's a bug in mrtg openbsd/sparc64 or does anybody have an idea, how I > may fix this problem? Don't remember when and where but I do seem to recall some problems with this in the past. IIRC the problem can be worked around by using a 32-bit compiler/environment. Something like that. HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From EJCORNWELL at coopertire.com Mon Jun 16 15:10:29 2003 From: EJCORNWELL at coopertire.com (Cornwell, Eric J.) Date: Mon, 16 Jun 2003 09:10:29 -0400 Subject: [mrtg] Re: MRTG Threshold Alerts over Time Message-ID: <7C91EF3A81B6B3439C537BF5B375245901BE38BB@mail12.cooperworld.net> Dan, Thanks for posting that script, it's exactly what I've been looking for. I do have one question though. You said, "as soon as I enabled thresdir in the mrtg.cfg file, MRTG no longer triggered threshprog0 when a threshold was exceeded." Why do you have to use thresdir? You are using threshprog0 successfully with out it, correct? If that's the case why can't you just add the threshprogok value to your config and let it call the reset batch script. I'm also trying to use the batch file you sent but I'm running into problems. It seems to die after the first if statement. Here is my test batch file: --------------------------------------------- @echo off if exist c:\test\thres.txt ( goto code ) else ( echo 0 > c:\test\thres.txt ) :code for /f %%a in (c:\test\thres.txt) do ( if "%%a"=="3" echo 0 > c:\test\thres.txt if "%%a"=="3" echo Test is done! if "%%a"=="2" echo 3 > c:\test\thres.txt if "%%a"=="1" echo 2 > c:\test\thres.txt if "%%a"=="0" echo 1 > c:\test\thres.txt ) --------------------------------------------- The code at the top just verifies and creates the file if it's not there. I thought that might be something you were looking for. Eric -----Original Message----- From: Dan Lowry [mailto:dan.lowry at attbi.com] Sent: Saturday, June 14, 2003 7:24 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] MRTG Threshold Alerts over Time There are times when utilization of a cpu , link, etc. spikes up over a threshold, when you prefer to not send an email, but instead wait for x number of 5 minute poll cycles and then send the alert. With the help of batchworld group , and windowsntscripting.com, we have come up with something that seems to work on NT (see configuraton below). This example looks at cpu utilization on a Cisco router, and sends an email via blat after x4 5 minute poll cycles (20 minutes) of the router CPU utiliztion over 70%. There's just one issue with the program. I tried to add a threshprogok batch file, to reset the variable in the file to 0 when threshold goes back down before 4 contiguous breaches of the threshold. Unfortunately, as soon as I enabled thresdir in the mrtg.cfg file, MRTG no longer triggered threshprog0 when a threshold was exceeded. Looking in the docs, it seems to be related to MRTG only triggering one threshold every hour. Is that correct? If so, is there any workaround? I disabled threshdir, and now, there's a possibility of having 1, 2, or 3 polls over threshold, and then back to normal leaving a 1,2, or 3 variable in the threshold.txt file. The problem is the next time the CPU utilization is over threshold , threshprog0 wil trigger sendmail.bat which will send an email in 5 , 10, or 15 minutes depending on the stale 3,2, or 1 variable in the threshold.txt file. (FYI for anyone wanting to try this batch file , I had to create the threshold.txt, and threshold.tmp files initially and put a "0" in the files, not sure why, but after this they worked fine) Here's the code that's working well (minus the ability to reset when the threshold goes back to normal). Any suggestions to simplify the code, or get it to work without having to create the initial threshold.txt and threshold.tmp files appreciated: Here's the configuration in the MRTG File to trigger the alert after x4 mrtg poll cycles of >70% cpu utilization ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---- Target[nrbu_2500_cpu]: 1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:x at x WithPeak[bu_2500_cpu]: wmy YLegend[bu_2500_cpu]: CPU Utilization ShortLegend[bu_2500_cpu]: % MaxBytes[bu_2500_cpu]: 100 Options[bu_2500_cpu]: nopercent, gauge,noo Unscaled[bu_2500_cpu]: dwmy Title[bu_2500_cpu]: Backup_2500 CPU Utilization Colours[bu_2500_cpu]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff Legend1[bu_2500_cpu]: Average 1 minute CPU Utilization Legend2[bu_2500_cpu]: Average 5 minute CPU Utilization LegendI[bu_2500_cpu]:  CPU: LegendO[bu_2500_cpu]: ThreshMaxO[bu_2500_cpu]:70 ThreshDesc[bu_2500_cpu]: CPU Utilization on Backup 2500 ThreshProgO[bu_2500_cpu]:e:\mrtg\thresholds\sendmail.bat Send an Email using Blat if CPU Utilization remains above 70% for 20 minutes ---------------------------------------------------------------------------- ----------------------------------------- :sendmail.bat @echo off set mrtg_name=%1 set breach_value=%2 set actual_value=%3 for /f %%a in (e:\mrtg\thresholds\threshold.txt) do ( if "%%a"=="3" ECHO CPU Utilization on %1 has been %2 Percent for the last 20 Minutes! > e:\mrtg\thresholds\cpu_util.txt if "%%a"=="3" Next EMAIL in 20 Minutes if problem persists. >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="3" e:\mrtg\sendmail\blat.exe e:\mrtg\thresholds\cpu_util.txt -s "CPU Utilization on %1 has been %2 Percent for 20 minutes!" -t bozo at clown.com if "%%a"=="3" echo 0 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="3" del e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" echo 3 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="1" echo 2 >e:\mrtg\thresholds\threshold.tmp if "%%a"=="0" echo 1 >e:\mrtg\thresholds\threshold.tmp ) copy e:\mrtg\thresholds\threshold.tmp e:\mrtg\thresholds\threshold.txt -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From csmith at bonddesk.com Mon Jun 16 15:33:01 2003 From: csmith at bonddesk.com (Corey Smith) Date: 16 Jun 2003 09:33:01 -0400 Subject: [mrtg] Re: Rateup under OBSD3.3/sparc64 problems In-Reply-To: <20030616095206.23349.qmail@subcult.ch> References: <20030616095206.23349.qmail@subcult.ch> Message-ID: <1055770380.21183.180.camel@localhost> I believe there are a few problems with rateup and 64-bit environments. When I was trying to get mrtg/rrdtool to work on a FreeBSD/Sparc64 environment, I was having similar problems. NOTE TO TOBIAS: Are these changes generic enough to incorporate into the source tree for mrtg and rrdtool? FreeBSD/x86 and FreeBSD/Sparc64 have been using this patch for several months. Try applying these patches I created (which are part of the ports collection under FreeBSD). --- src/rateup.c.orig Sat Apr 12 15:41:20 2003 +++ src/rateup.c Mon Jun 2 10:42:04 2003 @@ -62,7 +62,7 @@ #ifdef __MINGW32_VERSION #define LLD "%I64d" #else -#define LLD "%lld" +#define LLD "%qd" #endif /* WATCOM C/C++ 10.6 under Win95/NT */ @@ -840,12 +840,14 @@ char *file; struct HISTORY *hist; long long rd[5]; time_t cur; + long lasttime; if ((fi = fopen(file,"r")) != NULL) { - if (fscanf(fi,"%ld %s %s\n",(long int *)&last.time,&last.in[0],&last.out[0]) != 3){ + if (fscanf(fi,"%ld %s %s\n",&lasttime,&last.in[0],&last.out[0]) != 3){ fprintf(stderr,"Read Error: File %s lin 1\n",file); retcode = 1; } + last.time = lasttime; cur = last.time; x = histvalid=0; hist = history; --- src/parsetime.c.orig Fri Oct 11 14:39:46 2002 +++ src/parsetime.c Mon Feb 10 20:47:18 2003 @@ -660,6 +660,7 @@ { long mday=0, wday, mon, year = ptv->tm.tm_year; int tlen; + time_t montime; switch (sc_tokid) { case YESTERDAY: @@ -713,7 +714,8 @@ tlen = strlen(sc_token); mon = atol(sc_token); if (mon > 10*356*24*60*60) { - ptv->tm=*localtime(&mon); + montime = mon; + ptv->tm=*localtime(&montime); token(); break; } Please let me know if this works for you... -Corey On Mon, 2003-06-16 at 05:52, Boris Meyer wrote: > Hello there! > > I'm writing to this list, because intensive searching in google and > mailing-lists gave me no answer to my problem. > > I'm using mrtg under OpenBSD3.3/sparc64 (Netra X1 Box) and rateup won't > work as it should (looks like). I used the same config-file under an > other box without problems. > > I got this problem under the mrtg-version of the current ports-tree > (2.9.12a) and the self-compiled actual version (2.9.29). The compiler: > > # gcc -v > Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd3.3/2.95.3/specs > gcc version 2.95.3 20010125 (prerelease, propolice) > > The problem: > ------------ > > If I start mrtg, I'll get the following error-msgs: > > bash-2.05b# mrtg /etc/mrtg.cfg > Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file > was corrupt > or not in sorted order: > time: 1055755651.Rateup WARNING: /usr/local/bin/rateup could not read > the primary log file for 213.180.174.249_10 > Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file > was corrupt > or not in sorted order: > time: 1055755644.Rateup WARNING: /usr/local/bin/rateup The backup log > file for 213.180.174.249_10 was invalid as well > 2003-06-16 11:27:38 -- WARNING: rateup died from Signal 0 > with Exit Value 1 when doing router '213.180.174.249_10' > Signal was 0, Returncode was 1 > > It's not a permission-problem, I'm starting the whole thing under root - > file/dir-permissions are okay. I read somewhere about a similar problem, > but there was no answer available anywhere. > > Here the mrtg.cfg (without comments): > > WorkDir: /var/www/htdocs/tempdir > Options[_]: growright > > Target[213.180.174.249_10]: 10:username at 213.180.174.249: > SetEnv[213.180.174.249_10]: MRTG_INT_IP="212.90.192.131" > MRTG_INT_DESCR="poe0" > MaxBytes[213.180.174.249_10]: 64000 > Title[213.180.174.249_10]: Traffic Analysis for subcult.ch (ExtIF) > PageTop[213.180.174.249_10]:

Traffic Analysis for subcult.ch > (ExtIF)

> > > > > > >
System: subcult.ch
Description:poe0
ifType: pppOE
Max Speed: 512.0 kbits/s
Ip: 213.180.174.249
> > It's a bug in mrtg openbsd/sparc64 or does anybody have an idea, how I > may fix this problem? > > Thank you + Greetings, > Boris Meyer > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From andrew at urbanclimber.com Mon Jun 16 16:25:11 2003 From: andrew at urbanclimber.com (andrew at urbanclimber.com) Date: Mon, 16 Jun 2003 10:25:11 -0400 Subject: [mrtg] Re: MRTG and SNMP V2c Message-ID: <200306161425.AHS05556@ms7.verisignmail.com> So then here is my problem, I am recieving the following errors when using the config below. Can anyone point me to a reference that might tell me what I am doing wrong? I had assumed that MRTG did not like the 64 bit counters, but as I have heard back from the list, this should not be a problem. ?Andy C:\scripts\mrtg-2.9.29>perl bin\mrtg hostx.cfg ERROR: Target[connrate][_IN_] ' $$target[0]{$mode} ' did not eval into defined d ata ERROR: Target[connrate][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data WARNING: Skipping Update of connrate, inlast is not defined WARNING: Skipping Update of connrate, outlast is not defined ERROR: Target[conn][_IN_] ' $$target[1]{$mode} ' did not eval into defined data ERROR: Target[conn][_OUT_] ' $$target[1]{$mode} ' did not eval into defined data WARNING: Skipping Update of conn, inlast is not defined WARNING: Skipping Update of conn, outlast is not defined ERROR: Target[io][_IN_] ' $$target[2]{$mode} * 8' (warn): Use of uninitialized value in multiplication (*) at (eval 16) line 1. ERROR: Target[io][_OUT_] ' $$target[2]{$mode} * 8' (warn): Use of uninitialized value in multiplication (*) at (eval 17) line 1. WARNING: Skipping Update of io, inlast is not defined WARNING: Skipping Update of io, outlast is not defined ********************CFG*********************** WorkDir: D:\WEB\MRTG\ Options[$]: , transparent, noborder, noarrow, nobanner WithPeak[_]: wmy XSize[_]: 300 YSize[_]: 100 Directory[_]: HOSTX01 Title[^]: HOSTTX01 - ############################################################## ################# # # System-wide statistics # ############################################################## ################# ############################################################## ################# # Total sessions & requests Target[connrate]: 1.3.6.1.4.1.6213.1.1.2.1.2&1.3.6.1.4.1.6213.1.1.2.2.2:priv at my. host.com:::::2 MaxBytes[connrate]: 100000 AbsMax[connrate]: 1000000 Options[connrate]: growright, nopercent YLegend[connrate]: Sessions/s & Requests/s ShortLegend[connrate]: sess/s,req/s Legend1[connrate]: Session Rate in Sessions per Second Legend2[connrate]: Request Rate in Sessions per Second Legend3[connrate]: Maximal 5 Minute Session Rate Legend4[connrate]: Maximal 5 Minute Request Rate LegendI[connrate]: sess/s: LegendO[connrate]: req/s Title[connrate]: Sessions per Second PageTop[connrate]:

Sessions per Second

System:HOSTIP
Maintainer:Myself
Object:enterprises.redline.redlineProduct.tx. stats.sessions.sessTotal
Object:enterprises.redline.redlineProduct.tx. stats.requests.reqTotal
############################################################## ################# # Current sessions & requests Target[conn]: 1.3.6.1.4.1.6213.1.1.2.1.1&1.3.6.1.4.1.6213.1.1.2.2.1:priv at my. host.com:::::2 MaxBytes[conn]: 100000 AbsMax[conn]: 1000000 Options[conn]: growright, gauge, nopercent YLegend[conn]: Sessions & Requests ShortLegend[conn]: sess,req Legend1[conn]: Current Sessions Legend2[conn]: Current Requests Legend3[conn]: Maximal 5 Minute Current Sessions Legend4[conn]: Maximal 5 Minute Current Requests LegendI[conn]: sess: LegendO[conn]: req: Title[conn]: Current Sessions & Requests PageTop[conn]:

Current Sessions & Requests

System:HOSTIP
Maintainer:Myself
Object:enterprises.redline.redlineProduct.tx. stats.sessions.sessActive
Object:enterprises.redline.redlineProduct.tx. stats.requests.reqActive
############################################################## ################# # Traffic on 'external' interface Target[io]: 1.3.6.1.4.1.6213.1.1.2.3.1&1.3.6.1.4.1.6213.1.1.2.3.2:priv at my. host.com:::::2 * 8 MaxBytes[io]: 100000000 AbsMax[io]: 100000000 Options[io]: growright, nopercent YLegend[io]: bits/sec ShortLegend[io]: bits/s Legend1[io]: bits/sec In Legend2[io]: bits/sec Out Legend3[io]: Maximal 5 Minute bits/sec In Legend4[io]: Maximal 5 Minute bits/sec Out LegendI[io]: b/s in: LegendO[io]: b/s out: Title[io]: bits/sec PageTop[io]:

Bits/sec

System:HOSTIP
Maintainer:Myself
Object:enterprises.redline.redlineProduct.tx. stats.bytes.bytesIn
Object:enterprises.redline.redlineProduct.tx. stats.bytes.bytesOut
---- Original message ---- >Date: Sun, 15 Jun 2003 18:48:06 -0000 >From: "dslowry2003" >Subject: Re: MRTG and SNMP V2c >To: > >Yes, in your mrtg.cfg file specify the following: > >Target[ezwf]: 2:public at router1:::::2 >The 2 at the end instructs MRTG to use version 2. > >This was taken from the reference at: >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.htm l > >--- In mrtg at yahoogroups.com, wrote: >> Can anyone tell me if it is possible to use MRTG with SNMP >> 2c? I need to collect from 64 bit counters on the host.... >> >> Thanks >> >> -- >> Unsubscribe mailto:mrtg-request at l...?subject=unsubscribe >> Archive http://www.ee.ethz.ch/~slist/mrtg >> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nick_Earle at bat.com Mon Jun 16 18:06:12 2003 From: Nick_Earle at bat.com (Nick Earle) Date: Mon, 16 Jun 2003 17:06:12 +0100 Subject: [mrtg] Unexpected drop-outs in graphs Message-ID: <80256D47.0058F105.00@Internet-531.uk.interliant.com> An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://lists.oetiker.ch/pipermail/mrtg/attachments/20030616/e5355637/attachment.asc From Eric.Brander at ACS-INC.com Mon Jun 16 18:20:07 2003 From: Eric.Brander at ACS-INC.com (Brander, Eric) Date: Mon, 16 Jun 2003 11:20:07 -0500 Subject: [mrtg] Re: Unexpected drop-outs in graphs Message-ID: > The drop-out appear to occur after a specific amount of traffic has passed, as the area > between each drop-out appears to be the same. Please take a look at the attached graph to > see what I mean. Your MaxBytes setting is too low it seems. Try setting an AbsMax parameter to something significantly higher or raising your MaxBytes to what is actually the maximum for what you are monitoring. If MRTG gets a reading over what's specified in the MaxBytes setting, it discards it and assumes its a 0 - unless you have the AbsMax parameter. Eric Brander ACS Texas CHIP Account Sr. Communications Engineer - Information Systems Department 512.336.3331 Eric dot Brander at acs-inc dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Mon Jun 16 18:30:15 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Mon, 16 Jun 2003 18:30:15 +0200 Subject: [mrtg] Re: Unexpected drop-outs in graphs In-Reply-To: <80256D47.0058F105.00@Internet-531.uk.interliant.com>; from Nick_Earle@bat.com on Mon, Jun 16, 2003 at 05:06:12PM +0100 References: <80256D47.0058F105.00@Internet-531.uk.interliant.com> Message-ID: <20030616183015.A20386@slot.hollandcasino.net> On Mon, Jun 16, 2003 at 05:06:12PM +0100, Nick Earle wrote: > > I'm having a problem with MRTG which is resulting in drop-outs in my graphs. The drop-out appear to occur after a specific amount of traffic has passed, as the area between each drop-out appears to be the same. Please take a look at the attached graph to see what I mean. To me it appears this happens after 2^32 octets. Look attime 12 to 20: 12 to 20: roughly 8 hours at 1200 Kbps: 8*3600*1200*1000/8 = 4320000000 20 to 01: roughly 5 hours at 1800 Kbps: 5*3600*1800*1000/8 = 4050000000 11 to 15:30 : roughly 4.5 hours at 2000 Kbps: 4.5*3500*2000*1000/8 = 3937500000 All these numbers are close to 2^32 which is 4294967296. This doesn't help much but at least the "specific amount of traffic" can now be guessed to be 2^32 octets. Could it be that you are using 64-bit counters that wrap at 2^32 ? > Confidentiality Notice: The information in this document and > attachments is confidential and may also be legally privileged. > It is intended only for the use of the named recipient. Internet Oops. I'm sorry. I'm not the named recipient. > communications are not secure and therefore British American > Tobacco does not accept legal responsibility for the contents of > this message. If you are not the intended recipient,please notify us > immediately and then delete this document. Do not disclose the > contents of this document to any other person, nor take any copies. > Violation of this notice may be unlawful. Oops, the mrtg mailing list made copies. Are you sure you have the right to subscribe to mailing lists? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nick_Earle at bat.com Mon Jun 16 18:29:01 2003 From: Nick_Earle at bat.com (Nick Earle) Date: Mon, 16 Jun 2003 17:29:01 +0100 Subject: [mrtg] Re: Unexpected drop-outs in graphs Message-ID: <80256D47.005C6114.00@Internet-531.uk.interliant.com> The link I am monitoring is 3Mb and I am using the following configuration file:- Options[router]: unknaszero, bits Target[router]: #Hs2/0.1:password at 123.123.123.123: MaxBytes[router]: 384000 AbsMax[router]: 512000 I don't believe that the AbsMax, or MaxBytes, value can be causing this problem as I'm getting drop-outs on both the inbound and outbound graphs. Regards, Nick Earle "Brander Eric" cc: (bcc: Nick Earle/London/GB/BAT) Subject: [mrtg] Re: Unexpected drop-outs in graphs 16/06/2003 17:20 > The drop-out appear to occur after a specific amount of traffic has passed, as the area > between each drop-out appears to be the same. Please take a look at the attached graph to > see what I mean. Your MaxBytes setting is too low it seems. Try setting an AbsMax parameter to something significantly higher or raising your MaxBytes to what is actually the maximum for what you are monitoring. If MRTG gets a reading over what's specified in the MaxBytes setting, it discards it and assumes its a 0 - unless you have the AbsMax parameter. Eric Brander ACS Texas CHIP Account Sr. Communications Engineer - Information Systems Department 512.336.3331 Eric dot Brander at acs-inc dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Confidentiality Notice: The information in this document and attachments is confidential and may also be legally privileged. It is intended only for the use of the named recipient. Internet communications are not secure and therefore British American Tobacco does not accept legal responsibility for the contents of this message. If you are not the intended recipient,please notify us immediately and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Mon Jun 16 18:57:28 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 16 Jun 2003 11:57:28 -0500 Subject: [mrtg] Re: Unexpected drop-outs in graphs In-Reply-To: <80256D47.005C6114.00@Internet-531.uk.interliant.com> References: <80256D47.005C6114.00@Internet-531.uk.interliant.com> Message-ID: <1055782648.26038.5.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Mon, 2003-06-16 at 11:29, Nick Earle wrote: > The link I am monitoring is 3Mb and I am using the following configuration file:- > > Options[router]: unknaszero, bits > Target[router]: #Hs2/0.1:password at 123.123.123.123: > MaxBytes[router]: 384000 > AbsMax[router]: 512000 > > I don't believe that the AbsMax, or MaxBytes, value can be causing this problem as I'm getting drop-outs on both the inbound and outbound graphs. Unless you have traffic shaping turned on, you will need to set absMax to your HSSI Port speed. But you might have a rollover problem depending on the version of mrtg you are running. -- Daniel J McDonald Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jhumes at acs.on.ca Mon Jun 16 20:15:33 2003 From: jhumes at acs.on.ca (Jason Humes) Date: Mon, 16 Jun 2003 14:15:33 -0400 Subject: [mrtg] SNMP software Message-ID: <43DFCFBAFD93D411B3F7000629A8748FA0306F@memnoch.acs.uucp> I know that this is not the right forum for this, but maybe someone out there has an answer for me anyways. Does anyone know of any good SNMP NMS, trap handling, alerting, software packages, aside from HP OpenView. Maybe even freeware, linux based, or windows based would be nice. Some software package that can receive SNMP traps and generate alerts on these traps, as well as poll nodes for SNMP OIDs and return the values in some sort of event or trap or alert. I know this is asking a lot, but being somewhat user friendly would be great...I'm not a dummie, but I'm far from an SNMP vet. Thanks. Jason D. Humes Applied Computer Solutions Inc. 3020 St. Etienne Blvd. Windsor, Ontario Phone: (519) 944-4300 x211 Fax : (519) 944-4247 Email : jhumes at acs.on.ca ********************************************************************** Confidentiality Notice: The information contained in this e-mail and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachments is strictly prohibited. If you received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From t.mayer at fh-amberg-weiden.de Tue Jun 17 09:40:13 2003 From: t.mayer at fh-amberg-weiden.de (Thomas Mayer) Date: Tue, 17 Jun 2003 09:40:13 +0200 Subject: [mrtg] generated html-files Message-ID: <3EEEC5DD.2080601@fh-amberg-weiden.de> Good Morning! In the generated html-file there are two lines: "The statistics were last updated at day, date, time etc. at this time etc..." How can i prevent, that mrtg writes the second line after its interval ... I only want it to write the first line... It must be only a little modification in the mrtg-file, but i can't find it... Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Tue Jun 17 09:59:40 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Tue, 17 Jun 2003 08:59:40 +0100 Subject: [mrtg] Re: generated html-files Message-ID: >>How can i prevent, that mrtg writes the second line after its interval ... RTFM noinfo Suppress the information about uptime and device name in the generated webpage. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.lowry at attbi.com Tue Jun 17 11:46:21 2003 From: dan.lowry at attbi.com (Dan Lowry) Date: Tue, 17 Jun 2003 05:46:21 -0400 Subject: [mrtg] Re: MRTG Threshold Alerts over Time References: <7C91EF3A81B6B3439C537BF5B375245901BE38BB@mail12.cooperworld.net> Message-ID: <002d01c334b5$514a88f0$6401a8c0@computerroom> Hello Eric, It seems that the reason that ThreshDir has to be defined is that MRTG needs this in order to create the temporary file that it uses in order to run ThreshOK. Without it, I don't think that ThreshOK will run. Unfortunately, once ThreshDir is defined, the thresh_over script won't run every 5 minutes. I think it has something to do with the fact that MRTG will only send an alert once per hour. (In this case we need it to send the alert every five minutes). If you add a line in the batch file to delete the threshok temporary file , that defeats the purpose, since MRTG needs the file in order to run ThreshOK. (If anyone has a workaround to this, please let me know. Here's an updated version of the batch file that seems to work.Sends an email every 15 minutes when CPU over threshold, but has no way of resetting if the variable is left as 1,2, or 3, and the threshold goes back to normal, next time it's kicked off, you'll get a premature email, based on in what state the variable was left. Dan :sendmail_cpu_util_after_15min.bat echo off if exist e:\mrtg\thresholds\%1.txt goto skip echo 0 >e:\mrtg\thresholds\%1.txt :skip for /f %%a in (e:\mrtg\thresholds\%1.txt) do ( if "%%a"=="2" ECHO Current %THRESH_DESC% is %3 Percent. > e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Utilization has been Greater Than %2 Percent for the last 15 Minutes >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Please call Network Support On-Call >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Next EMAIL will be in 15 Minutes if problem persists. >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" e:\mrtg\sendmail\blat.exe e:\mrtg\thresholds\cpu_util.txt -s "%THRESH_DESC% has been greater than %2 Percent for the last 15 minutes!" -t bozo at clown.com if "%%a"=="2" del e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" echo 0 >e:\mrtg\thresholds\%1.tmp if "%%a"=="1" echo 2 >e:\mrtg\thresholds\%1.tmp if "%%a"=="0" echo 1 >e:\mrtg\thresholds\%1.tmp ) copy e:\mrtg\thresholds\%1.tmp e:\mrtg\thresholds\%1.txt -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From nicl at rohlig.co.za Tue Jun 17 11:46:58 2003 From: nicl at rohlig.co.za (Nic le Roux) Date: Tue, 17 Jun 2003 11:46:58 +0200 Subject: [mrtg] ifInErrors & IfOutErrors not updating the Log for Cisco 3640 Message-ID: Hi there, I have been using MRTG to graph bandwidth successfully for the past few month's no, hiccups. However, when I try to graph the error packet in & out it only seems to update the first line in log. I have looked at the possibility of the Maxbytes value being set too low, though changing this doesn't seem to have an effect. Verified that the counter is actually changing, the new value is entered on the first line and the old ones "discarded", it feels like maxbytes but it doesn't add up for me. Here is the config for one of my targets (there is 8 in all in this cfg file, all exactly the same setup). HtmlDir: /var/www/html/mrtg-2 ImageDir: /var/www/html/mrtg-2/images LogDir: /var/www/html/mrtg-2/logs Forks: 8 Options[_]: growright,nopercent #################################################### ### Errors in Line outbound for Durban Airfreight Target[Errors]: ifInErrors.7&ifOutErrors.7:rohlig4 at 172.28.1.1: SetEnv[Errors]: MRTG_INT_IP="172.28.0.9" MRTG_INT_DESCR="Serial0/6" MaxBytes[Errors]: 1000000 Directory[Errors]: errors YLegend[Errors]: Error Packets ShortLegend[Errors]: pkts Legend1[Errors]: Packets with errors Inbound Legend2[Errors]: Packets with errors Outbound LegendI[Errors]:  Errors In: LegendO[Errors]:  Errors Out: Title[Errors]: Serial0/6 CN:64-05390-00 Branch: Durban Airfreight Router: roh-dr0-pkt PageTop[Errors]:

Packet Errors In and Outbound

System: roh-dr0-pkt in Parktown
Maintainer: Telkom CNC:
Description:
ifType: propPointToPointSerial (22)
ifName: Se0/6
Max Speed: 128.0 kbits/s
_________________________ Heres the log file 1055841309 102472 56605 1055841309 0 0 0 0 1055841008 0 0 0 0 1055841000 0 0 0 0 1055840700 0 0 0 0 1055840400 0 0 0 0 1055840100 0 0 0 0 1055839800 0 0 0 0 1055839500 0 0 0 0 1055839200 0 0 0 0 Any ideas would be greatly welcomed. Thanks and Regards Nic le Roux Network Administrator -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Tue Jun 17 12:09:38 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Tue, 17 Jun 2003 11:09:38 +0100 Subject: [mrtg] Re: ifInErrors & IfOutErrors not updating the Log for Cisco 3640 Message-ID: >>However, when I try to graph the error packet in & out it only >>seems to update the first line in log. I have looked at the possibility >>of the Maxbytes value being set too low, though changing this >>doesn't seem to have an effect. Verified that the counter is actually >>changing, the new value is entered on the first line and the old >>ones "discarded", it feels like maxbytes but it doesn't add up for me. >>Options[_]: growright,nopercent >>MaxBytes[Errors]: 1000000 >>Heres the log file >>1055841309 102472 56605 >>1055841309 0 0 0 0 I agree with you on Maxbytes. Option2. value is too low. Did you want the gauge option (probably not), or do you want 'per second'. Calculate what your error rate per second is, and I will lay good money on it being less than one per second. MRTG does not do fractions. Try the per minute option (or per hour, or multiple by 100.......) Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Alberto.Moreno at ie.edu Tue Jun 17 12:22:53 2003 From: Alberto.Moreno at ie.edu (Alberto Moreno) Date: Tue, 17 Jun 2003 12:22:53 +0200 Subject: [mrtg] Limits Graph Message-ID: <2DB52B117EF1174084018377C133DDAF0121219F@HPEXCHANGE.ie.es.> How to limit the graph size.I have changed MaxBytes and the graph continues very big. I want to monitor until 5M because my traffic is little but there are peaks of 50M and the normal traffic isn?t in the graph Tx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/ms-tnef -- Size: 3k (3817 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/3EEEEC462330-winmail.dat -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From EJCORNWELL at coopertire.com Tue Jun 17 12:46:27 2003 From: EJCORNWELL at coopertire.com (Cornwell, Eric J.) Date: Tue, 17 Jun 2003 06:46:27 -0400 Subject: [mrtg] Re: MRTG Threshold Alerts over Time Message-ID: <7C91EF3A81B6B3439C537BF5B375245901BE38C0@mail12.cooperworld.net> I think I found a way to fix the problem. At the end of the .bat file where you copy the tmp file to the text file I added a line to delete *.max* . When that file is not found the .bat is run every time the stats are collected. The only other problem I was having is with the if statements in the .bat file. When the first condition fails it doesn't want to test any of the other conditions. I set up a test file that just replaced the the number everytime I ran it. It would create the file but not cycle through. I'm going to try it on the same machine we run MRTG on instead of my workstation. -----Original Message----- From: Dan Lowry [mailto:dan.lowry at attbi.com] Sent: Tuesday, June 17, 2003 5:46 AM To: Cornwell, Eric J.; mrtg at list.ee.ethz.ch Subject: Re: [mrtg] Re: MRTG Threshold Alerts over Time Hello Eric, It seems that the reason that ThreshDir has to be defined is that MRTG needs this in order to create the temporary file that it uses in order to run ThreshOK. Without it, I don't think that ThreshOK will run. Unfortunately, once ThreshDir is defined, the thresh_over script won't run every 5 minutes. I think it has something to do with the fact that MRTG will only send an alert once per hour. (In this case we need it to send the alert every five minutes). If you add a line in the batch file to delete the threshok temporary file , that defeats the purpose, since MRTG needs the file in order to run ThreshOK. (If anyone has a workaround to this, please let me know. Here's an updated version of the batch file that seems to work.Sends an email every 15 minutes when CPU over threshold, but has no way of resetting if the variable is left as 1,2, or 3, and the threshold goes back to normal, next time it's kicked off, you'll get a premature email, based on in what state the variable was left. Dan :sendmail_cpu_util_after_15min.bat echo off if exist e:\mrtg\thresholds\%1.txt goto skip echo 0 >e:\mrtg\thresholds\%1.txt :skip for /f %%a in (e:\mrtg\thresholds\%1.txt) do ( if "%%a"=="2" ECHO Current %THRESH_DESC% is %3 Percent. > e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Utilization has been Greater Than %2 Percent for the last 15 Minutes >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Please call Network Support On-Call >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" ECHO Next EMAIL will be in 15 Minutes if problem persists. >> e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" e:\mrtg\sendmail\blat.exe e:\mrtg\thresholds\cpu_util.txt -s "%THRESH_DESC% has been greater than %2 Percent for the last 15 minutes!" -t bozo at clown.com if "%%a"=="2" del e:\mrtg\thresholds\cpu_util.txt if "%%a"=="2" echo 0 >e:\mrtg\thresholds\%1.tmp if "%%a"=="1" echo 2 >e:\mrtg\thresholds\%1.tmp if "%%a"=="0" echo 1 >e:\mrtg\thresholds\%1.tmp ) copy e:\mrtg\thresholds\%1.tmp e:\mrtg\thresholds\%1.txt -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Tue Jun 17 13:27:25 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Tue, 17 Jun 2003 12:27:25 +0100 Subject: [mrtg] Re: Limits Graph Message-ID: >>How to limit the graph size.I have changed MaxBytes and the graph continues very big. >>I want to monitor until 5M because my traffic is little but there are peaks of 50M and the normal traffic isn?t in the graph Maxbytes: 1. sets vertical size of unscaled graph 2. Used to calculate percentages 3. limits the maximum rate stored in database. Remember that it is MaxBYTES. to limit to 5 Magabits/s, you need 625,000 not 5,000,000 AbsMax (if defined) over-rides the third option, and allows (when needed) an Unscaled graph to stretch higher. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nick_Earle at bat.com Tue Jun 17 12:20:24 2003 From: Nick_Earle at bat.com (Nick Earle) Date: Tue, 17 Jun 2003 11:20:24 +0100 Subject: [mrtg] Re: Unexpected drop-outs in graphs Message-ID: <80256D48.003FCD3A.00@Internet-531.uk.interliant.com> Your analysis certainly confirms my original thoughts. I ran STG (SNMP Traffic Grapher) version 1.4.5 to monitor the router overnight and its interesting that it does not show any drop-outs. Does anyone know how STG handles the counter wrap? Regards, Nick Earle Alex van den Bogaerdt To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Unexpected drop-outs in graphs 16/06/2003 17:30 On Mon, Jun 16, 2003 at 05:06:12PM +0100, Nick Earle wrote: > > I'm having a problem with MRTG which is resulting in drop-outs in my graphs. The drop-out appear to occur after a specific amount of traffic has passed, as the area between each drop-out appears to be the same. Please take a look at the attached graph to see what I mean. To me it appears this happens after 2^32 octets. Look attime 12 to 20: 12 to 20: roughly 8 hours at 1200 Kbps: 8*3600*1200*1000/8 = 4320000000 20 to 01: roughly 5 hours at 1800 Kbps: 5*3600*1800*1000/8 = 4050000000 11 to 15:30 : roughly 4.5 hours at 2000 Kbps: 4.5*3500*2000*1000/8 = 3937500000 All these numbers are close to 2^32 which is 4294967296. This doesn't help much but at least the "specific amount of traffic" can now be guessed to be 2^32 octets. Could it be that you are using 64-bit counters that wrap at 2^32 ? > Confidentiality Notice: The information in this document and > attachments is confidential and may also be legally privileged. > It is intended only for the use of the named recipient. Internet Oops. I'm sorry. I'm not the named recipient. > communications are not secure and therefore British American > Tobacco does not accept legal responsibility for the contents of > this message. If you are not the intended recipient,please notify us > immediately and then delete this document. Do not disclose the > contents of this document to any other person, nor take any copies. > Violation of this notice may be unlawful. Oops, the mrtg mailing list made copies. Are you sure you have the right to subscribe to mailing lists? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Confidentiality Notice: The information in this document and attachments is confidential and may also be legally privileged. It is intended only for the use of the named recipient. Internet communications are not secure and therefore British American Tobacco does not accept legal responsibility for the contents of this message. If you are not the intended recipient,please notify us immediately and then delete this document. Do not disclose the contents of this document to any other person, nor take any copies. Violation of this notice may be unlawful. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From salvini at macs.hw.ac.uk Tue Jun 17 14:56:38 2003 From: salvini at macs.hw.ac.uk (Steve Salvini) Date: Tue, 17 Jun 2003 13:56:38 +0100 (GMT Daylight Time) Subject: [mrtg] cammer.pl for bay/nortel kit? Message-ID: Hi - We're a Nortel shop with Passport 1200s and BayStack 310/350/410/450/470s. I think cammer.pl has exactly the functionality I require but I suspect my boss won't grant a budget request to cover converting all our kit to Cisco just so I can use it! ;-) I've searched the archives but not found anything useful about cammer.pl for architectures other than Cisco. Has anyone already done the required ports? Steve. ------------------------------------------------------------------------- Steven Salvini - Computer Officer email salvini at macs.hw.ac.uk School of Math & Computer Sciences phone (+44) 131 451 3418 Heriot-Watt University fax (+44) 131 451 3732 EDINBURGH EH14 4AS Scotland URL http://www.macs.hw.ac.uk/~salvini/ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From m20a01 at yahoo.com Tue Jun 17 16:00:04 2003 From: m20a01 at yahoo.com (A.) Date: Tue, 17 Jun 2003 07:00:04 -0700 (PDT) Subject: [mrtg] Large peaks in graph obscure "real" data Message-ID: <20030617140004.40290.qmail@web40802.mail.yahoo.com> I'm monitoring input/output traffic on a Web server. Normal daily activity peaks at around 600Mbits/s but each night, the backups create a peak of 5Mbits/s and reduce the daily activity to a virtual flatline. I want to collect all the data but only graph up to (say) 1Mbits/s. I've tried setting MaxBytes but then the backup peak data is ignored and doesn't show at all. I've also tried using AbsMax and then I'm back to square-one with the backup peak obscuring the normal activity and a dashed red line at my MaxBytes value. I'd like to effictively "zoom" in on the graph to show up to 1Mbits/s on the y-axis yet still see the lower part of the backup peaks even though they actually continue off the top of the page and exceed this 1MBits/s scale. Can anybody help me to achieve this effect? Thanks. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Tue Jun 17 16:41:38 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Tue, 17 Jun 2003 15:41:38 +0100 Subject: [mrtg] Re: Large peaks in graph obscure "real" data Message-ID: One solution: Put the target into your config file twice, once with a low Maxbytes & Absmax (to cut off the high data and show you daytime usage) and once with a high value to show you the lot. Regards Peter ********************* original mail*********************** I'm monitoring input/output traffic on a Web server. Normal daily activity peaks at around 600Mbits/s but each night, the backups create a peak of 5Mbits/s and reduce the daily activity to a virtual flatline. I want to collect all the data but only graph up to (say) 1Mbits/s. I've tried setting MaxBytes but then the backup peak data is ignored and doesn't show at all. I've also tried using AbsMax and then I'm back to square-one with the backup peak obscuring the normal activity and a dashed red line at my MaxBytes value. I'd like to effictively "zoom" in on the graph to show up to 1Mbits/s on the y-axis yet still see the lower part of the backup peaks even though they actually continue off the top of the page and exceed this 1MBits/s scale. Can anybody help me to achieve this effect? Thanks. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From who_let_the_idiots_out at yahoo.com Tue Jun 17 20:03:04 2003 From: who_let_the_idiots_out at yahoo.com (Ian) Date: Tue, 17 Jun 2003 11:03:04 -0700 (PDT) Subject: [mrtg] snmpd response Message-ID: <20030617180304.15733.qmail@web12608.mail.yahoo.com> I have multiple ip aliases for my eth0 interface i.e eth0:0, eth0:1, .., eth0:10. snmpd daemon responds to the snmpwalk queries from the highest IP alias eth0:10 although it is not bind to that. Is there any way to configure snmp to respond from my main eth0 interface rather than eth0:10 -Ian __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From j-rieman at onu.edu Tue Jun 17 21:12:15 2003 From: j-rieman at onu.edu (Rieman, Jeff) Date: Tue, 17 Jun 2003 15:12:15 -0400 Subject: [mrtg] Beginners Guide Message-ID: Hi, is there a manual or begginners guide of some kind? I can do the basic monitoring but want to move beyond that and monitor things like cpu utilization on our 2k servers. Any suggestions on where to start learning? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From DRA at arinc.com Tue Jun 17 22:23:36 2003 From: DRA at arinc.com (Aldridge, Donald R. (DRA)) Date: Tue, 17 Jun 2003 16:23:36 -0400 Subject: [mrtg] Tuning rrdtool Message-ID: <05A70E173104D511A5840002A55C37EE03C7B20D@exanpmb2.arinc.com> I currently have rrdtool running after converting from the basic MRTG implementation. I want to be able to do 1 minute samples/averages for a one month period or at most a 5-minute average of my 1 minute samples for a one month period. Currently, the default setting is a 2-hour average for the 1 month graph. I have looked at the documentation and I am not clear on how I would go about modifying my current rrdtool implementation to produce the 5-minute average graph for a 1 month period. Thanks, Don Aldridge -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mk at ugg-lan.com Tue Jun 17 22:59:42 2003 From: mk at ugg-lan.com (Mats Karlsson) Date: Tue, 17 Jun 2003 22:59:42 +0200 Subject: [mrtg] Re: Beginners Guide References: Message-ID: <01a501c33513$6002e8c0$0300000a@home03> Check out the companion site: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/links.html And I would like to recommend : support web for SNMP, Windows NT, NetWare and MRTG by Garth K. Williams. Regards MAts -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Wed Jun 18 01:23:48 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 18 Jun 2003 01:23:48 +0200 Subject: [mrtg] Re: Tuning rrdtool In-Reply-To: <05A70E173104D511A5840002A55C37EE03C7B20D@exanpmb2.arinc.com>; from DRA@arinc.com on Tue, Jun 17, 2003 at 04:23:36PM -0400 References: <05A70E173104D511A5840002A55C37EE03C7B20D@exanpmb2.arinc.com> Message-ID: <20030618012348.A30177@slot.hollandcasino.net> On Tue, Jun 17, 2003 at 04:23:36PM -0400, Aldridge, Donald R. (DRA) wrote: > month graph. I have looked at the documentation and I am not clear on how I > would go about modifying my current rrdtool implementation to produce the > 5-minute average graph for a 1 month period. Alter the size of the corresponding RRA. Use "rrdtool resize" to do so. When you do this, do it in multiple small steps. For instance, each day add a day. This way you don't end up with a large amount of unknown data. Once the entire month is available, you can query it. HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jeremy at multihaven.org Wed Jun 18 01:39:05 2003 From: jeremy at multihaven.org (Jer) Date: Tue, 17 Jun 2003 19:39:05 -0400 Subject: [mrtg] values out of range (in GB) for Cable modem link Message-ID: <5.2.0.9.2.20030617193616.023694d8@computer.multihaven.org> Dear all Can someone please tell me whats going on here?? my page looks like Max In: 34.4 Gb/s (34359738.4%) Average In: 34.3 Gb/s (34344849.2%) Current In: 28.4 Gb/s (28404054.5%) Max Out: 0.0 b/s (0.0%) Average Out: -37021620885907841024.0 b/s (-37021620885907840.0%) Current Out: -30617807648998375424.0 b/s (-30617807648998376.0%) my config file is WorkDir: /home/monitor/web/mrtg #RunAsDaemon: Yes Options[_]: growright, bits MaxBytes[_]: 12500 PageTop[_]:

Traffic Analysis

Title[_]: Traffic Analysis
System: 1413 Ida
Maintainer: jeremy at multihaven.org
Ip: Not set
Target[data]: `/bin/traffic data` and border# /bin/traffic data 13455 10775 Uptime not known Data.MultiHaven.org what gives??? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From LLotierzo at lanacion.com.ar Wed Jun 18 01:44:20 2003 From: LLotierzo at lanacion.com.ar (=?iso-8859-1?Q?=22Lotierzo=2C_Leandro_=28Administraci=F3n_del_Cen?= =?iso-8859-1?Q?tro_de_C=F3mputos=29=22?=) Date: Tue, 17 Jun 2003 20:44:20 -0300 Subject: [mrtg] Re: values out of range (in GB) for Cable modem link Message-ID: Your MaxBytes is set to low. Cheers. LL SysAdmin at LN -----Original Message----- From: Jer [mailto:jeremy at multihaven.org] Sent: Tuesday, June 17, 2003 8:39 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] values out of range (in GB) for Cable modem link Dear all Can someone please tell me whats going on here?? my page looks like Max In: 34.4 Gb/s (34359738.4%) Average In: 34.3 Gb/s (34344849.2%) Current In: 28.4 Gb/s (28404054.5%) Max Out: 0.0 b/s (0.0%) Average Out: -37021620885907841024.0 b/s (-37021620885907840.0%) Current Out: -30617807648998375424.0 b/s (-30617807648998376.0%) my config file is WorkDir: /home/monitor/web/mrtg #RunAsDaemon: Yes Options[_]: growright, bits MaxBytes[_]: 12500 PageTop[_]:

Traffic Analysis

Title[_]: Traffic Analysis
System: 1413 Ida
Maintainer: jeremy at multihaven.org
Ip: Not set
Target[data]: `/bin/traffic data` and border# /bin/traffic data 13455 10775 Uptime not known Data.MultiHaven.org what gives??? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Wed Jun 18 02:39:07 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 18 Jun 2003 02:39:07 +0200 Subject: [mrtg] Re: values out of range (in GB) for Cable modem link In-Reply-To: <5.2.0.9.2.20030617193616.023694d8@computer.multihaven.org>; from jeremy@multihaven.org on Tue, Jun 17, 2003 at 07:39:05PM -0400 References: <5.2.0.9.2.20030617193616.023694d8@computer.multihaven.org> Message-ID: <20030618023907.A30754@slot.hollandcasino.net> On Tue, Jun 17, 2003 at 07:39:05PM -0400, Jer wrote: > Max In: 34.4 Gb/s (34359738.4%) Average In: 34.3 Gb/s (34344849.2%) > Current In: 28.4 Gb/s (28404054.5%) > Max Out: 0.0 b/s (0.0%) Average Out: -37021620885907841024.0 b/s > (-37021620885907840.0%) Current Out: -30617807648998375424.0 b/s > (-30617807648998376.0%) Whoops. > my config file is > > WorkDir: /home/monitor/web/mrtg > #RunAsDaemon: Yes > Options[_]: growright, bits > MaxBytes[_]: 12500 > PageTop[_]:

Traffic Analysis

> Title[_]: Traffic Analysis > > > > >
System: 1413 Ida
Maintainer: jeremy at multihaven.org
Ip: Not set
> Target[data]: `/bin/traffic data` Is this your entire config file? If so: no problem. If it is not: you are using DEFAULTS which will be discarded when an entry such as "MaxBytes[data]: 123456789" is present. Then there seems to be an issue with an extremely low number. It uses more than 64 bits... this cannot be right. When this happens, what are the first few lines of your MRTG log file? > border# /bin/traffic data > 13455 > 10775 > Uptime not known > Data.MultiHaven.org > > what gives??? This time it looks OK. Try appending the output to a file as well as to stdout. You'd then have a log of what numbers are fed to MRTG which it does not seem to handle very well. Perhaps the script fails from time to time, returning strange output (not numbers) in the first two lines. Garbage in = garbage out. HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Wed Jun 18 02:42:36 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 18 Jun 2003 02:42:36 +0200 Subject: [mrtg] Re: values out of range (in GB) for Cable modem link In-Reply-To: ; from LLotierzo@lanacion.com.ar on Tue, Jun 17, 2003 at 08:44:20PM -0300 References: Message-ID: <20030618024236.B30754@slot.hollandcasino.net> On Tue, Jun 17, 2003 at 08:44:20PM -0300, "Lotierzo, Leandro (Administraci?n del Centro de C?mputos)" wrote: > Your MaxBytes is set to low. You are top posting and you are wrong. 12500 bytes per second may be a bit low but it is not too low. *If* the device cannot transport more than 100kbps then 12500 is perfect. If the device *can* do more but the user does not want to know about it, 12500 is valid (perhaps, uhm, unwise). Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jeremy at multihaven.org Wed Jun 18 03:40:15 2003 From: jeremy at multihaven.org (Jer) Date: Tue, 17 Jun 2003 21:40:15 -0400 Subject: [mrtg] Re: values out of range (in GB) for Cable modem link Message-ID: <5.2.0.9.2.20030617213652.019135a8@computer.multihaven.org> At 02:39 AM 6/18/2003 +0200, you wrote: >On Tue, Jun 17, 2003 at 07:39:05PM -0400, Jer wrote: > > > Max In: 34.4 Gb/s (34359738.4%) Average In: 34.3 Gb/s (34344849.2%) > > Current In: 28.4 Gb/s (28404054.5%) > > Max Out: 0.0 b/s (0.0%) Average Out: -37021620885907841024.0 b/s > > (-37021620885907840.0%) Current Out: -30617807648998375424.0 b/s > > (-30617807648998376.0%) > >Whoops. > > > my config file is > > > > WorkDir: /home/monitor/web/mrtg > > #RunAsDaemon: Yes > > Options[_]: growright, bits > > MaxBytes[_]: 12500 > > PageTop[_]:

Traffic Analysis

> > Title[_]: Traffic Analysis > > > > > > > > > >
System: 1413 Ida
Maintainer: jeremy at multihaven.org
Ip: Not set
> > Target[data]: `/bin/traffic data` > >Is this your entire config file? If so: no problem. If it is not: you >are using DEFAULTS which will be discarded when an entry such as >"MaxBytes[data]: 123456789" is present. yes it is the entire file I also had this issue with SNMP of a querying another system so it's not that which was a 100mbps link to a switch and it looked like IF-MIB::ifInOctets.1 = Counter32: 16378112 IF-MIB::ifInOctets.2 = Counter32: 16270013 IF-MIB::ifInOctets.3 = Counter32: 0 IF-MIB::ifInOctets.4 = Counter32: 993158 IF-MIB::ifOutOctets.1 = Counter32: 2152473 IF-MIB::ifOutOctets.2 = Counter32: 10148053 IF-MIB::ifOutOctets.3 = Counter32: 0 IF-MIB::ifOutOctets.4 = Counter32: 996604 and I still gort this out of range data I woner is there any kind of system based issue that could cause this?? or am I on the wrong track as requested top lines of MRTG Log file is 058571227 13455 10775 1058571227 0 0 0 0 1058570944 4294967296 -4629708749173424128 2885555223558881280 0 1058570700 4294967296 -4629708749173424128 2885555223558881280 0 >Then there seems to be an issue with an extremely low number. It uses >more than 64 bits... this cannot be right. > >When this happens, what are the first few lines of your MRTG log file? > > > border# /bin/traffic data > > 13455 > > 10775 > > Uptime not known > > Data.MultiHaven.org > > > > what gives??? > >This time it looks OK. Try appending the output to a file as >well as to stdout. You'd then have a log of what numbers are >fed to MRTG which it does not seem to handle very well. > >Perhaps the script fails from time to time, returning strange >output (not numbers) in the first two lines. > >Garbage in = garbage out. > >HTH >Alex >-- >Much of what looks like rudeness in hacker circles is not intended to give >offence. Rather, it's the product of the direct, cut-through-the-bullshit >communications style that is natural to people who are more concerned about >solving problems than making others feel warm and fuzzy. > >http://www.tuxedo.org/~esr/faqs/smart-questions.html > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://www.ee.ethz.ch/~slist/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Marco.Carfora at ud-medien.ch Wed Jun 18 09:35:32 2003 From: Marco.Carfora at ud-medien.ch (CarforaMarco) Date: Wed, 18 Jun 2003 09:35:32 +0200 Subject: [mrtg] Fixe Bandbreite in MRTG angeben Message-ID: <85A5205432086B47A89F2B890B7D1E7260DEC6@udmail.udnet.ch> Hallo Wir haben diverse Webserver am laufen, die wir auf ihre Auslastung ?berpr?fen wollen. Von unserem Provider haben wir eine Mietleitung von 1024kb. Die Auslastung der gesamten Leitung kann ich beim Povider ?berpr?fen, er stellt diese ebenfalls mit MRTG zur Verf?gung. Ich m?chte ?ber den Switch die jeweilige Nutzung der einzelnen Server messen. Dazu habe ich eine mrtg.cfg Datei erstellt, die den Switch auf allen ?ffentlichen Ports die Netzwerkauslastung misst. Leider weiss ich nicht, wie ich den einzelnen Server eine fixe Bandbreite von maximal 1024kb angeben kann. ?ber MaxBytes geht das nicht. Auch mit Unscaled habe ich kein Erfolg gehabt. Kann es sein, dass wenn der Switch eine h?here Durchsatzrate hat (100mb), das nicht m?glich ist? Ich habe einen Teil der Konfigurationsdatei beigef?gt und bin dankbar f?r jede Hilfe die ich kriege. Marco ### Interface 113 >> Descr: 'RMON-Port-13-on-unit-1' | Name: 'PowerEdge 2250' | Ip: '192.168.1.1' | Eth: '' ### Target[13]: 113:public at 192.168.1.254: SetEnv[13]: MRTG_INT_IP="" MRTG_INT_DESCR="RMON-Port-13-on-unit-1" MaxBytes[13]: 128000 Title[13]: 3Com Switch 4400 Auslastung PageTop[13]:

Leitungs-Auslastung f?r PowerEdge 2550

# # # # # # # #
System: Port 13 in and over
Maintainer:
Description:RMON-Port-13-on-unit-1
ifType: ethernetCsmacd (6)
ifName:
Max Speed: 12.5 MBytes/s
WithPeak[13]: ymdw #Unscaled[13]: ymdw Suppress[13]: y xSize[13]: 400 YSize[13]: 150 Background[13]: #d0d0d0d ### Interface 114 >> Descr: 'RMON-Port-14-on-unit-1' | Name: 'PowerApp 120' | Ip: '192.168.1.2' | Eth: '' ### Target[14]: 114:public at 192.168.1.254: SetEnv[14]: MRTG_INT_IP="" MRTG_INT_DESCR="RMON-Port-14-on-unit-1" MaxBytes[14]: 128000 Title[14]: 3Com Switch 4400 Auslastung PageTop[14]:

Leitungs-Auslastung f?r PowerApp 120

# # # # # # # #
System: Port 14 in and over
Maintainer:
Description:RMON-Port-14-on-unit-1
ifType: ethernetCsmacd (6)
ifName:
Max Speed: 12.5 MBytes/s
WithPeak[14]: ym Suppress[14]: y xSize[14]: 400 YSize[14]: 150 Background[14]: #d0d0d0d ........ und so weiter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From reza at jetcoms.net.id Wed Jun 18 12:26:34 2003 From: reza at jetcoms.net.id (Reza Iskandar Achmad) Date: Wed, 18 Jun 2003 17:26:34 +0700 Subject: [mrtg] TRANGO M5800S Message-ID: <3EF03E5A.5070409@jetcoms.net.id> Hello, I have problem on monitoring TrangoBroad When I use snmp command to communicate to the device, it work and does not return error respons. shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.1 enterprises.5454.1.10.1.15.1.0 = 568 shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.2 enterprises.5454.1.10.1.15.2.0 = 187 after that, I create mrtg.cfg like this, #-----------------------mrtg.cfg------------------------------------ Workdir: /home/shiro/mrtg/cfg Logdir: /home/shiro/mrtg/httpd #Unscaled[_]: ymwd Options[_]: bits, growright #ShortLegend[_]: b/s LoadMIBs: /usr/share/snmp/mibs/TRANGO-MIB.txt ###################################################################### # System: Orang Wireless Jetcoms # Description: Trango Systems Inc. SNMP agent for M5800S # Contact: Jetcoms AP # Location: Sebelah RCTI ###################################################################### Target[Trango_100]:enterprises.5454.1.10.1.15.1&enterprises.5454.1.10.1.15.2:public at 10.12.10.100 Title[Trango_100]: Trango 100 MaxBytes[Trango_100]: 3000000 #----------------------End of mrtg.cfg---------------------------- TRANGO-MIB.txt is file which contains MIB from trango CD distribution then I run mrtg command, It give me error message like this shiro at xudu:~> /usr/bin/mrtg mrtg/cfg/mrtg.cfg SNMP Error: Received SNMP response with error code error status: noSuchName index 3 (OID: 1.3.6.1.2.1.1.3.0) SNMPv1_Session (remote host: "10.12.10.100" [10.12.10.100].161) community: "public" request ID: 628659165 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458 SNMPGET Problem for enterprises.5454.1.10.1.15.1 enterprises.5454.1.10.1.15.2 sysUptime sysName on public at 10.12.10.100 at /usr/bin/mrtg line 1621 WARNING: skipping because at least the query for enterprises.5454.1.10.1.15.1 on 10.12.10.100 did not succeed ERROR: Target[trango_100][_IN_] ' $$target[0]{$mode} ' did not eval into defined data ERROR: Target[trango_100][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data WARNING: Skipping Update of trango_100, inlast is not defined WARNING: Skipping Update of trango_100, outlast is not defined Can anyone give advice in order to get mrtg graphic to monitor my Trango AP? Sorry for my bad english, I'm Indonesian :-) regards, Reza Iskandar Achmad -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Steve_godfrey at bristol-city.gov.uk Wed Jun 18 13:11:28 2003 From: Steve_godfrey at bristol-city.gov.uk (Steve Godfrey) Date: Wed, 18 Jun 2003 12:11:28 +0100 Subject: [mrtg] Cisco PIX - show uauth Message-ID: If you issue the show uauth command on a PIX firewall you'll see details about user authentication (I'm using it for VPN access). It doesn't look as if there's a OID for these objects does anyone know anything different? Failing that I must be able to graph the values using a perl script, I know what PERL stands for but that's the limit of my knowledge. Could someone point me in the right direction for using a PERL script to graph these values? Thanks Steve -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Wed Jun 18 14:09:10 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 18 Jun 2003 14:09:10 +0200 Subject: [mrtg] Re: values out of range (in GB) for Cable modem link In-Reply-To: <5.2.0.9.2.20030617213652.019135a8@computer.multihaven.org>; from jeremy@multihaven.org on Tue, Jun 17, 2003 at 09:40:15PM -0400 References: <5.2.0.9.2.20030617213652.019135a8@computer.multihaven.org> Message-ID: <20030618140910.A2413@slot.hollandcasino.net> On Tue, Jun 17, 2003 at 09:40:15PM -0400, Jer wrote: > yes it is the entire file > I also had this issue with SNMP of a querying another system > so it's not that Alright, you have problems with more than one config file. You ask us about this config file. You have problems with very strange numbers. Don't you think it is time to review your software? I mean MRTG and your OS. I cannot help you any further, no experience with these kind of problems. Post your OS+version and the MRTG version to the list. Also describe how you compiled the software -or- which package you're using. Chances are something is wrong with rateup. Perhaps you're on a 64-bit system where rateup does strange things to its input. HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Wed Jun 18 14:19:30 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Wed, 18 Jun 2003 07:19:30 -0500 Subject: [mrtg] Re: TRANGO M5800S References: <3EF03E5A.5070409@jetcoms.net.id> Message-ID: <00a401c33593$ded017b0$c8b3bed0@IS14805> > ----- Original Message ----- From: "Reza Iskandar Achmad" To: Sent: Wednesday, June 18, 2003 5:26 AM Subject: [mrtg] TRANGO M5800S Hello, I have problem on monitoring TrangoBroad > > When I use snmp command to communicate to the device, it work and does > not return error respons. > > shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.1 > enterprises.5454.1.10.1.15.1.0 = 568 > > shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.2 > enterprises.5454.1.10.1.15.2.0 = 187 Looks good! > Target[Trango_100]:enterprises.5454.1.10.1.15.1&enterprises.5454.1.10. 1.15.2:public at 10.12.10.100 Does not look good. What you put on the target line is different from what you found with snmpwalk. Looks like you need a .0 appended to each OID. Worth a try anyway! Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From trowe at handling-systems.com Wed Jun 18 15:12:58 2003 From: trowe at handling-systems.com (Tom Rowe) Date: Wed, 18 Jun 2003 09:12:58 -0400 Subject: [mrtg] Starters Question Message-ID: <01a001c3359b$56e13a70$2d01110a@L1ws55> This is a basic question but it has me stumped, so please forgive me for the newbie question here. When I try to launch MRTG in RH9.0 it's telling me that the env language is wrong. I try the env LANG=C prefix to my mrtg mrtg.cnf command and I get the following error: env LANG=C /usr/local/mrtg-2/bin/mrtg ./www/htdocs/mrtg/cfg/mrtg.cfg ERROR: Creating templock ./www/htdocs/mrtg/cfg/mrtg.cfg_l_3702: No such file or directory at /usr/local/mrtg-2/bin/mrtg line 1433. If I set this right, my WorkDir is my www directory and where the .html files will live. There is a writable directory at /www/htdocs/mrtg/cfg.... Any Ideas? Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From KHart at helixtechnology.com Wed Jun 18 15:41:03 2003 From: KHart at helixtechnology.com (Hart, Kevin) Date: Wed, 18 Jun 2003 09:41:03 -0400 Subject: [mrtg] Re: Cisco PIX - show uauth Message-ID: <6FA79BD0B67DD411AAC400306E00B08C04E34B3A@exchange1.helixtech.com> Steve, Take a look at Eric Garnel's homebrewed stuff. Kevin http://garnel.com/mrtg/pix-vpn.html -----Original Message----- From: Steve Godfrey [mailto:Steve_godfrey at bristol-city.gov.uk] Sent: Wednesday, June 18, 2003 7:11 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Cisco PIX - show uauth If you issue the show uauth command on a PIX firewall you'll see details about user authentication (I'm using it for VPN access). It doesn't look as if there's a OID for these objects does anyone know anything different? Failing that I must be able to graph the values using a perl script, I know what PERL stands for but that's the limit of my knowledge. Could someone point me in the right direction for using a PERL script to graph these values? Thanks Steve -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.lowry at attbi.com Wed Jun 18 16:53:43 2003 From: dan.lowry at attbi.com (dan.lowry at attbi.com) Date: Wed, 18 Jun 2003 14:53:43 +0000 Subject: [mrtg] Delayed Threshold Actions Message-ID: <20030618145346.BDD47D932C@ntardis.ee.ethz.ch> Here's a batch file that seems to work for Windows 2k. It looks at inbound link utilization for 20 minutes, and if it's over threshold for 20 minutes, an email gets sent. Thanks to the group at windowsshellscripting.com for providing this usefull script ! It has provisions to get past an issue with threshprogok where if you enable threshdir which is needed for threshprogok to kick off, then you no longer kick off threshprogx every 5 minutes (Only every hour) This batch file when run will create a timestamp, and if the last time the file was updated was > 7 minutes ago, will set the count variable back to 1. that way if you have a couple of threshold breaches, and then it goes back to normal, you won't leave stale values in the temp file and get a premature email next time. No guarantee, but it seems to work for me. It will also have an issue at the end of the year boundry , if anyone can fix that it would be appreciated. Otherwise, Here you go, it works for me on windows 2k server. Dan ----------------------------------------------------------- :link_util_out_20min.BAT SET PARM1=%1 SET PARM2=%2 SET PARM3=%3 SET /A PARM2=%PARM2% * 8 SET /A PARM3=%PARM3% * 8 ECHO MRTG THRESHOLD ALERT > e:\mrtg\thresholds\%PARM1%_out_email.TXT ECHO. >> e:\mrtg\thresholds\%PARM1%_out_email.TXT ECHO Current Inbound %THRESH_DESC% Is Greater than %PARM2% Bits Per Second >> e:\mrtg\thresholds\%PARM1%_out_email.TXT ECHO Please Call Network Services on Call. >> e:\mrtg\thresholds\%PARM1% _out_email.TXT ECHO Next Message will be sent in 20 Minutes. >> e:\mrtg\thresholds\%PARM1% _out_email.TXT ECHO. >> %PARM1%_out_email.TXT ECHO Questions/Comments: Please send email to bozo at clown.com >> e:\mrtg\thresholds\%PARM1%_out_email.TXT FOR /F "TOKENS=2-4 DELIMS=/ " %%F IN ('DATE /T') DO (SET DTTM=%%H%%F%%G) SET DTTM=%DTTM:~3% FOR /F "TOKENS=5-6 DELIMS=: " %%F IN ('ECHO.^|TIME') DO (SET DTTM=%DTTM%%%F%%G) IF EXIST e:\mrtg\thresholds\%PARM1%_out_counter.TXT ( FOR /F "TOKENS=1-2" %%F IN (e:\mrtg\thresholds\%PARM1%_out_counter.TXT) DO ( SET Counter=%%F SET LastDTTM=%%G ) ) ELSE ( SET Counter=1 GOTO WriteIt ) SET /A LastDTTM=%LastDTTM% + 7 IF %DTTM% GTR %LastDTTM% ( SET COUNTER=1 GOTO WriteIt ) SET /A COUNTER=%COUNTER% + 1 IF %COUNTER% GEQ 5 ( e:\mrtg\sendmail\blat.exe e:\mrtg\thresholds\%PARM1%_out_email.TXT -s "Inbound %THRESH_DESC% has been greater than %PARM2% Bits Per Second for 20 minutes!" - bozo at clown.com DEL e:\mrtg\thresholds\%PARM1%_out_email.TXT DEL e:\mrtg\thresholds\%PARM1%_out_counter.TXT GOTO :EOF ) :WriteIt ECHO %COUNTER% %DTTM%> e:\mrtg\thresholds\%PARM1%_out_counter.TXT :: -----link_util_out_20min.BAT------- ------------------------------------------------------------------------- Here's a snip from the the config file ThreshDesc[bla_bla]: Utilization on Miller ATM1/70 6 Meg IMA Port ThreshMaxO[bla_bla]: 625000 ThreshProgO[bla_bla]:e:\mrtg\thresholds\link_util_out_20min.bat Good luck ! -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Alberto.Moreno at ie.edu Wed Jun 18 16:53:45 2003 From: Alberto.Moreno at ie.edu (Alberto Moreno) Date: Wed, 18 Jun 2003 16:53:45 +0200 Subject: [mrtg] discards or error packets Message-ID: <2DB52B117EF1174084018377C133DDAF01224AD1@HPEXCHANGE.ie.es.> How can I view the discards or error packets with MRTG?? Tx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/ms-tnef -- Size: 3k (3555 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/3EF080FF11920-winmail.dat -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Wed Jun 18 19:24:24 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Wed, 18 Jun 2003 12:24:24 -0500 Subject: [mrtg] Re: discards or error packets References: <2DB52B117EF1174084018377C133DDAF01224AD1@HPEXCHANGE.ie.es.> Message-ID: <00cf01c335be$79b6b020$c8b3bed0@IS14805> > How can I view the discards or error packets with MRTG?? > Tx > This is what I use: Target[INET_1_errors]: ifInErrors.1&ifOutErrors.1:public at 10.1.1.1: Directory[INET_1_errors]: INET Options[INET_1_errors]: growright, nobanner, nopercent, perminute, transparent WithPeak[INET_1_errors]: wmy MaxBytes[INET_1_errors]: 10000 AbsMax[INET_1_errors]: 10000000 Colours[INET_1_errors]: RED#cc0000,ORANGE#ff6600,DARK GREEN#006600,VIOLET#ff00ff LegendO[INET_1_errors]: Err/Min Out:  LegendI[INET_1_errors]: Err/Min In:  YLegend[INET_1_errors]: Errors Legend1[INET_1_errors]: Incoming Errors per Second Legend2[INET_1_errors]: Outgoing Errors per Second Legend3[INET_1_errors]: Peak 5 Minute Incoming Errors per Second Legend4[INET_1_errors]: Peak 5 Minute Outgoing Errors per Second ShortLegend[INET_1_errors]:   Title[INET_1_errors]: INET -- Ethernet0/0 connected to EthernetLAN -- Errors Target[INET_1_discards]: ifInDiscards.1&ifOutDiscards.1:public at 10.1.1.1: Directory[INET_1_discards]: INET Options[INET_1_discards]: growright, nobanner, nopercent, perminute, transparent WithPeak[INET_1_discards]: wmy MaxBytes[INET_1_discards]: 10000 AbsMax[INET_1_discards]: 10000000 Colours[INET_1_discards]: ORANGE#ff6600,BRIGHTBLUE#0066ff,DARK GREEN#006600,VIOLET#ff00ff LegendO[INET_1_discards]: Dis/Min Out:  LegendI[INET_1_discards]: Dis/Min In:  YLegend[INET_1_discards]: Discards Legend1[INET_1_discards]: Incoming Discards per Second Legend2[INET_1_discards]: Outgoing Discards per Second Legend3[INET_1_discards]: Peak 5 Minute Incoming Discards per Second Legend4[INET_1_discards]: Peak 5 Minute Outgoing Discards per Second ShortLegend[INET_1_discards]:   Title[INET_1_discards]: INET -- Ethernet0/0 connected to EthernetLAN -- Discards PageTop[INET_1_discards]:

Ethernet0/0 connected to EthernetLAN

Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bcovell at sagestone.com Wed Jun 18 20:18:19 2003 From: bcovell at sagestone.com (Brad Covell) Date: Wed, 18 Jun 2003 14:18:19 -0400 Subject: [mrtg] Cisco 515e OID?? Message-ID: Does anyone have an OID or config file for a Cisco Pix 515e? I would like to monitor the # of VPN connections and a number of other statistics from the pix. Any help would be great. Thanks Brad -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lalegria at ics-canada.net Wed Jun 18 20:19:06 2003 From: lalegria at ics-canada.net (Alegria, Luis) Date: Wed, 18 Jun 2003 14:19:06 -0400 Subject: [mrtg] Packet loss error Message-ID: <732180E59B22D311B4BB0004AC4CCAE6065C868A@ALLSNA> Hi Everyone I've been running MRTG with rrdtool and routers2.cgi in a Windows 2000 server for about 6 months. Everything is working fine. Now; I've been trying to add ping and packet lost monitoring to the most critical routers. The ping part is working fine, but I encountered some problems with the packet loss portion of it. I looked some examples in the internet (by the way I'm using mrtg-ping-probe.pl) and when I try to run it, I get the following error "Unkown Option": p, This is my target line. Target[x.x.x.x_ping]: `c:\mrtg\pingprobe\mrtg-ping-probe.pl -k 50 -p loss/loss x.x.x.x` Any suggestion would be appreciated Luis Alegria ICS Courier Services' Network God :-) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Alberto.Moreno at ie.edu Wed Jun 18 20:57:11 2003 From: Alberto.Moreno at ie.edu (Alberto Moreno) Date: Wed, 18 Jun 2003 20:57:11 +0200 Subject: [mrtg] error in =?iso-8859-1?Q?OID=B4s?= Message-ID: <2DB52B117EF1174084018377C133DDAF01235AC0@HPEXCHANGE.ie.es.> I add this lines in mrtg.conf. Target[descartes_11]: ifInDiscards&ifOutDiscards:community at router MaxBytes[descartes_11]: 786432 Title[descartes_11]: Descartes del interface 11 Then I run mrtg and error exit: 2003-06-18 20:50:46 -- WARNING: skipping because at least the query for ifInDiscards on "ip router" did not succeed 2003-06-18 20:50:47 -- ERROR: Target[descartes_1][_IN_] ' $$target[1]{$mode} ' did not eval into defined data 2003-06-18 20:50:47 -- ERROR: Target[descartes_1][_OUT_] ' $$target[1]{$mode} ' did not eval into defined data What happened' Tx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/ms-tnef -- Size: 5k (5711 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/3EF0B5E511041-winmail.dat -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nagesh.Lingegowda at GTECH.COM Wed Jun 18 21:43:27 2003 From: Nagesh.Lingegowda at GTECH.COM (Lingegowda, Nagesh (Consultant)) Date: Wed, 18 Jun 2003 15:43:27 -0400 Subject: [mrtg] interface main page Message-ID: Hello , I installed the mrtg-2.9.20 and perl 5.6.1(part of the HPUX bundle), gd (version i'm not sure). I integrated this with the HP-OV Network Node Manager. I can create a .cfg file and an index.html. If I look through the web page It displays the interface main page as a blank for all the targets but if I click on that blank box, it displays the interface detail page. Pl help me out to figure this out. Thanks Nagesh ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From pwo at Infineon.COM Wed Jun 18 23:26:17 2003 From: pwo at Infineon.COM (Peter W. Osel) Date: Wed, 18 Jun 2003 14:26:17 -0700 Subject: [mrtg] Re: Packet loss error In-Reply-To: <732180E59B22D311B4BB0004AC4CCAE6065C868A@ALLSNA> References: <732180E59B22D311B4BB0004AC4CCAE6065C868A@ALLSNA> Message-ID: <20030618212617.GZ5975@w042.SJC.Infineon.COM> > *** Alegria, Luis > *** [2003-06-18 11:26:20]: > I try to run mrtg-ping-probe, > Target[x.x.x.x_ping]: `c:\mrtg\pingprobe\mrtg-ping-probe.pl -k 50 -p loss/loss x.x.x.x` > I get the following error "Unkown Option": p, > Luis, which version of mrtg-ping-probe are you using? run this command (option capital V will display the script's version) c:\mrtg\pingprobe\mrtg-ping-probe.pl -V make sure it is version 2.4, if you have an earlier version, fetch the latest release of mrtg-ping-probe http://intra-dc.sjc.infineon.com/~pwo/projects/mrtg/ Hope this helps --pwo [Slogan of the moment] >>>>> And Now For Something Completely Different ... All generalizations are false, including this one. -- Peter W. Osel Principal - Development Systems Infineon Technologies Email: pwo at Infineon.COM North America Corp. Phone: +1 (408) 501 6321 1730 North First Street Fax: +1 (408) 501 2410 San Jose, CA 95112, USA WWW: http://pwo.de/ pgp key fingerprint = 79 2D DD 49 C0 AA D8 CF 2C F9 A5 6A BA 37 0E 28 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Wed Jun 18 23:38:33 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Wed, 18 Jun 2003 16:38:33 -0500 Subject: [mrtg] Re: error in =?iso-8859-1?Q?OID=B4s?= References: <2DB52B117EF1174084018377C133DDAF01235AC0@HPEXCHANGE.ie.es.> Message-ID: <001301c335e1$f853a190$c8b3bed0@IS14805> ----- Original Message ----- From: "Alberto Moreno" To: "MRTG List (E-mail)" Sent: Wednesday, June 18, 2003 1:57 PM Subject: [mrtg] error in OID?s > I add this lines in mrtg.conf. > > Target[descartes_11]: ifInDiscards&ifOutDiscards:community at router Missing an instance number. Target[INET_1_discards]: ifInDiscards.1&ifOutDiscards.1:public at 10.1.1.1: Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Wed Jun 18 23:41:42 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Wed, 18 Jun 2003 16:41:42 -0500 Subject: [mrtg] Re: interface main page References: Message-ID: <001c01c335e2$68a4fcf0$c8b3bed0@IS14805> From: "Lingegowda, Nagesh (Consultant)" To: Sent: Wednesday, June 18, 2003 2:43 PM Subject: [mrtg] interface main page > > I can create a .cfg file and an index.html. We need to see your .cfg file > If I look through the web page It displays the interface main page as a > blank for all the targets but if I click on that > blank box, it displays the interface detail page. May be a problem with your ImageDir, HTMLDir, or other dir setting. Also, do you have any error messages when you run MRTG? If so, post those as well. Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nagesh.Lingegowda at GTECH.COM Thu Jun 19 00:00:10 2003 From: Nagesh.Lingegowda at GTECH.COM (Lingegowda, Nagesh (Consultant)) Date: Wed, 18 Jun 2003 18:00:10 -0400 Subject: [mrtg] Re: interface main page Message-ID: Hello Eric, While running mrtg I'm not getting any error messages except for 2-3 times in the beginning. I set the Option to no banner but still I'm getting the mrtg banner at the end of each page. Thanks Nagesh =============================================== From: "Lingegowda, Nagesh (Consultant)" To: Sent: Wednesday, June 18, 2003 2:43 PM Subject: [mrtg] interface main page > > I can create a .cfg file and an index.html. We need to see your .cfg file > If I look through the web page It displays the interface main page as a > blank for all the targets but if I click on that > blank box, it displays the interface detail page. May be a problem with your ImageDir, HTMLDir, or other dir setting. Also, do you have any error messages when you run MRTG? If so, post those as well. Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -- Attached file removed by Ecartis and put at URL below -- -- Type: application/octet-stream -- Size: 13k (14274 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/lucy.cfg -- Attached file removed by Ecartis and put at URL below -- -- Type: application/octet-stream -- Size: 14k (14709 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/ricky2.cfg -- Attached file removed by Ecartis and put at URL below -- -- Type: image/jpeg -- Size: 25k (25933 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/blank-%20interface_main%20page.jpg -- Attached file removed by Ecartis and put at URL below -- -- Type: image/jpeg -- Size: 52k (53549 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/inteface_detailpage.jpg -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From reza at jetcoms.net.id Thu Jun 19 08:26:59 2003 From: reza at jetcoms.net.id (Reza Iskandar Achmad) Date: Thu, 19 Jun 2003 13:26:59 +0700 Subject: [mrtg] Re: TRANGO M5800S In-Reply-To: <00a401c33593$ded017b0$c8b3bed0@IS14805> References: <3EF03E5A.5070409@jetcoms.net.id> <00a401c33593$ded017b0$c8b3bed0@IS14805> Message-ID: <3EF157B3.5010103@jetcoms.net.id> OK, i've try to append a .0 to each OID. But it still return same error Target[Trango-100]:enterprises.5454.1.10.1.15.1.0&enterprises.5454.1.10.1.15.2.0:public at 10.12.10.100 SNMP Error: Received SNMP response with error code error status: noSuchName index 3 (OID: 1.3.6.1.2.1.1.3.0) SNMPv1_Session (remote host: "10.12.10.100" [10.12.10.100].161) community: "public" request ID: 1758129576 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458 SNMPGET Problem for enterprises.5454.1.10.1.15.1.0 enterprises.5454.1.10.1.15.2.0 sysUptime sysName on public at 10.12.10.100 at /usr/bin/mrtg line 1621 WARNING: skipping because at least the query for enterprises.5454.1.10.1.15.1.0 on 10.12.10.100 did not succeed ERROR: Target[trango-100][_IN_] ' $$target[0]{$mode} ' did not eval into defined data ERROR: Target[trango-100][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data WARNING: Skipping Update of trango-100, inlast is not defined WARNING: Skipping Update of trango-100, outlast is not defined Reza Iskandar Achmad Eric Brander wrote: > ----- Original Message ----- > From: "Reza Iskandar Achmad" > To: > Sent: Wednesday, June 18, 2003 5:26 AM > Subject: [mrtg] TRANGO M5800S > Hello, I have problem on monitoring TrangoBroad > >>When I use snmp command to communicate to the device, it work and > > does > >>not return error respons. >> >>shiro at xudu:~> snmpwalk 10.12.10.100 public > > enterprises.5454.1.10.1.15.1 > >>enterprises.5454.1.10.1.15.1.0 = 568 >> >>shiro at xudu:~> snmpwalk 10.12.10.100 public > > enterprises.5454.1.10.1.15.2 > >>enterprises.5454.1.10.1.15.2.0 = 187 > > > Looks good! > > > Target[Trango_100]:enterprises.5454.1.10.1.15.1&enterprises.5454.1.10. > 1.15.2:public at 10.12.10.100 > > Does not look good. What you put on the target line is different from > what you found with snmpwalk. Looks like you need a .0 appended to > each OID. Worth a try anyway! > > Eric Brander > Eric_Mailing_List at rednarb dot com > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From linux at cancun.com.mx Thu Jun 19 09:10:39 2003 From: linux at cancun.com.mx (linux at cancun.com.mx) Date: Thu, 19 Jun 2003 02:10:39 -0500 Subject: [mrtg] Re: TRANGO M5800S In-Reply-To: <3EF03E5A.5070409@jetcoms.net.id> Message-ID: <5.1.0.14.2.20030619015413.02ac0a50@cancun.com.mx> Trango doesn't use standard mib2 to count bytes in or out you need to put a special oid, you need to use next for EthInOctets => 1.3.6.1.4.1.5454.1.10.1.15.5.0 for EthOutOctets => 1.3.6.1.4.1.5454.1.10.1.15.6.0 your Target line must be something like this Target[Trango_100]:enterprises.5454.1.10.1.15.5.0&enterprises.5454.1.10.1.15.6.0:public at 10.12.10.100 this should work, try using snmpget instead of snmpwalk like mrtg does snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.5.0 and snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.6.0 here is an example of one of my Trango AP # snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.6.0 enterprises.5454.1.10.1.15.6.0 = Counter32: 2809586178 # snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.5.0 enterprises.5454.1.10.1.15.5.0 = Counter32: 658849128 # Juan Bou At 05:26 p.m. 18/06/03 +0700, Reza Iskandar Achmad wrote: >Hello, I have problem on monitoring TrangoBroad > >When I use snmp command to communicate to the device, it work and does >not return error respons. > >shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.1 >enterprises.5454.1.10.1.15.1.0 = 568 > >shiro at xudu:~> snmpwalk 10.12.10.100 public enterprises.5454.1.10.1.15.2 >enterprises.5454.1.10.1.15.2.0 = 187 > >after that, I create mrtg.cfg like this, > > >#-----------------------mrtg.cfg------------------------------------ >Workdir: /home/shiro/mrtg/cfg >Logdir: /home/shiro/mrtg/httpd >#Unscaled[_]: ymwd >Options[_]: bits, growright >#ShortLegend[_]: b/s >LoadMIBs: /usr/share/snmp/mibs/TRANGO-MIB.txt >###################################################################### ># System: Orang Wireless Jetcoms ># Description: Trango Systems Inc. SNMP agent for M5800S ># Contact: Jetcoms AP ># Location: Sebelah RCTI >###################################################################### >Target[Trango_100]:enterprises.5454.1.10.1.15.1&enterprises.5454.1.10.1.15.2:public at 10.12.10.100 >Title[Trango_100]: Trango 100 >MaxBytes[Trango_100]: 3000000 > >#----------------------End of mrtg.cfg---------------------------- > > >TRANGO-MIB.txt is file which contains MIB from trango CD distribution > >then I run mrtg command, It give me error message like this > >shiro at xudu:~> /usr/bin/mrtg mrtg/cfg/mrtg.cfg >SNMP Error: >Received SNMP response with error code > error status: noSuchName > index 3 (OID: 1.3.6.1.2.1.1.3.0) >SNMPv1_Session (remote host: "10.12.10.100" [10.12.10.100].161) > community: "public" > request ID: 628659165 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458 >SNMPGET Problem for enterprises.5454.1.10.1.15.1 >enterprises.5454.1.10.1.15.2 sysUptime sysName on public at 10.12.10.100 > at /usr/bin/mrtg line 1621 >WARNING: skipping because at least the query for >enterprises.5454.1.10.1.15.1 on 10.12.10.100 did not succeed >ERROR: Target[trango_100][_IN_] ' $$target[0]{$mode} ' did not eval into >defined data >ERROR: Target[trango_100][_OUT_] ' $$target[0]{$mode} ' did not eval >into defined data >WARNING: Skipping Update of trango_100, inlast is not defined >WARNING: Skipping Update of trango_100, outlast is not defined > >Can anyone give advice in order to get mrtg graphic to monitor my Trango AP? > >Sorry for my bad english, I'm Indonesian :-) > >regards, > > >Reza Iskandar Achmad > > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://www.ee.ethz.ch/~slist/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ~ - Juan Bou Riquer. Internet Cancun. jbou at cancun.com.mx Tel. 87-2601 Fax. 84-3809 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From reza at jetcoms.net.id Thu Jun 19 09:37:02 2003 From: reza at jetcoms.net.id (Reza Iskandar Achmad) Date: Thu, 19 Jun 2003 14:37:02 +0700 Subject: [mrtg] Re: TRANGO M5800S In-Reply-To: <5.1.0.14.2.20030619015413.02ac0a50@cancun.com.mx> References: <5.1.0.14.2.20030619015413.02ac0a50@cancun.com.mx> Message-ID: <3EF1681E.60500@jetcoms.net.id> I use snmpget instead if snmpwalk, it works shiro at xudu:~> snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.5.0 enterprises.5454.1.10.1.15.5.0 = Counter32: 2013463527 shiro at xudu:~> snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.6.0 enterprises.5454.1.10.1.15.6.0 = Counter32: 1404084817 Then I edit my mrtg.cfg #---------------------- Workdir: /home/shiro/mrtg/cfg Logdir: /home/shiro/mrtg/httpd Options[_]: bits, growright Target[Trango_100]:enterprises.5454.1.10.1.15.5.0&enterprises.5454.1.10.1.15.6.0:public at 10.12.10.100 Title[Trango_100]: Trango 100 MaxBytes[Trango_100]: 300000 #----------------------- Still, it return the same error If you don't mind, may I get copy of your mrtg.cfg which work with your Trango ? Reza Iskandar Achmad linux at cancun.com.mx wrote: > Trango doesn't use standard mib2 to count bytes in or out > you need to put a special oid, you need to use next > > for EthInOctets => 1.3.6.1.4.1.5454.1.10.1.15.5.0 > for EthOutOctets => 1.3.6.1.4.1.5454.1.10.1.15.6.0 > > your Target line must be something like this > > Target[Trango_100]:enterprises.5454.1.10.1.15.5.0&enterprises.5454.1.10.1.15.6.0:public at 10.12.10.100 > > this should work, try using snmpget instead of snmpwalk like mrtg does > > snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.5.0 and > snmpget 10.12.10.100 public enterprises.5454.1.10.1.15.6.0 > > here is an example of one of my Trango AP > > # snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.6.0 > enterprises.5454.1.10.1.15.6.0 = Counter32: 2809586178 > # snmpget 192.168.254.101 public enterprises.5454.1.10.1.15.5.0 > enterprises.5454.1.10.1.15.5.0 = Counter32: 658849128 > # > > Juan Bou > > At 05:26 p.m. 18/06/03 +0700, Reza Iskandar Achmad wrote: > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From EJCORNWELL at coopertire.com Thu Jun 19 16:11:13 2003 From: EJCORNWELL at coopertire.com (Cornwell, Eric J.) Date: Thu, 19 Jun 2003 10:11:13 -0400 Subject: [mrtg] Template Use Message-ID: <7C91EF3A81B6B3439C537BF5B375245901BE38CF@mail12.cooperworld.net> Hello, Has anyone hand any luck with the use of templates? I'm trying to define a threshold program and value for each interface of every router we monitor. When ever I tell cfgmaker to use it I get this error: "Can't find string terminator "ECHO" anywhere before EOF at (eval 6) line 1, line 39." Here is the file I'm trying to use: ---------------------------------------------------------------------------- ------------------------------------------------------- $target_lines .= <$html_desc_prefix$html_if_title_desc -- $sysname ECHO $target_lines .= < ECHO $target_lines .= < ECHO $target_lines .= < ECHO $target_lines .= < ECHO ---------------------------------------------------------------------------- ------------------------------------------------------- I would also like to be able to change the ThreshMax0 with a command line option but I think much more has to be done before that will work. If you have any ideas please let me know! Thanks, Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From darlists at bakerd.com Thu Jun 19 17:42:36 2003 From: darlists at bakerd.com (Alan) Date: Thu, 19 Jun 2003 10:42:36 -0500 Subject: [mrtg] Firedaemon & performance Message-ID: I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From HDeschenes at oakley.com Thu Jun 19 17:55:55 2003 From: HDeschenes at oakley.com (Heath Deschenes) Date: Thu, 19 Jun 2003 08:55:55 -0700 Subject: [mrtg] Re: Firedaemon & performance Message-ID: I know that I ran the command line version of Firedaemon and was able to install more than 1 service. I think I ran like 6-10. -----Original Message----- From: Alan [mailto:darlists at bakerd.com] Sent: Thursday, June 19, 2003 8:43 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Firedaemon & performance I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From profke at easynet.be Thu Jun 19 20:46:28 2003 From: profke at easynet.be ((verstrooid) profke) Date: Thu, 19 Jun 2003 20:46:28 +0200 Subject: [mrtg] Re: Firedaemon & performance References: Message-ID: <3EF20504.4030106@easynet.be> Alan wrote: > I am looking at Firedaemon to run mrtg as a service. I see that the > lite version says "Maximum Installable Services per Machine" is 1. Does > this mean I can only set up one service with it? > i run the freeware version of it (v.0.09c) I have 2 services installed, more are also possible -- Treat your password like your toothbrush. Don't let anybody else use it, and get a new one every six months -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nagesh.Lingegowda at GTECH.COM Thu Jun 19 21:25:01 2003 From: Nagesh.Lingegowda at GTECH.COM (Lingegowda, Nagesh (Consultant)) Date: Thu, 19 Jun 2003 15:25:01 -0400 Subject: [mrtg] mrtg Message-ID: Hello, I'm integrating the mrtg-2.9.20 with the NNM 6.2 on HPUX-11. I registered the mrtgmenu with the NNM registration. so that I can see the MRTG menu on the NNM maps. I integrated successfully( I hope so ) , so I can select the router from the map and select add button the NNM map to create an router.cfg file and the index. html file.( all these files are created under www dir ) I'm using the cron to call mrtgcron so the issues are 1. As a root I'm using the mrtg(owner), will this have any implication on the working of mrtg 2. cronentry is like this 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtgcron > dev/null 2>&1 mrtgcron entries are like this #This file runs the MRTG for each config /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/file cd /usr/local/src/mrtg-2.9.20/contrib/ovmrtg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg lucy.cfg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg ricky2.cfg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg wg2-msfc.net.gtech.com.cfg # Additional commands could go here. Under NT the next line won't return /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/buildht # End of rebuild ht file its creatting and updating the *.png file and index.html file for some time. later its not updating the *.png files until I run the mrtgcron manually . apart from that it making the router.index file to zero size. So issues are 1. can we run the mrtg as a root 2. how to make the cron to run the mrtgcron file and update the *.png files 3. Is there any latest version of MRTG, gd, libpng works fine on the HPUX. where can I get those. 4.I want monitor only routers cpu, memory usage along with some interface like Frame relay, so any typical config file as an example Any suggestion , links are apreciable I appreciate your time and patience. Thanks in advance Nagesh ~ ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Steven.Williams at computershare.com.au Fri Jun 20 00:46:22 2003 From: Steven.Williams at computershare.com.au (Steven Williams) Date: Fri, 20 Jun 2003 08:46:22 +1000 Subject: [mrtg] Re: Firedaemon & performance Message-ID: I'm running six services, with RRDTool and running hundreds of interfaces of a W2K server with no problems. The only performance problems are due to perl and nothing else!!! Steve Steve Williams Communications Support Engineer Computershare Technology Services Melbourne Australia steven.williams at computershare.com.au +61 3 9235 5651 www.computershare.com -----Original Message----- From: Alan [mailto:darlists at bakerd.com] Sent: Friday, June 20, 2003 1:43 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Firedaemon & performance I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi --- This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us by return email immediately. Please also disregard the contents of the email, delete it and destroy any copies immediately. Computershare Limited and its subsidiaries do not accept liability for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Steve.Dowling at tafensw.edu.au Fri Jun 20 03:14:08 2003 From: Steve.Dowling at tafensw.edu.au (Dowling, Steve) Date: Fri, 20 Jun 2003 11:14:08 +1000 Subject: [mrtg] Re: Firedaemon & performance Message-ID: <1DBEF093251ED749B7E5583137F479F602F79D97@umfexch1.ultimo.tafensw.edu.au> Yup. It seems that the latest (free) release of FireDaemon is limited to 1 service. If you want more services you'll have to pay for the full version. I'd advise it, it's a wonderful tool; let's you spread the machine load over many services and config files. -----Original Message----- From: Alan [mailto:darlists at bakerd.com] Sent: Friday, 20 June 2003 1:43 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Firedaemon & performance I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bhorner at QANTM.com.au Fri Jun 20 05:27:53 2003 From: bhorner at QANTM.com.au (Horner, Ben) Date: Fri, 20 Jun 2003 13:27:53 +1000 Subject: [mrtg] Re: Firedaemon & performance Message-ID: <961B901DBA925047BC9A7C5AA94160EBBF8B98@exchange.qantm.internal> Yes I agree. We bought the full version and are running lots of services! Means you can stop a particular service if you need to without affecting the rest. It's a great tool! Ben -----Original Message----- From: Dowling, Steve [mailto:Steve.Dowling at tafensw.edu.au] Sent: Friday, 20 June 2003 11:14 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Firedaemon & performance Yup. It seems that the latest (free) release of FireDaemon is limited to 1 service. If you want more services you'll have to pay for the full version. I'd advise it, it's a wonderful tool; let's you spread the machine load over many services and config files. -----Original Message----- From: Alan [mailto:darlists at bakerd.com] Sent: Friday, 20 June 2003 1:43 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Firedaemon & performance I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From zeeshan at worldcall.net.pk Fri Jun 20 07:11:34 2003 From: zeeshan at worldcall.net.pk (Zeeshan Ahmed) Date: Fri, 20 Jun 2003 10:11:34 +0500 Subject: [mrtg] Monitoring BGP Tunnel Message-ID: <02b901c336ea$7001f710$24c051cb@TheMango> Dear All I would like to know if is there any way to monitor the traffic being consumed by the BGP tunnel on cisco router. Regards Zeeshan Ahmed -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Prem.Devraj at DRKW.com Fri Jun 20 07:13:13 2003 From: Prem.Devraj at DRKW.com (Devraj, Prem) Date: Fri, 20 Jun 2003 14:13:13 +0900 Subject: [mrtg] Re: Monitoring BGP Tunnel Message-ID: <2E9E5F9E32DCA14997F487BCAC7CFEE803740835@ibtkycbc0103.tokyo.dresdnerkb.com> HI Zeeshan, You can run the Router config file and get the Tunnel info. It is just like a Physical interface. Let me know if you need the CFG..... regds prem -----Original Message----- From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk] Sent: 2003 6 20 14:12 To: MRTG Mailling Subject: [mrtg] Monitoring BGP Tunnel Dear All I would like to know if is there any way to monitor the traffic being consumed by the BGP tunnel on cisco router. Regards Zeeshan Ahmed -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi *************************************************************************** Dresdner Kleinwort Wasserstein is the marketing name used globally to represent the investment banking activities of Dresdner Bank Group. In Japan, Dresdner Kleinwort Wasserstein is represented by Dresdner Kleinwort Wasserstein (Japan) Limited, Tokyo Branch or Dresdner Bank AG, Tokyo Branch.. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. *************************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Alberto.Moreno at ie.edu Fri Jun 20 08:18:28 2003 From: Alberto.Moreno at ie.edu (Alberto Moreno) Date: Fri, 20 Jun 2003 08:18:28 +0200 Subject: [mrtg] cisco 6513 Message-ID: <2DB52B117EF1174084018377C133DDAF01248BC1@HPEXCHANGE.ie.es.> I want to monitor or to measure the CPU and the memory of the Cisco 6513. Which is the ODI?s o the MIB?s?? Tx -- Attached file removed by Ecartis and put at URL below -- -- Type: application/ms-tnef -- Size: 3k (3675 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/3EF2A70B2052-winmail.dat -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From zeeshan at worldcall.net.pk Fri Jun 20 09:45:52 2003 From: zeeshan at worldcall.net.pk (Zeeshan Ahmed) Date: Fri, 20 Jun 2003 12:45:52 +0500 Subject: [mrtg] Re: Monitoring BGP Tunnel References: <2E9E5F9E32DCA14997F487BCAC7CFEE803740835@ibtkycbc0103.tokyo.dresdnerkb.com> Message-ID: <02d901c336ff$fe1a6950$24c051cb@TheMango> Dear, Sure, please send the cfg. What else can be monitor about tunnel other then trafficstatistics. it is a BGP tunnel, so anything that can be monitored about BGP. Regards Zeeshan Ahmed ----- Original Message ----- From: "Devraj, Prem" To: "'Zeeshan Ahmed'" ; "MRTG Mailling" Sent: Friday, June 20, 2003 10:13 AM Subject: [mrtg] Re: Monitoring BGP Tunnel > HI Zeeshan, > > You can run the Router config file and get the Tunnel info. It is just like > a Physical interface. Let me know if you need the CFG..... > > regds > prem > > -----Original Message----- > From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk] > Sent: 2003 6 20 14:12 > To: MRTG Mailling > Subject: [mrtg] Monitoring BGP Tunnel > > > Dear All > I would like to know if is there any way to monitor the traffic > being consumed by the BGP tunnel on cisco router. > > Regards > Zeeshan Ahmed > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > > *************************************************************************** > Dresdner Kleinwort Wasserstein is the marketing name used > globally to represent the investment banking activities of > Dresdner Bank Group. In Japan, Dresdner Kleinwort Wasserstein > is represented by Dresdner Kleinwort Wasserstein (Japan) Limited, > Tokyo Branch or Dresdner Bank AG, Tokyo Branch.. > If you have received this e-mail in error or wish to read our e-mail > disclaimer statement and monitoring policy, please refer to > http://www.drkw.com/disc/email/ or contact the sender. > *************************************************************************** > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Prem.Devraj at DRKW.com Fri Jun 20 10:40:19 2003 From: Prem.Devraj at DRKW.com (Devraj, Prem) Date: Fri, 20 Jun 2003 17:40:19 +0900 Subject: [mrtg] Re: Monitoring BGP Tunnel Message-ID: <2E9E5F9E32DCA14997F487BCAC7CFEE803740843@ibtkycbc0103.tokyo.dresdnerkb.com> Hi Zeeshan, Wherever you find IP address replace with the IP of the router. Public should be changed to the SNMP RO info. Target[IP address]: 6:Public at IP address MaxBytes[IP address]: 1250000 Options[IP address]: growright, bits Title[IP address]: Hostname: Tunnel0 PageTop[IP address]:

Traffic Analysis for Tunnel0

System: $sysname in $html_syslocation
Maintainer: $html_syscontact
Description:$html_if_description
ifType: $html_if_type_desc ($if_type_num)
ifName: $html_if_snmp_name
Port Name: $if_port_name
Max Speed: $if_speed_str
Ip: $if_ip ($if_dns_name)
System:Hostname
Maintainer:network team
Interface:Tunnel0 (6)
IP:IP address Tunnel to London
Max Speed: 1250.0 kBytes/s (Encapsulation Interface)
-----Original Message----- From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk] Sent: 2003 6 20 16:46 To: Devraj, Prem; MRTG Mailling Subject: Re: [mrtg] Re: Monitoring BGP Tunnel Dear, Sure, please send the cfg. What else can be monitor about tunnel other then trafficstatistics. it is a BGP tunnel, so anything that can be monitored about BGP. Regards Zeeshan Ahmed ----- Original Message ----- From: "Devraj, Prem" To: "'Zeeshan Ahmed'" ; "MRTG Mailling" Sent: Friday, June 20, 2003 10:13 AM Subject: [mrtg] Re: Monitoring BGP Tunnel > HI Zeeshan, > > You can run the Router config file and get the Tunnel info. It is just like > a Physical interface. Let me know if you need the CFG..... > > regds > prem > > -----Original Message----- > From: Zeeshan Ahmed [mailto:zeeshan at worldcall.net.pk] > Sent: 2003 6 20 14:12 > To: MRTG Mailling > Subject: [mrtg] Monitoring BGP Tunnel > > > Dear All > I would like to know if is there any way to monitor the traffic > being consumed by the BGP tunnel on cisco router. > > Regards > Zeeshan Ahmed > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > > *************************************************************************** > Dresdner Kleinwort Wasserstein is the marketing name used > globally to represent the investment banking activities of > Dresdner Bank Group. In Japan, Dresdner Kleinwort Wasserstein > is represented by Dresdner Kleinwort Wasserstein (Japan) Limited, > Tokyo Branch or Dresdner Bank AG, Tokyo Branch.. > If you have received this e-mail in error or wish to read our e-mail > disclaimer statement and monitoring policy, please refer to > http://www.drkw.com/disc/email/ or contact the sender. > *************************************************************************** > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > > *************************************************************************** Dresdner Kleinwort Wasserstein is the marketing name used globally to represent the investment banking activities of Dresdner Bank Group. In Japan, Dresdner Kleinwort Wasserstein is represented by Dresdner Kleinwort Wasserstein (Japan) Limited, Tokyo Branch or Dresdner Bank AG, Tokyo Branch. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. *************************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From grendel at gmo.jp Fri Jun 20 10:57:50 2003 From: grendel at gmo.jp (James Overbeck) Date: Fri, 20 Jun 2003 17:57:50 +0900 Subject: [mrtg] GIF Liberation Day? Message-ID: <3EF2CC8E.7030406@gmo.jp> June 20th 2003 is allegedly the day that the LZW patent expires. I wonder, does this mean that .gif support will be restored to libgd and MRTG? http://slashdot.org/articles/03/06/20/0216233.shtml?tid=152&tid=155&tid=185&tid=99 -james -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From nicl at rohlig.co.za Fri Jun 20 11:04:16 2003 From: nicl at rohlig.co.za (Nic le Roux) Date: Fri, 20 Jun 2003 11:04:16 +0200 Subject: [mrtg] Per minute option. Message-ID: Hi there. A question on the way MRTG calculates averages, and what happens when per minute option is added. Below are two examples of how I'm graphing Discards and Errors. I added the perminute option to graph the errors that come through. Before adding the per minute option it wouldn't graph anything, now it does and "appears" correct, but I'm concerned as to why and what exactly the perminute option does (I'm worried that I'm interpreting the graph incorrectly.) The X scale did not change, and appears exactly the same. I know its supposed to multiply the values by 60 but what else does it do ? It seems that by multiplying the values by 60 something else has to change ass well. Also, after doing so, I added the per minute option to the discards graph, (which was graphing values, but very small), and after doing so some very big values started to come through, I did a manual snmpget to see the change over approximately 6 hours, and I received a value of 22000, which appears very big, but accepted as correct. So it seems in order (the graph anyway), but i need some way of verifying that all is well. Bit confused and late nights with studies isn't helping. Hope you guys have some info for me. Thanks and regards Nic le Roux Target[router]: ifInErrors.1&ifOutErrors.1:community at router: SetEnv[router]: MRTG_INT_IP="$ipAddress" MRTG_INT_DESCR="Serial0/0" Options[router]: growright,nopercent,perminute MaxBytes[router]: 1000000 Directory[router]: errors YLegend[router]: Error Packets ShortLegend[router]: pkts Legend1[router]: Packets with errors Inbound Legend2[router]: Packets with Errors OutBound LegendI[router]:  Errors In: LegendO[router]:  Errors Out: Title[router]: Serial0/0 [Branch: ] [CN: ] [Router: ] PageTop[router]:

Serial0/0: Parktown to Johannesburg Airport PCA (Packet Errors In and Outbound)

System: Router in Parktown
Maintainer: Telkom CNC:(Tel) 0800 11 61 61
Description:Serial0/0 [Branch: ] [CN: ] [Router: ]
ifType: propPointToPointSerial (22)
ifName: Se0/0
Max Speed: 128.0 kbits/s
Ip: ipAddress
Target[router]: ifInDiscards.1&ifOutDiscards.1:community at router: SetEnv[router]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0" Options[router]: growright,nopercent,perminute Directory[router]: discards MaxBytes[router]: 1000000 Title[router]: Serial0/0 Branch: JHB Airport CN: 64-00193-00 Router: roh-dr0-pkt YLegend[router]: Packets ShortLegend[router]: pkts Legend1[router]: Incoming Packets Discarded Legend2[router]: OutGoing Packets Discarded LegendI[router]:  Inbound Discards: LegendO[router]:  Outbound Discards: PageTop[router]:

Serial0/0: Parktown to JHB Airport PCA (Discarded Packets)

System: roh-dr0-pkt in Parktown
Maintainer: Telkom CNC:(Tel) 0800 11 61 61
Description:Serial0/0 [Branch: JHB Airport] [CN: 64-00193-00] [Router: roh-dr0-pkt]
ifType: propPointToPointSerial (22)
ifName: Se0/0
Max Speed: 128.0 kbits/s
Ip:
-- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Jun 20 12:04:56 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 20 Jun 2003 11:04:56 +0100 Subject: [mrtg] Bug in 2.9.29??? Message-ID: Hi all, I have just upgraded from 2.9.22 to 2.9.29, and have started experiencing a new problem, which causes MRTG to fail and stop running. This has now fallen over two nights running (I upgraded on monday) I am running on w2kPro workstation (sp3) My config 'includes' a series of other files, with RunAsDemon set to 5 mins. It would APPEAR that when a target fails, MRTG tries to skip other targets at that address. But does not do so properly. The screen display (inserted at the end of this email) shows one Target failing (172.16.40.3). That particular device was down last night. I include this as it MIGHT be relevant. It then moved on through the config (9 other switches, with about 280 ports) and then tried to read a number of ports from 172.16.32.154 (3Com switch3000). It has an SNMPGet fail on port 107 (being written to wdh3000_15_407), and warns that it has no data for that port. (should have worked, no idea why it failed) It then warns that it will skip other targets with that IP address. In the config, the next target would be port 108 (written to wdh3000_15_408 ), but it should therefore have been skipped. Having done the SNMP errors and Warnings, the display then proceeds to list the Errors encountered in that round of the MRTG poll. It lists the down device, and then the failed port (as expected) But it then errors on the next port (108) with '1056050365:0:0' being the same time as already in the file. Then the whole MRTG process stops, and the Batch file ends. And nothing else gets monitored overnight. 1056050365 = 19 June 2003 19:19:25 GMT The file being written to (wdh3000_15_408.rrd) is date stamped 19 June 2003 20:24 BST (GMT + 1) That port has not had anything attached since rebooting the switch, but I simply monitor the whole switch rather than forgetting to add ports to MRTG when reconnecting servers etc. So zero values could either be a reading, or lack of reading. So it looks like MRTG has failed on a target, decided to skip the rest of that Host, but has already opened the file for the next target, realised that it needs to skip it, and still tried to write duff data. It is attempting to update the file at 20:24, but using the time value for 20:19. Not surprisingly, this is the time value already in the file, and the thing dies. Upgraded MRTG version on Monday. Failures on Wednesday night (Thursday morning, 1am) and Thursday night 8:24pm. Possibly, overnight backup traffic has caused the snmp traffic to get lost, hence one target fails. Any suggestions on debugging? I am happy to try things, but being a winDoze user have limited access to the code. I have already thought of some work arounds, but can anyone suggest a cure? Or can anyone suggest where my interpretation has gone wrong? The screen showing the error reads thus: SNMP Error: no response received SNMPv1_Session (remote host: "172.16.40.3" [172.16.40.3].161) community: "public" request ID: 811520969 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) SNMPGET Problem for ifHCInOctets.1 ifHCInOctets.2 on public at 172.16.40.3 WARNING: skipping because at least the query for ifHCInOctets.1 on 172.16.40.3 did not succeed WARNING: no data for ifHCInOctets&ifHCInOctets:public at 172.16.40.3. Skipping further queries for Host 172.16.40.3 in this round. SNMP Error: no response received SNMPv1_Session (remote host: "172.16.32.154" [172.16.32.154].161) community: "public" request ID: 1417555437 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) SNMPGET Problem for ifInOctets.107 ifOutOctets.107 on public at 172.16.32.154 WARNING: skipping because at least the query for ifInOctets.107 on 172.16.32.154 did not succeed WARNING: no data for ifInOctets&ifOutOctets:public at 172.16.32.154. Skipping further queries for Host 172.16.32.154 in this round. ERROR: Target[wall3500_1][_IN_] ' $$target[2]{$mode} ' did not eval into defined data ERROR: Target[wall3500_1][_OUT_] ' $$target[2]{$mode} ' did not eval into defined data ERROR: Target[wdh3000_15_407][_IN_] ' $$target[285]{$mode} ' did not eval into defined data ERROR: Target[wdh3000_15_407][_OUT_] ' $$target[285]{$mode} ' did not eval into defined data ERROR: Cannot update /mrtgdata\wdh3000_15_408.rrd with '1056050365:0:0' illegal attempt to update using time 1056050365 when last update time is 1056050365 (minimum one second step) Press any key to continue . . . Regards Peter Glanville Network Analyst, ICtS, Canon (UK) Ltd "This email may contain confidential information which is intended for the required recipient only. If you are not the named recipient you should not take any action in relation to this email, other than to notify us that you have received it in error. If this email contains attachments you should ensure they are checked for viruses before opening them." -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jozsef.makai at siemens.com Fri Jun 20 12:16:58 2003 From: jozsef.makai at siemens.com (Makai Jozsef) Date: Fri, 20 Jun 2003 12:16:58 +0200 Subject: [mrtg] Re: Firedaemon & performance Message-ID: <37D0F88E70D96C428C19EEB865701A38019CC97B@buda902a.siemens.hu> I installed the free version of the FireDaemon on an NT4 server (mrtg + rrdtool) about a year ago. I configured 11 services for about 150 routers altogether. The only limiting thing is the RAM size, about 8-10 MB is needed per service. Jozsef > I am looking at Firedaemon to run mrtg as a service. I see that the > lite version says "Maximum Installable Services per Machine" > is 1. Does > this mean I can only set up one service with it? > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From DoughtonRob at bfusa.com Fri Jun 20 12:34:38 2003 From: DoughtonRob at bfusa.com (Doughton, Rob) Date: Fri, 20 Jun 2003 05:34:38 -0500 Subject: [mrtg] Re: Firedaemon & performance Message-ID: You might also check out Mr. Daemon. http://www.geocities.com/mrtg_daemon/ Rob -----Original Message----- From: Alan [mailto:darlists at bakerd.com] Sent: Thursday, June 19, 2003 11:43 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Firedaemon & performance I am looking at Firedaemon to run mrtg as a service. I see that the lite version says "Maximum Installable Services per Machine" is 1. Does this mean I can only set up one service with it? For those that may be using this, should I just setup one service using one big config file, or if I can create more than one service with it, should I break things up a little running multiple services and configs? What is a good performance area for devices in one config file, 50 interfaces, 100, 200 ...... ? I am also looking at using RRDtool. Would this still need to use Firedaemon to run a service? Thanks -------------------------------------------- ATTENTION: This message and all attachments are PRIVATE, and may contain information that is CONFIDENTIAL and PRIVILEGED. If you received this message in error, please notify the sender by reply e-mail and delete the message immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From radamson at routers.com Fri Jun 20 15:15:37 2003 From: radamson at routers.com (Rich Adamson) Date: Fri, 20 Jun 2003 07:15:37 -0600 Subject: [mrtg] Re: Monitoring BGP Tunnel References: <02b901c336ea$7001f710$24c051cb@TheMango> Message-ID: Take a look at the BGP4-MIB at ftp.cisco.com in the snmp directory. The mib gives you access to the bgp tables, configuration data, etc, but it does not provide any traffic "volume" data. Use the mib2 definitions for the serial interface for that. ------------------------ > I would like to know if is there any way to monitor the traffic > being consumed by the BGP tunnel on cisco router. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Fri Jun 20 14:42:39 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Fri, 20 Jun 2003 07:42:39 -0500 Subject: [mrtg] Re: Per minute option. References: Message-ID: <009801c33729$70207cf0$c8b3bed0@IS14805> ----- Original Message ----- From: "Nic le Roux" > To: > Sent: Friday, June 20, 2003 4:04 AM Subject: [mrtg] Per minute option. > A question on the way MRTG calculates averages, I'm not sure what part of the averaging you don't understand, so instead of providing a long dissertation on it, I'll wait till you give a more detailed question > and what happens when per minute option is added. By default, the output will be "per second". Meaning that (if the interval is 5 minutes) the 1st reading will be subtracted by the 2nd reading that is gathered 5 minutes later, and dividing the total by 300. So, if reading 1 is 100, and reading 2 is 1000, then 900/300 = 3 and therefore MRTG will graph 3 whatevers per second. If in the default mode, and monitoring a router or switch port, then it would be 3 octets (bytes) per second average over 5 minutes. Per Minute simply changes the division. In our example, (1000-100)/5 = 180 octets (bytes) per minute average over 5 minutes. > I added the perminute option to graph the errors that come through. Before > adding the per minute option it wouldn't graph anything, now it does and > "appears" correct, but I'm concerned as to why and what exactly the > perminute option does (I'm worried that I'm interpreting the graph > incorrectly.) MRTG will not graph anything less than 1. If in one 5 minute span, you only have 10 errors that's merely 0.03 errors per second. MRTG will log that as a 0. If you use "perminute" then MRTG will graph it as a 2. 10/300 = 0.03 10/5 = 2 >The X scale did not change, and appears exactly the same. I > know its supposed to multiply the values by 60 but what else does it do ? > It seems that by multiplying the values by 60 something else has to change > ass well. The x scale, on the daily graph anyway, is at 5-minute intervals and this will not change regardless of per minute, second or hour, or anyone's "ass". ;-) > Also, after doing so, I added the per minute option to the discards graph, > (which was graphing values, but very small), and after doing so some very > big values started to come through, I did a manual snmpget to see the > change over approximately 6 hours, and I received a value of 22000, which > appears very big, but accepted as correct. So it seems in order (the graph > anyway), but i need some way of verifying that all is well. I think I've answered this question already, but we'll use your example: 22000 discards over 6 hours is an average of 61.1 per minute and 1.0185186 per second. So since you were using the default of "persecond" then your chart would have had nothing but very low numbers. By the way, discards are a bad thing, you should get that fixed! As you can see, the data is always the same, but how its reported is what is changed by the perminute and perhour options. The only break of this rule is when you are dealing with very small numbers that MRTG ignores. HTH, Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Michael.Earls at cchmc.org Fri Jun 20 16:14:58 2003 From: Michael.Earls at cchmc.org (Michael Earls) Date: Fri, 20 Jun 2003 10:14:58 -0400 Subject: [mrtg] mrtg cfgmaker Message-ID: All: Anyone know what this command was used for and what is the new supported command on cfgmaker? cfgmaker --descint Thanks, michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Michael.Earls at cchmc.org Fri Jun 20 16:26:47 2003 From: Michael.Earls at cchmc.org (Michael Earls) Date: Fri, 20 Jun 2003 10:26:47 -0400 Subject: [mrtg] Re: mrtg cfgmaker Message-ID: Some type of question Anyone know what "-r" command was ised for and what is the new supported command on indexmaker? indexmaker -r >>> "Michael Earls" 06/20/03 10:14AM >>> All: Anyone know what this command was used for and what is the new supported command on cfgmaker? cfgmaker --descint Thanks, michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Leonard_Miller at udlp.com Fri Jun 20 17:22:10 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Fri, 20 Jun 2003 10:22:10 -0500 Subject: [mrtg] MaxSpeed Question Message-ID: Hi, I have a Cisco 5513 with Gigabit interfaces to different hosts. I noticed that the MaxSpeed is reported as 125.0 MBytes even though both the switch and server, Sun machine, both have gigabit interfaces. Where does the 125.0 MBytes/s come from? I am using Options[_]: growright, bits in the config file to show bits in the graph. #3/6 -- $SWTICHNAME$ System: $SWTICHNAME$ Maintainer: Network Group Description: ifType: Gigabit Ethernet (117) ifName: 3/6 Port Name: $SunMachine$ Max Speed: 125.0 MBytes/s I looked for answers but couldn't find any so I must be missing something. Thanks Leonard -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Eric_Mailing_List at rednarb.com Fri Jun 20 17:31:33 2003 From: Eric_Mailing_List at rednarb.com (Eric Brander) Date: Fri, 20 Jun 2003 10:31:33 -0500 Subject: [mrtg] Re: MaxSpeed Question References: Message-ID: <00de01c33741$08310ca0$c8b3bed0@IS14805> ----- Original Message ----- From: "Leonard Miller" To: Sent: Friday, June 20, 2003 10:22 AM Subject: [mrtg] MaxSpeed Question > Hi, > I have a Cisco 5513 with Gigabit interfaces to different hosts. > I noticed that the MaxSpeed is reported as 125.0 MBytes even > though both the switch and server, Sun machine, both have > gigabit interfaces. Where does the 125.0 MBytes/s come from? > I am using Options[_]: growright, bits in the config file to show > bits in the graph. 125 MegaBytes = 1000 MegaBits Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Leonard_Miller at udlp.com Fri Jun 20 17:35:43 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Fri, 20 Jun 2003 10:35:43 -0500 Subject: [mrtg] Re: MaxSpeed Question Message-ID: I need to go back to school. I always do my bits and bytes the opposite way. Thanks Leonard >>> "Eric Brander" 06/20/03 11:31AM >>> ----- Original Message ----- From: "Leonard Miller" To: Sent: Friday, June 20, 2003 10:22 AM Subject: [mrtg] MaxSpeed Question > Hi, > I have a Cisco 5513 with Gigabit interfaces to different hosts. > I noticed that the MaxSpeed is reported as 125.0 MBytes even > though both the switch and server, Sun machine, both have > gigabit interfaces. Where does the 125.0 MBytes/s come from? > I am using Options[_]: growright, bits in the config file to show > bits in the graph. 125 MegaBytes = 1000 MegaBits Eric Brander Eric_Mailing_List at rednarb dot com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Michael.Earls at cchmc.org Fri Jun 20 20:13:42 2003 From: Michael.Earls at cchmc.org (Michael Earls) Date: Fri, 20 Jun 2003 14:13:42 -0400 Subject: [mrtg] Re: mrtg cfgmaker Message-ID: The command line that i am trying to use mrtg:/etc/mrtg/opm# /usr/bin/indexmaker --title=opm -r '.' /etc/mrtg/opm/opm.index.cfg /var/www/mrtg/opm/index.html Option r is ambiguous (rrdviewer, rrdviewer-file) Usage: indexmaker [options] mrtg.cfg [other.cfg ...] >>> "Michael Earls" 06/20/03 10:26AM >>> Some type of question Anyone know what "-r" command was ised for and what is the new supported command on indexmaker? indexmaker -r >>> "Michael Earls" 06/20/03 10:14AM >>> All: Anyone know what this command was used for and what is the new supported command on cfgmaker? cfgmaker --descint Thanks, michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dave at bsdadmins.net Sun Jun 22 10:26:51 2003 From: dave at bsdadmins.net (David Loszewski) Date: Sun, 22 Jun 2003 04:26:51 -0400 Subject: [mrtg] problems with mrtg statistics Message-ID: <005401c33898$084e4ec0$0200a8c0@hades> I seem to be having a problem, when I run mrtg it tells me that I have about 4 GB of traffic on both of my servers which i know for sure is incorrect, check it out at http://mrtg.bsdadmins.net/ The only thing that I can think of is that my computers are on a VLAN at the colocation facility so perhaps the snmp is grabbing the info from the broadcast ip instead of my ip's? Anyone have any ideas? Dave -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From russ.moir at gm.com Mon Jun 23 17:46:05 2003 From: russ.moir at gm.com (russ.moir at gm.com) Date: Mon, 23 Jun 2003 11:46:05 -0400 Subject: [mrtg] Re: value without graph In-Reply-To: Message-ID: What if you don't want a graph? How does one display only the integer of the 'current' value of a polled oid? Ie, if I want to create a table of temperatures from a bunch of NetBotz units, but don't want graphs .....just the numeric value? >> Thx in advance. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From clarkr at ee.eng.ohio-state.edu Mon Jun 23 18:38:06 2003 From: clarkr at ee.eng.ohio-state.edu (Ryan T. Clark) Date: Mon, 23 Jun 2003 12:38:06 -0400 Subject: [mrtg] PNG files not correct Message-ID: <20030623163806.7A3E75B808F@ee.eng.ohio-state.edu> Hi All, I'm having a wicked problem with both MRTG and RRD producing PNG files. I have been suspecting it's a library issue, but I've reinstalled zlib, libpng, and gd several times (then recompiled MRTG and RRD, and reinstalled). Here's where I'm at now: MRTG produces PNG files, but only 88 bytes worth and I can't figure out what to interpret from them (I've attached a sample). I also can get PHP to pass through a PNG file using RRDTool directly, but if the page is reloaded, PHP complains it's not a valid PNG file. That can be seen at http://marge/rrd_gauge4_72hr.php Would anyone out there have a clue what I can do? Thanks Much, Ryan Clark -- -- Attached file removed by Ecartis and put at URL below -- -- Type: image/x-png -- Size: 88 bytes -- URL : http://www.ee.ethz.ch/~slist/p/cubert.csl.ee.eng.ohio-state.ed -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From zeeshan at worldcall.net.pk Mon Jun 23 20:43:21 2003 From: zeeshan at worldcall.net.pk (Zeeshan Ahmed) Date: Mon, 23 Jun 2003 23:43:21 +0500 Subject: [mrtg] Monitoring Access-lists Message-ID: <002301c339b7$527c44a0$24c051cb@zeeshan> Dear all I was trying to monitor the access-list being used in Cisco Routers. I got a directory in the contrib. directory on MRTG, but i didn't get any thing i couldn't understand. Can anyone help me out how i can make graphs for Access-lists hits. regards Zeeshan Ahmed -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From keshav at icicionesource.com Mon Jun 23 22:35:43 2003 From: keshav at icicionesource.com (Keshav J) Date: Tue, 24 Jun 2003 02:05:43 +0530 Subject: [mrtg] MRTG util for Nokia IP530 Message-ID: Hi, I am trying to configure MRTG to monitor my Internet Bandwidth utilization, the Links from ISP is terminated on my Nokia FW. I have enabled rules etc on the firewall for MRTG access and SNMP is enabled on Nokia Box when I poll the Device I am getting the Interface speed as '0'.I tried manually editing the speed but then I am not seeing any graphs.. Please Help.... Thanks KEshav ***************************************************************************************************** The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, you must not read, use or disseminate the information contained in this email. ***************************************************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marcelo at edraaeronautica.com.br Mon Jun 23 23:29:47 2003 From: marcelo at edraaeronautica.com.br (Marcelo Vivan Borro) Date: Mon, 23 Jun 2003 18:29:47 -0300 Subject: [mrtg] Rateup ERROR: -----> log file was corrupt In-Reply-To: References: Message-ID: <3EF7714B.8000103@edraaeronautica.com.br> I'm running mrtg-2.9.17 on a Conectiva 8.0 I'm using it to monitor the traffic on eth0 and eth1 on this server. Everything was working fine, but last week I was rearranging the /var/www/ directory and decided to change the mrtg output files directory. So I was editing the mrtg.conf file, but I forgot to stop the cron job, and cron started a mrtg job while I was editing the conf file. Well, the problem is that now I always receive this message, even with the original mrtg.conf file: Rateup ERROR: /usr/bin/rateup found eth0's log file was corrupt or not in sorted order: time: 1073786240.Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth0 Rateup ERROR: /usr/bin/rateup found eth0's log file was corrupt or not in sorted order: time: 1056401563.Rateup WARNING: /usr/bin/rateup The backup log file for eth0 was invalid as well WARNING: rateup died from Signal 0 with Exit Value 1 when doing router 'eth0' Signal was 0, Returncode was 1 Rateup ERROR: /usr/bin/rateup found eth1's log file was corrupt or not in sorted order: time: 1073786240.Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth1 Rateup ERROR: /usr/bin/rateup found eth1's log file was corrupt or not in sorted order: time: 1056401564.Rateup WARNING: /usr/bin/rateup The backup log file for eth01 was invalid as well WARNING: rateup died from Signal 0 with Exit Value 1 when doing router 'eth1' Signal was 0, Returncode was 1 I've looked for answers on this list archive and on google. Only found descriptions of similar problens, but no solutions. Tryed to reinstall mrtg, looked for lock files (what are the mrtg lockfiles?), checked for permissions on files and directories, etc. Does anyone knows what to do to solve this? TIA Marcelo -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From salvini at macs.hw.ac.uk Tue Jun 24 10:35:52 2003 From: salvini at macs.hw.ac.uk (Steve Salvini) Date: Tue, 24 Jun 2003 09:35:52 +0100 (GMT Daylight Time) Subject: [mrtg] Re: cammer.pl for bay/nortel kit? Message-ID: Hi - I mailed out a few days ago asking if anyone had done a port of cammer.pl for Nortel/Bay kit. Looks like the answer to that is "no" so I've started hacking myself. I have a rudimentary version running but I am a bit stuck trying to figure out part of the code. There is a comment which reads "catalist 2900 does not use com at vlan hack" in the section to "Gather Mac 2 Port (etc)". I have three questions: 1. What is the "com at vlan hack" and is it Cisco-specific? 2. Despite what the comment says, the code still passes a community string of community_string at vlan - er, help! ;-) 3. I suspect that Nortel/Bay do not support this "feature" - if anyone knows more about this please share it! Thanks, Steve. ------------------------------------------------------------------------- Steven Salvini - Computer Officer email salvini at macs.hw.ac.uk School of Math & Computer Sciences phone (+44) 131 451 3418 Heriot-Watt University fax (+44) 131 451 3732 EDINBURGH EH14 4AS Scotland URL http://www.macs.hw.ac.uk/~salvini/ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From t.mayer at fh-amberg-weiden.de Tue Jun 24 11:56:35 2003 From: t.mayer at fh-amberg-weiden.de (Thomas Mayer) Date: Tue, 24 Jun 2003 11:56:35 +0200 Subject: [mrtg] cisco-problem Message-ID: <3EF82053.5070106@fh-amberg-weiden.de> Hi @ all! Following Problem: When i use the cfgmaker command i get no response from the cisco router... On the cisco router is following message: %SNMP-3-Socket: can't open UDP Socket What can i do in the cisco-configuration to resolve this problem? It's no cfgmaker-syntax-, no community- and no firewall-problem... Any ideas? Regards -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From michael at heiming.de Tue Jun 24 12:07:12 2003 From: michael at heiming.de (Michael Heiming) Date: Tue, 24 Jun 2003 12:07:12 +0200 Subject: [mrtg] RunAsDaemon --logging problem Message-ID: <3EF822D0.3040505@heiming.de> Hi everyone, while switching to RunAsDaemon using: RunAsDaemon: Yes Interval:5 Forks:2 #### Systems #### Include:/path/to/system1.cfg Include:/path/to/system2.cfg [..] Everything works great, load is reduced on the mrtg server, the only problem, there's no logging anymore, despite starting with "--logging /path/to/logfile", the only thing is "Daemonizing MRTG". The logs I got while running from cron, where helpful to gather wich targets make some problems. If it matters, I'm running mrtg 2.9.29 with "LogFormat: rrdtool" Thx for any hints to get more verbose logging back. Michael Heiming -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From radamson at routers.com Tue Jun 24 14:40:18 2003 From: radamson at routers.com (Rich Adamson) Date: Tue, 24 Jun 2003 06:40:18 -0600 Subject: [mrtg] Re: cammer.pl for bay/nortel kit? References: Message-ID: > I have three questions: > > 1. What is the "com at vlan hack" and is it Cisco-specific? Yes it is Cisco-specific. In your example, "com" is the snmp community string programmed into the switch. The "vlan hack" is suppose to represent the vlan number (or name) for which you want to pull certain mib variables. > 2. Despite what the comment says, the code still passes a community > string of community_string at vlan - er, help! ;-) > > 3. I suspect that Nortel/Bay do not support this "feature" - if anyone > knows more about this please share it! Cisco's hack allows one to get selected vlan-related information on a per-vlan basis, such as "which device mac addresses are associated with vlan 5" as one example. Cisco used this approach only on selected switches. The approach is very much non-standard, however if one studies the exact data retreival problem they attempted to address, there are no defined MIB standards that could have been used. The hack only applies to certain mib variables and is not needed for most mrtg uses, etc. Most other vendors made no attempt to address the snmp issue at all. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dvong3 at yahoo.com Tue Jun 24 14:01:58 2003 From: dvong3 at yahoo.com (von dan) Date: Tue, 24 Jun 2003 05:01:58 -0700 (PDT) Subject: [mrtg] Daily Graph Log Message-ID: <20030624120158.44054.qmail@web40001.mail.yahoo.com> Is there a file where daily (Max, Aver, Current) log are kept? Since my graph update every 5 minutes, I like to view by time. dvong --------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From reiner.buehl at vodafone.com Tue Jun 24 14:36:35 2003 From: reiner.buehl at vodafone.com (=?iso-8859-1?Q?=22B=FChl=2C_Reiner=2C_VIS=22?=) Date: Tue, 24 Jun 2003 14:36:35 +0200 Subject: [mrtg] Graph CPU usage on a 4-processor system with MRTG/RRDtool Message-ID: <138BFC3956BBD6118EFD00508B61BB9C87A665@DUS2WE01> Hi all, I would like to monitor CPU usage on a 4-processor system. My SNMP agent provides a CPU idle percentage for each CPU that I would like to use. I have MRTG and RRDtool up and running fine. Now I am struggling with the configuration of this one graph. To get CPU usage for a single CPU, I need to subtract the SNMP value from 100 since I get idle percentage. Can anybody help me if this is the correct form for the configuration: Target[localhost_cpu1234]: 100 - & 100 - & 100 - & 100 - :public at localhost:161 Or do I need to do the math somewhere else? For graph generation I currently use 14all.cgi. How could I specify that the above collected metrics should be presented as one graph with four lines of different color? Best regards, Reiner Buehl -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From marcelo at edraaeronautica.com.br Tue Jun 24 15:30:25 2003 From: marcelo at edraaeronautica.com.br (Marcelo Vivan Borro) Date: Tue, 24 Jun 2003 10:30:25 -0300 Subject: [mrtg] Re: Rateup ERROR: -----> log file was corrupt In-Reply-To: <200306232204.h5NM4YK27878@tornado.Stanford.EDU> References: <200306232204.h5NM4YK27878@tornado.Stanford.EDU> Message-ID: <3EF85271.50905@edraaeronautica.com.br> matt at petach.org escreveu: >Yep. stop cron to prevent anything else from trying >to write to the file; then edit the log file, and >search for the line starting with 1073786240 >and make sure it has exactly 5 number fields on it; >chances are you'll find that the line has the wrong >number of fields on it. Once you correct that line >and save the file, you can restart the cron entry >for it, and you should find things work smoothly >again. > > Matt, I did it and it didn't work. I'm still receiving the same message. After following your instructions (and having the same problem), I've tryed the following: I've deleted all log files and run mrtg manually. I've received the common error messages for the first and second run, but for the third and on, the error's are the same: Rateup ERROR: /usr/bin/rateup found eth0's log file was corrupt or not in sorted order: time: 1073786240.Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth0 Rateup ERROR: /usr/bin/rateup found eth0's log file was corrupt or not in sorted order: time: 1056458622.Rateup WARNING: /usr/bin/rateup The backup log file for eth0 was invalid as well WARNING: rateup died from Signal 0 with Exit Value 1 when doing router 'eth0' Signal was 0, Returncode was 1 Rateup ERROR: /usr/bin/rateup found eth1's log file was corrupt or not in sorted order: time: 1073786240.Rateup WARNING: /usr/bin/rateup could not read the primary log file for eth1 Rateup ERROR: /usr/bin/rateup found eth1's log file was corrupt or not in sorted order: time: 1056458622.Rateup WARNING: /usr/bin/rateup The backup log file for eth1 was invalid as well WARNING: rateup died from Signal 0 with Exit Value 1 when doing router 'eth1' Please not from my previus message that the value 1073786240 is still present, in spite of the deletion of the log files. Here is the first 3 lines of both log files (they are similar, with the same values): 1056458632 /var/www/default/administrativo/mrtg/eth0stats /proc/net/dev /var/www/default/administrativo/mrtg/eth0stats /proc/net/dev 1056458632 0 0 0 0 1056458100 0 0 0 0 ........................... The script (eth0stat) I'm using is: #!/bin/awk -f /eth0:/ { $0=substr($0,index($0,":")+1); print $1;print $9} And my mrtg.cfg is: WorkDir: /var/www/default/administrativo/mrtg Target[eth0]: '/var/www/default/administrativo/mrtg/eth0stats /proc/net/dev' Title[eth0]:"Tr?fego na interface eth0" PageTop[eth0]:

Tr?fego de dados na placa de rede eth0

MaxBytes[eth0]:7168 Options[eth0]: growright,bits,noinfo #Unscaled[eth0]:ymwd As you can notice, there's no entry for 1073786240 in the log files, and something is very weird to make the first line of the log files like these. I've previously tried to delete the first line on both log files and both log backup files, but with no change in the situation. Does anybody have any idea? Marcelo -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Tue Jun 24 15:37:58 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 24 Jun 2003 15:37:58 +0200 Subject: [mrtg] Re: Rateup ERROR: -----> log file was corrupt In-Reply-To: <3EF85271.50905@edraaeronautica.com.br>; from marcelo@edraaeronautica.com.br on Tue, Jun 24, 2003 at 10:30:25AM -0300 References: <200306232204.h5NM4YK27878@tornado.Stanford.EDU> <3EF85271.50905@edraaeronautica.com.br> Message-ID: <20030624153758.A11529@slot.hollandcasino.net> On Tue, Jun 24, 2003 at 10:30:25AM -0300, Marcelo Vivan Borro wrote: > Here is the first 3 lines of both log files (they are similar, with the same values): > > 1056458632 /var/www/default/administrativo/mrtg/eth0stats /proc/net/dev /var/www/default/administrativo/mrtg/eth0stats /proc/net/dev [snip] > Target[eth0]: '/var/www/default/administrativo/mrtg/eth0stats /proc/net/dev' Use backticks (usually located on the left hand side of the keyboard above the TAB key) and not ordinary ticks (which are usually located near the enter/return key). HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Nagesh.Lingegowda at GTECH.COM Tue Jun 24 16:10:09 2003 From: Nagesh.Lingegowda at GTECH.COM (Lingegowda, Nagesh (Consultant)) Date: Tue, 24 Jun 2003 10:10:09 -0400 Subject: [mrtg] problem with the cron exec Message-ID: Hello, My mrtgcron crated by the mrtg with the *cfg file is as follows. #This file runs the MRTG for each config /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/file cd /usr/local/src/mrtg-2.9.20/contrib/ovmrtg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg lucy.cfg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg ricky2.cfg /opt/OV/bin/Perl/bin/perl /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtg wg2-msfc.cfg # Additional commands could go here. Under NT the next line won't return ./buildht # End of rebuild ht file If i run mrtgcron from the command line its updating the html and index file in their respective directory like lucy-day.png, lucy.index file but if I call this from the cron its making the index file ( eg .lucy.index file to zero size) and also not updating the other files. But if I look at the cron log , its executing the command. cron entry is 0,5,10,15,20,25,30,35,40,45,50 * * * * /usr/local/src/mrtg-2.9.20/contrib/ovmrtg/mrtgcron > /var/opt/OV/log/mrtg/log 2>&1 I can see fro every five mins, cron is calling the command. but its making the index file to zero size without affecting the other files ls - l listing as follows -rw-rw-rw- 1 root sys 6803 Jun 24 09:20 lucy.5.err.html -rw-rw-rw- 1 root sys 48055 Jun 24 09:20 lucy.5.err.log -rw-rw-rw- 1 root sys 48055 Jun 24 09:06 lucy.5.err.old -rw-rw-rw- 1 root sys 7096 Jun 24 09:20 lucy.5.html -rw-rw-rw- 1 root sys 48055 Jun 24 09:20 lucy.5.log -rw-rw-rw- 1 root sys 48055 Jun 24 09:06 lucy.5.old -rw-rw-rw- 1 root sys 1562 Jun 24 09:20 lucy.6-day.png -rw-rw-rw- 1 root sys 1471 Jun 24 09:05 lucy.6-month.png -rw-rw-rw- 1 root sys 1585 Jun 24 09:05 lucy.6-week.png -rw-rw-rw- 1 root sys 1819 Jun 24 09:05 lucy.6-year.png -rw-rw-rw- 1 root sys 1929 Jun 24 09:20 lucy.6.err-day.png -rw-rw-rw- 1 root sys 1548 Jun 24 09:05 lucy.6.err-month.png -rw-rw-rw- 1 root sys 1659 Jun 24 09:05 lucy.6.err-week.png -rw-rw-rw- 1 root sys 1789 Jun 24 09:05 lucy.6.err-year.png -rw-rw-rw- 1 root sys 6803 Jun 24 09:20 lucy.6.err.html -rw-rw-rw- 1 root sys 48055 Jun 24 09:20 lucy.6.err.log -rw-rw-rw- 1 root sys 48055 Jun 24 09:06 lucy.6.err.old -rw-rw-rw- 1 root sys 7096 Jun 24 09:20 lucy.6.html -rw-rw-rw- 1 root sys 48055 Jun 24 09:20 lucy.6.log -rw-rw-rw- 1 root sys 48055 Jun 24 09:06 lucy.6.old -rw-rw-rw- 1 root sys 0 Jun 24 09:21 lucy.html I appreciate your time. any help in this regard will be appreciated thanks Nagesh ----------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Tue Jun 24 16:53:45 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 24 Jun 2003 16:53:45 +0200 Subject: [mrtg] Re: problem with the cron exec In-Reply-To: ; from Nagesh.Lingegowda@GTECH.COM on Tue, Jun 24, 2003 at 10:10:09AM -0400 References: Message-ID: <20030624165345.A12036@slot.hollandcasino.net> On Tue, Jun 24, 2003 at 10:10:09AM -0400, Lingegowda, Nagesh (Consultant) wrote: > If i run mrtgcron from the command line its updating the html and index file > in their respective directory > like lucy-day.png, lucy.index file but if I call this from the cron its > making the index file ( eg .lucy.index file to zero size) > and also not updating the other files. But if I look at the cron log , its > executing the command. If it works from the command line and if it doesn't work from cron, it almost always is due to different PATH settings. Check those and try again. HTH Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jason.jessico at cpinternet.com Tue Jun 24 18:41:32 2003 From: jason.jessico at cpinternet.com (Jason Jessico) Date: Tue, 24 Jun 2003 11:41:32 -0500 Subject: [mrtg] Merging graphs Message-ID: I am looking for the proper method to merge two graphs. We are running MRTG-2 and switched routers over and now have all graph history in separate files than the recent graph info. We would like to merge them. I already tried 'cat old.log >> new.log' and appending the new.log with the old.log did not seem to work. Does anyone know the proper procedure for merging graph data? Thanks, Jason -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From vboulytchev at coinfotech.com Tue Jun 24 20:16:02 2003 From: vboulytchev at coinfotech.com (Boulytchev, Vasiliy) Date: Tue, 24 Jun 2003 12:16:02 -0600 Subject: [mrtg] FW: could not lock RRD Message-ID: <1958DE295D9656499ECAAD3642822DE00447F6@willow.office.coinfotech.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Ladies and Gents, I get this error once everyday, stopping the rrdtool from logging. I have researched this, but most threads lead to NFS, I am not running NFS on the box at question. Please explain the nature of this error. =20 THANKS!!!!!!!!!!!!!!! =20 =20 2003-06-24 10:30:13 -- ERROR: Cannot update /usr/local/mrtg-2/images/rrddata/cos-switch3.coinfotech.com_fa0_8.rrd with '1056472213:615661245:1156100924' could not lock RRD =20 =20 Vasiliy Boulytchev Colorado Information Technologies Inc. (719) 473-2800 x15 =20 =20 =20 =20 -- Attached file removed by Ecartis and put at URL below -- -- Type: image/bmp -- Desc: cit.bmp -- Size: 37k (38078 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/03-cit.bmp -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Tue Jun 24 22:24:13 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Tue, 24 Jun 2003 22:24:13 +0200 Subject: [mrtg] Re: Merging graphs In-Reply-To: ; from jason.jessico@cpinternet.com on Tue, Jun 24, 2003 at 11:41:32AM -0500 References: Message-ID: <20030624222413.B14430@slot.hollandcasino.net> On Tue, Jun 24, 2003 at 11:41:32AM -0500, Jason Jessico wrote: > I am looking for the proper method to merge two graphs. We are running > MRTG-2 and switched routers over and now have all graph history in separate > files than the recent graph info. We would like to merge them. Short version of the answer: 1) update both log files (run MRTG on both) at the same time 2) split each file in two parts (at the appropriate time stamp) 3) merge the top half of the new file with the bottom half of the old file For the long answer, see the archives of this list. HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dean777 at bellsouth.net Wed Jun 25 04:09:42 2003 From: dean777 at bellsouth.net (Dean) Date: Tue, 24 Jun 2003 22:09:42 -0400 Subject: [mrtg] mrtg on windows polling linux. Message-ID: Hello, I am currently using a windows server to run MRTG. I have been successful at pulling stats from other windows servers but I'm receiving an snmp walk error when I try to pull stats on one of my linux servers. I think I configured the snmpd.conf file correctly however I'm still having difficulty pulling the stats. Can someone point me in the correct direction. Also, if I want to pull processor and memory information do I need to use a tool to walk the linux server. Dean Carrera http://www.Sozohosting.com 678-640-0254 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Wed Jun 25 10:14:09 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Wed, 25 Jun 2003 09:14:09 +0100 Subject: [mrtg] Re: Daily Graph Log Message-ID: >>>Is there a file where daily (Max, Aver, Current) log are kept? Since my graph update every 5 minutes, I like to view by time. Look for the .log file (and .old) with the same name as inside the square brackets on the the Target line. The first column is timestamp (seconds since 1/1/1970 GMT) The first line has the latest actual readings (Bytes In, Bytes Out) The second line has the same timestamp, the average rate achieved (for both In and Out) over the last time period (probably 5 mins) and the max value achieved (In and Out) in an appropriate period (day). The remaining lines are previous times, averge rates and maximums. As you go back you will see you have about a day of 5 min data, a week of 30 min data etc. This file is backed up to .old and a new .log written each loop of the program. Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Heiko.Herold at previnet.it Wed Jun 25 14:26:44 2003 From: Heiko.Herold at previnet.it (Herold Heiko) Date: Wed, 25 Jun 2003 14:26:44 +0200 Subject: [mrtg] Obenbsd 3.3 ? Message-ID: Anyone has been able to use mrtg on openbsd 3.3 ? I've some trouble which could be a mrtg problem or a gd problem. I've installed gd and dependencies from openbsd ports: freetype-1.3.1 free and portable TrueType font rendering engine freetype-doc-1.3.1 documentation for FreeType png-1.2.5p1 library for manipulating PNG images jpeg-6b IJG's JPEG compression utilities gd-1.8.3 graphics library for fast PNG creation p5-GD-1.41p1 module to interface with the GD graphics library GD from perl does seem to work OK, at least this does produce a correct black 32x32 png with a blue line: use GD; $im = new GD::Image(32,32); $c0=$im->colorAllocate(0,0,0); $im->fill(0,0,$c0); $c1=$im->colorAllocate(30,150,240); $im->line(0,0,31,31,$c1); open O,">out.png" or die; print O $im->png; close O; However, with mrtg: Untar/gz mrtg 2.9.29 . #./configure --with-gd-inc=/usr/local/include --with-png-inc=/usr/local/include --with-gd-lib=/usr/local/lib --with-png-lib=/usr/local/lib #make gcc -I/usr/local/include -I/usr/local/include -DGFORM_GD=gdImagePng -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-declarations -Wnested-externs -Winline -W -DHAVE_CONFIG_H -c ./src/rateup.c -o bin/rateup.o LD_RUN_PATH=/usr/local/lib:/usr/local/lib gcc bin/rateup.o -o bin/rateup -L/usr/local/lib -L/usr/local/lib -lm -Wl,-Bstatic -lgd -lpng -lz -Wl,-Bdynamic gd_png.o: Undefined symbol `_gdGetBuf' referenced from text segment gd_png.o: Undefined symbol `_gdPutBuf' referenced from text segment gd_png.o: Undefined symbol `_gdNewFileCtx' referenced from text segment gd_png.o: Undefined symbol `_gdGetBuf' referenced from text segment gd_png.o: Undefined symbol `_gdNewFileCtx' referenced from text segment gd_png.o: Undefined symbol `_gdNewDynamicCtx' referenced from text segment gd_png.o: Undefined symbol `_gdDPExtractData' referenced from text segment collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/local/src/mrtg-2.9.29 (line 29 of Makefile). #strings /usr/local/lib/libgd.so.18.3 |grep _gdGetBuf _gdGetBuf However, if I move the -lgd before -lm linking does work, but then rateup still won't work: #LD_RUN_PATH=/usr/local/lib:/usr/local/lib gcc bin/rateup.o -o bin/rateup -L/usr/local/lib -L/usr/local/lib -lgd -lm -Wl,-Bstatic -lpng -lz -Wl,-Bdynamic #make /usr/bin/perl -0777 -p -i~ -e 's@^#!\s*/\S*perl@#! /usr/bin/perl@' ./bin/cfgmaker ./bin/indexmaker ./bin/mrtg /usr/bin/perl -0777 -p -i~ -e 's at GRAPHFMT="...";@GRAPHFMT="png";@' ./bin/mrtg ./bin/indexmaker #bin/rateup /usr/libexec/ld.so: Undefined symbol "_jpeg_resync_to_restart" in rateup:/usr/local/lib/libgd.so.18.3 This seems a gd problem, on the other hand as showed before I can use gd from perl without problems. Any idea ? Heiko -- -- PREVINET S.p.A. www.previnet.it -- Heiko Herold Heiko.Herold at previnet.it -- +39-041-5907073 ph -- +39-041-5907472 fax -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From aortega at univ-wea.com Wed Jun 25 16:07:48 2003 From: aortega at univ-wea.com (Manny Ortega) Date: Wed, 25 Jun 2003 09:07:48 -0500 Subject: [mrtg] Re: mrtg on windows polling linux. Message-ID: <69D72311B46FD4119EF100D0B77CF7DA0855DBC6@lightning.univ-wea.com> SNMP is SNMP no matter what the OS is.... Until you can walk *any* OID on a box you should worry about MRTG. In other words, make sure that SNMP is working on the box before even thinking of MRTG. How do you do that? Using something other than MRTG to poll or walk an OID on that box. Here is what I use: I use windows, so I downloaded a command utility that includes snmpget.exe and snmpwalk.exe (there are other utilities, but those are the ones that I use the most), I got that tool from here: http://www.wtcs.org/snmp4tpc/redirect.htm The actual tool (win32tools.exe) can be downloaded from here: http://24.86.129.160:8181/webfiles/SNMP++/Win32Tools.exe Another tool for windows that I (and lots of people) like is Getif, which is a very handy GUI tool; get it from here: http://www.wtcs.org/snmp4tpc/getif.htm Until one of those tools can query or walk an SNMP OID on *any* box with SNMP on *any* operating system, then you can use MRTG. Hope that helps. -MannyO -----Original Message----- From: Dean [mailto:dean777 at bellsouth.net] Sent: Tuesday, June 24, 2003 9:10 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] mrtg on windows polling linux. Hello, I am currently using a windows server to run MRTG. I have been successful at pulling stats from other windows servers but I'm receiving an snmp walk error when I try to pull stats on one of my linux servers. I think I configured the snmpd.conf file correctly however I'm still having difficulty pulling the stats. Can someone point me in the correct direction. Also, if I want to pull processor and memory information do I need to use a tool to walk the linux server. Dean Carrera http://www.Sozohosting.com 678-640-0254 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Wed Jun 25 18:24:40 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Wed, 25 Jun 2003 18:24:40 +0200 Subject: [mrtg] Merging/Combining log files Message-ID: <20030625182440.A19339@slot.hollandcasino.net> Questions on merging log files after a change has occured. How to combine the two logfiles so that you end up with a logfile containing useful information both from the present and from the past. It isn't that hard: 1) Get the two files in sync (same last update time, the 3rd line and further should have the same time stamps) 2) Get the interesting part of the new log file (the updated stuf) 3) Get the interesting part of the old log file (historic data) 4) Combine them In ascii-art: new old +---+ +---+ now | A | | D | | | | | ... ... change | B | | E | ... ... | | | | way back | C | | F | +---+ +---+ B and E are the row with the time stamp where your change occured. A and D are after the change C and F are before the change A,B and F contain information C,D and E is not interesting You want to combine the new file with historic data from the old file: new + old -> combined +---+ +---+ +---+ now | A | | D | | A | | | | | | | ... ... ... change | B | | E | | B | ... ... ... | | | | | | way back | C | | F | | F | +---+ +---+ +---+ HTH Alex -- Much of what looks like rudeness in hacker circles is not intended to give offence. Rather, it's the product of the direct, cut-through-the-bullshit communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy. http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From grice at binc.net Wed Jun 25 18:28:02 2003 From: grice at binc.net (Michael Grice) Date: Wed, 25 Jun 2003 11:28:02 -0500 Subject: [mrtg] MRTG corrupting RRD files? Minimum one second step error Message-ID: <20030625162801.GH20687@ctg-mail.binc.net> I've run into the following error four times in the last two weeks or so: ERROR: Cannot update /local/data/mrtg/device/distb.binc.net/log/8_16.rrd with '1056551775:1264697581:1078609798' illegal attempt to update using time 1056551775 when last update time is 2099102368 (minimum one second step) Obviously, I'm using mrtg with rrdtool (mrtg 2.9.25 and rrdtool 1.0.38 on Solaris 8). If I do a rrdtool fetch and look at the data, there are only a few entries, and these are naturally far in the future (2036). The solution is to delete the offending rrd file, restore it from the last backup, and start again. However, this is kind of a pain, as mrtg stops collecting data for the interfaces or ports after this one (although I think this has only occurred with switches). Has anyone seen this sort of issue before? I couldn't find anything in the archives. I will probably upgrade both mrtg and rrd, but if anyone has any other thoughts I'd appreciate them. BTW, as far as I can tell, the system time shouldn't be an issue; I use ntp, and that seems to be behaving well. Were the system time an issue, I would expect more than one rrd at a time to have problems. Thanks, Michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From max.clark at media.net Wed Jun 25 23:03:58 2003 From: max.clark at media.net (Max Clark) Date: Wed, 25 Jun 2003 14:03:58 -0700 Subject: [mrtg] Disabling Truncation of Data Message-ID: Hi all, MRTG truncates the data stored in the log files after one day. Is there a way for mrtg to not truncate the data stored in the log file? Thanks in advance, Max -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From egarnel3470 at yahoo.com Wed Jun 25 23:59:47 2003 From: egarnel3470 at yahoo.com (Eric Garnel) Date: Wed, 25 Jun 2003 14:59:47 -0700 (PDT) Subject: [mrtg] improved dhcp script Message-ID: <20030625215947.39511.qmail@web13802.mail.yahoo.com> I improved the dhcp script I wrote a while back for MRTG. It is now only a single perl script and runs faster. Still requires fping. #!/usr/bin/perl # #Author: Eric Garnel #Date: June 25, 2003 # located on http://www.garnel.com/mrtg/ #Rev: 1.5 # # dhcp script for MRTG # shows how many hosts are up and which are down # shows how many hosts are up and which are down # requires fping ########################################################## # snipped GPL verbage ############################################################### # # instructions # change the ip addresses below to suite your dhcp scope # adjust path for fping location # call from MRTG Config # $alive = `/usr/sbin/fping -ga 127.14.29.30 127.14.29.250 | wc -l`; $alive =~ s/ +//; chop($alive); $alive--; print("$alive\n"); # # now show who is not up # $dead = `/usr/sbin/fping -gu 127.14.29.30 127.14.29.250 | wc -l`; $dead =~ s/ +//; chop($dead); $dead--; print("$dead\n"); print "0\n"; print "0\n"; ===== Eric Garnel CCNP, MCSE eric at garnel.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From billp at wjp.net Thu Jun 26 03:03:30 2003 From: billp at wjp.net (billp) Date: Wed, 25 Jun 2003 18:03:30 -0700 Subject: [mrtg] Juniper OID for temperature cpu memory Message-ID: <20030625180330.H14015@nigel.wjp.net> Not finding this in the archives or several search engines, I figured this out (hopefully correctly.) Quick how-to measure juniper temp, cpu and memory usage. Slot inventory: snmpwalk .1.3.6.1.4.1.2636.3.1.13.1.5 then take the last 4 octets of where you want to measure and add them on to: Temp: 1.3.6.1.4.1.2636.3.1.13.1.7.x.x.x.x CPU usage: 1.3.6.1.4.1.2636.3.1.13.1.8.x.x.x.x Memory (buffer) usage: 1.3.6.1.4.1.2636.3.1.13.1.11.x.x.x.x Example for a M20: # snmpwalk router snmpcommunity .1.3.6.1.4.1.2636.3.1.13.1.5 1.3.6.1.4.1.2636.3.1.13.1.5.1.1.0.0 = "backplane" 1.3.6.1.4.1.2636.3.1.13.1.5.2.1.0.0 = "Power Supply A" 1.3.6.1.4.1.2636.3.1.13.1.5.2.2.0.0 = "Power Supply B" 1.3.6.1.4.1.2636.3.1.13.1.5.4.1.0.0 = "Front Upper Fan" 1.3.6.1.4.1.2636.3.1.13.1.5.4.2.0.0 = "Front Middle Fan" 1.3.6.1.4.1.2636.3.1.13.1.5.4.3.0.0 = "Front Bottom Fan" 1.3.6.1.4.1.2636.3.1.13.1.5.4.4.0.0 = "Rear Fan" 1.3.6.1.4.1.2636.3.1.13.1.5.6.1.0.0 = "SSB 0 Internet Processor II" 1.3.6.1.4.1.2636.3.1.13.1.5.6.2.0.0 = "SSB 1" 1.3.6.1.4.1.2636.3.1.13.1.5.7.1.0.0 = "FPC @ 0/*/*" 1.3.6.1.4.1.2636.3.1.13.1.5.7.2.0.0 = "FPC @ 1/*/*" 1.3.6.1.4.1.2636.3.1.13.1.5.7.3.0.0 = "FPC @ 2/*/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.1.1.0 = "PIC: 1x G/E, 1000 BASE-SX @ 0/0/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.1.2.0 = "PIC: 1x G/E, 1000 BASE-SX @ 0/1/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.1.3.0 = "PIC: 4x T3 @ 0/2/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.1.4.0 = "PIC: 1x OC-12 SONET, SMIR @ 0/3/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.2.1.0 = "PIC: 1x G/E, 1000 BASE-SX @ 1/0/*" 1.3.6.1.4.1.2636.3.1.13.1.5.8.3.1.0 = "PIC: 1x G/E, 1000 BASE-SX @ 2/0/*" 1.3.6.1.4.1.2636.3.1.13.1.5.9.1.0.0 = "Routing Engine 0" 1.3.6.1.4.1.2636.3.1.13.1.5.9.1.1.0 = "Routing Engine 0 PCMCIA Card" 1.3.6.1.4.1.2636.3.1.13.1.5.9.2.0.0 = "Routing Engine 1" 1.3.6.1.4.1.2636.3.1.13.1.5.9.2.1.0 = "Routing Engine 1 PCMCIA Card" 1.3.6.1.4.1.2636.3.1.13.1.5.10.1.0.0 = "Front Panel Display" Example OIDs for various M20 attributes: TEMP 1.3.6.1.4.1.2636.3.1.13.1.7.1.1.0.0 = Gauge32: 24 Backplane temp 1.3.6.1.4.1.2636.3.1.13.1.7.2.1.0.0 = Gauge32: 27 PS A temp 1.3.6.1.4.1.2636.3.1.13.1.7.2.2.0.0 = Gauge32: 25 PS B temp 1.3.6.1.4.1.2636.3.1.13.1.7.6.1.0.0 = Gauge32: 31 SSB 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.6.2.0.0 = Gauge32: 0 SSB 1 (if active?) temp 1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0.0 = Gauge32: 30 FPC 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.7.2.0.0 = Gauge32: 30 FPC 1 temp 1.3.6.1.4.1.2636.3.1.13.1.7.7.3.0.0 = Gauge32: 27 FPC 2 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.1.1.0 = Gauge32: 30 FPC 0 PIC 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.1.2.0 = Gauge32: 30 FPC 0 PIC 1 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.1.3.0 = Gauge32: 30 FPC 0 PIC 2 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.1.4.0 = Gauge32: 30 FPC 0 PIC 3 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.2.1.0 = Gauge32: 30 FPC 1 PIC 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.2.2.0 = Gauge32: 30 FPC 1 PIC 1 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.2.3.0 = Gauge32: 30 FPC 1 PIC 2 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.2.4.0 = Gauge32: 30 FPC 1 PIC 3 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.3.1.0 = Gauge32: 27 FPC 2 PIC 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.3.2.0 = Gauge32: 27 FPC 2 PIC 1 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.3.3.0 = Gauge32: 27 FPC 2 PIC 2 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.3.4.0 = Gauge32: 27 FPC 2 PIC 3 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.4.1.0 = Gauge32: 0 FPC 3 PIC 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.4.2.0 = Gauge32: 0 FPC 3 PIC 1 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.4.3.0 = Gauge32: 0 FPC 3 PIC 2 temp 1.3.6.1.4.1.2636.3.1.13.1.7.8.4.4.0 = Gauge32: 0 FPC 3 PIC 3 temp 1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0.0 = Gauge32: 26 RE 0 temp 1.3.6.1.4.1.2636.3.1.13.1.7.9.2.0.0 = Gauge32: 25 RE 1 temp CPU 1.3.6.1.4.1.2636.3.1.13.1.8.6.1.0.0 = Gauge32: 21 SSB 0 cpu utilization 1.3.6.1.4.1.2636.3.1.13.1.8.6.2.0.0 = Gauge32: 0 SSB 1 cpu utilization 1.3.6.1.4.1.2636.3.1.13.1.8.9.1.0.0 = Gauge32: 35 RE 0 cpu utilization 1.3.6.1.4.1.2636.3.1.13.1.8.9.2.0.0 = Gauge32: 13 RE 1 cpu utilization MEMORY UTILIZATION 1.3.6.1.4.1.2636.3.1.13.1.11.6.1.0.0 = Gauge32: 56 SSB 0 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.6.2.0.0 = Gauge32: 0 SSB 1 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.7.1.0.0 = Gauge32: 15 FPC 0 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.7.2.0.0 = Gauge32: 15 FPC 1 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.7.3.0.0 = Gauge32: 16 FPC 2 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.7.4.0.0 = Gauge32: 16 FPC 3 buffer utilization 1.3.6.1.4.1.2636.3.1.13.1.11.9.1.0.0 = Gauge32: 35 RE 0 memory utilization 1.3.6.1.4.1.2636.3.1.13.1.11.9.2.0.0 = Gauge32: 13 RE 1 memory utilization -bill -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bintut at softhome.net Thu Jun 26 03:41:54 2003 From: bintut at softhome.net (bintut at softhome.net) Date: Wed, 25 Jun 2003 19:41:54 -0600 Subject: [mrtg] MRTG + RRDTool + 14all Problem Message-ID: Hello all, This is my sixth day that I really can't figure out how to isolate my problem with my "MRTG + RRDTool + 14all" setup on Mandrake Linux 9.1 and I decided to post my problem here and hoping for any help. Below are the packages that are installed in my system: - apache-1.3.27-8mdk.i586.rpm - perl-5.8.0-19mdk.i586.rpm - perl-CGI-2.810-3mdk.i586.rpm - perl-GD-2.06-1mdk.i586.rpm - mrtg-2.9.27-1mdk.i586.rpm - mrtg-contribs-2.9.27-1mdk.i586.rpm - rrdtool-1.0.40-2mdk.i586.rpm - librrdtool0-1.0.40-2mdk.i586.rpm - 14all-1.1.cgi My MRTG_lib.pm is located at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory and my RRDs.so is located at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs directory. But I also made a symbolic of my RRDs.so to the /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory. I moved my 14all-1.1.cgi to my /var/www/html/admin/mrtg/ directory and renamed it as mrtg.cgi. Afterwards, I made it an executable file and made a symbolic link as index.cgi. From /var/www/html/admin/mrtg/ directory, I executed the following commands from the CLI: [root at free mrtg]# snmpwalk -c public -v 1 bayantel [root at free mrtg]# cfgmaker --global 'WorkDir: /var/www/html/admin/mrtg' \ --global 'Options[_]: bits,growright' --global 'LogFormat: rrdtool' \ --global 'PathAdd: /usr/bin' \ --global 'LibAdd: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs' \ --global 'Interval: 5' --global 'ImageDir: /var/www/html/admin/mrtg/images' \ --global 'LogDir: /var/www/html/admin/mrtg/logs' \ --output /var/www/html/admin/mrtg/mrtg.cfg public at bayantel [root at free mrtg]# mrtg mrtg.cfg I also added a one line cron job to run MRTG in every 5 minutes of my /etc/crontab with the following: 0-59/5 * * * * root /usr/bin/mrtg /var/www/html/admin/mrtg/mrtg.cfg You can find my mrtg.cfg, 14all-1.1p25.cgi, and /var/log/httpd/error_log at the following sites respectively: http://free.bir.gov.ph/logs/mrtg.cfg.txt http://free.bir.gov.ph/logs/14all-1.1p25.txt http://free.bir.gov.ph/logs/httpd-error_log.txt You can try to visit my problematic MRTG + RRDTool + 14all-1.1p25.cgi setup at http://free.bir.gov.ph/admin/mrtg/ Any idea? Thanks in advance. --- MARVIN T. PASCUAL E-mail: bintut at softhome.net Tel. No. +63 2 4262172 Mobile No. +63 919 3141254 Yahoo! Messenger ID: bintut -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From bintut at softhome.net Thu Jun 26 04:35:38 2003 From: bintut at softhome.net (bintut at softhome.net) Date: Wed, 25 Jun 2003 20:35:38 -0600 Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem In-Reply-To: References: Message-ID: Cancela, Daniel (Redes y Telecomunicaciones) writes: > Probaste agregar esta linea al archivo mrtg.cfg: > > 14all*RRDToolLog: c:\RRDToolLog.txt > > para que loguee los errores del 14allcgi I'm sorry, Sir. I don't understand your message. The only thing that I understand is your "c:\" and that would mean it's in the drive C of MS Windows environment if I'm not mistaken. I don't use MS Windows here. Thanks for the reply anyway. --- MARVIN T. PASCUAL E-mail: bintut at softhome.net Tel. No. +63 2 4262172 Mobile No. +63 919 3141254 Yahoo! Messenger ID: bintut GNU/Linux User No. 247127 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From grendel at gmo.jp Thu Jun 26 05:00:51 2003 From: grendel at gmo.jp (James Overbeck) Date: Thu, 26 Jun 2003 12:00:51 +0900 Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem References: Message-ID: <3EFA61E3.8040500@gmo.jp> http://babelfish.altavista.com/ > You proved to add this line to the file mrtg.cfg: > > 14all*RRDToolLog: c:\RRDToolLog.txt > > so that loguee the errors of 14allcgi hope that helps, james bintut at softhome.net wrote: > Cancela, Daniel (Redes y Telecomunicaciones) writes: > > >>Probaste agregar esta linea al archivo mrtg.cfg: >> >>14all*RRDToolLog: c:\RRDToolLog.txt >> >>para que loguee los errores del 14allcgi > > > I'm sorry, Sir. I don't understand your message. The only thing that I > understand is your "c:\" and that would mean it's in the drive C of MS > Windows environment if I'm not mistaken. I don't use MS Windows here. > > Thanks for the reply anyway. > > --- > MARVIN T. PASCUAL > E-mail: bintut at softhome.net > Tel. No. +63 2 4262172 > Mobile No. +63 919 3141254 > Yahoo! Messenger ID: bintut > GNU/Linux User No. 247127 > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jason.aarons at ireadyworld.com Thu Jun 26 05:07:05 2003 From: jason.aarons at ireadyworld.com (Jason Aarons) Date: Wed, 25 Jun 2003 23:07:05 -0400 Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem Message-ID: <7C30A08D8A30A2418B7EA1A5C0B5DD090232AC58@ANACLTMSG03.na.ireadyworld.com> aHR0cDovL3RyYW5zbGF0ZS53aW5kb3dzLXRvLWx1bml4LWFuZC1iYWNrLmNvbQ0KIA0KMTRhbGwq UlJEVG9vbExvZyA+UlJEVG9vbExvZy50eHQNCiANClJlZGlyZWN0IHlvdXIgb3V0cHV0IHRvIGEg bG9nIGZpbGU7DQogDQpJIG9uY2UgdGF1Z2h0IGdlcm1hbiBiaW5hcnksIGl0J3Mgbm90aGluZyBs aWtlIHNwYW5pc2ggYmluYXJ5Ow0KSmFzb24NCg0KCS0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t IA0KCUZyb206IEphbWVzIE92ZXJiZWNrIFttYWlsdG86Z3JlbmRlbEBnbW8uanBdIA0KCVNlbnQ6 IFdlZCA2LzI1LzIwMDMgMTE6MDAgUE0gDQoJVG86IGJpbnR1dEBzb2Z0aG9tZS5uZXQgDQoJQ2M6 IENhbmNlbGEsIERhbmllbCAoUmVkZXMgeSBUZWxlY29tdW5pY2FjaW9uZXMpOyBtcnRnQGxpc3Qu ZWUuZXRoei5jaCANCglTdWJqZWN0OiBbbXJ0Z10gUmU6IE1SVEcgKyBSUkRUb29sICsgMTRhbGwg UHJvYmxlbQ0KCQ0KCQ0KDQoJaHR0cDovL2JhYmVsZmlzaC5hbHRhdmlzdGEuY29tLw0KCQ0KCSA+ IFlvdSBwcm92ZWQgdG8gYWRkIHRoaXMgbGluZSB0byB0aGUgZmlsZSBtcnRnLmNmZzoNCgkgPg0K CSA+IDE0YWxsKlJSRFRvb2xMb2c6IGM6XFJSRFRvb2xMb2cudHh0DQoJID4NCgkgPiBzbyB0aGF0 IGxvZ3VlZSB0aGUgZXJyb3JzIG9mIDE0YWxsY2dpDQoJDQoJaG9wZSB0aGF0IGhlbHBzLA0KCWph bWVzDQoJDQoJYmludHV0QHNvZnRob21lLm5ldCB3cm90ZToNCgk+IENhbmNlbGEsIERhbmllbCAo UmVkZXMgeSBUZWxlY29tdW5pY2FjaW9uZXMpIHdyaXRlczoNCgk+DQoJPg0KCT4+UHJvYmFzdGUg YWdyZWdhciBlc3RhIGxpbmVhIGFsIGFyY2hpdm8gbXJ0Zy5jZmc6DQoJPj4NCgk+PjE0YWxsKlJS RFRvb2xMb2c6IGM6XFJSRFRvb2xMb2cudHh0DQoJPj4NCgk+PnBhcmEgcXVlIGxvZ3VlZSBsb3Mg ZXJyb3JlcyBkZWwgMTRhbGxjZ2kNCgk+DQoJPg0KCT4gSSdtIHNvcnJ5LCBTaXIuICBJIGRvbid0 IHVuZGVyc3RhbmQgeW91ciBtZXNzYWdlLiAgVGhlIG9ubHkgdGhpbmcgdGhhdCBJDQoJPiB1bmRl cnN0YW5kIGlzIHlvdXIgImM6XCIgYW5kIHRoYXQgd291bGQgbWVhbiBpdCdzIGluIHRoZSBkcml2 ZSBDIG9mIE1TDQoJPiBXaW5kb3dzIGVudmlyb25tZW50IGlmIEknbSBub3QgbWlzdGFrZW4uICBJ IGRvbid0IHVzZSBNUyBXaW5kb3dzIGhlcmUuDQoJPg0KCT4gVGhhbmtzIGZvciB0aGUgcmVwbHkg YW55d2F5Lg0KCT4NCgk+ICAtLS0NCgk+IE1BUlZJTiBULiBQQVNDVUFMDQoJPiBFLW1haWw6IGJp bnR1dEBzb2Z0aG9tZS5uZXQNCgk+IFRlbC4gTm8uICs2MyAyIDQyNjIxNzINCgk+IE1vYmlsZSBO by4gKzYzIDkxOSAzMTQxMjU0DQoJPiBZYWhvbyEgTWVzc2VuZ2VyIElEOiBiaW50dXQNCgk+IEdO VS9MaW51eCBVc2VyIE5vLiAyNDcxMjcNCgk+DQoJPiAtLQ0KCT4gVW5zdWJzY3JpYmUgbWFpbHRv Om1ydGctcmVxdWVzdEBsaXN0LmVlLmV0aHouY2g/c3ViamVjdD11bnN1YnNjcmliZQ0KCT4gQXJj aGl2ZSAgICAgaHR0cDovL3d3dy5lZS5ldGh6LmNoL35zbGlzdC9tcnRnDQoJPiBGQVEgICAgICAg ICBodHRwOi8vZmFxLm1ydGcub3JnICAgIEhvbWVwYWdlICAgICBodHRwOi8vd3d3Lm1ydGcub3Jn DQoJPiBXZWJBZG1pbiAgICBodHRwOi8vd3d3LmVlLmV0aHouY2gvfnNsaXN0L2xzZzIuY2dpDQoJ DQoJDQoJLS0NCglVbnN1YnNjcmliZSBtYWlsdG86bXJ0Zy1yZXF1ZXN0QGxpc3QuZWUuZXRoei5j aD9zdWJqZWN0PXVuc3Vic2NyaWJlDQoJQXJjaGl2ZSAgICAgaHR0cDovL3d3dy5lZS5ldGh6LmNo L35zbGlzdC9tcnRnDQoJRkFRICAgICAgICAgaHR0cDovL2ZhcS5tcnRnLm9yZyAgICBIb21lcGFn ZSAgICAgaHR0cDovL3d3dy5tcnRnLm9yZw0KCVdlYkFkbWluICAgIGh0dHA6Ly93d3cuZWUuZXRo ei5jaC9+c2xpc3QvbHNnMi5jZ2kNCgkNCgkNCg0K -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dean777 at bellsouth.net Thu Jun 26 05:57:33 2003 From: dean777 at bellsouth.net (Dean) Date: Wed, 25 Jun 2003 23:57:33 -0400 Subject: [mrtg] Re: mrtg on windows polling linux. In-Reply-To: <69D72311B46FD4119EF100D0B77CF7DA0855DBC7@lightning.univ-wea.com> Message-ID: While scanning my linux server to build the mrtg.conf file I'm getting the following errors. Does anyone have any ideas? SNMPv1_Session (remote host: "204.214.91.111" [204.214.92.111].161) community: "public" request ID: -176290447 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMP Error: no response received SNMPv1_Session (remote host: "204.214.91.146" [204.214.92.111].161) community: "public" request ID: -176290447 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public at 204.214.91.111: at cfgmaker line 138 --base: Writing mrtg.cfg -----Original Message----- From: Manny Ortega [mailto:aortega at univ-wea.com] Sent: Wednesday, June 25, 2003 12:28 PM To: 'dean777 at bellsouth.net' Subject: RE: RE: [mrtg] mrtg on windows polling linux. That is correct.... As I said, SNMP is SNMP no matter what OS it's running on. So from my windows machine I can walk an SNMP OID on my RedHat boxes, W2K servers, my Sun boxes, my Cisco routers and my PIX firewall. -----Original Message----- From: dean777 at bellsouth.net [mailto:dean777 at bellsouth.net] Sent: Wednesday, June 25, 2003 10:58 AM To: Manny Ortega Subject: Re: RE: [mrtg] mrtg on windows polling linux. So can I use both of these tools to walk both the windows and linux server? Thanks for your help Manny. > > From: Manny Ortega > Date: 2003/06/25 Wed AM 10:07:48 EDT > To: "'Dean'" , mrtg at list.ee.ethz.ch > Subject: RE: [mrtg] mrtg on windows polling linux. > > SNMP is SNMP no matter what the OS is.... > Until you can walk *any* OID on a box you should worry about MRTG. In > other words, make sure that SNMP is working on the box before even > thinking of MRTG. > > How do you do that? > Using something other than MRTG to poll or walk an OID on that box. > > Here is what I use: > I use windows, so I downloaded a command utility that includes > snmpget.exe and snmpwalk.exe (there are other utilities, but those are > the ones that I use the most), I got that tool from here: > http://www.wtcs.org/snmp4tpc/redirect.htm > The actual tool (win32tools.exe) can be downloaded from here: > http://24.86.129.160:8181/webfiles/SNMP++/Win32Tools.exe > > Another tool for windows that I (and lots of people) like is Getif, > which is > a very handy GUI tool; get it from here: > http://www.wtcs.org/snmp4tpc/getif.htm > > Until one of those tools can query or walk an SNMP OID on *any* box > with SNMP on *any* operating system, then you can use MRTG. > > Hope that helps. > > -MannyO > > -----Original Message----- > From: Dean [mailto:dean777 at bellsouth.net] > Sent: Tuesday, June 24, 2003 9:10 PM > To: mrtg at list.ee.ethz.ch > Subject: [mrtg] mrtg on windows polling linux. > > > > Hello, > > I am currently using a windows server to run MRTG. I have been > > successful at pulling stats from other windows servers but I'm > > receiving an snmp walk error when I try to pull stats on one of my > > linux servers. I think I configured the snmpd.conf file correctly > however > > I'm still having difficulty pulling the stats. Can someone point me > > in the correct direction. Also, if I want to pull processor and memory > information > > do I need to use a tool to walk the linux server. > > > > Dean Carrera > http://www.Sozohosting.com > 678-640-0254 > > > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From banderson at superb.net Thu Jun 26 06:51:57 2003 From: banderson at superb.net (Bill Anderson) Date: Thu, 26 Jun 2003 00:51:57 -0400 Subject: [mrtg] Truncated graphs? References: Message-ID: <01a101c33b9e$aca56d60$0300a8c0@discovolante.org> Greetings, I'm running mrtg-2.9.17 on a RedHat box, mostly all is well, until recently traffic on some of our interfaces (on GSRs and 6509s) started going over 120Mb/s. 105 Megs, no problem, but over about 110-120, the graphs start to look truncated...hmmm...not trucated exactly, but like the bottom is cut off, and instead of showing say 120, they'll show 30. It's like when traffic goes over 110 megs, it just subtracts 110, and shows the remainder. This occurs on POS and GigE interfaces, MaxBytes is set at 19375000 and 125000000 respectively. Has anbody run into this? Any advice much appreciated! Thanks, Bill -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From grendel at gmo.jp Thu Jun 26 07:03:04 2003 From: grendel at gmo.jp (James Overbeck) Date: Thu, 26 Jun 2003 14:03:04 +0900 Subject: [mrtg] Re: Truncated graphs? References: <01a101c33b9e$aca56d60$0300a8c0@discovolante.org> Message-ID: <3EFA7E88.3030703@gmo.jp> The 32-bit counters of SNMPv1 loop at five minute intervals at about 114 Mbps. So the maximum bandwidth you can monitor normally with MRTG is 114 Mbps. There are a few ways aroung this: - Switch from rateup to rrdtool. This will allow you to run mrtg at shorter intervals. More information on http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html . - Hack MRTG to eliminate the minimum five minute interval. This will allow you to run MRTG at shorter intervals and keep your graphs and display pages exactly where they are, but it will also negatively impact your monitoring system. - Poll the ifHC* counters with snmpv2c, if your devices support it. More information on http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html . This will allow you to stay with 5 minute intervals. -james Bill Anderson wrote: > Greetings, > > I'm running mrtg-2.9.17 on a RedHat box, mostly all is well, until recently > traffic on some of our interfaces (on GSRs and 6509s) started going over > 120Mb/s. 105 Megs, no problem, but over about 110-120, the graphs start > to look truncated...hmmm...not trucated exactly, but like the bottom is cut > off, and instead of showing say 120, they'll show 30. It's like when > traffic goes over 110 megs, it just subtracts 110, and shows the remainder. > > This occurs on POS and GigE interfaces, MaxBytes is set at 19375000 and > 125000000 respectively. > Has anbody run into this? Any advice much appreciated! > > Thanks, > Bill > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From michael at heiming.de Thu Jun 26 07:56:28 2003 From: michael at heiming.de (Michael Heiming) Date: Thu, 26 Jun 2003 07:56:28 +0200 Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem In-Reply-To: References: Message-ID: <3EFA8B0C.2020500@heiming.de> bintut at softhome.net wrote: >Hello all, > >This is my sixth day that I really can't figure out how to isolate my >problem with my "MRTG + RRDTool + 14all" setup on Mandrake Linux 9.1 and I >decided to post my problem here and hoping for any help. > Sorry couldn't gather your problem at all. > >I moved my 14all-1.1.cgi to my /var/www/html/admin/mrtg/ directory and >renamed it as mrtg.cgi. Afterwards, I made it an executable file and made a >symbolic link as index.cgi. > > > Guess apache isn't configured to execute .cgi from this directory or/and ~"FollowSymlink" isn't set for this directory, I'd take a look at httpd.conf and check the apache access/error logs. Good luck Michael Heiming -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From t.mayer at fh-amberg-weiden.de Thu Jun 26 10:58:40 2003 From: t.mayer at fh-amberg-weiden.de (Thomas Mayer) Date: Thu, 26 Jun 2003 10:58:40 +0200 Subject: [mrtg] involve css Message-ID: <3EFAB5C0.7030307@fh-amberg-weiden.de> Good Morning MRTG! I've got a little problem with involving css... Now i have it after "PageTop": PageTop[myTarget]:

Traffic etc.

What's wrong? And what about the option "BodyTag"? BodyTag[myTarget]: align="center" is that wright? Thanks... I know it's not a big problem but i have to follow "orders"! -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From deeiche at freeshell.org Thu Jun 26 14:19:10 2003 From: deeiche at freeshell.org (Diana Eichert) Date: Thu, 26 Jun 2003 06:19:10 -0600 Subject: [mrtg] Re: Obenbsd 3.3 ? In-Reply-To: References: Message-ID: <20030626121910.GA1235@SDF.LONESTAR.ORG> Have you tried linking in libjpeg when building rateup? I seem to recall seeing this problem before on builds. The other thing of course to do is to look at the OpenBSD port for mrtg and see how they build mrtg. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Thu Jun 26 14:19:24 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Thu, 26 Jun 2003 05:19:24 -0700 Subject: [mrtg] Re: involve css Message-ID: I believe the ccs should be in an AddHead tag. -----Original Message----- From: Thomas Mayer [mailto:t.mayer at fh-amberg-weiden.de] Sent: Thursday, June 26, 2003 1:59 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] involve css Good Morning MRTG! I've got a little problem with involving css... Now i have it after "PageTop": PageTop[myTarget]:

Traffic etc.

What's wrong? And what about the option "BodyTag"? BodyTag[myTarget]: align="center" is that wright? Thanks... I know it's not a big problem but i have to follow "orders"! -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From phil at nxtek.net Thu Jun 26 15:06:51 2003 From: phil at nxtek.net (Phil Iovino) Date: Thu, 26 Jun 2003 08:06:51 -0500 Subject: [mrtg] Re: Truncated graphs? Message-ID: <00cb01c33be3$cff041b0$a6f83544@cc109252A> I'm having a similar problem but the uppermost peaks get truncated. I'm using 14all.cgi with RRDTool. Would the same thing apply? > > - Switch from rateup to rrdtool. This will allow you to run mrtg at > > shorter intervals. More information on > > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html . > > - Hack MRTG to eliminate the minimum five minute interval. > This will > > allow you to run MRTG at shorter intervals and keep your graphs and > > display pages exactly where they are, but it will also > > negatively impact > > your monitoring system. > > - Poll the ifHC* counters with snmpv2c, if your devices > > support it. More > > information on > > > http://people.ee.ethz.ch/> ~oetiker/webtools/mrtg/reference.html . This > > will allow you to stay with 5 minute intervals. > > > > -james > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Leonard_Miller at udlp.com Thu Jun 26 15:52:37 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Thu, 26 Jun 2003 08:52:37 -0500 Subject: [mrtg] MRTG & VLANs Message-ID: Hi, I've looked for an answer to this, but nothing I found gave a real good explanation or answer. I have a Cisco RSM, Version 12.0(8), that I want to start monitoring and when I run cfgmaker, all interfaces are commented out because they are VLAN's. Can I just uncomment the sections or do I need to do something else? Thanks Leonard -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From jwitherell at us.ibm.com Thu Jun 26 16:05:51 2003 From: jwitherell at us.ibm.com (Jim Witherell) Date: Thu, 26 Jun 2003 10:05:51 -0400 Subject: [mrtg] Re: MRTG & VLANs Message-ID: You could probably uncomment them, and then check out the resulting graphs and see if they look realistic. I have RSMs too, but I haven't tried to monitor them. I monitor the links on the Cat5500 in my case. Seems like you would get good data, just as you would any other router. Hey, maybe you know the answer to this: I have asked Cisco several times, and no one seems to know the max throughput of the RSM. After digging around and looking for something definitive, they always come back saying that the SH PORT on the Catalyst 5500 indicates the trunk going to the RSM says 400MB half duplex, so that must be the answer. Would you happen to know otherwise, or where that max throughput figure may be defined? Jim Witherell Network Specialist --Live Intentionally-- IBM @ AK Steel Corp 513.425.3483 "Leonard Miller" dlp.com> cc: Sent by: Subject: [mrtg] MRTG & VLANs mrtg-bounce at list. ee.ethz.ch 06/26/2003 09:52 AM Hi, I've looked for an answer to this, but nothing I found gave a real good explanation or answer. I have a Cisco RSM, Version 12.0(8), that I want to start monitoring and when I run cfgmaker, all interfaces are commented out because they are VLAN's. Can I just uncomment the sections or do I need to do something else? Thanks Leonard -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kschneider at raytheon.com Thu Jun 26 17:24:25 2003 From: kschneider at raytheon.com (Kirk Schneider) Date: Thu, 26 Jun 2003 10:24:25 -0500 Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem In-Reply-To: References: Message-ID: <3EFB1029.3050004@raytheon.com> I have had this problem with Mandrake LINUX since 8.2 thru 9.1 with mrtg, rrdtool and 14all. To summarize, mrtg gathers the data fine, rrdtool stores the data fine and 14all makes the web pages, but no graphs. Looking at /var/log/httpd/error_log shows this: [Thu Jun 19 23:12:03 2003] [error] [client 192.168.254.64] Premature end of script headers: /var/www/cgi-bin/14all.cgi /usr/bin/perl: relocation error: /usr/lib/perl5/5.6.1/i386-linux//auto/RRDs/RRDs.so: undefined symbol: png_create_write_struct I have found one message in the archives that points to part a solution, http://www.ee.ethz.ch/~slist/rrd-users/msg04618.html but the other errors (below) look like a permissions or config problem. [Thu Jun 19 09:00:14 2003] [error] [client 203.215.79.205] File does not exist: /var/www/html/var/www/html/admin/mrtg/mrtg-l.gif [Thu Jun 19 09:00:14 2003] [error] [client 203.215.79.205] File does not exist: /var/www/html/var/www/html/admin/mrtg/mrtg-m.gif [Thu Jun 19 09:00:14 2003] [error] [client 203.215.79.205] File does not exist: /var/www/html/var/www/html/admin/mrtg/mrtg-r.gif -- The box said it requires Windows 95 or better so I installed Linux -------- Original Message -------- Subject: [mrtg] MRTG + RRDTool + 14all Problem Date: Wed, 25 Jun 2003 19:41:54 -0600 From: bintut at softhome.net To: mrtg at list.ee.ethz.ch Hello all, This is my sixth day that I really can't figure out how to isolate my problem with my "MRTG + RRDTool + 14all" setup on Mandrake Linux 9.1 and I decided to post my problem here and hoping for any help. Below are the packages that are installed in my system: - apache-1.3.27-8mdk.i586.rpm - perl-5.8.0-19mdk.i586.rpm - perl-CGI-2.810-3mdk.i586.rpm - perl-GD-2.06-1mdk.i586.rpm - mrtg-2.9.27-1mdk.i586.rpm - mrtg-contribs-2.9.27-1mdk.i586.rpm - rrdtool-1.0.40-2mdk.i586.rpm - librrdtool0-1.0.40-2mdk.i586.rpm - 14all-1.1.cgi My MRTG_lib.pm is located at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory and my RRDs.so is located at /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs directory. But I also made a symbolic of my RRDs.so to the /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi directory. I moved my 14all-1.1.cgi to my /var/www/html/admin/mrtg/ directory and renamed it as mrtg.cgi. Afterwards, I made it an executable file and made a symbolic link as index.cgi. From /var/www/html/admin/mrtg/ directory, I executed the following commands from the CLI: [root at free mrtg]# snmpwalk -c public -v 1 bayantel [root at free mrtg]# cfgmaker --global 'WorkDir: /var/www/html/admin/mrtg' \ --global 'Options[_]: bits,growright' --global 'LogFormat: rrdtool' \ --global 'PathAdd: /usr/bin' \ --global 'LibAdd: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/RRDs' \ --global 'Interval: 5' --global 'ImageDir: /var/www/html/admin/mrtg/images' \ --global 'LogDir: /var/www/html/admin/mrtg/logs' \ --output /var/www/html/admin/mrtg/mrtg.cfg public at bayantel [root at free mrtg]# mrtg mrtg.cfg I also added a one line cron job to run MRTG in every 5 minutes of my /etc/crontab with the following: 0-59/5 * * * * root /usr/bin/mrtg /var/www/html/admin/mrtg/mrtg.cfg You can find my mrtg.cfg, 14all-1.1p25.cgi, and /var/log/httpd/error_log at the following sites respectively: http://free.bir.gov.ph/logs/mrtg.cfg.txt http://free.bir.gov.ph/logs/14all-1.1p25.txt http://free.bir.gov.ph/logs/httpd-error_log.txt You can try to visit my problematic MRTG + RRDTool + 14all-1.1p25.cgi setup at http://free.bir.gov.ph/admin/mrtg/ Any idea? Thanks in advance. --- MARVIN T. PASCUAL E-mail: bintut at softhome.net Tel. No. +63 2 4262172 Mobile No. +63 919 3141254 Yahoo! Messenger ID: bintut -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Heiko.Herold at previnet.it Thu Jun 26 17:35:56 2003 From: Heiko.Herold at previnet.it (Herold Heiko) Date: Thu, 26 Jun 2003 17:35:56 +0200 Subject: [mrtg] Re: Obenbsd 3.3 ? Message-ID: I must, say both of those are very simple and very reasonable suggestions, should have thought of that. The first resolved fine :) Still need to move -lgd in front of -lm though. Thanks Heiko -- -- PREVINET S.p.A. www.previnet.it -- Heiko Herold Heiko.Herold at previnet.it -- +39-041-5907073 ph -- +39-041-5907472 fax > -----Original Message----- > From: Diana Eichert [mailto:deeiche at freeshell.org] > Sent: Thursday, June 26, 2003 2:19 PM > To: mrtg List (E-mail) > Subject: Re: Obenbsd 3.3 ? > > > Have you tried linking in libjpeg when building rateup? > I seem to recall seeing this problem before on builds. > The other thing of course to do is to look at the > OpenBSD port for mrtg and see how they build mrtg. > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Leonard_Miller at udlp.com Thu Jun 26 18:00:17 2003 From: Leonard_Miller at udlp.com (Leonard Miller) Date: Thu, 26 Jun 2003 11:00:17 -0500 Subject: [mrtg] Re: MRTG & VLANs Message-ID: They say that is a limitation of the interconnection to the backplane and there is no way to change that, so I never worried about it. But if you do a "sh counter 4/1" or "sh port counters 4/1" you wont see any traffic. I'm guessing your RSM is 4/1. I guess i'll try just uncommenting the config and see what happens. Thanks Leonard ---- When all else fails, /etc/rc.d/init.d/lifed restart >>> "Jim Witherell" 06/26/03 10:05AM >>> You could probably uncomment them, and then check out the resulting graphs and see if they look realistic. I have RSMs too, but I haven't tried to monitor them. I monitor the links on the Cat5500 in my case. Seems like you would get good data, just as you would any other router. Hey, maybe you know the answer to this: I have asked Cisco several times, and no one seems to know the max throughput of the RSM. After digging around and looking for something definitive, they always come back saying that the SH PORT on the Catalyst 5500 indicates the trunk going to the RSM says 400MB half duplex, so that must be the answer. Would you happen to know otherwise, or where that max throughput figure may be defined? Jim Witherell Network Specialist --Live Intentionally-- IBM @ AK Steel Corp 513.425.3483 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From kschneider at raytheon.com Thu Jun 26 18:25:02 2003 From: kschneider at raytheon.com (Kirk Schneider) Date: Thu, 26 Jun 2003 11:25:02 -0500 Subject: [mrtg] [Fwd: Re: MRTG + RRDTool + 14all Problem] In-Reply-To: <3EFB1029.3050004@raytheon.com> References: <3EFB1029.3050004@raytheon.com> Message-ID: <3EFB1E5E.1080307@raytheon.com> Forwarding to bintus at softhome.net and the mailing list. -- The box said it requires Windows 95 or better so I installed Linux -------- Original Message -------- Subject: [mrtg] Re: MRTG + RRDTool + 14all Problem Date: Thu, 26 Jun 2003 10:36:22 -0500 From: Taylor Lewick To: Some things to check... Are you tring to print in png or in gifs? Go to the directory where the gif should be, according to your error log and see if the files are in .png or .gif. Also, to log and print pngs, you need to add the following lines to your config file that you are passing to mrtg... PathAdd: /usr/local/rrdtool/bin (path to your rrdtool bin directory) LibAdd: /usr/local/rrdtool/lib/perl LogFormat: rrdtool I have forgotten to do that, and it is looking for gifs but the output is in png. Also, make sure you get the issue with the undefined symbols corrected. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From deeiche at freeshell.org Thu Jun 26 20:54:55 2003 From: deeiche at freeshell.org (Diana Eichert) Date: Thu, 26 Jun 2003 12:54:55 -0600 Subject: [mrtg] Re: Obenbsd 3.3 ? In-Reply-To: References: Message-ID: <20030626185455.GA27384@SDF.LONESTAR.ORG> On Thu, Jun 26, 2003 at 05:35:56PM +0200, Herold Heiko wrote: > I must, say both of those are very simple and very reasonable suggestions, > should have thought of that. > The first resolved fine :) > Still need to move -lgd in front of -lm though. > Thanks > Heiko I'm glad I could help, that's what lists are for. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Benjamin.Grossman at METROKC.GOV Thu Jun 26 22:04:57 2003 From: Benjamin.Grossman at METROKC.GOV (Grossman, Benjamin) Date: Thu, 26 Jun 2003 13:04:57 -0700 Subject: [mrtg] Adjust decimal point in Legend Message-ID: <0A783574FBD0D311B3B000805FE672930F8897E1@kcmail1.metrokc.gov> I would like to replace the usual Legend text: Max In: 1277.2 kb/s Average In: 78.5 kb/s Current In: 40.9 kb/s Max Out: 696.7 kb/s Average Out: 160.5 kb/s Current Out: 212.6 kb/s With something like this: Max In: 12772123 Average In: 785777 Current In: 409127 Max Out: 6967145 Average Out: 1605888 Current Out: 2126345 I cannot seem to find any MRTG configuration settings that would control this; but I may be blind. What I am trying to graph is the Serial Number of a DNS Zone on two different servers, to monitor the replication of data. These numbers usually look like YYYYMMDDXX Can someone straighten me out? Is this possible? Benjamin k Grossman benjamin.grossman at metrokc.gov - 206/263-4543 King County/DES/ITS/T&O/SANES Seattle/Washington/USA "Computers are useless. They can only give you answers." --Pablo Picasso -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From it202_dpopovic at web.de Thu Jun 26 22:56:25 2003 From: it202_dpopovic at web.de (dragan popovic) Date: Thu, 26 Jun 2003 22:56:25 +0200 Subject: [mrtg] graph output problem with 14all v 1.1 Message-ID: <200306262056.h5QKuPQ08355@mailgate5.cinetic.de> Got a strange Problem with mrtg and 14all I want to monitor my HD but the graph I get shows more Bytes than my HD has. I?ll give the configuration here WorkDir: /www/webserver/html/www.home/statistik/test-cfg/ # Options[_]: perminute,gauge,bits,growright,transparent,dorelpercent LogFormat: rrdtool #14all*RRDToolLog:/www/webserver/html/www.home/statistik/test-cfg/14rrdlog 14all*GraphErrorsToBrowser 14all*Background:#ff00ff PathAdd: /usr/local/rrdtool-1.0.42/bin/ LibAdd: /usr/local/rrdtool-1.0.42/lib/perl/ Options[_]: gauge # AbsMax[_]:1000000 # Interval: 1 # kMG[_]: M LegendI[_]: Free: LegendO[_]: Used: #Legend1[_]: MBytes on HDisk #Legend2[_]: MBytes Free on HDisk #Legend3[_]: Prozent Target[1www_root--hda4]: `/www/mrtg/cfg/test.pl 192.168.2.2 public 1` MaxBytes[1www_root--hda4]: 5000000000 Title[1www_root--hda4]:hda4 #Unscaled[1www_opt]: d Target[1www_opt]: `/www/mrtg/cfg/test.pl 192.168.2.2 public 4` MaxBytes[1www_opt]: 5000000000 Title[1www_opt]: /opt Target[1www.home_www]: `/www/mrtg/cfg/test.pl 192.168.2.2 public 5` MaxBytes[1www.home_www]: 5000000000 Title[1www.home_www]: /www Target[1www.home_free]: `/www/mrtg/cfg/test.pl 192.168.2.2 public 6` MaxBytes[1www.home_free]: 5000000000 Title[1www.home_free]: /free Crontab entry: 0-59/5 * * * * root /www/mrtg/bin/mrtg /www/mrtg/cfg/test.cfg The script I?m using gives following output: Example for Filesystem / [root at egalsmall cfg]# ./test.pl 192.168.2.2 public 1 1594875904 1476059136 1 day, 16:31:05.79 / BUT the picture I always get is showing me an Area of reaching 2 GB Free: and a Line about 1,9 GB Used:??? I?m working now for three Days on it and I didn?t catch the Failure ??? Any sugesstions ??? Thank you for reading and maybe you can help me out of this ??? The graph is on this site: http://de.geocities.com/freeman76de/14all.cgi.png ______________________________________________________________________________ UNICEF bittet um Spenden fur die Kinder im Irak! Hier online an UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Greg_Mersberger at i2.com Fri Jun 27 05:34:27 2003 From: Greg_Mersberger at i2.com (Greg_Mersberger at i2.com) Date: Thu, 26 Jun 2003 22:34:27 -0500 Subject: [mrtg] monitoring qos on cisco routers Message-ID: <OF525826F8.F8A704B3-ON86256D52.0013146E-86256D52.0013A25F@i2.com> I'm looking for some assistance monitoring Qos stats on Cisco routers. Specifically I'd like to monitor the offered rate bps so if anyone has the OID and/or sample configs I'd appreciate the assistance. Greg Mersberger -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From ruben.montes at eu.didata.com Fri Jun 27 11:32:31 2003 From: ruben.montes at eu.didata.com (Ruben Montes) Date: Fri, 27 Jun 2003 11:32:31 +0200 Subject: [mrtg] Mrtg data into PostgreSQL database Message-ID: <110C7745627FD511A92000508BAF2597789BC3@esbcnddexc1.eu.didata.com> Hello everybody, has anyone tried to put the info generated by mrtg( that is the .log ) into a database? Could anybody help me? Cheers, Ruben -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Tolga.OZDEN at pamukbank.com.tr Fri Jun 27 11:28:21 2003 From: Tolga.OZDEN at pamukbank.com.tr (Tolga.OZDEN at pamukbank.com.tr) Date: Fri, 27 Jun 2003 12:28:21 +0300 Subject: [mrtg] Re: monitoring qos on cisco routers Message-ID: <34BF4CB7D3A5904986516561A45CE55D037632C0@gmgmdexc09.pamukbank.com> If you already set the policy classes and policy maps on the cisco router, you can use the ciscoCBQoSMIB (1.3.6.1.4.1.9.9.166) for your requirement. The cmQoSCMPostPolicyBitRate (ciscoCBQoSMIB.1.15.1.11) will return the offered traffic in bps. For example for the web traffic I have configured the following target: Target[10.x.x.x-web]: .1.3.6.1.4.1.9.9.166.1.15.1.1.11.5025.5059&1.3.6.1.4.1.9.9.166.1.15.1.1.11.5025.5059:CommunityString at 10.x.x.x However, it is not easy to find out which policy-map has been assigned to which arbitrary numbers like 5025.5059 for the cmQoSCMPostPolicyBitRate MIB. In order to find out "5025.5059" you can follow the below steps: -If you run a "SNMP WALK" for cbQoSIfIndex (ciscoCBQoSMIB.1.1.1.1.4) you can get a list of "logical" interface index for which policy map is assigned. like ciscoCBQoSMIB.1.1.1.1.4.5025 = 16 "5025" is assigned for 16 (which you can find out by ifDescr MIB.) -cbQoSCMCfgEntry (ciscoCBQoSMIB.1.7.1.1) SNMP WALK will return arbitrary assigned numbers for the class-maps configured on the router. like : ciscoCBQoSMIB.1.7.1.1.1081 = web -cbQoSConfigIndex (ciscoCBQoSMIB.1.5.1.1.2) will return the arbitrary config number "5025.5059" which we were looking for: ciscoCBQoSMIB.1.5.1.1.2.5025.5059 = 1081 You can refer to the "CISCO-CLASS-BASED-QOS-MIB" for detailed info about the relevant MIBs. Regards; Tolga Ozden -----Original Message----- From: Greg_Mersberger at i2.com [mailto:Greg_Mersberger at i2.com] Sent: 27 Haziran 2003 Cuma 06:34 To: mrtg at list.ee.ethz.ch Subject: [mrtg] monitoring qos on cisco routers I'm looking for some assistance monitoring Qos stats on Cisco routers. Specifically I'd like to monitor the offered rate bps so if anyone has the OID and/or sample configs I'd appreciate the assistance. Greg Mersberger -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From nanduriks at hotmail.com Fri Jun 27 11:33:44 2003 From: nanduriks at hotmail.com (Kalyan) Date: Fri, 27 Jun 2003 15:03:44 +0530 Subject: [mrtg] Graph not consisnent References: <110C7745627FD511A92000508BAF2597789BC3@esbcnddexc1.eu.didata.com> Message-ID: <Sea2-DAV8Pn6U9BekWo000192e0@hotmail.com> Hello everybody, On my MRTG Graph for Routers, I am getting the following problem. 1. hourly/daily/weekly/yearly graph are not appearing on the same scale. I mean if my hourly graph shows 256k peak the daily graph shows only 128k of that sort. How can i make alll of the appear on the same scale. 2.How can i make 5 mt peak in and output appear. any body pl. gudie. me. rgds Srini -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From alex at ergens.op.het.net Fri Jun 27 12:10:54 2003 From: alex at ergens.op.het.net (Alex van den Bogaerdt) Date: Fri, 27 Jun 2003 12:10:54 +0200 Subject: [mrtg] OT: it's that time of the year again Message-ID: <20030627121054.A32522@slot.hollandcasino.net> Hello, It's that time of the year again. Small children with even more spare time than pimples need something to do and decide to "write" a virus (read: they copy someone else's code and pretend it's theirs). They aren't too proud of their work so they decide to send it out in someone else's name. Many of you already knew that, newbies are now also included. If you receive a message from me, or from other regulars on this list, be sure to examine the headers. I do not send you unsolicited executables, zip files or any other email. I'm sure this also counts for other regulars on this list. No matter what the subject line tells you, such messages have nothing to do with your configuration. There's no need to reply to such messages. I did not send it so I cannot help you. Replies, including autoreplies, go to us, not to the real sender. The real sender is some poor bastard running windows 95 on an unprotected DLS line. Apart from the "Received: " lines, nothing relates to the real sender of the message. Please do not reply to this email. Most certainly do not discuss this subject on the list. Thank you. regards, Alex -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Micha at JPBerlin.de Fri Jun 27 12:54:16 2003 From: Micha at JPBerlin.de (Michael Bonin) Date: Fri, 27 Jun 2003 12:54:16 +0200 Subject: [mrtg] mrtg Message-ID: <003801c33c9a$7500c240$4f64a8c0@janina> hi people! well, i have a problem. i want to chance settings for mrtg that it is changing the interval von the pngs. i don't want to get daily graphs, hmmm better would be a graph per hour. for my messures it is important to messure very precisely. does anyone have any clue how to make that settings? thx michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From EJCORNWELL at coopertire.com Fri Jun 27 12:55:15 2003 From: EJCORNWELL at coopertire.com (Cornwell, Eric J.) Date: Fri, 27 Jun 2003 06:55:15 -0400 Subject: [mrtg] Errors in Log Files Message-ID: <7C91EF3A81B6B3439C537BF5B375245901BE38DD@mail12.cooperworld.net> Hello, We monitor somewhere near 64 devices on our network and around the world. With this many devices there are bound to be errors. I've set up MRTG so when it runs there are 3 logs that are used. Switches, Routers, and Servers. Lately I've been getting some odd messages and was wondering if anyone had an easy way to figure out which device is causing the error. It my switch Logs: 2003-06-27 06:52:31 -- WARNING: data collection did not complete within interval! In my router Logs: 2003-06-27 03:24:38 -- Use of uninitialized value in system at mrtg line 1518. Is there any command to add to show which device is causing the error or would it be best to give each device it's own log file? Thanks! Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From Micha at JPBerlin.de Fri Jun 27 13:21:40 2003 From: Micha at JPBerlin.de (Michael Bonin) Date: Fri, 27 Jun 2003 13:21:40 +0200 Subject: [mrtg] logging different protocols Message-ID: <015701c33c9e$48b0c6f0$4f64a8c0@janina> eh, ... hi people! i have another problem, i want to log the traffic for different protocols; maybe ftp, http, ssh/scp, and so on, and mrtg shall show that in different colors in one graph. any idea ? thx Michael -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Fri Jun 27 14:53:43 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 27 Jun 2003 07:53:43 -0500 Subject: [mrtg] Re: mrtg In-Reply-To: <003801c33c9a$7500c240$4f64a8c0@janina> References: <003801c33c9a$7500c240$4f64a8c0@janina> Message-ID: <1056718423.24489.3.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Fri, 2003-06-27 at 05:54, Michael Bonin wrote: > i want to chance settings for mrtg that it is changing the interval von the pngs. > i don't want to get daily graphs, hmmm better would be a graph per hour. > for my messures it is important to messure very precisely. > > does anyone have any clue how to make that settings? Use rrdtool as the backend with the interval set to 1 and extend the rrds according to the instructions in routers2.cgi. That will at least give you six hour graphs. If you need better resolution than that, then you should use a different tool. MRTG is a long-term baselining tool (strategic) not a short-term tactical tool. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Jun 27 14:54:38 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 27 Jun 2003 13:54:38 +0100 Subject: [mrtg] Re: Graph not consisnent Message-ID: <OF6E003BEB.F54EFAAB-ON80256D52.0046CC24@cuk.canon.co.uk> >>>any body pl. gudie. me. RTFM Unscaled Withpeak Rgds -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Fri Jun 27 14:58:18 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 27 Jun 2003 07:58:18 -0500 Subject: [mrtg] Re: logging different protocols In-Reply-To: <015701c33c9e$48b0c6f0$4f64a8c0@janina> References: <015701c33c9e$48b0c6f0$4f64a8c0@janina> Message-ID: <1056718697.24489.9.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Fri, 2003-06-27 at 06:21, Michael Bonin wrote: > eh, ... hi people! > i have another problem, i want to log the traffic for different protocols; maybe > ftp, http, ssh/scp, and so on, and mrtg shall show that in different colors in one graph. > > any idea ? grab netflow data from your cisco, juniper, or one other router (I forget who it is, but someone corrected me the last time) using a program like flow-tools (www.splintered.net/sw/flow-tools and then dump it into Dave Plonka's flowscan for display. -- Daniel J McDonald, CCIE 2495, CNX Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Jun 27 15:53:06 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 27 Jun 2003 14:53:06 +0100 Subject: [mrtg] Work-around to Windows/RRD problems Message-ID: <OF2337419B.2284B5A8-ON80256D52.00492FC5@cuk.canon.co.uk> I recently (while using an old version of MRTG) rebooted a switch, and got big graph spikes following the byte counters resetting. Wanting to clear the spikes, I found a copy of Killspike.pl, editted it as required for windows and tested it. It works. Then I tried it on my live server, and it failed. I have tracked the problem down to the RRDtool RESTORE command filling the RRD file with junk. This happens with RRD 1.0.38 & 1.0.40 I also noticed that the restore option will NOT overwrite an existing RRD. My test system had an old RRD 1.0.33 copy, and that works fine. It even overwrites existing data. Copied a few files around, and my live system has no erroneous spikes left. And now has the current release of MRTG, so hopefully no more spikes may appear. So far so good... Then: Trashed RRD files rang a bell in my mind. Nearly a year ago I converted from LOG to RRD, and all my history got trashed. Other users have experience the same fault. We put it down to winDoze. But now, I have tried converting a Log file with an OLD version of RRD, and it works!! Does any Windows programmer wish to sort this one out????? Regards Peter "This email may contain confidential information which is intended for the required recipient only. If you are not the named recipient you should not take any action in relation to this email, other than to notify us that you have received it in error. If this email contains attachments you should ensure they are checked for viruses before opening them." -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From lammer at mail.sochi.ru Sat Jun 28 18:08:34 2003 From: lammer at mail.sochi.ru (lam) Date: Sat, 28 Jun 2003 20:08:34 +0400 Subject: [mrtg] Unscaled and AbsMax (removing graph peaks) Message-ID: <0fb701c33d8f$88e061d0$fdfea8c0@SNMP> Iam monitoring ethernet connection with 100 mbit bandwidth, but the normal\average usage of it by customers is about 128 kbit (20-25kbytes\sec), but sometimes this connection is used for internal purposes so there peaks in graph (100-130kbytes\sec). Here some lines from config file: MaxBytes[st]: 20000 RunAsDaemon:Yes Interval:5 Unscaled[st]: dw YSize[st]: 239 XSize[st]: 595 YTics[st]: 7 AbsMax[st]: 12500000 YTicsFactor[st]: 0.7 MRTG log file is also used to calculate all the amount of traffic for that interface, so I couldnt just drop down that peaks of high speed transfers, but in graph I need to see only the normal traffic flow, without peaks. "Unscaled" item didnt help to solve the problem, the graphs a still drown with peaks (see attach). Any suggestions? -- Attached file removed by Ecartis and put at URL below -- -- Type: image/png -- Size: 2k (2991 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/st-day[1].png -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dean777 at bellsouth.net Sat Jun 28 22:27:03 2003 From: dean777 at bellsouth.net (Dean) Date: Sat, 28 Jun 2003 16:27:03 -0400 Subject: [mrtg] linux scan Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAgGiHRg08uEiyw8GsTC4B48KAAAAQAAAAyxUH1O6ri0KN9QdyHJZFQgEAAAAA@bellsouth.net> While scanning my linux server to build the mrtg.conf file I'm getting the following errors. It is strange because snmpWalk and snmpGet seem to work fine. It seems as though MRTG is what is having problems with the server. Does anyone have any ideas? Thanks ahead of time. SNMPv1_Session (remote host: "204.214.91.111" [204.214.92.111].161) community: "public" request ID: -176290447 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMP Error: no response received SNMPv1_Session (remote host: "204.214.91.146" [204.214.92.111].161) community: "public" request ID: -176290447 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public at 204.214.91.111: at cfgmaker line 138 --base: Writing mrtg.cfg Dean Carrera http://www.Sozohosting.com 678-640-0254 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From mandalek at 4desertwireless.net Sun Jun 29 19:51:37 2003 From: mandalek at 4desertwireless.net (Matthew L. Mandalek) Date: Sun, 29 Jun 2003 10:51:37 -0700 Subject: [mrtg] MBM5 Message-ID: <AC6C7AE1118B4B4993385ED35930CE9E273AA0@mymail.4desertwireless.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to use MBM to record information about servers. We have a number of different manufacturers and it seems that MBM does not work with some of them... namely Compaq servers. Is there any other way that I can gather this information? Are there SNMP OID's for CPU and Fan speeds as well as voltages? Thanks Matt <<Matthew Mandalek (E-mail).vcf>>=20 -- Attached file removed by Ecartis and put at URL below -- -- Type: text/x-vcard -- Desc: Matthew Mandalek (E-mail).vcf -- Size: 1k (1840 bytes) -- URL : http://www.ee.ethz.ch/~slist/p/07-Matthew%20Mandalek%20(E-mail).vc -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From godfrey_lists at compudoc.za.org Sun Jun 29 20:59:10 2003 From: godfrey_lists at compudoc.za.org (Godfrey) Date: Sun, 29 Jun 2003 20:59:10 +0200 Subject: [mrtg] Problem with a shell script and Mrtg Message-ID: <5.2.1.1.0.20030629205238.00a61020@office.compudoc.za.org> Hello I would appreciate it if some one could put me right with this The shell script is as follows #!/bin/sh statname="Total Accounts" uptime=unused cd /home/full statfull=$[`ls -l | grep -v ^l | wc -l`] cd /home/guest statguests=$[`ls -l | grep -v ^l | wc -l`] stattotal=$[`expr $statfull+$statguests`] echo $stattotal echo $statguests its output is as follows [root at miles] ~# /usr/local/etc/mrtg/support/totalmail.sh 80 14 [root at miles] ~# Which is perfect but when I run mrtg I get the following [root at miles] /usr/local/etc/mrtg/support# /usr/local/bin/mrtg /usr/local/etc/mrtg/miles.cfg expr: syntax error WARNING: Problem with External get '/usr/local/etc/mrtg/support/totalmail.sh': Expected a Number for 'in' but got '$[]' ERROR: Target[miles-user-clients][_IN_] ' $$target[21]{$mode} ' did not eval into defined data WARNING: Skipping Update of miles-user-clients, inlast is not defined [root at miles] /usr/local/etc/mrtg/support# The mtrg config is as follows # ##--------------------------------------------------------------- # Target[miles-user-clients]: `/usr/local/etc/mrtg/support/totalmail.sh` Xsize[miles-user-clients]:600 Ysize[miles-user-clients]: 125 Options[miles-user-clients]: gauge,growright,nopercent,noinfo Title[miles-user-clients]: Number of User Accounts PageTop[miles-user-clients]: <h1>Number of User Accounts</h1> MaxBytes[miles-user-clients]: 150 Background[miles-user-clients]: #738AA6 YLegend[miles-user-clients]: # users ShortLegend[miles-user-clients]:   Legend1[miles-user-clients]: Clients   Legend2[miles-user-clients]: Guest   LegendI[miles-user-clients]: Clients   LegendO[miles-user-clients]: Guest   I would appreciate it if someone could assist me with this please thank you Kind regards Godfrey From the desk of Godfrey J. Hamshire Compu-Doc & Compu-Doc On-Line Telephone 0314659009 Telefax 0314651998 Cell 083 773 8776 Company's Web Page http://compudoc.za.net Godfrey's Cockatiel Family & Friends http://cockatiel.za.net Godfrey's Roses Page http://roses.hamshire.za.net php :- the freedom to breathe Quote :-Moderation is a fatal thing. Nothing succeeds like excess. -- Oscar Wilde -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From squid at csumb.edu Mon Jun 30 00:20:31 2003 From: squid at csumb.edu (squid) Date: Sun, 29 Jun 2003 15:20:31 -0700 Subject: [mrtg] template files? Message-ID: <fc.000f7aeb060ab8a1000f7aeb060ab8a1.60ab9bb@csumb.edu> I've been running mrtg 2.9.29 for a while and want to start experimenting with the templates on somex.com that are linked on the mrtg page. I saved the one I wanted to a text file on my server and ran cfgmaker with the --host-template=MyTemplateNameHere option in addition to the usual --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]:bits,growright' --output /home/mrtg/cfg/$name $snmp@$ip anyways when I run it it goes ok but then outputs a bunch of errors Array found where operator expected at (eval 6) line 5, at end of line (Missing operator before ?) Bareword found where operator expected at (eval 6) line 6, near "10 YLegend" (Missing operator before YLegend?) Evaluation of the contents in the file /usr/local/mrtg-2/bin/templates/xylantemp gave the error "Unrecognized character \xC2 at (eval 6) line 7, <IF_TEMPLATE> line 36. " Exiting cfgmaker this is the template file i'm trying to use # This Report File Template measures temperature from a Xylan Omni-X or Omnistack # # Example CFGNAME : [DEVICE NAME]-xylan_omni_temperature Target[$CFGNAME]: 1.3.6.1.4.1.800.2.18.1.20.0&1.3.6.1.4.1.800.2.18.1.20.0:$COMMUNITY@$IPADDRESS / 10 YLegend[$CFGNAME]: Degrees C ShortLegend[$CFGNAME]: ?C MaxBytes[$CFGNAME]: $MAX Options[$CFGNAME]: nopercent, gauge, unknaszero Legend1[$CFGNAME]: Temperature Legend2[$CFGNAME]: . Legend3[$CFGNAME]: Max value per interval on graph Legend4[$CFGNAME]: . LegendI[$CFGNAME]: ??| Inlet: LegendO[$CFGNAME]: . Title[$CFGNAME]: $DEVICE PageTop[$CFGNAME]: <H1>$DEVICE</H1> Colours[$CFGNAME]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff WithPeak[$CFGNAME]: ymw Thanks in advance, -Paul Swinderman ISNS Engineering IT at CSUMB (831) 582-3809 paul at csumb.edu -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dean777 at bellsouth.net Mon Jun 30 01:43:05 2003 From: dean777 at bellsouth.net (Dean) Date: Sun, 29 Jun 2003 19:43:05 -0400 Subject: [mrtg] version of SNMP Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAgGiHRg08uEiyw8GsTC4B48KAAAAQAAAAO6OdQ00d8U6zhJGl+TeGKgEAAAAA@bellsouth.net> Can someone tell me how to change the version of SNMP to SNMP2 using the cfgmaker script. The documentation is not very clear on this... Dean Carrera http://www.Sozohosting.com <http://www.sozohosting.com/> 678-640-0254 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From peter_glanville at cuk.canon.co.uk Mon Jun 30 10:15:32 2003 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Mon, 30 Jun 2003 09:15:32 +0100 Subject: [mrtg] Re: Unscaled and AbsMax (removing graph peaks) Message-ID: <OF586BF964.267A7CD9-ON80256D55.002D3B7D@cuk.canon.co.uk> >> in graph I need to see only the normal traffic flow, without peaks. Monitor the interface twice, one with a Maxbytes that cuts the peaks off, and once that monitors everything. Regards Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dan.mcdonald at austinenergy.com Mon Jun 30 14:23:12 2003 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: 30 Jun 2003 07:23:12 -0500 Subject: [mrtg] Re: version of SNMP In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAgGiHRg08uEiyw8GsTC4B48KAAAAQAAAAO6OdQ00d8U6zhJGl+TeGKgEAAAAA@bellsouth.net> References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAgGiHRg08uEiyw8GsTC4B48KAAAAQAAAAO6OdQ00d8U6zhJGl+TeGKgEAAAAA@bellsouth.net> Message-ID: <1056975792.32063.1.camel@mcdonalddj-lnx.electric.ci.austin.tx.us> On Sun, 2003-06-29 at 18:43, Dean wrote: > Can someone tell me how to change the version of SNMP to SNMP2 using the > cfgmaker script. The documentation is not very clear on this... append :::::2 to the community at host string, e.g: /usr/local/mrtg-2/bin/cfgmaker --ifref=name --ifdesc=descr --descint --subdir=ecc/HOSTNAME --output=ecc-6500-blue.cfg public at ecc-6500-blue:::::2 > > Dean Carrera > http://www.Sozohosting.com <http://www.sozohosting.com/> > 678-640-0254 > > > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://www.ee.ethz.ch/~slist/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Daniel J McDonald <dan.mcdonald at austinenergy.com> Austin Energy -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dashbrook at dmisi.com Mon Jun 30 15:58:51 2003 From: dashbrook at dmisi.com (David Ashbrook) Date: Mon, 30 Jun 2003 08:58:51 -0500 Subject: [mrtg] Re: Problem with a shell script and Mrtg In-Reply-To: <5.2.1.1.0.20030629205238.00a61020@office.compudoc.za.org> Message-ID: <000001c33f0f$bc721bc0$370a10ac@corp.dmisi.com> All the scripts I've used with MRTG print out two lines with 0s on them after the data. I'm not sure if it's the correct way of doing it but it works. You can check out the "External Monitoring Scripts" section of the reference: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html Hope this helps. David Ashbrook -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Godfrey Sent: Sunday, June 29, 2003 1:59 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Problem with a shell script and Mrtg Hello I would appreciate it if some one could put me right with this The shell script is as follows #!/bin/sh statname="Total Accounts" uptime=unused cd /home/full statfull=$[`ls -l | grep -v ^l | wc -l`] cd /home/guest statguests=$[`ls -l | grep -v ^l | wc -l`] stattotal=$[`expr $statfull+$statguests`] echo $stattotal echo $statguests its output is as follows [root at miles] ~# /usr/local/etc/mrtg/support/totalmail.sh 80 14 [root at miles] ~# Which is perfect but when I run mrtg I get the following [root at miles] /usr/local/etc/mrtg/support# /usr/local/bin/mrtg /usr/local/etc/mrtg/miles.cfg expr: syntax error WARNING: Problem with External get '/usr/local/etc/mrtg/support/totalmail.sh': Expected a Number for 'in' but got '$[]' ERROR: Target[miles-user-clients][_IN_] ' $$target[21]{$mode} ' did not eval into defined data WARNING: Skipping Update of miles-user-clients, inlast is not defined [root at miles] /usr/local/etc/mrtg/support# The mtrg config is as follows # ##--------------------------------------------------------------- # Target[miles-user-clients]: `/usr/local/etc/mrtg/support/totalmail.sh` Xsize[miles-user-clients]:600 Ysize[miles-user-clients]: 125 Options[miles-user-clients]: gauge,growright,nopercent,noinfo Title[miles-user-clients]: Number of User Accounts PageTop[miles-user-clients]: <h1>Number of User Accounts</h1> MaxBytes[miles-user-clients]: 150 Background[miles-user-clients]: #738AA6 YLegend[miles-user-clients]: # users ShortLegend[miles-user-clients]:   Legend1[miles-user-clients]: Clients   Legend2[miles-user-clients]: Guest   LegendI[miles-user-clients]: Clients   LegendO[miles-user-clients]: Guest   I would appreciate it if someone could assist me with this please thank you Kind regards Godfrey From the desk of Godfrey J. Hamshire Compu-Doc & Compu-Doc On-Line Telephone 0314659009 Telefax 0314651998 Cell 083 773 8776 Company's Web Page http://compudoc.za.net Godfrey's Cockatiel Family & Friends http://cockatiel.za.net Godfrey's Roses Page http://roses.hamshire.za.net php :- the freedom to breathe Quote :-Moderation is a fatal thing. Nothing succeeds like excess. -- Oscar Wilde -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From profke at easynet.be Mon Jun 30 16:23:43 2003 From: profke at easynet.be (Verstrooid Profke) Date: Mon, 30 Jun 2003 16:23:43 +0200 Subject: [mrtg] Monitoring MRTG itself Message-ID: <3F0047EF.6070409@easynet.be> Hi, I'm looking into the possibility to monitor the time it takes for mrtg to collect its data, generate png's, ... What i need is this: what is the time for 1 'run' of mrtg, in seconds, or in percent relative to the "interval" Suggestions about how to do this? platform is Win2K P.S: I am aware of the fact that cycletimes vary , due to de different types of generated graphs (daily, weekly, monthly, yearly) -- Treat your password like your toothbrush. Don't let anybody else use it, and get a new one every six months -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From david.lorenzoe at auna.es Mon Jun 30 18:22:11 2003 From: david.lorenzoe at auna.es (David Lorenzo Espin) Date: Mon, 30 Jun 2003 18:22:11 +0200 Subject: [mrtg] Y scale Problem Message-ID: <C1993B71C9CFB148A2ADE16E3DD07911019208F6@mexserver.intranet.ctc> Hello, I'm trying to draw a bits/sec in a gigaEthernet interface. MRTG discover and obtain data correctly, but It never draw with a visible Y scale. Look that sample config : WorkDir: /usr/local/mrtg/XARXA/Stats IconDir: /usr/local/mrtg/XARXA/images Target[bbip_b02_01.GigabitEthernet3.1]: 1.3.6.1.4.1.9.2.2.1.1.6.5&1.3.6.1.4.1.9.2.2.1.1.8.5:ctc350mcxr at bbip_b02_01.n ilo.ctc MaxBytes[bbip_b02_01.GigabitEthernet3.1]: 1000000000 Options[bbip_b02_01.GigabitEthernet3.1]: gauge,growright Ylegend[bbip_b02_01.GigabitEthernet3.1]: Mbits/sec Title[bbip_b02_01.GigabitEthernet3.1]: bbip_b02_01 : GigabitEthernet3.1 PageTop[bbip_b02_01.GigabitEthernet3.1]: <H1>Traffic Analysis for GigabitEthernet3.1 </H1> <TABLE> <TR><TD>Max Speed:</TD> <TD>1 Gigabit</TD></TR> </TABLE> and look the obteined graph : <<...OLE_Obj...>> What can i do ?? thank's a lot David Lorenzo Esp?n -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From drew.weaver at thenap.com Mon Jun 30 19:33:46 2003 From: drew.weaver at thenap.com (Drew Weaver) Date: Mon, 30 Jun 2003 13:33:46 -0400 Subject: [mrtg] Redhat Linux performance metrics Message-ID: <75634F04BFCFD511BF69009027DC86494844FD@mailman.thenap.com> Does anyone have a decent config file or any advice on using MRTG to gather performance metrics from a Redhat Linux system, specifically I need to track IO usage, CPU usage, Memory Usage? Thanks, -Drew -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From rstasel at darkwing.uoregon.edu Mon Jun 30 21:05:39 2003 From: rstasel at darkwing.uoregon.edu (R. Stasel) Date: Mon, 30 Jun 2003 12:05:39 -0700 Subject: [mrtg] MRTG MAC Monitoring Message-ID: <D7047151-AB2D-11D7-BEBD-0003930D3534@darkwing.uoregon.edu> Hello there, Have a question that doesn't seem to be covered in the docs, or anywhere online (I may just not be searching for the right thing). Here's my situation (since i think this is the best way to explain what I want): I live in a house with several roommates. We have a wireless network that is hosted by a few AP-500's (SNMP capable). Currently I am just monitoring overall traffic across the wap. What I would like to do is be able to track individual user usage (via MAC address probably). Is this possible? Does SNMP even track that kind of information, or does it just keep track of overall bandwidth and not individual usage? Thanks in advance, whatever the answer may be. -Ryan Stasel -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From timmerma at ba-loerrach.de Mon Jun 30 21:10:46 2003 From: timmerma at ba-loerrach.de (Andre Timmermann) Date: 30 Jun 2003 21:10:46 +0200 Subject: [mrtg] Re: Redhat Linux performance metrics In-Reply-To: <75634F04BFCFD511BF69009027DC86494844FD@mailman.thenap.com> References: <75634F04BFCFD511BF69009027DC86494844FD@mailman.thenap.com> Message-ID: <1057000245.8121.5.camel@pagan> Am Mon, 2003-06-30 um 19.33 schrieb Drew Weaver: > Does anyone have a decent config file or any advice on using > MRTG to gather performance metrics from a Redhat Linux system, specifically > I need to track IO usage, CPU usage, Memory Usage? Hi Drew, I have a sample for CPU-usage an memory: # User vs Idle CPU usage # ------------------------ Target[cpu]:ssCpuRawUser.0&ssCpuRawIdle.0:public at localhost RouterUptime[cpu]: public at localhost MaxBytes[cpu]: 400 Title[cpu]: CPU LOAD PageTop[cpu]: <H1>User CPU Load %</H1> Unscaled[cpu]: ymwd ShortLegend[cpu]: % YLegend[cpu]: CPU Utilization Legend1[cpu]: User CPU in % (Load) Legend2[cpu]: Idle CPU in % (Load) Legend3[cpu]: Legend4[cpu]: LegendI[cpu]: User LegendO[cpu]: Idle Options[cpu]: growright,nopercent # User vs System CPU usage # ---------------------------- Target[usrsys]:ssCpuRawUser.0&ssCpuRawSystem.0:public at localhost RouterUptime[usrsys]: public at localhost MaxBytes[usrsys]: 110 AbsMax[usrsys]: 11000000 Title[usrsys]: CPU LOAD PageTop[usrsys]: <H1>CPU (user and system) Load %</H1> Unscaled[usrsys]: ymwd ShortLegend[usrsys]: % YLegend[usrsys]: CPU Utilization Legend1[usrsys]: User CPU in % (Load) Legend2[usrsys]: System CPU in % (Load) Legend3[usrsys]: Legend4[usrsys]: LegendI[usrsys]: User LegendO[usrsys]: System Options[usrsys]: growright,nopercent # Active CPU usage # ------------------ Target[cpusum]:ssCpuRawUser.0&ssCpuRawUser.0:public at localhost + ssCpuRawSystem.0&ssCpuRawSystem.0:public at localhost + ssCpuRawNice.0&ssCpuRawNice.0:pu blic at localhost RouterUptime[cpusum]: public at localhost MaxBytes[cpusum]: 200 AbsMax[cpusum]: 2000000 Title[cpusum]: CPU LOAD PageTop[cpusum]: <H1>Active CPU Load %</H1> Unscaled[cpusum]: ymwd ShortLegend[cpusum]: % YLegend[cpusum]: CPU Utilization Legend1[cpusum]: Active CPU in % (Load) Legend2[cpusum]: Legend3[cpusum]: Legend4[cpusum]: LegendI[cpusum]: Active LegendO[cpusum]: Options[cpusum]: growright,nopercent # # Memory Utilization # ------------------- Target[memory]: `/etc/mrtg/scripts/memstat.sh` Options[memory]: nopercent,gauge,noinfo,growright Title[memory]: Memory Utilization PageTop[memory]: <h1>Memory Utilization</h1> #MaxBytes[memory]: 100000000 kMG[memory]: ,M,G,T,P,X YLegend[memory]: RAM Utilization ShortLegend[memory]: bytes Legend1[memory]: Used memory Legend2[memory]: Free memory Legend3[memory]: Maximum free memory Legend4[memory]: Maximum used memory LegendI[memory]: Free mem LegendO[memory]: Used mem RouterUptime[memory]: public at localhost You will need this script: /etc/mrtg/scripts/memstat.sh: #!/bin/sh PATH=/bin:/usr/bin statname="Memory Usage" mem=`free | grep Mem` free=`echo $mem | awk '{ print $3 }'` used=`echo $mem | awk '{ print $4 }'` echo $free echo $used uptime | cut -d, -f 1 | awk '{print $3, $4}' echo $statname Ok, I think this is not very pretty, but it works ;o) Greetz, Andre -- Andr? Timmermann Wirtschaftsinformatikassistent (BA) Berufsakademie L?rrach (BW?) -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From dean777 at bellsouth.net Mon Jun 30 21:11:39 2003 From: dean777 at bellsouth.net (dean777 at bellsouth.net) Date: Mon, 30 Jun 2003 15:11:39 -0400 Subject: [mrtg] linux scan Message-ID: <20030630191139.DRQD6.imf22aec.bellsouth.net@mail.bellsouth.net> Hello, Well I am trying to scan a linux server and I'm getting some errors. The snmpwalk and snmpget commands are working fine. I'm not sure what the problems might be. The latest change I have made to attempt to correct the error is to use SNMP version 2. Your help is appreciated. Thanks... no response received SNMPv2c_Session (remote host: "221.222.92.144" [221.222.92.144].161) community: "public" request ID: 363875659 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 --base: Vendor Id: --base: Populating confcache --snpo: Skipping ifName scanning because public at 221.222.92.144:::::2 does not se em to support it --snpo: Skipping ifDescr scanning because public at 221.222.92.144:::::2 does not s eem to support it --snpo: Skipping ipAdEntIfIndex scanning because public at 221.222.92.144:::::2 doe s not seem to support it --snpo: Skipping ifType scanning because public at 221.222.92.144:::::2 does not se em to support it --snpo: Skipping ifPhysAddress scanning because public at 221.222.92.144:::::2 does not seem to support it --base: Get Interface Info --base: Walking ifIndex SNMP Error: no response received SNMPv2c_Session (remote host: "221.222.92.144" [221.222.92.144].161) community: "public" request ID: 363875665 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at C:/mrtg-2.9.29/bin\..\lib\mrtg2/SNMP_util.pm line 570 SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public at 221.222.92.144:::::2 at cfgmaker line 111 --base: Walking ifType SNMP Error: no response received SNMPv2c_Session (remote host: "221.222.92.144" [221.222.92.144].161) community: "public" request ID: 363875666 PDU bufsize: 8000 bytes timeout: 2s retries: 5 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From drk at netophilia.net Mon Jun 30 22:12:50 2003 From: drk at netophilia.net (Dan) Date: Mon, 30 Jun 2003 16:12:50 -0400 Subject: [mrtg] Re: linux scan In-Reply-To: <20030630191139.DRQD6.imf22aec.bellsouth.net@mail.bellsouth .net> Message-ID: <5.2.1.1.2.20030630161217.00b0b6d8@netophilia.net> I am guessing you are not setup for snmpv2 correctly? At 03:11 PM 6/30/2003 -0400, dean777 at bellsouth.net wrote: >--snpo: Skipping ifName scanning because public at 221.222.92.144:::::2 does >not se >em to support it -- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: text/plain -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From granha at br-petrobras.com.br Mon Jun 30 22:11:26 2003 From: granha at br-petrobras.com.br (granha at br-petrobras.com.br) Date: Mon, 30 Jun 2003 18:11:26 -0200 Subject: [mrtg] Re: Redhat Linux performance metrics Message-ID: <OF40A687D2.D26EBC99-ON03256D55.006EE5CF@LocalDomain> Drew, Here I use these templates to monitor CPU and Memory utilizations: # ---------------------------------------------------------------------------------------- Options[cpu_ln10]: absolute,nopercent,withzeroes, gauge, growright, nobanner Target[cpu_ln10]: .1.3.6.1.4.1.2021.10.1.5.1&.1.3.6.1.4.1.2021.10.1.5.2:brgesinf at sbr00ln10: MaxBytes[cpu_ln10]: 100 WithPeak[cpu_ln10]: ymw YLegend[cpu_ln10]: Utilization(%) LegendI[cpu_ln10]: 1min LegendO[cpu_ln10]: 5min Legend1[cpu_ln10]: CPU(%) Legend2[cpu_ln10]: CPU(%) Legend3[cpu_ln10]: CPU(%) Legend4[cpu_ln10]: CPU(%) ShortLegend[cpu_ln10]: % Unscaled[cpu_ln10]: dwmy Title[cpu_ln10]: CPU PageTop[cpu_ln10]: <h1>CPU utilization at SBR00LN10</h1> ThreshMaxI[cpu_ln10]: 95 ThreshMaxO[cpu_ln10]: 95 ThreshProgI[cpu_ln10]: /etc/mrtg/twarn_notes.pl ThreshProgO[cpu_ln10]: /etc/mrtg/twarn_notes.pl #ThreshProgOKI[cpu_ln10]: /etc/mrtg/twarn_notes.pl #ThreshProgOKO[cpu_ln10]: /etc/mrtg/twarn_notes.pl ThreshDesc[cpu_ln10]: CPU at sbr00ln10 Options[memory_ln10]: nopercent, gauge, growright, nobanner Target[memory_ln10]: .1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.4.0:brgesinf at sbr00ln10: MaxBytes1[memory_ln10]: 188988 MaxBytes2[memory_ln10]: 573548 kilo[memory_ln10]: 1024 kMG[memory_ln10]: k,M,G,T,P YLegend[memory_ln10]: Free Memory(MB) ShortLegend[memory_ln10]: Bytes LegendI[memory_ln10]: Real LegendO[memory_ln10]: Swap Legend1[memory_ln10]: Real......(Bytes) Legend2[memory_ln10]: Swap......(Bytes) Title[memory_ln10]: Memory Data PageTop[memory_ln10]: <h1>Free Memory at SBR00LN10</h1> Regards, Rafael L. Granha - Analyst granha at br-petrobras.com.br Gerencia de Infra-Estrutura Petrobras Distribuidora S.A. (21) 3876-4738 (21) 9609-4677 NeTRaP |---------+------------------------------> | | Drew Weaver | | | <drew.weaver at thenap| | | .com> | | | Enviado Por: | | | mrtg-bounce at list.ee| | | .ethz.ch | | | | | | | | | 30/06/2003 15:33 | | | | |---------+------------------------------> >------------------------------------------------------------------------------------------------------------| | | | Para: "'mrtg at list.ee.ethz.ch'" <mrtg at list.ee.ethz.ch> | | cc: | | Assunto: [mrtg] Redhat Linux performance metrics | >------------------------------------------------------------------------------------------------------------| Does anyone have a decent config file or any advice on using MRTG to gather performance metrics from a Redhat Linux system, specifically I need to track IO usage, CPU usage, Memory Usage? Thanks, -Drew -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi From godfrey_lists at compudoc.za.org Mon Jun 30 22:53:13 2003 From: godfrey_lists at compudoc.za.org (Godfrey) Date: Mon, 30 Jun 2003 22:53:13 +0200 Subject: [mrtg] Problem with a shell script and Mrtg, thank you, and the solution Message-ID: <5.2.1.1.0.20030630225304.049c6ec0@office.compudoc.za.org> Hi I would like to thank all of you who took the trouble to write to me with your suggestions. I thought I would share with you the solution to the problem. The solution was given to me by Greg M whom I owe a big thank you ! Regards Godfrey #!/usr/local/bin/bash statname="Client Accounts" cd /home/full full=$[`ls -l | grep -v ^l | wc -l`] cd /home/guest guest=$[`ls -l | grep -v ^l | wc -l`] stat=$((guest+full)) total=$stat echo $total echo $[guest] /usr/bin/uptime echo "statname" cd / -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi