From roberthuff at rcn.com Sun Oct 2 05:48:24 2005 From: roberthuff at rcn.com (Robert Huff) Date: Sat, 1 Oct 2005 23:48:24 -0400 Subject: [mrtg] getting bogus values from snmp ?? Message-ID: <17215.22664.63497.161863@jerusalem.litteratus.org> I recently installed mrtg (2.12.2,1) and snmp (net-snmp-5.2.1.2) under FreeBSD -CURRENT. After making what I though were appropriate chamges to the cfg file, the program runs nicely ... ... with the exception that I don't believe the traffic numbers reported. For one, the in and out values are identical; also they (or at least the in count) are much lower than reasonable (count varies between 250 and 1200 bits/sec, but one application alone reports using ~ 15,000 bits/sec). Before I go investigating the snmp side, I'd like to know I've got mrtg behaving correctly. I've read the comments in the config file and searched the FAG; I've also Googled what seem to be the most interesting bits. My config file (minus comment lines) is appended as it a sample entry when run with logging and debug=snpo. Help - please! Robert Huff **************** contents of mrtg.cfg **************** WorkDir: /var/mrtg Options[_]: growright,bits RunAsDaemon: Yes Interval: 5 WriteExpires: Yes Target[Jerusalem]: 2:@127.0.0.1 MaxBytes[Jerusalem]: 1250000 Title[Jerusalem]: Traffic Analysis for Jerusalem WithPeak[Jerusalem]: ym Target[sendmail]: `/usr/local/etc/mrtg/mrtg-mailstats` MaxBytes[sendmail]: 300 Title[sendmail]: Requests for SMTP server (jerusalem.litteratus.org) PageTop[sendmail]:

Requests for SMTP server (jerusalem.litteratus.org)

\n SMTP server overview
Options[sendmail]: growright gauge integer YLegend[sendmail]: requests/5 mins ShortLegend[sendmail]: SMTP requests/5 mins Background[sendmail]: #ffffff **************** extrace from log file **************** 2005-10-01 23:30:27 -- --snpo: simple If: .2 2005-10-01 23:30:27 -- --snpo: simple If: .2 2005-10-01 23:30:27 -- --snpo: SNMPGet from @127.0.0.1 -- ifInOctets.2,ifOutOctets.2,sysUptime,sysName 2005-10-01 23:30:27 -- --snpo: SNMPfound -- '3120611', '3120611', '7:52:59', 'Jerusalem' -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From ChangW at gao.gov Tue Oct 4 01:58:49 2005 From: ChangW at gao.gov (Westley Chang) Date: Mon, 03 Oct 2005 19:58:49 -0400 Subject: [mrtg] Interpreting MRTG data log files Message-ID: Hello, I have MRTG monitoring a network switch. I would like to take data from one of the interfaces from this switch (e.g. please see MRTG log file below from a specific interface) and import it into Opnet IT Guru. However, I realize that mrtg runs continuously (24 hours x 7 days a week). My boss would only like to view data from this interface during normal core business hours (e.g. M-Fri from 6:00 a.m. to 5:00 p.m.). Is there any way I can look at the log file below that is created by MRTG and extract information that pertains to the specific hours of the day (e.g. 6 a.m. - 5:00 p.m. )? In addition, could someone please be kind enough to explain what each column of data represents within the log file so that I can explain it to my boss? Any help and advice would be greatly appreciated! Thanks! Wes Below is raw MRTG data coming out of one of the network interfaces on a switch in the network: 1128382502 2294816997 1490019116 <- It appears that the first column only has three columns. Can someone please tell me what each column represents 1128382502 3810 6902 3810 6902 <-From this point on, there are four columns...Please advise (e.g. is the information in seconds?) 1128382199 5071 1021 5071 1021 1128381900 3579 997 3579 997 1128381600 4136 47741 4138 47898 1128381300 4072 7027 4138 47898 1128381000 2783 6792 4072 6891 1128380700 4289 6871 4289 6871 1128380400 11790 3434 11790 3434 1128380100 8833 19680 11790 19735 1128379800 11826 16247 11837 19735 1128379500 32515 13221 32515 13221 1128379200 12255 14143 32515 14221 1128378900 3974 6914 3974 6914 1128378600 6528 2224 6537 6914 1128378300 38202 13778 38308 13817 1128378000 52391 12660 52439 13817 1128377700 21954 9147 52439 12657 1128377400 16916 4114 21853 9136 1128377100 23228 13491 23250 13523 1128376800 26063 24507 26073 24544 1128376500 59128 38714 59239 38762 1128376200 34123 13257 59239 38762 1128375900 27938 6982 27938 6982 1128375600 31265 17775 31277 17812 1128375300 30446 20974 31277 20985 1128375000 21024 17895 30444 20985 1128374700 28976 8769 29003 17885 1128374400 36752 22921 36752 22921 1128374100 50242 32420 50242 32420 1128373800 45786 18245 50242 32420 1128373500 99292 32533 99292 32533 1128373200 91867 37849 92176 37947 1128372900 61327 28217 61327 28217 1128372600 96310 32129 96550 49156 1128372300 78219 49156 78219 49156 1128372000 92572 44077 92572 44077 1128371700 45154 57182 132192 57243 1128371400 133483 39024 325850 41711 1128371100 324304 41812 325850 56978 1128370800 94269 56909 167605 56978 1128370500 169073 36318 277729 36446 1128370200 277416 27959 277729 131052 1128369900 246059 129638 246482 131052 1128369600 214779 25091 214803 34743 1128369300 211291 34679 211460 34743 1128369000 211354 29896 211460 30006 1128368700 203688 21782 221058 21890 1128368400 221002 21908 221058 23296 1128368100 216887 23369 217283 34366 1128367800 217761 34443 253204 40167 1128367500 252959 40023 253204 40167 1128367200 234814 29388 234885 29419 1128366900 229345 27098 229594 27149 1128366600 212682 23467 297869 29842 1128366300 296386 30328 297869 46052 1128366000 248160 45839 248462 46052 1128365700 233871 35012 248250 35447 1128365400 248176 22484 248250 26726 1128365100 244157 26693 277372 26726 1128364800 275826 23379 277372 23500 1128364500 220299 19188 284405 34191 1128364200 283992 34046 284405 34191 1128363900 252866 23406 253503 24312 1128363600 238041 24587 293342 32589 1128363300 292816 32244 293342 32589 1128363000 274664 20553 312197 52394 1128362700 310744 52240 312197 52394 1128362400 269484 47608 306075 47801 1128362100 305081 39487 306075 39559 1128361800 263528 36427 264986 36507 1128361500 265741 33006 321636 33116 1128361200 319438 24894 321636 24903 1128360900 239242 24815 239243 33450 1128360600 239300 33358 241973 33450 1128360300 242003 29975 243474 30003 1128360000 243474 28637 243474 28637 1128359700 227323 27990 236661 31540 1128359400 236661 31540 236661 31540 1128359100 243446 30763 243446 30763 1128358800 272363 28793 272448 28795 1128358500 247170 28249 283253 29377 1128358200 283253 29377 283253 29377 1128357900 245555 20987 245555 20987 1128357600 327190 79154 330302 79218 1128357300 330008 60139 330302 60199 1128357000 242223 42318 242223 42318 1128356700 469724 66153 470018 66186 1128356400 381968 56549 381968 56549 1128356100 315187 40743 315187 40743 1128355800 250988 26335 315187 40743 1128355500 333245 38597 333245 38597 1128355200 278096 63614 278096 63614 1128354900 367098 47364 367098 47364 1128354600 1947461 97409 1952804 97567 1128354300 350146 50230 350146 50230 1128354000 1224913 59874 1226428 59905 1128353700 772215 50605 772215 50605 1128353400 2160311 167208 2164954 167598 1128353100 392593 310475 2164954 310953 1128352800 571525 570517 571525 570517 1128352500 270376 231360 571525 570517 1128352200 198261 31992 198261 31992 1128351900 217015 26909 217078 31992 1128351600 260790 31885 260790 31885 1128351300 316863 60262 317051 60357 1128351000 279360 54211 317051 60357 1128350700 325604 74053 325639 74149 1128350400 315469 45600 407750 67982 1128350100 407011 67920 407750 67982 1128349800 296532 58210 297023 58712 1128349500 276077 37262 297265 45843 1128349200 297265 45843 297265 45843 1128348900 250862 27194 297265 45843 1128348600 205196 20836 250707 27132 1128348300 229685 34406 229685 34406 1128348000 238423 43842 238423 43842 1128347700 255175 22157 255232 43842 1128347400 289481 27924 289596 27944 1128347100 836581 62332 838411 62448 1128346800 224607 33762 224607 33762 1128346500 514133 40349 514133 40349 1128346200 279537 30500 514133 40349 1128345900 203720 19213 278753 30468 1128345600 247390 28438 247896 28598 1128345300 209960 16623 209960 16623 1128345000 231693 28669 231766 28710 1128344700 266277 48854 266277 48854 1128344400 262829 43287 262829 43287 1128344100 257183 43811 257183 43811 1128343800 316840 53750 317040 53784 1128343500 243616 37937 317040 53784 1128343200 233982 33003 373324 39036 1128342900 373324 39036 373324 39036 1128342600 314481 40684 314509 139801 1128342300 306278 139801 306278 139801 1128342000 256373 26019 306278 139801 1128341700 262194 23082 262215 25639 1128341400 275132 24024 276399 24246 1128341100 181375 7613 181375 7613 1128340800 165364 6725 181375 7613 1128340500 220471 7018 220656 7019 1128340200 179069 10700 226762 29970 1128339900 226762 29970 226762 29970 1128339600 244494 15439 244554 29970 1128339300 386415 41452 386415 41452 1128339000 171780 12651 171780 12651 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yonienjcn at gmail.com Tue Oct 4 03:00:52 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Mon, 3 Oct 2005 21:00:52 -0400 Subject: [mrtg] Two questions about MRTG Message-ID: <8ee7548c0510031800t6f69cbdbq3da86eb4902ef38@mail.gmail.com> MRTG is very very great! Ican feel it's power function, although I just touch it recently. Now I have two questions about MRTG and this mail list. First is about this Mail list. Does anybody know how to search previous articles. As you know, I think there maybe has other people asked same question and somebody had resolved it when I try to put my question on this mail list. I try to search article, but I couldn't find any place I can search previous. The second is about MRTG configuration My switch has 24 ports, port 2-6 belong to Vlan2 and other port belong to VLAN1. Use cfgmaker, I can create a cfg file that monitor traffic on each port. But know I want to new cfg file that summarize VLAN2 traffic on picture. It means I need to summarize Port 2-6 traffic to one objective. I try port2+port3+port4+port5+port6:public at myswitch, but I doesn't work at all. Anybody knows how to resolve it? Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From pwilliamson at mandtbank.com Tue Oct 4 02:57:11 2005 From: pwilliamson at mandtbank.com (pwilliamson) Date: Mon, 03 Oct 2005 20:57:11 -0400 Subject: [mrtg] Re: Interpreting MRTG data log files Message-ID: <4-493792-366137-89940YKL@securemail.mandtbank.com> At M&T Bank,we understand the importance of protecting confidential information. That's why we've developed this email messaging system, which will allow M&T to securely send you confidential information via email. An M&T Bank employee has sent you an email message that may contain confidential information. The sender's email address should appear as sender's name at mandtbank.com pwilliamson Please pick up the package at your earliest convenience by clicking on the link: https://securemail.mandtbank.com/ime?x=4-493792-366137-89940YKL The package will expire on Wednesday November 02, 2005 at 19:57:51 EST5 For New Users: - To use this system, you will receive a one-time password that will be sent to you in a separate email message. - Once you have received the password, click on the link provided above to access the confidential email message. The email system will ask you to create a new password before you can view the message. You will need to use this new password each time you receive a secure message from M&T. - Your password must be a minimum of 6 characters and is case sensitive. We recommend using a random combination of letters and numbers. This password should not reference or incorporate any existing accounts or passwords. For Existing Users: - To access the message you will need your previously established secure email password. (This should not be related to any of your existing M&T Bank accounts.) - If you have forgotten your password, click on the link above and use the account and password reset link next to the login box to reset your account. We will then email you a new one-time password to access the message. You will need to create a new password once you have logged in. ...................................................................... IF YOU HAVE QUESTIONS REGARDING THIS EMAIL OR REQUIRE ASSISTANCE PLEASE CONTACT THE ORIGINAL SENDER FOR INSTRUCTIONS. Need help picking up your package? * If the Web address above is highlighted, click on it to open a browser window. You will automatically be taken to the package. * If the Web address above is not highlighted, follow these steps: - Open a Web browser window. - Copy and paste the entire Web address into the "location" or "address" bar of the browser. - Press enter. Forgot your password? click on the link above and use the account password reset link next to the login box to reset your account. This process will e-mail you a new one-time password to access your existing account. _______________________________________________ Delivered with IME(TM) http://www.tumbleweed.com IME is a trademark of Tumbleweed Communications Corp. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From pwilliamson at mandtbank.com Tue Oct 4 03:41:05 2005 From: pwilliamson at mandtbank.com (PAUL WILLIAMSON) Date: Mon, 03 Oct 2005 21:41:05 -0400 Subject: [mrtg] Last e-mail Message-ID: Ok, looks like I finally have to get a non-work e-mail address to work the mrtg stuff through. Sorry for that completely ridiculous e-mail. Paul -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From martinr at hotkey.net.au Tue Oct 4 03:10:46 2005 From: martinr at hotkey.net.au (Martin Rheumer) Date: Tue, 4 Oct 2005 11:10:46 +1000 Subject: [mrtg] Vlan Issues with 6509 Switches Message-ID: Peeps, We have 2 diff styles of 6509 Cisco switches in use and have been having issues enabling 64 bit counters. 2 machines work perfect with this cfgmaker options. ./cfgmaker --snmp-options=:::::2 public at 192.168.1.1 -o help.cfg we get these responses on some of the interfaces --base: snmpget public at 192.168.1.1:::::2:v4only for ifHighSpeed.208 -> 0 Mb/s --base: snmpget public at 192.168.1.1:::::2:v4only for ifHCInOctets.208 -> --base: check for HighspeedCounters failed ... Dropping back to V1 and then on the working ones --base: snmpget wSeW-GC4 at 192.168.227.131:::::2:v4only for ifHighSpeed.171 -> 0 Mb/s --base: snmpget wSeW-GC4 at 192.168.227.131:::::2:v4only for ifHCInOctets.171 -> 5258407777344 --base: check for HighspeedCounters failed ... Dropping back to V1 This seems very releated to what its called an unrouted Vlan ? Has anyone seen this or any experience with this on 6509 and can help me ? Thanks Martin -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Tue Oct 4 08:22:23 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Tue, 4 Oct 2005 08:22:23 +0200 (CEST) Subject: [mrtg] Re: Interpreting MRTG data log files Message-ID: <35878.217.98.20.70.1128406943.squirrel@mail.wireland.org> Westley Chang said: > In addition, > could someone please be kind enough to explain what each column of > data represents within the log file so that I can explain it to my > boss? Any help and advice would be greatly appreciated! Thanks! > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-logfile.html Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Chris.Clemson at softwareag.co.uk Tue Oct 4 10:06:13 2005 From: Chris.Clemson at softwareag.co.uk (Clemson, Chris) Date: Tue, 4 Oct 2005 09:06:13 +0100 Subject: [mrtg] Re: Monitoring HP storage volumes on HP Unix Message-ID: <8DF313F23701E14797635CF8AC0318A6E1165E@UKMSG04.gbr.ad.sag> > On 9/30/05, John Cushnie wrote: > > > I would like to use MRTG to monitor the space used on some > unix partitions within a HP Unix server. > > The disks are served from a HP EVA5000, but appear as > standard unix partitions. Is this anything like a HP9000? I've been graphing them here and it works quite well. > > Using an snmp treewalker I can see the data is around the > following area in the tree: > > .1.3.6.1.4.1.11.2.3.1.2.2.1.3.1073872897.7 > > The main problem is I don't have sight of the MIB to make > sense of the numbers that are available through snmp. > > Any suggestions on where to get the MIB, or does any one > have a suitable mrtg.cfg file to share/learn from ? For example, my root free (not used) space is 1.3.6.1.4.1.11.2.3.1.2.2.1.5.1073741827.6, and the total size is 1.3.6.1.4.1.11.2.3.1.2.2.1.4.1073741827.6 It was just trial and error on my part finding out which was which, although I'm sure there's a better way. Chris -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From john at dallambarn.freeserve.co.uk Tue Oct 4 10:59:34 2005 From: john at dallambarn.freeserve.co.uk (John Cushnie) Date: Tue, 4 Oct 2005 10:59:34 +0200 (CEST) Subject: [mrtg] cfgmaker for host information, rather than network information Message-ID: <20176361.1128416374072.JavaMail.www@wwinf3102> Hi all, cfgmaker that comes with the mrtg distribution is pretty neat in that it snifs out all the network and host information data. Has anyone developed other cfgmakers, to sniff out other MIB data from hosts ? Perhaps a win2000cfgmaker, or hpunixcfgmaker, which can be fired off at windows or unix boxes and do a snmpwalk to find which metrics are available and present them graphically..... Sounds like a good student project....... Regards John Cushnie -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From carlos.diaz at gedas.es Tue Oct 4 12:00:09 2005 From: carlos.diaz at gedas.es (Diaz Velez, Carlos Manuel) Date: Tue, 4 Oct 2005 12:00:09 +0200 Subject: [mrtg] Threshold problems with rrdtool Message-ID: Hi all, I installed a new server with Debian Sarge, mrtg 2.12.2 and rrdtool 1.2.10. The mrtg works fine but not the threshold checking: xarxa at noc2:~/utils/mrtg/cfg$ mrtg mrtg.cfg WARNING: can't do threshold checking for target gedab-mac3_-hssi5-0.17_traffic(i) -- No valid current data WARNING: can't do threshold checking for target gedab-mac3_-hssi5-0.17_traffic(o) -- No valid current data Running the mrtg in debug mode: xarxa at noc2:~/utils/mrtg/cfg$ mrtg --debug="log" mrtg.cfg --log: Called: RRDs::tune(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traffic .rrd -a ds0:2304000 -a ds1:2304000 -d ds0:COUNTER -d ds1:COUNTER) --log: Calling: RRDs::update(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traff ic.rrd, 1128418933:913273041:3596887415'') --log: Called: RRDs::last() --log: Called: RRDs::fetch(/export/home/xarxa/www/gesred/bbdd/gedab-mac3_-hssi5-0.17_traffi c.rrd,'AVERAGE','-s',1128418933,'-e',1128418933) --log: got: NaN/NaN WARNING: can't do threshold checking for target gedab-mac3_-hssi5-0.17_traffic(i) -- No valid current data WARNING: can't do threshold checking for target gedab-mac3_-hssi5-0.17_traffic(o) -- No valid current data It seems that the mrtg update the rrdtool database with 1128418933:913273041:3596887415 but when fetch the database to do threshold checking obtain the values NaN/NaN for the same timestamp. How can i correct it? Running the same mrtg.cfg without rrdtool, with the log format, the threshold checking works fine. Best regards, Carlos *************************************************************************** El correo corporativo de gedas iberia est? protegido por Antigen de Sybari Software. Todo el correo se escanea con seis motores de antivirus de diferentes fabricantes de forma simult?nea, multiplicando la protecci?n del sistema. Para m?s informaci?n, e-security at gedas.es y www.sybari.com. *************************************************************************** DISCLAIMER: Este mensaje contiene informaci?n propietaria de la cual parte o toda puede contener informaci?n confidencial o protegida legalmente. Esta exclusivamente destinado al usuario de destino. Si, por un error de envio o transmisi?n, ha recibido este mensaje y usted no es el destinatario del mismo, por favor, notifique de este hecho al remitente. Si no es el destinatario final de este mensaje no debe usar, informar, distribuir, imprimir, copiar o difundir este mensaje bajo ning?n medio. --------- DISCLAIMER: This e-mail contains propietary information some or all of which may be legally protected. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print or relay this e-mail. *************************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Tue Oct 4 13:48:32 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Tue, 04 Oct 2005 06:48:32 -0500 Subject: [mrtg] Re: cfgmaker for host information, rather than network information In-Reply-To: <20176361.1128416374072.JavaMail.www@wwinf3102> References: <20176361.1128416374072.JavaMail.www@wwinf3102> Message-ID: <1128426512.2133.218.camel@localhost.localdomain> On Tue, 2005-10-04 at 10:59 +0200, John Cushnie wrote: > Hi all, > cfgmaker that comes with the mrtg distribution is pretty neat in that it snifs out all the network and host information data. > Has anyone developed other cfgmakers, to sniff out other MIB data from hosts ? > Perhaps a win2000cfgmaker, or hpunixcfgmaker, which can be fired off at windows or unix boxes and do a snmpwalk to find which metrics are available and present them graphically..... That's what host-templates are for. For example, here is my host-template for dos (Works on dos-NT,dos-2000 and dos-2003). It just finds CPUs and disk space. More could be added fairly easily... $head_lines .= <$sysname Processor Load
System:$sysname
Location:$syslocation
CPU ; } snmpMIB_to_OID("/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt"); my (@temp) = snmpwalk($router_connect,'hrStorageAllocationUnits'); foreach my $tempi(@temp) { $tempi =~ /(\d+):(\d+)/; next if $2 == 0; my $instance=$1; my $blocksize=$2; my ($diskname, $disksize) = snmpget($router_connect,'hrStorageDescr.'.$instance, 'hrStorageSize.'.$instance); my $shortdisk= $instance; if ($diskname =~ /^(\w):/) { $shortdisk = $1; } my $target_name=$router_name.".disk.".$shortdisk; my $maxsize = $disksize * $blocksize; $target_lines .= <$diskname on $sysname/H1>
System:$sysname
Location:$syslocation
DISK ; } -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Tue Oct 4 14:09:02 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Tue, 04 Oct 2005 07:09:02 -0500 Subject: [mrtg] Re: Two questions about MRTG In-Reply-To: <8ee7548c0510031800t6f69cbdbq3da86eb4902ef38@mail.gmail.com> References: <8ee7548c0510031800t6f69cbdbq3da86eb4902ef38@mail.gmail.com> Message-ID: <1128427742.2133.229.camel@localhost.localdomain> On Mon, 2005-10-03 at 21:00 -0400, Tao Yaoning wrote: > My switch has 24 ports, port 2-6 belong to Vlan2 and other port belong to > VLAN1. Use cfgmaker, I can create a cfg file that monitor traffic on each > port. But know I want to new cfg file that summarize VLAN2 traffic on > picture. It means I need to summarize Port 2-6 traffic to one objective. I > try port2+port3+port4+port5+port6:public at myswitch, but I doesn't work at > all. Right, because the roll-over calculations are nearly impossible. > > Anybody knows how to resolve it? Use rrdtool as your back-end, and router2.cgi as your front-end. In each interface, add a tag like: Target[router.port2]: 2:router at reallyhardcommunitystring routers.cgi*Graph[router.port2]: router.vlan2 ! Target[router.port3]: 3:router at reallyhardcommunitystring routers.cgi*Graph[router.port3]: router.vlan2 Then, define the characteristics of the summary graph: routers.cgi*GraphStyle[router.vlan2]: stack rotuers.cgi will display your summary stats for you. You might be able to generate an if-template to add those tags for you. See if $if_vlan_id has the information you need to let cfgmaker build everything for you. -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brezler1 at comcast.net Tue Oct 4 20:58:59 2005 From: brezler1 at comcast.net (Gil Brezler) Date: Tue, 4 Oct 2005 14:58:59 -0400 Subject: [mrtg] Trying to measure ATM traffic on Marconi ESR-6000 Message-ID: <000e01c5c915$ae1e6190$32c8840a@NETWORK.QVSD.ORG> I'm trying to use MRTG to measure ATM traffic on Marconi equipment. Can anyone give me some pointers as to where I might find suggestions as to how to accomplish this? Using the "standard" config, nothing gets measured on these ports; probably because the traffic is not comprised of Ethernet packets. Searched the web and so far turned up nothing I could understand or use. Any help would be greatly appreciated... Thanks in advance... Gil -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From john at dallambarn.freeserve.co.uk Wed Oct 5 12:37:27 2005 From: john at dallambarn.freeserve.co.uk (John Cushnie) Date: Wed, 5 Oct 2005 12:37:27 +0200 (CEST) Subject: [mrtg] host-templates - Unix and Windows Message-ID: <7750625.1128508647459.JavaMail.www@wwinf3103> Hi all, Are there any collections of host-templates anywhere for MRTG ? I have one that works for windows2000 (tahnks to this list), but I am not confident with the memory stats yet. I'm struggling with anything similar for HP Unix system I am trying to monitor. I would like to monitor multiple CPU, memory, users/processes, disk volumes etc. Any suggestions? Many thanks John Cushnie -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From greg.volk at edwardjones.com Wed Oct 5 15:08:14 2005 From: greg.volk at edwardjones.com (Volk,Gregory B) Date: Wed, 05 Oct 2005 08:08:14 -0500 Subject: [mrtg] Re: host-templates - Unix and Windows Message-ID: <3C83DDDEC7B8194A83B7A92B5557BE3421E1A9@nwpsrv07.edj.ad.edwardjones.com> > > Are there any collections of host-templates anywhere for MRTG ? > I've made the templates that I put together available at http://mrtg.gvolk.com. Here's the list, hit the site to download them... APC-9606 Template Cisco 7xxx Temperature Cisco 7513 CIP Card CPU Cisco 7507 CIP Card CPU Cisco IOS Mem & CPU New Cisco IOS Mem & CPU - Uses the 109 OIDs for CPU instead of the 57 & 58 OIDs which Cisco is phasing out. Cisco 29xx-XL, 3550 Total Bandwidth Marconi/Fore ASX/TNX CPU Cisco RAS (AS5300) CPU, MEM, Dial/PPP Sessions Input Queue Drops Input/Output Errors Inrange 9801 WAN stats Inrange 9801 Channel stats Netapp Filer F800 series Template Probably works with other Netapp filers (F87/F900) Generic host-based SNMP variable template Generic interface based SNMP variable template Blue Coat/Cacheflow proxy Template Neoteris IVE host-template Neoteris IVE interface-template Cisco IPsec tunnel stats template Checkpoint Firewall-1 CPU & Number of Processes template -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yonienjcn at gmail.com Thu Oct 6 16:32:06 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Thu, 6 Oct 2005 10:32:06 -0400 Subject: [mrtg] question about mrtg daemon Message-ID: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> Hi, all Does anybody know how to make mrtg running like really service. I mean you can use command "service mrtg start" and "service mrtg stop" to start and stop mrtg. Now, I just use a script to run bunch of mrtg daemon at one time. But if I want to restart, I have to stop them one by one manually, it's so annony, especially when I test them !! :( Tao -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From sebastian.van.dijk at vecozo.com Thu Oct 6 16:38:31 2005 From: sebastian.van.dijk at vecozo.com (Dijk, Sebastian van) Date: Thu, 6 Oct 2005 16:38:31 +0200 Subject: [mrtg] Re: question about mrtg daemon Message-ID: Hi ! I created a batch file with the mrtg startup parameters and "runasdemon=yes". Then I installed it as service with "firedeamon". But it wasn't a great succes, because when i stopped the service it didn't kill the perl process :S Now i solved it just by using task manager and running it every 5 minutes. So it's not a service or deamon anymore. Met vriendelijke groet, Sebastian van Dijk Systeembeheer -----Oorspronkelijk bericht----- Van: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] Namens Tao Yaoning Verzonden: donderdag 6 oktober 2005 16:32 Aan: mrtg at list.ee.ethz.ch Onderwerp: [mrtg] question about mrtg daemon Hi, all Does anybody know how to make mrtg running like really service. I mean you can use command "service mrtg start" and "service mrtg stop" to start and stop mrtg. Now, I just use a script to run bunch of mrtg daemon at one time. But if I want to restart, I have to stop them one by one manually, it's so annony, especially when I test them !! :( Tao -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Peter_Glanville at cuk.canon.co.uk Thu Oct 6 16:54:43 2005 From: Peter_Glanville at cuk.canon.co.uk (Peter Glanville) Date: Thu, 6 Oct 2005 15:54:43 +0100 Subject: [mrtg] Re: question about mrtg daemon Message-ID: > Does anybody know how to make mrtg running like really service. I mean you > can use command "service mrtg start" and "service mrtg stop" to start and > stop mrtg. Now, I just use a script to run bunch of mrtg daemon at one time. > But if I want to restart, I have to stop them one by one manually, it's so > annony, especially when I test them !! :( All the Unix people go on about Cron. I have just moved to a new Win2003 box, and want MRTG to start automatically without a user sign on. So I found Cron for windows (www.kalab.com) and installed the Service version Configure the Cron.tab file to tell it to start MRTG avery 5 mins (do NOT set the .cfg to RunAsDemon) and it all works, and picks up changes as you make them. Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 6 18:02:08 2005 From: khudson at tsss.org (kelsey hudson) Date: Thu, 06 Oct 2005 09:02:08 -0700 Subject: [mrtg] Re: question about mrtg daemon Message-ID: <43454A80.103@tsss.org> Tao Yaoning wrote: > Hi, all > Does anybody know how to make mrtg running like really service. I mean you > can use command "service mrtg start" and "service mrtg stop" to start and sure. it's entirely possible to do something like this. i can whip up a quick shell script for you to do that. sounds like you're running a red hat/fedora style machine. if you're not, this script is probably not going to work. apparently the windows guys all think you're running windows *sigh* > stop mrtg. Now, I just use a script to run bunch of mrtg daemon at one time. > But if I want to restart, I have to stop them one by one manually, it's so > annony, especially when I test them !! :( here's the script: #!/bin/bash . /etc/rc.d/init.d/functions # Check that networking is up. It's not going to work otherwise. [ "${NETWORKING}" = "no" ] && exit 0 # Needs a valid configuration file. CONFIGFILE=/etc/mrtg/mrtg.cfg DAEMON_PROG=/usr/bin/mrtg RUNAS=root PROG="mrtg" [ -f $CONFIGFILE ] || exit 0 RETVAL=0 case "$1" in start) echo -n $"Starting $PROG: " daemon --user $RUNAS env LANG=C $DAEMON_PROG $CONFIGFILE RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$PROG echo ;; stop) echo -n $"Shutting down $PROG: " killproc $PROG RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$PROG echo ;; restart|reload) $0 stop $0 start RETVAL=$? ;; condrestart) if [ -f /var/lock/subsys/$PROG ]; then $0 stop $0 start fi RETVAL=$? ;; status) status $PROG RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}" exit 1 esac exit $RETVAL enjoy, hope this does the trick for you. -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yamtak at b-session.com Thu Oct 6 18:04:57 2005 From: yamtak at b-session.com (Takumi Yamane) Date: Fri, 07 Oct 2005 01:04:57 +0900 Subject: [mrtg] Re: question about mrtg daemon In-Reply-To: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> References: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> Message-ID: <22C5CA8FB28619yamtak@b-session.com> On Thu, 6 Oct 2005 10:32:06 -0400, Tao Yaoning wrote in <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7 at mail.gmail.com>: > > Does anybody know how to make mrtg running like really service. > I mean you can use command "service mrtg start" and "service mrtg > stop" to start and stop mrtg. > Now, I just use a script to run bunch of mrtg daemon at one time. > But if I want to restart, I have to stop them one by one manually, > it's so annony, especially when I test them !! :( assuming you are RHL user: man killall it is included in psmisc package. -- Takumi Yamane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 6 18:07:40 2005 From: khudson at tsss.org (kelsey hudson) Date: Thu, 06 Oct 2005 09:07:40 -0700 Subject: [mrtg] Re: question about mrtg daemon In-Reply-To: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> References: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> Message-ID: <43454BCC.1030800@tsss.org> oh yeah, you have to put that script in /etc/init.d -- i called it something like mrtg-daemon then you can do: service mrtg-daemon (start|stop|restart) etc. if you want it to start at boot time add symbolic links to /etc/rcX.d where X is the runlevel into which you boot your machine. the symbolic links have the format: SXXmrtg-daemon where XX is the order of precedence for this daemon. you most definitely want it after SXXnetwork ... I'd run it as S98mrtg-daemon (but that's just me). you'll also want to add symlinks K02mrtg-daemon to /etc/rc0.d and /etc/rc6.d (so mrtg gets killed when you reboot/halt the machine). enjoy. -kelsey Tao Yaoning wrote: > Hi, all > Does anybody know how to make mrtg running like really service. I mean you > can use command "service mrtg start" and "service mrtg stop" to start and > stop mrtg. Now, I just use a script to run bunch of mrtg daemon at one time. > But if I want to restart, I have to stop them one by one manually, it's so > annony, especially when I test them !! :( > > Tao > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yamtak at b-session.com Thu Oct 6 18:24:55 2005 From: yamtak at b-session.com (Takumi Yamane) Date: Fri, 07 Oct 2005 01:24:55 +0900 Subject: [mrtg] Re: question about mrtg daemon In-Reply-To: <43454BCC.1030800@tsss.org> References: <8ee7548c0510060732l9336526i7dc4a92d4bfcffc7@mail.gmail.com> <43454BCC.1030800@tsss.org> Message-ID: <26C5CA927CE626yamtak@b-session.com> On Thu, 06 Oct 2005 09:07:40 -0700, kelsey hudson wrote in <43454BCC.1030800 at tsss.org>: > > service mrtg-daemon (start|stop|restart) etc. > > if you want it to start at boot time add symbolic links > to /etc/rcX.d where X is the runlevel into which you boot your > machine. It is much versatile method but on RHL you can simply use: chkconfig --add mrtg-daemon you can customize runlevel and precedence by putting a comment line into 'mrtg-daemon' script like: # chkconfig: 2345 75 25 man chkconfig -- Takumi Yamane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From manish at gs-lab.com Fri Oct 7 07:31:12 2005 From: manish at gs-lab.com (Manish Sapariya) Date: Fri, 07 Oct 2005 11:01:12 +0530 Subject: [mrtg] Could get mrtg-rrd.cgi working Message-ID: <43460820.7080905@gs-lab.com> Hi All, I am trying use mrtg-rrd graphs working, but get folowing error when I point my browser to ------------ http://localhost/cgi-bin/mrtg-rrd.cgi/minutes.html -------- Error: Undefined statistics ----------------- Any clues what's wrong. Thanks for your help, Manish -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mammali at horizon-satellite.com Fri Oct 7 08:42:02 2005 From: mammali at horizon-satellite.com (Muhammed Ali) Date: Fri, 7 Oct 2005 10:42:02 +0400 Subject: [mrtg] Re: Could get mrtg-rrd.cgi working In-Reply-To: <43460820.7080905@gs-lab.com> Message-ID: <000201c5cb0a$3adb76e0$c80010ac@home> Are you able to see index graphs on http://localhost/cgi-bin/mrtg-rrd.cgi Regards Muhammed Ali -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Manish Sapariya Sent: Friday, October 07, 2005 9:31 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Could get mrtg-rrd.cgi working Hi All, I am trying use mrtg-rrd graphs working, but get folowing error when I point my browser to ------------ http://localhost/cgi-bin/mrtg-rrd.cgi/minutes.html -------- Error: Undefined statistics ----------------- Any clues what's wrong. Thanks for your help, Manish -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Fri Oct 7 08:46:16 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Fri, 7 Oct 2005 08:46:16 +0200 (CEST) Subject: [mrtg] Re: Could get mrtg-rrd.cgi working Message-ID: <42496.217.98.20.70.1128667576.squirrel@mail.wireland.org> Manish Sapariya said: > Hi All, > I am trying use mrtg-rrd graphs working, but get > folowing error when I point my browser to > > ------------ > http://localhost/cgi-bin/mrtg-rrd.cgi/minutes.html > -------- > > Error: Undefined statistics > ----------------- > Looks like lack of Target[minutes] in your config file - one set in the mrtg-rrd's @config_files of course. Or if you have directory with .cfg files in @config_files - check if you have doubled target entries somewhere in it, then remove redundant ones. Or merge all cfg's in one large file - mrtg-rrd won't mind double targets from one config file, IIRC it will just use first from the top. Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From manish at gs-lab.com Fri Oct 7 11:57:14 2005 From: manish at gs-lab.com (Manish Sapariya) Date: Fri, 07 Oct 2005 15:27:14 +0530 Subject: [mrtg] Re: Could get mrtg-rrd.cgi working In-Reply-To: <000201c5cb0a$3adb76e0$c80010ac@home> References: <000201c5cb0a$3adb76e0$c80010ac@home> Message-ID: <4346467A.50107@gs-lab.com> Hi, After much investigation, I figured out that my changes in mrtg-rrd.cgi were not correct. Thanks a lot. I have another question though. mrtg-rrd averages out all the results over time. Can I retrieve the results of given day from database. What I mean to say, can see the complete graph on day in past week. I need to do some performance analysis and I was thinking of using mrtg-rrd as my graphing tool. But I need to preserve this data for future comparision. I was wondering if mrtg-rrd can do that. Or else I will have to preserve my data and use some another graphing (gnuplot) tool which can generate data from given set. If I can retrieve a set of data set in past as it is I would love to go with mrtg-rrd. Thanks for all the help. Regards, Manish On 10/07/2005 12:12 PM, Muhammed Ali wrote: >Are you able to see index graphs on http://localhost/cgi-bin/mrtg-rrd.cgi > >Regards >Muhammed Ali > > > >-----Original Message----- >From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On >Behalf Of Manish Sapariya >Sent: Friday, October 07, 2005 9:31 AM >To: mrtg at list.ee.ethz.ch >Subject: [mrtg] Could get mrtg-rrd.cgi working > >Hi All, >I am trying use mrtg-rrd graphs working, but get >folowing error when I point my browser to > >------------ >http://localhost/cgi-bin/mrtg-rrd.cgi/minutes.html >-------- > >Error: Undefined statistics >----------------- > >Any clues what's wrong. > >Thanks for your help, >Manish > > > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://lists.ee.ethz.ch/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://lists.ee.ethz.ch/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Fri Oct 7 13:34:45 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Fri, 7 Oct 2005 13:34:45 +0200 (CEST) Subject: [mrtg] If we're at mrtg-rrd.cgi - @config_files and directory Message-ID: <48628.217.98.20.70.1128684885.squirrel@mail.wireland.org> Anyone got mrtg-rrd.cgi running with multiple .cfg files? I tried to set path to entire directory in @config_files, but mrtg-rrd.cgi returns "Error: Undefined statistics". There aren't any duplicate targets, everything seems right. Merging all files into big one resolves problem, but it's slow a bit - .cfg file has ~2 MB. I guess plenty of smaller files could speed up things. Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From manish at gs-lab.com Fri Oct 7 13:50:53 2005 From: manish at gs-lab.com (Manish Sapariya) Date: Fri, 07 Oct 2005 17:20:53 +0530 Subject: [mrtg] Re: If we're at mrtg-rrd.cgi - @config_files and directory In-Reply-To: <48628.217.98.20.70.1128684885.squirrel@mail.wireland.org> References: <48628.217.98.20.70.1128684885.squirrel@mail.wireland.org> Message-ID: <4346611D.9030704@gs-lab.com> BEGIN { @config_files = qw(/var/www/mrtg/tapi.cfg /var/www/mrtg/tapi_another.cfg); } This works me for without any problem. But I dont agree with you that having different config files will really enhance performance. The targets from different configuration files are accumulated in single hash and then processed. So it hardly makes any difference if they are in single file or multiple files, except the managing a single huge config file will be tedious. Correct me if I have missed anyting. Regards, Manish On 10/07/2005 05:04 PM, brunon at abstynenci.org wrote: >Anyone got mrtg-rrd.cgi running with multiple .cfg files? I tried to set >path to entire directory in @config_files, but mrtg-rrd.cgi returns >"Error: Undefined statistics". > >There aren't any duplicate targets, everything seems right. Merging all >files into big one resolves problem, but it's slow a bit - .cfg file has ~2 >MB. I guess plenty of smaller files could speed up things. > >Lukasz > > > >-- >Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe >Archive http://lists.ee.ethz.ch/mrtg >FAQ http://faq.mrtg.org Homepage http://www.mrtg.org >WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Fri Oct 7 14:30:14 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Fri, 7 Oct 2005 14:30:14 +0200 (CEST) Subject: [mrtg] Re: If we're at mrtg-rrd.cgi - @config_files and directory Message-ID: <48975.217.98.20.70.1128688214.squirrel@mail.wireland.org> Manish Sapariya said: > > BEGIN { @config_files = qw(/var/www/mrtg/tapi.cfg > /var/www/mrtg/tapi_another.cfg); } > > This works me for without any problem. But I dont agree with you that > having different > config files will really enhance performance. The targets from > different > configuration > files are accumulated in single hash and then processed. So it hardly > makes any difference > if they are in single file or multiple files, except the managing a > single huge config file > will be tedious. > So it's just problem with large number of targets. That sucks then. I saw somewhere that 14all don't like large config files and using several smaller ones help - so I assumed (wrongly, as I see) that it helps with mrtg-rrd too. Thanks for help Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From jabbott at abbotts.org Fri Oct 7 16:03:24 2005 From: jabbott at abbotts.org (jabbott at abbotts.org) Date: Fri, 7 Oct 2005 09:03:24 -0500 (CDT) Subject: [mrtg] using max bytes creates percent error? Message-ID: Maybe I am thinking of this the wrong way but I have setup some unscaled graphs in MRTG using: MaxBytes:1000000000 So that I can get a picture of how much of the pipe we are filling up on our 100mega bit switch. I get a good graph, showing that I am filling about half, 53.2Mb/s but then the percentage behind the Max is (6.7%) Where is that number coming from? Shouldn't it be 53%? Is there some additional setting I need to change or am I just not reading it right? --ja -- -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Fri Oct 7 16:05:05 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Fri, 7 Oct 2005 16:05:05 +0200 (CEST) Subject: [mrtg] Re: If we're at mrtg-rrd.cgi - @config_files and directory In-Reply-To: <4346611D.9030704@gs-lab.com> References: <48628.217.98.20.70.1128684885.squirrel@mail.wireland.org> <4346611D.9030704@gs-lab.com> Message-ID: <51003.217.98.20.70.1128693905.squirrel@mail.wireland.org> Manish Sapariya said: > > BEGIN { @config_files = qw(/var/www/mrtg/tapi.cfg > /var/www/mrtg/tapi_another.cfg); } > > This works me for without any problem. But I dont agree with you that > having different > config files will really enhance performance. The targets from different > configuration > files are accumulated in single hash and then processed. So it hardly > makes any difference > if they are in single file or multiple files, except the managing a > single huge config file > will be tedious. > Update: I resolved the problem - SpeedyCGI makes it lighting fast. Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From peter_glanville at cuk.canon.co.uk Fri Oct 7 16:08:02 2005 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Fri, 7 Oct 2005 15:08:02 +0100 Subject: [mrtg] Re: using max bytes creates percent error? Message-ID: > Maybe I am thinking of this the wrong way but I have setup some unscaled graphs in MRTG using: > MaxBytes:1000000000 > So that I can get a picture of how much of the pipe we are filling up on our 100mega bit switch. > I get a good graph, showing that I am filling about half, 53.2Mb/s but then the percentage behind the Max is (6.7%) Where is that number coming from? Shouldn't it be 53%? Is there some additional setting I need to change or am I just not reading it right? 8 bits = 1 Byte 100Megabits = 12,500,000 Bytes Adjust MaxBytes accordingly. You may want the Option "bits" too Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From JKoelstra at MINSZW.NL Fri Oct 7 16:19:24 2005 From: JKoelstra at MINSZW.NL (Koelstra, J. (Jan)) Date: Fri, 7 Oct 2005 16:19:24 +0200 Subject: [mrtg] Re: using max bytes creates percent error? Message-ID: <74C07D641252F140AE5086DA2D5336010123E3DD@MAILCL0802.MINSZW.NL> MRTG polls for octets sent and received. 1 octet = 1 byte = 8 bits. The percentage calculated by MRTG is based on the MaxBytes value in your cfg file. To get the right percentage the Maxbytes value should be set to the maximum number of octets that can be sent or received on a specific port. If you know the maximum bit rate of a port devide by 8 and you get the right value for Maxbytes. Usually cfgmaker will take care of this. Hth, Jan. -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of jabbott at abbotts.org Sent: Friday, October 07, 2005 4:03 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] using max bytes creates percent error? Maybe I am thinking of this the wrong way but I have setup some unscaled graphs in MRTG using: MaxBytes:1000000000 So that I can get a picture of how much of the pipe we are filling up on our 100mega bit switch. I get a good graph, showing that I am filling about half, 53.2Mb/s but then the percentage behind the Max is (6.7%) Where is that number coming from? Shouldn't it be 53%? Is there some additional setting I need to change or am I just not reading it right? --ja -- -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi _________________________________________________________ Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen. _________________________________________________________ The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. _________________________________________________________ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From jabbott at abbotts.org Fri Oct 7 16:33:45 2005 From: jabbott at abbotts.org (jabbott at abbotts.org) Date: Fri, 7 Oct 2005 09:33:45 -0500 (CDT) Subject: [mrtg] Re: using max bytes creates percent error? In-Reply-To: Message-ID: OK, the complication there is that this document goes to managers who have just begun to grasp the concept that we have a 100Mb switch. :-) If I change the MaxBytes to 12500000 that will change the number at the top of the graph and though it will be technically correct, not as easy for some people with a limited grasp to understand. Is there any way I can get a 100 at the top with the numbers correct at the bottom? Thanks for the reply! --ja On Fri, 7 Oct 2005, Peter Glanville wrote: > > Maybe I am thinking of this the wrong way but I have setup some unscaled > graphs in MRTG using: > > MaxBytes:1000000000 > > So that I can get a picture of how much of the pipe we are filling up on > our 100mega bit switch. > > I get a good graph, showing that I am filling about half, 53.2Mb/s but > then the percentage behind the Max is (6.7%) Where is that number coming > from? Shouldn't it be 53%? Is there some additional setting I need to > change or am I just not reading it right? > 8 bits = 1 Byte > 100Megabits = 12,500,000 Bytes > Adjust MaxBytes accordingly. > You may want the Option "bits" too > > Peter > > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From JKoelstra at MINSZW.NL Fri Oct 7 17:39:00 2005 From: JKoelstra at MINSZW.NL (Koelstra, J. (Jan)) Date: Fri, 7 Oct 2005 17:39:00 +0200 Subject: [mrtg] Re: using max bytes creates percent error? Message-ID: <74C07D641252F140AE5086DA2D5336010123E3E0@MAILCL0802.MINSZW.NL> Peter mentioned already the Option "bits". For details see http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html#options Hth, Jan. -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of jabbott at abbotts.org Sent: Friday, October 07, 2005 4:34 PM To: mrtg at list.ee.ethz.ch Cc: Peter Glanville Subject: [mrtg] Re: using max bytes creates percent error? OK, the complication there is that this document goes to managers who have just begun to grasp the concept that we have a 100Mb switch. :-) If I change the MaxBytes to 12500000 that will change the number at the top of the graph and though it will be technically correct, not as easy for some people with a limited grasp to understand. Is there any way I can get a 100 at the top with the numbers correct at the bottom? Thanks for the reply! --ja On Fri, 7 Oct 2005, Peter Glanville wrote: > > Maybe I am thinking of this the wrong way but I have setup some > > unscaled > graphs in MRTG using: > > MaxBytes:1000000000 > > So that I can get a picture of how much of the pipe we are filling > > up on > our 100mega bit switch. > > I get a good graph, showing that I am filling about half, 53.2Mb/s > > but > then the percentage behind the Max is (6.7%) Where is that number > coming > from? Shouldn't it be 53%? Is there some additional setting I need to > change or am I just not reading it right? > 8 bits = 1 Byte > 100Megabits = 12,500,000 Bytes > Adjust MaxBytes accordingly. > You may want the Option "bits" too > > Peter > > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi _________________________________________________________ Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen. _________________________________________________________ The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. _________________________________________________________ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From jkuhlman at co.macon.il.us Fri Oct 7 22:51:07 2005 From: jkuhlman at co.macon.il.us (Jason Kuhlman) Date: Fri, 7 Oct 2005 15:51:07 -0500 Subject: [mrtg] getlog.pl target multiplier Message-ID: I am using getlog.pl on windows to graph performance counters. On a couple of counters I would like to multiply them to get whole number. Is it possible to multiply the following line of a config file by say 100 to get whole numbers that MRTG can graph or am I looking at setting up rrdtools? Target[test]: `perl c:\mrtg\bin\getlog.pl c:\perflogs\log.csv "\\MACHINENAME\Counter"` Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Fri Oct 7 23:11:25 2005 From: khudson at tsss.org (kelsey hudson) Date: Fri, 07 Oct 2005 14:11:25 -0700 Subject: [mrtg] Re: getlog.pl target multiplier In-Reply-To: References: Message-ID: <4346E47D.5060007@tsss.org> Jason Kuhlman wrote: > I am using getlog.pl on windows to graph performance counters. On a > couple of counters I would like to multiply them to get whole number. > Is it possible to multiply the following line of a config file by say > 100 to get whole numbers that MRTG can graph or am I looking at setting > up rrdtools? > > Target[test]: `perl c:\mrtg\bin\getlog.pl c:\perflogs\log.csv > "\\MACHINENAME\Counter"` Target[test]: `perl c:\mrtg\bin\getlog.pl c:\perflogs\log.csv "\\MACHINENAME\Counter"` * 100 ... or variants has always worked for me for other types of targets I think I remember seeing somewhere a config option that allows you to manipulate data such as you require ... you might want to consult the config file documentation as I do not recall the proper syntax. Good luck, -Kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Tanya.Ruttenberg at ssa.gov Fri Oct 7 18:34:58 2005 From: Tanya.Ruttenberg at ssa.gov (Ruttenberg, Tanya) Date: Fri, 7 Oct 2005 12:34:58 -0400 Subject: [mrtg] Lockfiles and program flow Message-ID: <5706AD7376228E458E486975B216BC0702927A33@HQ-MBX-02.ba.ad.ssa.gov> I'm having trouble understanding a couple of things. Here is a description of my situation: Mrtg 2.10.15 running on Sun V440 on Solaris 8 using rrdtool 1.0.50 15 instances of mrtg are running from cron once a minute at a 15 minute interval. So there is an instance of mrtg starting every minute. Total number of targets almost 60,000 **Serious** I/O problems, which we are working on to resolve by adding hardware, but in the meantime management wants us to try to "make it work" on the 2 striped disks we have. I'm trying to figure out whether each instance is completing within its 15 minutes of allotted time. Here are my observations/questions: Two lockfiles are created, $lockfile and $templock. $templock disappears early on--haven't figure out when exactly, but by the time the SNMP metrics are being collected it seems to be gone. Is this by design? $lockfile disappears when "Remove lock files" shows up in log (with --debug=base) -- once the entire run has completed. Once $templock disappears, it seems another instance of mrtg can start up even though $lockfile is still hanging around. I've gotten no errors from cron indicating that mrtg could not start up at any time it was supposed to start though frequently $lockfile persists right up until the next run and I suspect the previous run didn't complete. How can I tell if my runs are completing in within 15 minutes? What is going on here? Tanya Ruttenberg - RSIS Contractor OTSO/DNE/NMPEB tanya.ruttenberg at ssa.gov 410-965-9605 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Sat Oct 8 14:54:52 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Sat, 8 Oct 2005 14:54:52 +0200 (CEST) Subject: [mrtg] Re: Lockfiles and program flow Message-ID: <35498.217.98.20.195.1128776092.squirrel@mail.wireland.org> > > How can I tell if my runs are completing in within 15 minutes? What is > going on here? > Have you tried running your mrtg as daemon? In case of not completed data gathering it just throws "data collection did not complete within interval" into the logs and starts collecting from the beginning - and everything is clear. Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at syshalt.com Sun Oct 9 07:56:44 2005 From: mrtg at syshalt.com (Konstantin N. Bezruchenko) Date: Sun, 9 Oct 2005 08:56:44 +0300 Subject: [mrtg] IN and OUT Message-ID: <1315379686.20051009085644@syshalt.com> Greetings, I use mrtg to get stats from Cisco 3560 switch. All outgoing traffic from customers shows on graphs as incoming (this is correct, because for switch this traffic _incoming_) but customers misunderstand this graphs. So how can i interchange IN and OUT values to show real bandwidth graphs for customers? Thank you! -- Konstantin N. Bezruchenko, BK5536-RIPE -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Support at e-s-d.info Sun Oct 9 15:22:59 2005 From: Support at e-s-d.info (EDV Service Dregger - Support) Date: Sun, 9 Oct 2005 15:22:59 +0200 Subject: [mrtg] Windows 2003 and SNMP - Network Interfaces... Message-ID: Hello listmembers! Ok, Windows is really and changes the SNMP oid fort the cpus with every newly added printer. But in the moment I have a completely strange issue: My Windows 2003 Servers has to interfaces installed and active: one for the internal LAN, the other one is connected to my DSL modem. On the LAN interface SNMP works as I want it to do: I see incoming and outgoing traffic. On my DSL interface it's working different, I only see incoming traffic. Ok, that might be problem with the used nic I thought so I replaced it. First it was an old HP Netserver NIC based on an Intel Chip, Now it's an Intel(R)-PRO/100+-Management-Adapter, but the problem is still the same. Is there anybody out there how has an idea about my issue? Greetings from sunny Germany Norbert -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From martinr at hotkey.net.au Mon Oct 10 03:21:15 2005 From: martinr at hotkey.net.au (Martin Rheumer) Date: Mon, 10 Oct 2005 11:21:15 +1000 Subject: [mrtg] Threshold Problem with rrdtool 1.2.11 and mrtg 2.12.2 Message-ID: Gday again, After fixing my rrdtool perl issue and upgrading successfully, I am starting to re-run my mrtg scripts and have found an issue it seems with Thresholds. WARNING: can't do threshold checking for target localhost.eth0(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk1(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk2(i) -- No valid current data WARNING: can't do threshold checking for target localhost.load1(i) -- No valid current data Looking at the data and the graphs produced there is actual values returned no problem with these scripts. Just wondered if anyone had stumbled onto this and solved it. The .cfg files ran perfectly under mrtg 2.12.2 and rrdtool 1.0.45. Thanks again Martin -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From JKoelstra at MINSZW.NL Mon Oct 10 09:54:03 2005 From: JKoelstra at MINSZW.NL (Koelstra, J. (Jan)) Date: Mon, 10 Oct 2005 09:54:03 +0200 Subject: [mrtg] Re: IN and OUT Message-ID: <74C07D641252F140AE5086DA2D5336010123E3EE@MAILCL0802.MINSZW.NL> Konstantin, Have a look at http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html#item_reversing Hth, Jan. -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Konstantin N. Bezruchenko Sent: Sunday, October 09, 2005 7:57 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] IN and OUT Greetings, I use mrtg to get stats from Cisco 3560 switch. All outgoing traffic from customers shows on graphs as incoming (this is correct, because for switch this traffic _incoming_) but customers misunderstand this graphs. So how can i interchange IN and OUT values to show real bandwidth graphs for customers? Thank you! -- Konstantin N. Bezruchenko, BK5536-RIPE -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi _________________________________________________________ Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen. _________________________________________________________ The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. _________________________________________________________ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From abhishek.dewan at gmail.com Mon Oct 10 13:35:55 2005 From: abhishek.dewan at gmail.com (Abhishek Dewan) Date: Mon, 10 Oct 2005 17:05:55 +0530 Subject: [mrtg] MRTG Consolidated graph Message-ID: Hi Is it possible to consolidate all serial port(s) utilisation & show one consolidated graph instead of individual grpahs for each serial port? Thanks in advance. regards Abhishek -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From greg.volk at edwardjones.com Mon Oct 10 14:23:08 2005 From: greg.volk at edwardjones.com (Volk,Gregory B) Date: Mon, 10 Oct 2005 07:23:08 -0500 Subject: [mrtg] Re: Lockfiles and program flow Message-ID: <3C83DDDEC7B8194A83B7A92B5557BE3421E1D5@nwpsrv07.edj.ad.edwardjones.com> > Mrtg 2.10.15 running on Sun V440 on Solaris 8 using rrdtool 1.0.50 > > 15 instances of mrtg are running from cron once a minute at a > 15 minute interval. So there is an instance of mrtg starting every > minute. > > Total number of targets almost 60,000 > > **Serious** I/O problems, which we are working on to resolve by > adding hardware, but in the meantime management wants us to try to > "make it work" on the 2 striped disks we have. > Wow, I thought I was the only person running MRTG on a big, overpriced, slow Sun box these days. ;) I poll 25,060 two variable targets on a five minute interval. I do this on top of Solaris 8 on V440 hardware (4 procs, 8 gigs) but I store all the RRD files on EMC dasd. Prior to moving the WorkDir to the EMC my system was falling over because it was so always really I/O bound. I know EMC is a bitter, expensive, pill to swallow, but without it, the processing horsepower of a V440 pretty much goes to waste (at least in my case it does). Your 15 config files must be gargantuan! I spread out my 25,000 targets among 80 MRTG invocations running in daemon mode. If you can't swing the dollars for an EMC frame, you might want to look into a RAM filesystem - if the V440 can accomodate enough RAM that would allow you to put your WorkDir on a RAM filesystem that would get around the disk IO issues you have, but of course then you have volatility issues in the event of a crash. :( > > Two lockfiles are created, $lockfile and $templock. $templock > disappears > early on--haven't figure out when exactly, but by the time > the SNMP metrics > are being collected it seems to be gone. Is this by design? $lockfile > disappears when "Remove lock files" shows up in log (with > --debug=base) -- > once the entire run has completed. > > How can I tell if my runs are completing in within 15 > minutes? What is going > on here? > I'm not sure what $templock is, but you might want to turn on logging via the... --logging mrtg.log ...command line directive, but I don't know if that command option works outside of daemon mode. I'm thinking that debugging the base set will not tell you whether or not you're meeting the time limits. If --logging doesn't tell you anything in cron mode, try running one of your 15 config files in Daemon mode by putting RunAsDaemon:Yes at the top, and then turn on logging via the command line. I am certain that an 'interval exceeded' message will appear in the log file if the poll cycle takes too long - I've seen it happen in my own stuff in the past. Good luck. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at syshalt.com Mon Oct 10 14:30:24 2005 From: mrtg at syshalt.com (Konstantin N. Bezruchenko) Date: Mon, 10 Oct 2005 15:30:24 +0300 Subject: [mrtg] Re: MRTG Consolidated graph In-Reply-To: References: Message-ID: <159228957.20051010153024@syshalt.com> Monday, October 10, 2005, 2:35:55 PM, Abhishek Dewan wrote: > Is it possible to consolidate all serial port(s) utilisation & show > one consolidated graph instead of individual grpahs for each serial > port? Yes this is possible Look for Multi Target Syntax on http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html Target[myrouter]: 2:public at wellfleetA + 1:public at wellfleetA Target[myrouter]: 1.3.6.1.4.1.999.1&1.3.6.1.4.1.999.2:public at mydevice / 1.3.6.1.4.1.999.3&1.3.6.1.4.1.999.4:public at mydevice * 100 -- Konstantin N. Bezruchenko, BK5536-RIPE -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Mon Oct 10 15:38:01 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Mon, 10 Oct 2005 08:38:01 -0500 Subject: [mrtg] Re: Lockfiles and program flow In-Reply-To: <3C83DDDEC7B8194A83B7A92B5557BE3421E1D5@nwpsrv07.edj.ad.edwardjones.com> References: <3C83DDDEC7B8194A83B7A92B5557BE3421E1D5@nwpsrv07.edj.ad.edwardjones.com> Message-ID: <1128951481.22452.9.camel@localhost.localdomain> On Mon, 2005-10-10 at 07:23 -0500, Volk,Gregory B wrote: > > Mrtg 2.10.15 running on Sun V440 on Solaris 8 using rrdtool 1.0.50 > > > > Two lockfiles are created, $lockfile and $templock. $templock > > disappears > > early on--haven't figure out when exactly, but by the time > > the SNMP metrics > > are being collected it seems to be gone. Is this by design? $lockfile > > disappears when "Remove lock files" shows up in log (with > > --debug=base) -- > > once the entire run has completed. > > > > How can I tell if my runs are completing in within 15 > > minutes? What is going > > on here? > > I've experienced the same thing - with a 30 second default timeout, if any large switch is down, the whole instance times out. My general corrective is to try to change the timeout to 3 seconds, but that doesn't always solve the issue either. I've considered ripping the whole polling engine out and re-writing it to use snmpbulk-get. But I've long thought that the locking mechanism wasn't working correctly, and your experience seems to bear that out. My environment is a single instance with about 5000 targets, run from cron every 5 minutes. Assuming everything is up, it runs in about 1.5 minutes. When a router somewhere goes down, it often just hangs. The dead host detection doesn't seem to function - I think that's a fork problem (where a target in one fork detects a dead target, but the other forks don't realize it and continue to try to poll it). -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Sun Oct 9 08:41:52 2005 From: khudson at tsss.org (kelsey hudson) Date: Sat, 08 Oct 2005 23:41:52 -0700 Subject: [mrtg] Re: IN and OUT In-Reply-To: <1315379686.20051009085644@syshalt.com> References: <1315379686.20051009085644@syshalt.com> Message-ID: <4348BBB0.6080502@tsss.org> Konstantin N. Bezruchenko wrote: > I use mrtg to get stats from Cisco 3560 switch. All outgoing traffic > from customers shows on graphs as incoming (this is correct, because > for switch this traffic _incoming_) but customers misunderstand this > graphs. > > So how can i interchange IN and OUT values to show real bandwidth > graphs for customers? This is easy. All you have to do to fix this is change your target specifier a little bit: Change: Target[blah]: 1:public at foo: to read: Target[blah]: -1:public at foo: Notice the only change is a - sign in front of the target specifier. That tells mrtg to swap the incoming/outgoing rate structure. cheers. -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Mon Oct 10 18:21:25 2005 From: khudson at tsss.org (kelsey hudson) Date: Mon, 10 Oct 2005 09:21:25 -0700 Subject: [mrtg] [Fwd: Re: MRTG Consolidated graph] Message-ID: <434A9505.2010107@tsss.org> Abhishek Dewan wrote: > Is it possible to consolidate all serial port(s) utilisation & show > one consolidated graph instead of individual grpahs for each serial > port? Sure. Depends on the device itself, but if I were to do something like that on my Cisco 2511 (which has two sync serial ports) it would look something like this: Target[c2500_totserial]: #Se0:public at c2500: + #Se1:public at c2500: (that of course assumes that you will be indexing the interfaces by name [--ifref=name in cfgmaker]). I could do the same thing with the 8 Async serial ports if I had IP running on them (which I do not --- still searching for an OID which contians the relevant raw byte counters to no avail, but I digress): Target[c2500_totasync]: #As1:public at c2500: + #As2:public at c2500: + #As3:public at c2500: + #As4:public at c2500: + #As5:public at c2500: + #As6:public at c2500: + #As7:public at c2500: + #As8:public at c2500: Be sure you aggregate MaxBytes[] for that particular interface as well. Your device may have an OID for aggregate usage, as well. You might want to look through the vendor-supplied MIB. Hope this gets you pointed in the right direction. -Kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Mon Oct 10 18:22:29 2005 From: khudson at tsss.org (kelsey hudson) Date: Mon, 10 Oct 2005 09:22:29 -0700 Subject: [mrtg] [Fwd: Re: IN and OUT] Message-ID: <434A9545.7010306@tsss.org> Konstantin N. Bezruchenko wrote: > I use mrtg to get stats from Cisco 3560 switch. All outgoing traffic > from customers shows on graphs as incoming (this is correct, because > for switch this traffic _incoming_) but customers misunderstand this > graphs. > > So how can i interchange IN and OUT values to show real bandwidth > graphs for customers? This is easy. All you have to do to fix this is change your target specifier a little bit: Change: Target[blah]: 1:public at foo: to read: Target[blah]: -1:public at foo: Notice the only change is a - sign in front of the target specifier. That tells mrtg to swap the incoming/outgoing rate structure. cheers. -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From vanko at stonline.sk Tue Oct 11 00:19:00 2005 From: vanko at stonline.sk (Eduard VANKO) Date: Tue, 11 Oct 2005 00:19:00 +0200 Subject: [mrtg] bind mrtg to network interface Message-ID: <434AE8D4.4020704@stonline.sk> Greetings! I've solaris machine with 2 network cards with IP adresses in one subnet (one network card is backup) I need to use exactly one as source IP address for mrtg because of firewall - can anybody help me with this binding? thanx -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From kularatn at sg.ibm.com Tue Oct 11 11:09:58 2005 From: kularatn at sg.ibm.com (Prasad Kularatne) Date: Tue, 11 Oct 2005 09:09:58 +0000 Subject: [mrtg] Use of MRTG+RRD for LAN traffic analysis with one second interval Message-ID: Hi folks, I am an IT Specialist working in IBM Sri Lanka. I am currently doing a research to find out the sensitivity of Database and Web traffic to iSCSI traffic in a LAN environment. I do need a traffic analysis and graphing tool to peep through the TCP traffic behavior on my Cisco switch. I am planning to use MRTG+RRD tool for this purpose. The documentation I went through clearly indicates that MRTG along can only give me bandwidth utilization statistics in 5 minutes intervals and also Florin's "MRTG Implementation Manual" also indicates that even with RRD I can obtain only that granularity. But some of my collegues were claiming that MRTG+RRD can allow me to do the traffic analysis with one second intervals. Therefore I thought of resolving this with the person who wrote the tools. Can any one of you let me know whether the combination of the above tools allow me to capture and graph traffic statistics at one second intervals. As per Toby it required hacking the MRTG code. Have anyone of you done this? Very much appreciate your feedback. Thanks. Good Luck! Prasad K K I P Kularatne IT Specialist Team Leader - SSPS Integrated Technology Services IBM Sri Lanka Phone: 94 11 2493546 Fax: 94 11 2434594 Internet Mail: kularatn at sg.ibm.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From greg.volk at edwardjones.com Tue Oct 11 13:06:31 2005 From: greg.volk at edwardjones.com (Volk,Gregory B) Date: Tue, 11 Oct 2005 06:06:31 -0500 Subject: [mrtg] Re: Use of MRTG+RRD for LAN traffic analysis with one secondinterval Message-ID: <3C83DDDEC7B8194A83B7A92B5557BE3421E1DB@nwpsrv07.edj.ad.edwardjones.com> > > But some of my collegues were claiming that MRTG+RRD can > allow me to do > the traffic analysis with one second intervals. > RRDtool, the back-end database piece of MRTG, can take data as frequently as one sample per second. However, MRTG, being a front-end data collection mechanism for RRDtool is limited to no faster than a five minute poll cycle. Occasionally I have had the need to poll certain OIDs at five or ten second intervals. To do this, I wrote a quick perl script that makes the SNMP call via the SNMP_util module and then uses the RRDs shared lib to load the RRD files with the data. After some number of poll cycles, I use Dave Plonk's RRGrapher (http://net.doit.wisc.edu/~plonka/RRGrapher/) utility to plot the data from the RRD files that the perl script populated. Here is an example of the perl script: /*BEING PERL SCRIPT*/ #!/bin/perl -w # # use strict; use lib "/opt/mrtg/lib/mrtg2/ /opt/rrdtl/lib/perl"; use SNMP_util; use RRDs; my ($rrdfile,$host,$community,$router,$gauge1,$counter1,$counter2, $counter3); my $ipgwBbStFctws = ".1.3.6.1.4.1.303.3.3.7.3.1.3.30.0"; my $ipgwEntStPktsDelays = ".1.3.6.1.4.1.303.3.3.7.3.1.1.8.0"; my $ipgwBbStSgwBytesSent = ".1.3.6.1.4.1.303.3.3.7.3.1.3.6.0"; my $ipgwBbStSgwPkts = ".1.3.6.1.4.1.303.3.3.7.3.1.3.7.0"; $community = "public"; $router = "testrouter"; while (1) { $rrdfile = "/opt/EJnrrdtl/rrd/testrouter.rrd"; $host = join "@", $community, $router; ($gauge1) = &snmpget("$host",$ipgwBbStFctws); ($counter1) = &snmpget("$host",$ipgwEntStPktsDelays); ($counter2) = &snmpget("$host",$ipgwBbStSgwBytesSent); ($counter3) = &snmpget("$host",$ipgwBbStSgwPkts); print "$gauge1 $counter1 $counter2 $counter3\n"; RRDs::update("$rrdfile","N:$gauge1:$counter1:$counter2:$counter3"); sleep(10); } /*END PERL SCRIPT*/ This particular script polls the data, then sleeps for ten seconds, then loops back through. You'll need to create the RRD file first using the 'rrdtool create' command. This method of short-cycle data collection works pretty well, but is obviously not scalable or manageable past a few variables. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Tue Oct 11 14:01:36 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Tue, 11 Oct 2005 07:01:36 -0500 Subject: [mrtg] Re: bind mrtg to network interface In-Reply-To: <434AE8D4.4020704@stonline.sk> References: <434AE8D4.4020704@stonline.sk> Message-ID: <1129032096.22452.31.camel@localhost.localdomain> On Tue, 2005-10-11 at 00:19 +0200, Eduard VANKO wrote: > Greetings! > > I've solaris machine with 2 network cards with IP adresses in one subnet > (one network card is backup) > I need to use exactly one as source IP address for mrtg because of > firewall - can anybody help me with this binding? cfgmaker hardcommunityname at router.fqdn.dom:161!1.2.3.4:2:1:1:2 -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Tanya.Ruttenberg at ssa.gov Tue Oct 11 15:41:32 2005 From: Tanya.Ruttenberg at ssa.gov (Ruttenberg, Tanya) Date: Tue, 11 Oct 2005 09:41:32 -0400 Subject: [mrtg] Re: Lockfiles and program flow Message-ID: <5706AD7376228E458E486975B216BC0702927A3E@HQ-MBX-02.ba.ad.ssa.gov> Actually, we have Hitachi DASD readily available -- an advantage to working in a large organization like the US federal government :-) -- and moved all 60,000 files over there. We are running over 4 load-balancing fiber channels and the I/O hurdle has now been overcome. But I'm still wondering why $templock disappears. I've done all the things you suggest below (turn on debugging, run in daemon mode, etc.) and the answer to the $templock issue still eludes me. But since the I/O problem has been resolved, I know the runs are completing in time. I suppose I don't have a problem "per se" anymore, but if Tobi or anyone else can shed light on the $templock thing I'd be interested to hear it. Tanya Ruttenberg - RSIS Contractor OTSO/DNE/NMPEB tanya.ruttenberg at ssa.gov 410-965-9605 -----Original Message----- From: Volk,Gregory B [mailto:greg.volk at edwardjones.com] Sent: Monday, October 10, 2005 8:23 AM To: Ruttenberg, Tanya; mrtg at list.ee.ethz.ch Subject: RE: [mrtg] Lockfiles and program flow > Mrtg 2.10.15 running on Sun V440 on Solaris 8 using rrdtool 1.0.50 > > 15 instances of mrtg are running from cron once a minute at a > 15 minute interval. So there is an instance of mrtg starting every > minute. > > Total number of targets almost 60,000 > > **Serious** I/O problems, which we are working on to resolve by adding > hardware, but in the meantime management wants us to try to "make it > work" on the 2 striped disks we have. > Wow, I thought I was the only person running MRTG on a big, overpriced, slow Sun box these days. ;) I poll 25,060 two variable targets on a five minute interval. I do this on top of Solaris 8 on V440 hardware (4 procs, 8 gigs) but I store all the RRD files on EMC dasd. Prior to moving the WorkDir to the EMC my system was falling over because it was so always really I/O bound. I know EMC is a bitter, expensive, pill to swallow, but without it, the processing horsepower of a V440 pretty much goes to waste (at least in my case it does). Your 15 config files must be gargantuan! I spread out my 25,000 targets among 80 MRTG invocations running in daemon mode. If you can't swing the dollars for an EMC frame, you might want to look into a RAM filesystem - if the V440 can accomodate enough RAM that would allow you to put your WorkDir on a RAM filesystem that would get around the disk IO issues you have, but of course then you have volatility issues in the event of a crash. :( > > Two lockfiles are created, $lockfile and $templock. $templock > disappears early on--haven't figure out when exactly, but by the time > the SNMP metrics are being collected it seems to be gone. Is this by > design? $lockfile disappears when "Remove lock files" shows up in log > (with > --debug=base) -- > once the entire run has completed. > > How can I tell if my runs are completing in within 15 minutes? What is > going on here? > I'm not sure what $templock is, but you might want to turn on logging via the... --logging mrtg.log ...command line directive, but I don't know if that command option works outside of daemon mode. I'm thinking that debugging the base set will not tell you whether or not you're meeting the time limits. If --logging doesn't tell you anything in cron mode, try running one of your 15 config files in Daemon mode by putting RunAsDaemon:Yes at the top, and then turn on logging via the command line. I am certain that an 'interval exceeded' message will appear in the log file if the poll cycle takes too long - I've seen it happen in my own stuff in the past. Good luck. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Tue Oct 11 17:11:06 2005 From: khudson at tsss.org (kelsey hudson) Date: Tue, 11 Oct 2005 08:11:06 -0700 Subject: [mrtg] Re: Use of MRTG+RRD for LAN traffic analysis with one second interval In-Reply-To: References: Message-ID: <434BD60A.4090801@tsss.org> Prasad Kularatne wrote: > I am currently doing a research to find out the sensitivity of Database > and Web traffic to iSCSI traffic in a LAN environment. > > I do need a traffic analysis and graphing tool to peep through the TCP > traffic behavior on my Cisco switch. > > I am planning to use MRTG+RRD tool for this purpose. > > The documentation I went through clearly indicates that MRTG along can > only give me bandwidth utilization statistics in 5 minutes intervals and > also Florin's "MRTG Implementation Manual" also indicates that even with > RRD I can obtain only that granularity. > > But some of my collegues were claiming that MRTG+RRD can allow me to do > the traffic analysis with one second intervals. > > Therefore I thought of resolving this with the person who wrote the tools. > > > Can any one of you let me know whether the combination of the above tools > allow me to capture and graph traffic statistics at one second intervals. > > As per Toby it required hacking the MRTG code. Have anyone of you done > this? Although what you're asking to do isn't so difficult, polling traffic once per second could cause the SNMP agent on your switch to utilize far more CPU time than you anticipate, thereby decreasing overall switch bandwith and switching speed. So, your results may very well not be accurate if you poll them so frequently. But, if you have a beefy enough switch, like a 6509, it may be able to handle the extra load without complaining too much. good luck. -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric at techeminence.com Tue Oct 11 17:59:23 2005 From: eric at techeminence.com (Eric M.Faden) Date: Tue, 11 Oct 2005 11:59:23 -0400 Subject: [mrtg] Total Bandwidth Usage? Message-ID: Hey everyone, Is there a way to get MRTG using SNMP on a linux box to display my total bandwidth used? (Not bps, but actual usage)? -Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From billw at waveform.net Tue Oct 11 19:05:48 2005 From: billw at waveform.net (Bill Wichers) Date: Tue, 11 Oct 2005 13:05:48 -0400 (EDT) Subject: [mrtg] Re: Total Bandwidth Usage? In-Reply-To: References: Message-ID: <34045.204.11.32.10.1129050348.squirrel@204.11.32.10> > Hey everyone, > > Is there a way to get MRTG using SNMP on a linux box to > display my total bandwidth used? (Not bps, but actual > usage)? > > -Eric It *does* show your total bandwidth used, as measured in bits/second (a RATE based measurement). I'm assuming you want gigabytes/month though, which seems to be what a lot of hosting companies are using. MRTG doesn't display this a cumulative total directly (you can set the graphs to show bytes/second though instead of bits/second), but you can use the php script "MRTG Total Traffic Generator" from "Bj?rn Patrick Swift" that will compute the gigabyte useage values over a defined period of time for you. -Bill ***************************** Waveform Technology Systems Engineer -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From nigel at wispbroadband.co.uk Tue Oct 11 19:04:57 2005 From: nigel at wispbroadband.co.uk (Nigel Bruin) Date: Tue, 11 Oct 2005 18:04:57 +0100 Subject: [mrtg] Re: Total Bandwidth Usage? In-Reply-To: References: Message-ID: >Hey everyone, > >Is there a way to get MRTG using SNMP on a linux box to >display my total bandwidth used? (Not bps, but actual >usage)? Try http://bjorn.swift.is/traffic/ It's a PHP script to calculate totals from MRTG log files. -- NIgel. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From kularatn at sg.ibm.com Wed Oct 12 08:57:29 2005 From: kularatn at sg.ibm.com (Prasad Kularatne) Date: Wed, 12 Oct 2005 06:57:29 +0000 Subject: [mrtg] Tool for cross traffic analysis Message-ID: Hi folks, I am carrying out a research in finding out the sensitivity of regular traffic to iSCSI traffic in a LAN environment. This requires analysis of the traffic profiles of different TCP traffic types and their efffects on the queueing. I am looking for a tool which can graph different traffic types flowing off the same Switch port. Currently I am using the SPAN port with Ethereal, but it has some issues. Does any one of you know of a tool for out-of-band (should not affect the traffic flowing over the monitored port) monitoring of different TCP traffic over a LAN switch, preferably using SNMP counters. I want one second granularity. I have a Cisco 2970 L3 switch and it does not support NetFlow. Appreciate your adivise. Thanks. Good Luck! Prasad IBM in Sri Lanka -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Allan.J.Cleaveland at L-3com.com Wed Oct 12 19:57:02 2005 From: Allan.J.Cleaveland at L-3com.com (Cleaveland, AJ Allan @ IS) Date: Wed, 12 Oct 2005 12:57:02 -0500 Subject: [mrtg] MRTG with RRDTool and 14all on Windows 2000 Message-ID: <7736DD1D5D6EDD4081B590872B56DCCC0C29F6F7@gvlexch01.gvl.is.l-3com.com> I am running MRTG with RRDTool on a Windows 2000 box. I got MRTG set up and [apparently] working properly with Rateup. Then I switched to RRDTool and according to the file modified times, I'm updating the databases. However, when I got 14all to produce webpages I got a red box with "Error: Cannot Create Graph" where each of my graphs should be. Can anyone help? Also, I'm monitoring the CPU, memory (virtual, physical, HDD), and data rate (ethernet comms usage) of the server with MRTG. Memory has an example and seems to work, though it apparently baselines at 0, rather than actual % used (but I can see a bump in my graph so something's getting monitored) and, of course, the ethernet communications are being monitored, apprarently properly. Memory is always a flatline 0, however. I'm getting these results with MRTG with rate-up, no additions (I set up a second box to try to troubleshoot where my errors are with the first one). Can anyone provide me some insight as to why (how do I need to set up my config file?) and how to get the info I actually want (% mem used and % CPU use)? Thank you, Allan Cleaveland -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Benjamin.Grossman at METROKC.GOV Wed Oct 12 19:58:15 2005 From: Benjamin.Grossman at METROKC.GOV (Grossman, Benjamin) Date: Wed, 12 Oct 2005 10:58:15 -0700 Subject: [mrtg] Re: Trying to measure ATM traffic on Marconi ESR-6000 Message-ID: <0A783574FBD0D311B3B000805FE672932DE22AD0@kcmail1.metrokc.gov> Gil- I cannot advise you directly about the ESR-6000; however the following describes our experience with the ASX-200bx, TNX-210, and ASX-4000 ATM switches from Marconi: ================================================ Here is some of what you need to know on the Marconi side: (XXXX is an ASX-200bx ATM switch) You need to be aware that the OID changes based on the version of Marconi's FT software you are using... OIDs (for FT 7.1): .1.3.6.1.4.1.326.2.2.2.1.4.1.1.8.port.path.circuit - # of cells .1.3.6.1.4.1.326.2.2.2.1.4.4.1.5.port.path.circuit - # of cells Multiply # of cells by 48 to get bytes [53 byte cells - header] Target[XXXX]: .1.3.6.1.4.1.326.2.2.2.1.4.1.1.8.0.0.114 & .1.3.6.1.4.1.326.2.2.2.1.4.4.1.5.0.0.114:community at XXXX::::2*48 Depending on how your VC is built, numbering may also change any time it is re-created... I have also found it necessary to fiddle with the code to get cfgmaker to work correctly for me on these devices. I can share the mods if you are interested. Benjamin k Grossman King County ITS -----Original Message----- From: Gil Brezler [mailto:brezler1 at comcast.net] Sent: Tuesday, October 04, 2005 11:59 AM To: MRTG List Subject: [mrtg] Trying to measure ATM traffic on Marconi ESR-6000 I'm trying to use MRTG to measure ATM traffic on Marconi equipment. Can anyone give me some pointers as to where I might find suggestions as to how to accomplish this? Using the "standard" config, nothing gets measured on these ports; probably because the traffic is not comprised of Ethernet packets. Searched the web and so far turned up nothing I could understand or use. Any help would be greatly appreciated... Thanks in advance... Gil -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From martinr at hotkey.net.au Thu Oct 13 01:30:17 2005 From: martinr at hotkey.net.au (Martin Rheumer) Date: Thu, 13 Oct 2005 09:30:17 +1000 Subject: [mrtg] Threshold Problem with rrdtool 1.2.11 and mrtg 2.12.2 Message-ID: Gday again, Im just wondering now if anyone has rrdtool 1.2.11 and mrtg 2.12.2 and thresholds actually working ? After fixing my rrdtool perl issue and upgrading successfully, I am starting to re-run my mrtg scripts and have found an issue it seems with Thresholds. WARNING: can't do threshold checking for target localhost.eth0(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk1(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk2(i) -- No valid current data WARNING: can't do threshold checking for target localhost.load1(i) -- No valid current data Looking at the data and the graphs produced there is actual values returned no problem with these scripts. Just wondered if anyone had stumbled onto this and solved it. The .cfg files ran perfectly under mrtg 2.12.2 and rrdtool 1.0.45. Thanks again Martin -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From tipaporn.p at psu.ac.th Thu Oct 13 06:05:03 2005 From: tipaporn.p at psu.ac.th (tipaporn.p at psu.ac.th) Date: Thu, 13 Oct 2005 11:05:03 +0700 (ICT) Subject: [mrtg] Cannot plot the graph, even get the correct value Message-ID: <1793.192.168.2.37.1129176303.squirrel@first.psu.ac.th> Hello, I'm a newbie for mrtg. I use mrtg to get ifInErrors value from Cisco 7206 router. Everything seems good but I always get the zero values in the log file. However, I can use snmpwalk to get this value as shown below. [root at myserver ~]# snmpwalk -v 2c -c public myrouter ifInErrors.5 IF-MIB::ifInErrors.5 = Counter32: 12980 Below is raw MRTG data coming out of the network interface I would like to plot the graph. 1129175401 12981 12981 1129175401 0 0 0 0 1129175102 0 0 0 0 1129175100 0 0 0 0 1129174800 0 0 0 0 1129174500 0 0 0 0 1129174200 0 0 0 0 1129173900 0 0 0 0 1129173600 0 0 0 0 1129173300 0 0 0 0 ... As shown above, the first row are the correct values but the other rows are always zero. Why? My configuration file is shown as following: EnableIPv6: no options[_]: growright, nopercent workdir:/var/www/mrtg/test ### S1/0 Input Error ### Target[s1_0]: ifInErrors.5&ifInErrors.5:public at myrouter RouterUptime[s1_0]:public at myrouter MaxBytes[s1_0]: 1000000 Title[s1_0]: New Input Error at the interface s1/0 PageTop[s1_0]:

New Input Error at s1/0

Unscaled[s1_0]:ym ShortLegend[s1_0]:packets YLegend[s1_0]:Input Error Legend2[s1_0]:S1/0 Input Error LegendI[s1_0]: LegendO[s1_0]: Error Can Anyone help me? I would appreciate it very much if anyone gives me some suggestions. I've tried to change all parameters as I know but it doesn't work. I don't know how to solve this problem. Thank you very much. Ti ----------------------------------------- This email was sent using SquirrelMail. https://front.psu.ac.th/ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Steve.Dowling at det.nsw.edu.au Thu Oct 13 06:52:59 2005 From: Steve.Dowling at det.nsw.edu.au (Dowling, Steve) Date: Thu, 13 Oct 2005 14:52:59 +1000 Subject: [mrtg] Re: Cannot plot the graph, even get the correct value Message-ID: <082194CCC25BD449AF260C6D307E530546F52A@pefexch1.sydney.det.win> Ti, mrtg logs rates. What you're plotting is the number of errors *PER SECOND* - I'd hope that would be zero! Try using: Options[s1_0]:perminute or tou may like to use the perhour option instead. I don't try to log errors, there's not enough of them to log unless you've got a really bad line. Steve -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of tipaporn.p at psu.ac.th Sent: Thursday, 13 October 2005 2:05 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Cannot plot the graph, even get the correct value Hello, I'm a newbie for mrtg. I use mrtg to get ifInErrors value from Cisco 7206 router. Everything seems good but I always get the zero values in the log file. However, I can use snmpwalk to get this value as shown below. [root at myserver ~]# snmpwalk -v 2c -c public myrouter ifInErrors.5 IF-MIB::ifInErrors.5 = Counter32: 12980 Below is raw MRTG data coming out of the network interface I would like to plot the graph. 1129175401 12981 12981 1129175401 0 0 0 0 1129175102 0 0 0 0 1129175100 0 0 0 0 1129174800 0 0 0 0 1129174500 0 0 0 0 1129174200 0 0 0 0 1129173900 0 0 0 0 1129173600 0 0 0 0 1129173300 0 0 0 0 ... As shown above, the first row are the correct values but the other rows are always zero. Why? My configuration file is shown as following: EnableIPv6: no options[_]: growright, nopercent workdir:/var/www/mrtg/test ### S1/0 Input Error ### Target[s1_0]: ifInErrors.5&ifInErrors.5:public at myrouter RouterUptime[s1_0]:public at myrouter MaxBytes[s1_0]: 1000000 Title[s1_0]: New Input Error at the interface s1/0 PageTop[s1_0]:

New Input Error at s1/0

Unscaled[s1_0]:ym ShortLegend[s1_0]:packets YLegend[s1_0]:Input Error Legend2[s1_0]:S1/0 Input Error LegendI[s1_0]: LegendO[s1_0]: Error Can Anyone help me? I would appreciate it very much if anyone gives me some suggestions. I've tried to change all parameters as I know but it doesn't work. I don't know how to solve this problem. Thank you very much. Ti ----------------------------------------- This email was sent using SquirrelMail. https://front.psu.ac.th/ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi ********************************************************************** 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://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From peter_glanville at cuk.canon.co.uk Thu Oct 13 10:18:33 2005 From: peter_glanville at cuk.canon.co.uk (Peter Glanville) Date: Thu, 13 Oct 2005 09:18:33 +0100 Subject: [mrtg] Re: MRTG with RRDTool and 14all on Windows 2000 Message-ID: > I am running MRTG with RRDTool on a Windows 2000 box. I got MRTG set up and > [apparently] working properly with Rateup. Then I switched to RRDTool and > according to the file modified times, I'm updating the databases. However, > when I got 14all to produce webpages I got a red box with "Error: Cannot > Create Graph" where each of my graphs should be. Can anyone help? When I tried 14all in my Windoze environment I had to do some extensive playing with the path formats. Do you put in drive letters, leading slashes, and forward or backslashes. Can't remember the correct variation, and not sure if it was the same in each instance. I ended up changing to Routers2.cgi which I now think is much better > Also, I'm monitoring the CPU, memory (virtual, physical, HDD), and data rate >(ethernet comms usage) of the server with MRTG. > Memory is always a flatline 0, however. The obvious fault there, is are you using the gauge option? If not, you're measuring the rate of change of memory, which will be low. Peter -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Allan.J.Cleaveland at L-3Com.com Thu Oct 13 14:25:41 2005 From: Allan.J.Cleaveland at L-3Com.com (Cleaveland, AJ Allan @ IS) Date: Thu, 13 Oct 2005 07:25:41 -0500 Subject: [mrtg] Re: MRTG with RRDTool and 14all on Windows 2000 Message-ID: <7736DD1D5D6EDD4081B590872B56DCCC0C29F6FF@gvlexch01.gvl.is.l-3com.com> <<<<<<<<<<<<< > I am running MRTG with RRDTool on a Windows 2000 box. I got MRTG set > up and > [apparently] working properly with Rateup. Then I switched to RRDTool and > according to the file modified times, I'm updating the databases. However, > when I got 14all to produce webpages I got a red box with "Error: > Cannot Create Graph" where each of my graphs should be. Can anyone > help? When I tried 14all in my Windoze environment I had to do some extensive playing with the path formats. Do you put in drive letters, leading slashes, and forward or backslashes. Can't remember the correct variation, and not sure if it was the same in each instance. I ended up changing to Routers2.cgi which I now think is much better >>>>>>>>>>>>>>>>>>> I use full paths, drive letters on down. I think I've tried both forward and backslashes and use back. <<<<<<<<<<<<<<<<<<<<< > Also, I'm monitoring the CPU, memory (virtual, physical, HDD), and > data rate >(ethernet comms usage) of the server with MRTG. > Memory is always a flatline 0, however. The obvious fault there, is are you using the gauge option? If not, you're measuring the rate of change of memory, which will be low. >>>>>>>>>>>>>>>>>>> I have them set to gauge. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Thu Oct 13 16:11:58 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Thu, 13 Oct 2005 09:11:58 -0500 Subject: [mrtg] Re: Tool for cross traffic analysis In-Reply-To: References: Message-ID: <1129212718.22452.82.camel@localhost.localdomain> On Wed, 2005-10-12 at 06:57 +0000, Prasad Kularatne wrote: > Hi folks, > I am carrying out a research in finding out the sensitivity of regular > traffic to iSCSI traffic in a LAN environment. This requires analysis of > the traffic profiles of different TCP traffic types and their efffects on > the queueing. > > I am looking for a tool which can graph different traffic types flowing > off the same Switch port. Currently I am using the SPAN port with > Ethereal, but it has some issues. I'm afraid that will be the best you will be able to gather. > Does any one of you know of a tool for out-of-band (should not affect the > traffic flowing over the monitored port) monitoring of different TCP > traffic over a LAN switch, preferably using SNMP counters. I want one > second granularity. > > I have a Cisco 2970 L3 switch and it does not support NetFlow. 2970 is a L2 switch. None of the 35xx or 375x line support netflow with IOS 12.2SE - a real bummer, since the 3550 used to support it... But netflow will not give you 1-second granularity - it only reports when the flow ends. So a sniffer is really your best tool. If you are having trouble with SPAN, then get a splitter from CenturyTap. But nothing else will give you anything like the granularity you are looking for. You might have to go back and do a manual analysis of the trace (Sniffer Pro from Network Associates does a better job of back-end analysis than Ethereal, but the cost/benefit ratio might not be there)... -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Naloi at synergyonefcu.org Thu Oct 13 16:21:01 2005 From: Naloi at synergyonefcu.org (Natalie Aloi) Date: Thu, 13 Oct 2005 10:21:01 -0400 Subject: [mrtg] MRTG Mapping Fractional T1 Message-ID: Does anyone know of a way to map individual channels from a t1 through MRTG? CONFIDENTIALITY NOTICE: This message and any attached documents may contain confidential information from Synergy One FCU. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From jlawson at financeware.com Thu Oct 13 16:30:21 2005 From: jlawson at financeware.com (Joe Lawson) Date: Thu, 13 Oct 2005 10:30:21 -0400 Subject: [mrtg] MRTG config for a Tasman 1004 router? Message-ID: <1E339F61DD2DFF459E2F4D7FF129E98D912830@mail01.ric.wcm.net> Greetings, Anyone have a config for the referenced router that they wouldn't mind sharing with me? Regards, -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From list at racc2000.com Thu Oct 13 16:36:01 2005 From: list at racc2000.com (Andrew Hull) Date: Thu, 13 Oct 2005 10:36:01 -0400 Subject: [mrtg] Re: MRTG Mapping Fractional T1 In-Reply-To: References: Message-ID: <434E70D1.3030807@racc2000.com> Are you talking about a channelized T1 like a bank of PRIs or DS0s for a dial up bank or a full T1 circuit that is not "turned up" all the way? The latter should be the same a monitoring a full 24 channel T1, just adjust MaxBytes to match your throughput. If configured properly, the former will be just as easy. Each channel will be its own interface in the rotuer/access server, and the config maker tool will detect them all. Basically, do a "show interface" on your (cisco) router, each interface listed is individually monitorable. Andrew Natalie Aloi wrote: > Does anyone know of a way to map individual channels from a t1 through > MRTG? > > CONFIDENTIALITY NOTICE: This message and any attached documents may contain confidential information from Synergy One FCU. > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From arinesmith at bigrivertelephone.com Thu Oct 13 16:53:18 2005 From: arinesmith at bigrivertelephone.com (Anson Rinesmith) Date: Thu, 13 Oct 2005 09:53:18 -0500 Subject: [mrtg] Re: MRTG config for a Tasman 1004 router? In-Reply-To: <1E339F61DD2DFF459E2F4D7FF129E98D912830@mail01.ric.wcm.net> Message-ID: <200510131452.j9DEqV814973@mailhost.bigrivertelephone.com> It configs just like any other router, I have multiple tasman models and did nothing other than run cfgmaker against it. It found every interface bundle I had built. It was also nice and returned information for every physical interface as well. If you have specific questions, let me know, I would be more than happy to help. --- Anson Rinesmith Network Operations Big River Telephone Co. 24 S. Minnesota Cape Girardeau, MO 63702-1608 (573) 651.3373 Ext. 106 (573) 651.3605 Fax (573) 382.0555 Cell Real People, Real Service, Real Simple. -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Joe Lawson Sent: Thursday, October 13, 2005 9:30 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] MRTG config for a Tasman 1004 router? Greetings, Anyone have a config for the referenced router that they wouldn't mind sharing with me? Regards, -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From list at racc2000.com Thu Oct 13 17:27:18 2005 From: list at racc2000.com (Andrew Hull) Date: Thu, 13 Oct 2005 11:27:18 -0400 Subject: [mrtg] Re: MRTG Mapping Fractional T1 In-Reply-To: References: Message-ID: <434E7CD6.1020101@racc2000.com> Natalie, I see a potential problem: the 'bandwidth 1024' statement in your interface config tells me that your provider is selling your a T1 throttled to 1024 kilobit/sec. The 'bandwidth' statement instructs the interface not to exceed 1024 kbit/sec, this is good. I'm guessing that your provider has limited the number of timeslots (channels) that the circuit uses, but your interface is currently configured to use all of them (the default). You can confirm that with "show service-module serial1" You'll see a line in the output like: Fraction has 24 timeslots (64 Kbits/sec each), Net bandwidth is 1536 Kbits/sec. The interfaces on each end of the circuit need to match, and I'm guessing that your provider has the circuit limited to 16 timeslots. It would be worth a call to your provider to confirm this. 16 * 64kbps == 1024 kbps Adding "service-module t1 timeslots 1-16" would limit your interface to 16 timeslots and (hopefully) fix your problems. Also, I didn't see a clock source statement in your interface config. It would be a good idea to add one. Your provider is probably providing the timing for the circuit (another good thing to confirm) so adding "service-module t1 clock source line" to the interface would do it. Hope that helps, Andrew Hull Natalie Aloi wrote: > Andrew, - I think maybe that is part of my problem incorrectly > configured channelized t1 (the reason I want to monitor all channels - > is I have complaints of throughput and or latency and MAYBE one of the > channels is not accepting traffic) however this is the config from my > router. > > interface Serial1 > description To SynergyHQ int s1/1 > bandwidth 1024 > ip address 192.168.21.2 255.255.255.0 > ip access-group 102 in > no ip redirects > no ip unreachables > no ip directed-broadcast > no ip proxy-arp > no cdp enable > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From Carlos.Reveles at s-martmx.com Thu Oct 13 18:40:58 2005 From: Carlos.Reveles at s-martmx.com (Carlos Reveles) Date: Thu, 13 Oct 2005 10:40:58 -0600 Subject: [mrtg] Poll interval Message-ID: Hello everyone. How can i set poll interval from five (default) to one minute? thanx. Carlos Daniel Reveles Gomez Ing. en Telecomunicaciones Tel. (656) 629 55 63 Smart Cd. Ju?rez, Chih. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From arinesmith at bigrivertelephone.com Thu Oct 13 19:27:56 2005 From: arinesmith at bigrivertelephone.com (Anson Rinesmith) Date: Thu, 13 Oct 2005 12:27:56 -0500 Subject: [mrtg] Flatline when device unavailable Message-ID: <200510131727.j9DHR8827759@mailhost.bigrivertelephone.com> When MRTG polls a device, the graph flatlines at the last calculated value. Is there a way to show its real value (0.0 b/s)? --- Anson Rinesmith -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 13 19:28:51 2005 From: khudson at tsss.org (kelsey hudson) Date: Thu, 13 Oct 2005 10:28:51 -0700 Subject: [mrtg] Re: Poll interval In-Reply-To: References: Message-ID: <434E9953.8020808@tsss.org> If running in daemon mode: Interval: 1 in the config file will do this. From http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html: Note that unless you are using rrdtool you can not set Interval to less than 5 minutes. If you are using rrdtool you can set interval down to 1 minute. Note though, setting the Interval for an rrdtool/mrtg setup will influence the initial creation of the database. If you change the interval later, all existing databases will remain at the resolution they were initially created with. Cheers, -Kelsey Carlos Reveles wrote: > Hello everyone. > How can i set poll interval from five (default) to one minute? > thanx. > > Carlos Daniel Reveles Gomez > Ing. en Telecomunicaciones > Tel. (656) 629 55 63 > Smart Cd. Ju?rez, Chih. > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From pwilliamson at mandtbank.com Thu Oct 13 19:31:50 2005 From: pwilliamson at mandtbank.com (PAUL WILLIAMSON) Date: Thu, 13 Oct 2005 13:31:50 -0400 Subject: [mrtg] Re: Poll interval Message-ID: >>> "Carlos Reveles" 10/13/05 12:40 PM >>> > Hello everyone. > How can i set poll interval from five (default) to one minute? >thanx. The lowest poll interval you can do with MRTG is 5 minutes. Switch to RRDTool to go lower than than. Paul -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 13 19:30:02 2005 From: khudson at tsss.org (kelsey hudson) Date: Thu, 13 Oct 2005 10:30:02 -0700 Subject: [mrtg] Re: Flatline when device unavailable In-Reply-To: <200510131727.j9DHR8827759@mailhost.bigrivertelephone.com> References: <200510131727.j9DHR8827759@mailhost.bigrivertelephone.com> Message-ID: <434E999A.4070403@tsss.org> Options[device]: unknaszero should fix your problem. If you want it done for all devices change 'device' to '_'. Cheers. -Kelsey Anson Rinesmith wrote: > When MRTG polls a device, the graph flatlines at the last calculated value. > Is there a way to show its real value (0.0 b/s)? > > > --- > > Anson Rinesmith > > > > > > > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Thu Oct 13 20:13:41 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Thu, 13 Oct 2005 13:13:41 -0500 Subject: [mrtg] Re: MRTG Mapping Fractional T1 In-Reply-To: References: Message-ID: <1129227221.22452.101.camel@localhost.localdomain> On Thu, 2005-10-13 at 10:34 -0400, Natalie Aloi wrote: > I have a single interface - what I think may be happening is that one of > the channels is not taking traffic, also I am not completely sure that > the router is configured to show the different channels - I just know > only 16 of the 24 are being used for data the other 8 are being using > for phones. in a later post, you list the device as "serial1". I assume it is not a built-in DSU, and that you are doing the add-drop function at an external CSU/DSU. The Cisco router, in that case, has absolutely no data to work with. YOu might be able to grab something from the CSU if it is SNMP enabled. But the general case is that bits are sliced across all active channels, so it's not possible for one timeslot to not work and the T1 continue to function. -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From list at racc2000.com Thu Oct 13 20:39:09 2005 From: list at racc2000.com (Andrew Hull) Date: Thu, 13 Oct 2005 14:39:09 -0400 Subject: [mrtg] Re: MRTG Mapping Fractional T1 In-Reply-To: <1129227221.22452.101.camel@localhost.localdomain> References: <1129227221.22452.101.camel@localhost.localdomain> Message-ID: <434EA9CD.9060405@racc2000.com> I have implemented several Cisco 1720 routers for our T1 customers. They have 2 integrated WIC slots for Cisco WIC-1DSU-T1 cards. Those interfaces are named Serial0 and Serial1. So although the scenario you presented is certainly possible, it is not by any means an assumption to make. Andy Daniel J McDonald wrote: > On Thu, 2005-10-13 at 10:34 -0400, Natalie Aloi wrote: > >>I have a single interface - what I think may be happening is that one of >>the channels is not taking traffic, also I am not completely sure that >>the router is configured to show the different channels - I just know >>only 16 of the 24 are being used for data the other 8 are being using >>for phones. > > > in a later post, you list the device as "serial1". I assume it is not a > built-in DSU, and that you are doing the add-drop function at an > external CSU/DSU. The Cisco router, in that case, has absolutely no > data to work with. YOu might be able to grab something from the CSU if > it is SNMP enabled. > > But the general case is that bits are sliced across all active channels, > so it's not possible for one timeslot to not work and the T1 continue to > function. > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From nik.duvall at gmail.com Thu Oct 13 23:00:23 2005 From: nik.duvall at gmail.com (Nik DuVall) Date: Thu, 13 Oct 2005 17:00:23 -0400 Subject: [mrtg] MRTG & MIB usage - need help Message-ID: <434ecafb.37f060ed.1f30.ffff827f@mx.gmail.com> I am trying to get the CPU Utilization from my Adtran NetVanta 1224R, yet I have not figured out how to setup my config file properly. Can someone please help me do so? ADTRAN CONFIG CONTENTS ====================== snmp-server chassis-id "Adtran_NV1224R" snmp-server enable traps snmp snmp-server source-interface vlan 1 snmp-server community public RO NMS snmp-server community private RW NMS snmp-server host 192.168.0.1 traps version 2c public Adtran MIB file I am using can be found on the web at http://www.adtran.com/adtranpx/Doc/0/J5NCO4DS9D3KL06RTN3SL96D0C/adunit.mib MRTG CONFIG FILE CONTENTS ========================= WorkDir: C:\InetPub\wwwroot\MRTG LogFormat: rrdtool PathAdd: C:\mrtg\rrdtool\rrdtool\Release LoadMIBs: C:\mrtg\bin\adunit.mib RunAsDaemon: yes EnableIPv6: no ###################################################################### # System: nduvall-adtran-nv1224r # Description: NetVanta 1224R, Version: 10.01.00.SC, Date: Wed Aug 17 14:02:05 2005 # Contact: Nik DuVall 334-745-4486 # Location: 178 LEE RD 126, Salem, AL 36874 ###################################################################### ### CPU Utilization ### Target[192.168.1.1-CPU]: adUnitCpuUtil&adUnitCurrentCpuUtil:public at 192.168.1.1:::::2 Title[192.168.1.1-CPU]: CPU Utilization MaxBytes[192.168.1.1-CPU]: 100 Options[192.168.1.1-CPU]: integer gauge noo PageTop[192.168.1.1-CPU]: dummy OUTPUT FROM MRTG ================ C:\MRTG\bin>perl mrtg test.cfg WARNING: Daemonizing MRTG ... Do Not close this window. Or MRTG will die Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 66. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1588. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1605. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1613. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1623. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1632. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1642. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 2124. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3646. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3663. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3671. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3681. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3690. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3700. cannot encode Object ID .30.3.4: first subid too big in Object ID 30.3.4 at mrtg line 1921 ERROR: Target[192.168.1.1-cpu][_IN_] ' $target->[2]{$mode} ' did not eval into d efined data ERROR: Target[192.168.1.1-cpu][_OUT_] ' $target->[2]{$mode} ' did not eval into defined data Regards, Nik DuVall -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at veggiechinese.net Thu Oct 13 23:17:59 2005 From: mrtg at veggiechinese.net (Will Yardley) Date: Thu, 13 Oct 2005 14:17:59 -0700 Subject: [mrtg] image problem on FreeBSD Message-ID: <20051013211759.GI4456@mitch.veggiechinese.net> MRTG 2.12.1 (from ports) on FreeBSD 4.8-RELEASE Worked before... if I go to: http://foo.example.com/cgi-bin/14all-1.1.cgi?dir=traffic/ I can see the images Ok - however, if I go to an individual link, like: http://foo.example.com/cgi-bin/14all-1.1.cgi?log=somemachine_192.168.0.1 I get an "Error: Cannot create graph" image. The httpd error log says: File does not exist: /usr/local/www/data/usr (/usr/local/www/data is the DocumentRoot for the virtualhost in Apache; /usr/local/www/cgi-bin is where the script lives; the MRTG data lives in /usr/local/var/mrtg/traffic) The MRTG config has: WorkDir: /usr/local/var/mrtg LogDir: /usr/local/var/mrtg I realize I haven't given the full configs here yet, but can someone give me a pointer, or let me know if this rings any obvious bells? I'm sure it's something really stupid. w -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From cliffc at ibbs.com Thu Oct 13 23:22:04 2005 From: cliffc at ibbs.com (Cliff Cole) Date: Thu, 13 Oct 2005 17:22:04 -0400 Subject: [mrtg] Renaming Label Message-ID: <20051013212250.AE60937FA98@mxo3.broadbandsupport.net> Hello I am trying to find a way to rename the label of the mrtg config file using cfgmaker. We have custom applications that looks for a certain name and until receintly it's been a long manual process. So instead of cfgmaker labeling the target[name] I want it to be target[whatIwant1] type deal. I've played around with the templates which work great except for this aspect. Just wondering if anyone else has came across this and what they did to resolve it. Thanks, Cliff -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at veggiechinese.net Thu Oct 13 23:09:07 2005 From: mrtg at veggiechinese.net (Will Yardley) Date: Thu, 13 Oct 2005 14:09:07 -0700 Subject: [mrtg] APC 7900 / 7901 config Message-ID: <20051013210907.GH4456@mitch.veggiechinese.net> Does anyone have a sample config for using MRTG to graph an APC 7900 series PDU via snmp? I'm mostly interested in graphing power consumption. w -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From greg.volk at edwardjones.com Fri Oct 14 00:28:51 2005 From: greg.volk at edwardjones.com (Volk,Gregory B) Date: Thu, 13 Oct 2005 17:28:51 -0500 Subject: [mrtg] Re: APC 7900 / 7901 config Message-ID: <3C83DDDEC7B8194A83B7A92B5557BE3421E1F6@nwpsrv07.edj.ad.edwardjones.com> > Does anyone have a sample config for using MRTG > to graph an APC 7900 series PDU via snmp? > > I'm mostly interested in graphing power consumption. There is an APC template available for download at mrtg.gvolk.com. Among other things it has % Total Battery life left, and %Load. I wrote and tested it with around an APC9606 management card, so I don't know for sure if it will work against a 7900. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at veggiechinese.net Fri Oct 14 00:40:46 2005 From: mrtg at veggiechinese.net (Will Yardley) Date: Thu, 13 Oct 2005 15:40:46 -0700 Subject: [mrtg] Re: APC 7900 / 7901 config In-Reply-To: <3C83DDDEC7B8194A83B7A92B5557BE3421E1F6@nwpsrv07.edj.ad.edwardjones.com> References: <3C83DDDEC7B8194A83B7A92B5557BE3421E1F6@nwpsrv07.edj.ad.edwardjones.com> Message-ID: <20051013224046.GK4456@mitch.veggiechinese.net> On Thu, Oct 13, 2005 at 05:28:51PM -0500, Volk,Gregory B wrote: > > Does anyone have a sample config for using MRTG to graph an APC 7900 > > series PDU via snmp? > > > > I'm mostly interested in graphing power consumption. > There is an APC template available for download at mrtg.gvolk.com. > Among other things it has % Total Battery life left, and %Load. Looks interesting. In this case, it's a PDU, not a UPS type deal, so not sure if most of the stuff will be applicable, but might be useful as a rough guide. w -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From martinr at hotkey.net.au Fri Oct 14 03:00:10 2005 From: martinr at hotkey.net.au (Martin Rheumer) Date: Fri, 14 Oct 2005 11:00:10 +1000 Subject: [mrtg] Threshold Problem with rrdtool 1.2.11 and mrtg 2.12.2 Message-ID: Gday again, Have had another go at this and it seems to work when you add options: unknaszero. Around line 1700 in the mrtg script it mentions $threshval{$dir} = 0 if not defined $threshval{$dir} and $$rcfg{'options'}{'unknaszero'}{$router}; warn "WARNING: can't do threshold checking for target $router($dir) -- No valid current data\n" unless defined $threshval{$dir}; my $value = $threshval{$dir}; and I added unknaszero to the localhost.eth0 options, but has this fixed the problem or just made it ignore the threshold completely ? Im just wondering now if anyone has rrdtool 1.2.11 and mrtg 2.12.2 and thresholds actually working ? After fixing my rrdtool perl issue and upgrading successfully, I am starting to re-run my mrtg scripts and have found an issue it seems with Thresholds. WARNING: can't do threshold checking for target localhost.eth0(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk1(i) -- No valid current data WARNING: can't do threshold checking for target localhost.disk2(i) -- No valid current data WARNING: can't do threshold checking for target localhost.load1(i) -- No valid current data Looking at the data and the graphs produced there is actual values returned no problem with these scripts. Just wondered if anyone had stumbled onto this and solved it. The .cfg files ran perfectly under mrtg 2.12.2 and rrdtool 1.0.45. Thanks again Martin -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yonienjcn at gmail.com Fri Oct 14 04:00:09 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Thu, 13 Oct 2005 22:00:09 -0400 Subject: [mrtg] anybody knows this problem? Message-ID: <8ee7548c0510131900i6adc85f7pda3e35e84df02b12@mail.gmail.com> Hello everybody I use mrtg to monitor the traffic. It's the lastest version. I run MRTG as Daemon mode. When I login as root, it works OK, only I need to do is to change the web files' ownership. Becuase I run in root, so all the file created by MRTG belong to root.root. but when MRTG try to update the data, it use MRTG privilege and don't have permission to edit these files. So I think I can run MRTG under user mrtg, but I get an error messages, it told me that that user mrtg didn't have permission to create the temperately lock in /usr/local/mrtg/bin/mrtg file 1640 line. I check the /usr/local/mrtg/bin/mrtg file, in 1640 it's like this open(LOCK,">$template_lock")******************* Anybody can give me an idea? Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From JKoelstra at MINSZW.NL Fri Oct 14 09:43:39 2005 From: JKoelstra at MINSZW.NL (Koelstra, J. (Jan)) Date: Fri, 14 Oct 2005 09:43:39 +0200 Subject: [mrtg] Re: Flatline when device unavailable Message-ID: <74C07D641252F140AE5086DA2D5336010123E4A3@MAILCL0802.MINSZW.NL> Anson You want the the 'unkaszero' at the options line in your mrtg config file. >From http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg-reference.html: "Log unknown data as zero instead of the default behaviour of repeating the last value seen. Be careful with this, often a flat line in the graph is much more obvious than a line at 0." Hth, Jan. -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Anson Rinesmith Sent: Thursday, October 13, 2005 7:28 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Flatline when device unavailable When MRTG polls a device, the graph flatlines at the last calculated value. Is there a way to show its real value (0.0 b/s)? --- Anson Rinesmith -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi _________________________________________________________ Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen. _________________________________________________________ The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. _________________________________________________________ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From arinesmith at bigrivertelephone.com Fri Oct 14 16:41:30 2005 From: arinesmith at bigrivertelephone.com (Anson Rinesmith) Date: Fri, 14 Oct 2005 09:41:30 -0500 Subject: [mrtg] Re: anybody knows this problem? In-Reply-To: <8ee7548c0510131900i6adc85f7pda3e35e84df02b12@mail.gmail.com> Message-ID: <200510141440.j9EEei820658@mailhost.bigrivertelephone.com> I would check the file and directory permissions of where you have your config files. MRTG creates a temp file in that same directory when it is running. Assume you have myconfig.cfg, the file will look something like myconfig.cfg_l_87659 or some other number. Be sure user mrtg has permissions on all the files and the directory. --- Anson Rinesmith -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Tao Yaoning Sent: Thursday, October 13, 2005 9:00 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] anybody knows this problem? Hello everybody I use mrtg to monitor the traffic. It's the lastest version. I run MRTG as Daemon mode. When I login as root, it works OK, only I need to do is to change the web files' ownership. Becuase I run in root, so all the file created by MRTG belong to root.root. but when MRTG try to update the data, it use MRTG privilege and don't have permission to edit these files. So I think I can run MRTG under user mrtg, but I get an error messages, it told me that that user mrtg didn't have permission to create the temperately lock in /usr/local/mrtg/bin/mrtg file 1640 line. I check the /usr/local/mrtg/bin/mrtg file, in 1640 it's like this open(LOCK,">$template_lock")******************* Anybody can give me an idea? Thanks -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From KHart at helixtechnology.com Sat Oct 15 06:52:36 2005 From: KHart at helixtechnology.com (Hart, Kevin) Date: Sat, 15 Oct 2005 00:52:36 -0400 Subject: [mrtg] Re: MRTG & MIB usage - need help Message-ID: <6FA79BD0B67DD411AAC400306E00B08C04E35796@exchange1.helixtech.com> I'm not familiar with the Adtran snmp stuff, but are you sure it supports SNMP verion 2? Have you tried it using using version 1? Kevin -----Original Message----- From: Nik DuVall [mailto:nik.duvall at gmail.com] Sent: Thursday, October 13, 2005 5:00 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] MRTG & MIB usage - need help I am trying to get the CPU Utilization from my Adtran NetVanta 1224R, yet I have not figured out how to setup my config file properly. Can someone please help me do so? ADTRAN CONFIG CONTENTS ====================== snmp-server chassis-id "Adtran_NV1224R" snmp-server enable traps snmp snmp-server source-interface vlan 1 snmp-server community public RO NMS snmp-server community private RW NMS snmp-server host 192.168.0.1 traps version 2c public Adtran MIB file I am using can be found on the web at http://www.adtran.com/adtranpx/Doc/0/J5NCO4DS9D3KL06RTN3SL96D0C/adunit.mib MRTG CONFIG FILE CONTENTS ========================= WorkDir: C:\InetPub\wwwroot\MRTG LogFormat: rrdtool PathAdd: C:\mrtg\rrdtool\rrdtool\Release LoadMIBs: C:\mrtg\bin\adunit.mib RunAsDaemon: yes EnableIPv6: no ###################################################################### # System: nduvall-adtran-nv1224r # Description: NetVanta 1224R, Version: 10.01.00.SC, Date: Wed Aug 17 14:02:05 2005 # Contact: Nik DuVall 334-745-4486 # Location: 178 LEE RD 126, Salem, AL 36874 ###################################################################### ### CPU Utilization ### Target[192.168.1.1-CPU]: adUnitCpuUtil&adUnitCurrentCpuUtil:public at 192.168.1.1:::::2 Title[192.168.1.1-CPU]: CPU Utilization MaxBytes[192.168.1.1-CPU]: 100 Options[192.168.1.1-CPU]: integer gauge noo PageTop[192.168.1.1-CPU]: dummy OUTPUT FROM MRTG ================ C:\MRTG\bin>perl mrtg test.cfg WARNING: Daemonizing MRTG ... Do Not close this window. Or MRTG will die Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 66. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1588. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1605. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1613. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1623. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1632. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 1642. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 2124. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3646. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3663. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3671. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3681. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3690. Use of uninitialized value in concatenation (.) or string at C:/MRTG/bin\..\lib\ mrtg2/SNMP_util.pm line 1266, line 3700. cannot encode Object ID .30.3.4: first subid too big in Object ID 30.3.4 at mrtg line 1921 ERROR: Target[192.168.1.1-cpu][_IN_] ' $target->[2]{$mode} ' did not eval into d efined data ERROR: Target[192.168.1.1-cpu][_OUT_] ' $target->[2]{$mode} ' did not eval into defined data Regards, Nik DuVall -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please delete it and notify Helix Technology Corporation immediately. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Sat Oct 15 17:38:39 2005 From: khudson at tsss.org (kelsey hudson) Date: Sat, 15 Oct 2005 08:38:39 -0700 Subject: [mrtg] Re: MRTG & MIB usage - need help In-Reply-To: <6FA79BD0B67DD411AAC400306E00B08C04E35796@exchange1.helixtech.com> References: <6FA79BD0B67DD411AAC400306E00B08C04E35796@exchange1.helixtech.com> Message-ID: <4351227F.1010005@tsss.org> From: Nik DuVall: > I am trying to get the CPU Utilization from my Adtran NetVanta 1224R, yet I > have not figured out how to setup my config file properly. Can someone > please help me do so? [..snip..] > Adtran MIB file I am using can be found on the web at > http://www.adtran.com/adtranpx/Doc/0/J5NCO4DS9D3KL06RTN3SL96D0C/adunit.mib Looks good. [..snip..] > ### CPU Utilization ### > > Target[192.168.1.1-CPU]: > adUnitCpuUtil&adUnitCurrentCpuUtil:public at 192.168.1.1:::::2 > Title[192.168.1.1-CPU]: CPU Utilization > MaxBytes[192.168.1.1-CPU]: 100 > Options[192.168.1.1-CPU]: integer gauge noo > PageTop[192.168.1.1-CPU]: dummy aha. herein lies your problem: adUnitCpuUtil is a class, where adUnitCurrentCpuUtil is an identifier, you probably want something like: adUnitCpuUtil.adUnitCurrentCpuUtil.0&adUnitCpuUtil.adUnitCurrentCpuUtil.0:public at 192.168.1.1:::::2 as your target. If that doesn't work, try removing the .0 from the end of the OID. It also appears as though you're running windows. If you have the cygwin tools installed or access to a unix box with the net-snmp utils installed, you might want to load that MIB into snmpwalk and walk the device's tree. That way, you'd know exactly which OID to probe. > OUTPUT FROM MRTG > ================ > C:\MRTG\bin>perl mrtg test.cfg > WARNING: > Daemonizing MRTG ... > Do Not close this window. Or MRTG will die > Use of uninitialized value in concatenation (.) or string at > C:/MRTG/bin\..\lib\ [..snip..] Hope this helps out some ... -Kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From oetiker at ee.ethz.ch Sun Oct 16 00:26:01 2005 From: oetiker at ee.ethz.ch (Tobias Oetiker) Date: Sun, 16 Oct 2005 00:26:01 +0200 (MEST) Subject: [mrtg] Re: Threshold Problem with rrdtool 1.2.11 and mrtg 2.12.2 In-Reply-To: References: Message-ID: Hi Martin, try the mrtg 2.13.0rc from the beta download directory ... this has it fixed cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From shane.presley at gmail.com Tue Oct 18 14:38:22 2005 From: shane.presley at gmail.com (Shane Presley) Date: Tue, 18 Oct 2005 08:38:22 -0400 Subject: [mrtg] crontab & MRTG emails Message-ID: <27ae92160510180538x6f524030vf7e91756b3f06517@mail.gmail.com> Hello, I'm running MRTG on a Red Hat system, every 5 minutes through cron. 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg If MRTG experiences any errors (like a host is down) it sends an email to root. I would prefer those e-mails to go to someone else. So I tried this... 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>&1 | mail -s "MRTG Report" someone at domain.com However, that creates an e-mail EVERY 5 minutes, even if things are okay. I am guessing it has something to do with stdout vs stderr. Any idea how to structure the cron so I get emails to someone at domain.com, not root. Thanks Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From list at racc2000.com Tue Oct 18 14:59:07 2005 From: list at racc2000.com (Andrew Hull) Date: Tue, 18 Oct 2005 08:59:07 -0400 Subject: [mrtg] Re: crontab & MRTG emails In-Reply-To: <27ae92160510180538x6f524030vf7e91756b3f06517@mail.gmail.com> References: <27ae92160510180538x6f524030vf7e91756b3f06517@mail.gmail.com> Message-ID: <4354F19B.50906@racc2000.com> Shane, My solution did not use cron, but it achieves the desired results. I used a ".forward" file in the user's home dir that runs MRTG. [mrtg at tbx mrtg]$ cat .forward \mrtg # This keeps a copy in the local account also user at domain.com # Address to send mail to Just create your own version in the home dir of the user that is running MRTG and that should do it. Permissions should be -rw------- (600). Disclaimer: It is possible to configure Sendmail so that it ignores this file, and the uber-security-minded may prefer it that way. Check out http://www.feep.net/sendmail/tutorial/intro/forward.html for a .forward tutorial; google has many more also. Andrew Shane Presley wrote: > Hello, > > I'm running MRTG on a Red Hat system, every 5 minutes through cron. > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg > > If MRTG experiences any errors (like a host is down) it sends an email > to root. I would prefer those e-mails to go to someone else. So I > tried this... > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg > /etc/mrtg/mrtg.cfg 2>&1 | mail -s "MRTG Report" someone at domain.com > > However, that creates an e-mail EVERY 5 minutes, even if things are > okay. I am guessing it has something to do with stdout vs stderr. > Any idea how to structure the cron so I get emails to > someone at domain.com, not root. > > Thanks > Shane > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dwinkler at algorithmics.com Tue Oct 18 15:21:19 2005 From: dwinkler at algorithmics.com (Derek Winkler) Date: Tue, 18 Oct 2005 09:21:19 -0400 Subject: [mrtg] Re: crontab & MRTG emails Message-ID: <570A16F7DB56C242B26876067D682FD0D08E52@TORMAIL.algorithmics.com> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg > /dev/null 2>&1 | mail -s "MRTG Report" someone at domain.com -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Shane Presley Sent: Tuesday, October 18, 2005 8:38 AM To: mrtg at list.ee.ethz.ch Subject: [mrtg] crontab & MRTG emails Hello, I'm running MRTG on a Red Hat system, every 5 minutes through cron. 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg If MRTG experiences any errors (like a host is down) it sends an email to root. I would prefer those e-mails to go to someone else. So I tried this... 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>&1 | mail -s "MRTG Report" someone at domain.com However, that creates an e-mail EVERY 5 minutes, even if things are okay. I am guessing it has something to do with stdout vs stderr. Any idea how to structure the cron so I get emails to someone at domain.com, not root. Thanks Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yamtak at b-session.com Tue Oct 18 16:57:02 2005 From: yamtak at b-session.com (Takumi Yamane) Date: Tue, 18 Oct 2005 23:57:02 +0900 Subject: [mrtg] Re: crontab & MRTG emails In-Reply-To: <27ae92160510180538x6f524030vf7e91756b3f06517@mail.gmail.com> References: <27ae92160510180538x6f524030vf7e91756b3f06517@mail.gmail.com> Message-ID: <38C5D3F4329863yamtak@b-session.com> On Tue, 18 Oct 2005 08:38:22 -0400, Shane Presley wrote in <27ae92160510180538x6f524030vf7e91756b3f06517 at mail.gmail.com>: > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg mrtg.cfg 0,5,10,15,20,25,30,35,40,45,50,55 -> */5 -- Takumi Yamane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Tue Oct 18 17:24:48 2005 From: khudson at tsss.org (kelsey hudson) Date: Tue, 18 Oct 2005 08:24:48 -0700 Subject: [mrtg] Re: crontab & MRTG emails In-Reply-To: <570A16F7DB56C242B26876067D682FD0D08E52@TORMAIL.algorithmics.com> References: <570A16F7DB56C242B26876067D682FD0D08E52@TORMAIL.algorithmics.com> Message-ID: <435513C0.5070801@tsss.org> Derek Winkler wrote: > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg > /etc/mrtg/mrtg.cfg > /dev/null 2>&1 | mail -s "MRTG Report" > someone at domain.com this just pipes both outputs to /dev/null and a mail will still be generated every five minutes, albiet empty. > Hello, > > I'm running MRTG on a Red Hat system, every 5 minutes through cron. > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg /etc/mrtg/mrtg.cfg > > If MRTG experiences any errors (like a host is down) it sends an email > to root. I would prefer those e-mails to go to someone else. So I > tried this... Add a line before your mrtg cron entry which states: MAILTO=someuser then one after which reads: MAILTO=root that should do what you're looking for. cheers, -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From peter.wirdemo at ericsson.com Wed Oct 19 09:22:53 2005 From: peter.wirdemo at ericsson.com (Peter Wirdemo (MO/EMW)) Date: Wed, 19 Oct 2005 09:22:53 +0200 Subject: [mrtg] Re: crontab & MRTG emails Message-ID: <5CB59075460DB345B9966B08C04B54DF3A452F@eselnmw012.eemea.ericsson.se> I always use a wrapper script for mrtg... #!/bin/sh LOG=/var/tmp/mrtg.out.$$ rm -f ${LOG} /usr/bin/mrtg /etc/mrtg/mrtg.cfg > ${LOG} 2>&1 if [ -s ${LOG} ]; then cat ${LOG} | mail -s "MRTG Report" someone at domain.com fi rm -f ${LOG} And then in cron.... 0,5,10,15,20,25,30,35,40,45,50,55 * * * * wrapper.sh > /dev/null 2>&1 /Peter > -----Original Message----- > From: mrtg-bounce at list.ee.ethz.ch > [mailto:mrtg-bounce at list.ee.ethz.ch]On > Behalf Of Shane Presley > Sent: den 18 oktober 2005 14:38 > To: mrtg at list.ee.ethz.ch > Subject: [mrtg] crontab & MRTG emails > > > Hello, > > I'm running MRTG on a Red Hat system, every 5 minutes through cron. > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg > /etc/mrtg/mrtg.cfg > > If MRTG experiences any errors (like a host is down) it sends an email > to root. I would prefer those e-mails to go to someone else. So I > tried this... > > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/mrtg > /etc/mrtg/mrtg.cfg 2>&1 | mail -s "MRTG Report" someone at domain.com > > However, that creates an e-mail EVERY 5 minutes, even if things are > okay. I am guessing it has something to do with stdout vs stderr. > Any idea how to structure the cron so I get emails to > someone at domain.com, not root. > > Thanks > Shane > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From floresergio at gmail.com Wed Oct 19 19:29:40 2005 From: floresergio at gmail.com (Sergio A. Flores) Date: Wed, 19 Oct 2005 11:29:40 -0600 Subject: [mrtg] MRTG Message-ID: <9e3ed7a0510191029l45d8ae4am93d0643dcf47db03@mail.gmail.com> Hi, all!! Sorry, this is my first time using the list. I have a doubts about where can i find information how to use MRTG to monitor more that one device using windows. thanks in advance for any help and orientation. -- Sergio A. Flores floresergio at gmail.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From matt.yurek at webloyalty.com Wed Oct 19 20:03:24 2005 From: matt.yurek at webloyalty.com (Yurek, Matt) Date: Wed, 19 Oct 2005 14:03:24 -0400 Subject: [mrtg] Re: MRTG Message-ID: > I have a doubts about where can i find information how to > use MRTG to monitor more that one device using windows. Put all your MRTG command lines into a batch file and use Task Scheduler to run the batch file every 5 minutes. Stay away from trying to make it a "service" on Windows - it's more trouble than its worth if you have access to the Scheduler. -Y This transmission may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you, recipient, are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From chukarma at yahoo.com Wed Oct 19 20:21:01 2005 From: chukarma at yahoo.com (Karma Chu) Date: Wed, 19 Oct 2005 11:21:01 -0700 (PDT) Subject: [mrtg] Re: MRTG In-Reply-To: Message-ID: <20051019182101.69838.qmail@web32802.mail.mud.yahoo.com> You can purchase FireDaemon for a very low price and use it to add as many configs files as individual services as you like. It's worth it. "Yurek, Matt" wrote:> I have a doubts about where can i find information how to > use MRTG to monitor more that one device using windows. Put all your MRTG command lines into a batch file and use Task Scheduler to run the batch file every 5 minutes. Stay away from trying to make it a "service" on Windows - it's more trouble than its worth if you have access to the Scheduler. -Y This transmission may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you, recipient, are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From skeezelbut at yahoo.com Wed Oct 19 22:52:34 2005 From: skeezelbut at yahoo.com (Mark Williams) Date: Wed, 19 Oct 2005 13:52:34 -0700 (PDT) Subject: [mrtg] Odd looking daily graphs Message-ID: <20051019205234.28377.qmail@web81409.mail.yahoo.com> Greetings, Two OIDs that I am monitoring on a Windows system produce strange looking graphs. Here are the URL's to the images: http://www.sdps-idpa.org/bisprowebsps01.webcons-day.png http://www.sdps-idpa.org/bisprowebsps01.webbytes-day.png Both are counter-type OIDs from the Microsoft http mib. The relevant portion of my mrtg.cfg follows: YLegend[bisprowebsps01.webcons]: Current Web Connections Options[bisprowebsps01.webcons]: growright,nopercent Target[bisprowebsps01.webcons]: .1.3.6.1.4.1.311.1.7.3.1.9.0&.1.3.6.1.4.1.311.1.7.3.1.10.0:public at 192.168.43.41::15:::1 * 60 MaxBytes[bisprowebsps01.webcons]: 523444000 Title[bisprowebsps01.webcons]: bisprowebsps01: # anon/authenticated Connections ShortLegend[bisprowebsps01.webcons]: # Legend1[bisprowebsps01.webcons]: Current Anonymous Users Legend2[bisprowebsps01.webcons]: Current Authenticated Users Legend3[bisprowebsps01.webcons]: Maximal 5 Minute # of anon Legend4[bisprowebsps01.webcons]: Maximal 5 Minute # of auth LegendI[bisprowebsps01.webcons]:  anon: LegendO[bisprowebsps01.webcons]:  auth: PageTop[bisprowebsps01.webcons]:

Current anonymous/authenticated Connections Target[bisprowebsps01.webbytes]: .1.3.6.1.4.1.311.1.7.3.1.3.0&.1.3.6.1.4.1.311.1.7.3.1.1.0:public at 192.168.43.41 * 4294967296 + .1.3.6.1.4.1.311.1.7.3.1.4.0&.1.3.6.1.4.1.311.1.7.3.1.2.0:public at 192.168.43.41 Options[bisprowebsps01.webbytes]: growright,nopercent MaxBytes[bisprowebsps01.webbytes]: 12500000 Title[bisprowebsps01.webbytes]: Web Traffic in Bytes for bisprowebsps01 YLegend[bisprowebsps01.webbytes]: Bytes per second LegendI[bisprowebsps01.webbytes]: bytes in LegendO[bisprowebsps01.webbytes]: bytes out PageTop[bisprowebsps01.webbytes]:

Web Traffic Analysis for bisprowebsps01

I've tried specifying varying sizes using XSize and YSize, but the graphs still look funky. Any help would be greatly appreciated. Thank you, -Mark Williams __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric_mailing_list at rednarb.com Wed Oct 19 23:27:05 2005 From: eric_mailing_list at rednarb.com (Eric Brander) Date: Wed, 19 Oct 2005 16:27:05 -0500 Subject: [mrtg] Re: Odd looking daily graphs In-Reply-To: <20051019205234.28377.qmail@web81409.mail.yahoo.com> References: <20051019205234.28377.qmail@web81409.mail.yahoo.com> Message-ID: <4356BA29.1060701@rednarb.com> Mark Williams wrote: >Greetings, > >Two OIDs that I am monitoring on a Windows system >produce strange looking graphs. Here are the URL's to >the images: > >http://www.sdps-idpa.org/bisprowebsps01.webcons-day.png > > >http://www.sdps-idpa.org/bisprowebsps01.webbytes-day.png > > > > They look fine to me. Are you sure you want connections/second on the first graph? The legend says current connections, so I'd think you'd want the "gauge" option. Other than that, they seem like decent graphs. You mentioned size and such, so I'm guessing you're seeing some odd stretching or something? I'm not seeing it. Since they don't look "strange" to me, describe what you think you should be expecting to see and maybe we can figure out from there what's wrong. Eric Brander -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From skeezelbut at yahoo.com Wed Oct 19 23:44:06 2005 From: skeezelbut at yahoo.com (Mark Williams) Date: Wed, 19 Oct 2005 14:44:06 -0700 (PDT) Subject: [mrtg] Re: Odd looking daily graphs In-Reply-To: <4356BA29.1060701@rednarb.com> Message-ID: <20051019214406.9621.qmail@web81401.mail.yahoo.com> The OID is an ever-incrementing counter; I was just sloppy with my target definition. It should acutally be "connections per minute". What concerns me about the graph is the sawtooth looking pattern. I guess I am expecting a nice, smooth blue line, which is what I had seen for a while. A server reboot caused an anamolous spike in the values for these OIDs. I deleted the mrtg log files for the targets and waited for the new graphs to be generated, which is when I spotted the sawtooth graphs. -Mark Williams --- Eric Brander wrote: > Mark Williams wrote: > > >Greetings, > > > >Two OIDs that I am monitoring on a Windows system > >produce strange looking graphs. Here are the URL's > to > >the images: > > > >http://www.sdps-idpa.org/bisprowebsps01.webcons-day.png > > > > > >http://www.sdps-idpa.org/bisprowebsps01.webbytes-day.png > > > > > > > > > They look fine to me. Are you sure you want > connections/second on the > first graph? The legend says current connections, so > I'd think you'd > want the "gauge" option. Other than that, they seem > like decent graphs. > You mentioned size and such, so I'm guessing you're > seeing some odd > stretching or something? I'm not seeing it. > > Since they don't look "strange" to me, describe what > you think you > should be expecting to see and maybe we can figure > out from there what's > wrong. > > Eric Brander > > -- > Unsubscribe > mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage > http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From jkuhlman at co.macon.il.us Thu Oct 20 17:14:04 2005 From: jkuhlman at co.macon.il.us (Jason Kuhlman) Date: Thu, 20 Oct 2005 10:14:04 -0500 Subject: [mrtg] Re: SPAM:Re: MRTG Message-ID: http://www.kalab.com/ has a great little cron for windows that installs as a service and uses a a cron config file pretty much like linux. I have been using it for months. -----Original Message----- From: Karma Chu [mailto:chukarma at yahoo.com] Sent: Wednesday, October 19, 2005 1:21 PM To: Yurek, Matt; Sergio A. Flores; mrtg at list.ee.ethz.ch Subject: SPAM:[mrtg] Re: MRTG You can purchase FireDaemon for a very low price and use it to add as many configs files as individual services as you like. It's worth it. "Yurek, Matt" wrote:> I have a doubts about where can i find information how to > use MRTG to monitor more that one device using windows. Put all your MRTG command lines into a batch file and use Task Scheduler to run the batch file every 5 minutes. Stay away from trying to make it a "service" on Windows - it's more trouble than its worth if you have access to the Scheduler. -Y This transmission may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you, recipient, are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From ionel.gardais at geomath.fr Fri Oct 21 15:57:56 2005 From: ionel.gardais at geomath.fr (Ionel GARDAIS) Date: Fri, 21 Oct 2005 15:57:56 +0200 Subject: [mrtg] Difference between retrieved values and graphed values Message-ID: <4358F3E4.9060101@geomath.fr> Hi, I'm a bit lost with MRTG graphing Squid http requests values. I run MRTG to retrieve this target : Directory[httpreq]: proxy/httpreq Title[httpreq]: les requetes HTTP du proxy PageTop[httpreq]: les requetes HTTP du proxy PNGTitle[httpreq]: Requetes HTTP Hit Target[httpreq]: cacheHttpHits.0&cacheProtoClientHttpRequests.0:public at proxy1:3401::::2 MaxBytes[httpreq]: 100000 Options[httpreq]: nopercent,growright,pngdate,withzeroes YLegend[httpreq]: Requetes HTTP ShortLegend[httpreq]: Req. LegendI[httpreq]: Hits : LegendO[httpreq]: Tot. : Legend1[httpreq]: HTTP Hits Legend2[httpreq]: HTTP Total Legend3[httpreq]: HTTP Hits Legend4[httpreq]: HTTP Total WithPeak[httpreq]: ymw Retrieved values for total hits are (5 min interval) : 1725286 / 1727246 / 1729983 which is OK. But these values are graphed as integers between 5.0 and 8.0. I ran "snmpdelta -Cp 300 -c public -v 2c proxy1:3401 cacheProtoClientHttpRequests.0" and the printed values are the right deltas. I also try to put MaxBytes to a higher value (higher than the actual retrieved values) but this does not help) According to my target declaration, I do not understand why I don't get the 2000 delta I am supposed to see. Any ideas about this ? Thanks, Ionel -- Ionel GARDAIS ~ ionel.gardais at geomath.fr Junior System-Network Administrator Phone : +33(0)147088131 Fax : +33(0)147088065 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric_mailing_list at rednarb.com Fri Oct 21 16:16:00 2005 From: eric_mailing_list at rednarb.com (Eric Brander) Date: Fri, 21 Oct 2005 09:16:00 -0500 Subject: [mrtg] Re: Difference between retrieved values and graphed values In-Reply-To: <4358F3E4.9060101@geomath.fr> References: <4358F3E4.9060101@geomath.fr> Message-ID: <4358F820.8060409@rednarb.com> Ionel GARDAIS wrote: >Options[httpreq]: nopercent,growright,pngdate,withzeroes > > Using these options, you'll get the default of a rate of PER SECOND. Do you want the number of requests per second? If you want a rate, you may want to try the options PERMINUTE or PERHOUR. Or if you just want to know the current total, you could use GAUGE. HTH, Eric Brander -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From rhart at cnu.edu Fri Oct 21 16:19:47 2005 From: rhart at cnu.edu (Richard F. Hart II) Date: Fri, 21 Oct 2005 10:19:47 -0400 Subject: [mrtg] HOWTO create an event Message-ID: <4358F903.6080607@cnu.edu> Hello All, How do I create an event that will produce an snmp trap when someone in the /Outbound class uses 35% of the total bandwidth used by Packeteer? I am trying to integrate Packetshaper with CampusManager. I understand to make the alarm mapping, but not how to create this event. Thank you -- Richard Hart I.T. Services, Network Analyst Christopher Newport University rhart at cnu.edu -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From ionel.gardais at geomath.fr Fri Oct 21 16:27:40 2005 From: ionel.gardais at geomath.fr (Ionel GARDAIS) Date: Fri, 21 Oct 2005 16:27:40 +0200 Subject: [mrtg] Re: Difference between retrieved values and graphed values In-Reply-To: <4358F820.8060409@rednarb.com> References: <4358F3E4.9060101@geomath.fr> <4358F820.8060409@rednarb.com> Message-ID: <4358FADC.2030800@geomath.fr> thanks, I did not think about this per[second|minute|hour] notion. ionel Eric Brander wrote: > Ionel GARDAIS wrote: > > >> Options[httpreq]: nopercent,growright,pngdate,withzeroes >> >> >> > Using these options, you'll get the default of a rate of PER SECOND. Do > you want the number of requests per second? If you want a rate, you may > want to try the options PERMINUTE or PERHOUR. Or if you just want to > know the current total, you could use GAUGE. > > HTH, > > Eric Brander > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- Ionel GARDAIS ~ ionel.gardais at geomath.fr Junior System-Network Administrator Phone : +33(0)147088131 Fax : +33(0)147088065 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From hbarakat at kpmg.com Fri Oct 21 18:19:47 2005 From: hbarakat at kpmg.com (Barakat, Mehmet-Hasan) Date: Fri, 21 Oct 2005 12:19:47 -0400 Subject: [mrtg] Monitoring Port Up/Down Status Using IfAdmin/IfOperHack Message-ID: Hi all, We're trying to plot the operational status of individual ports on a multi-module Cisco 5000 series switch. We're having difficulty determining how to indicate to MRTG what port to monitor. Here is our (very raw) configs file. Can anyone help? Or shoot us over a copy of a similar configs? Basically, we're drilling into the IfOperHack.XYZ portion - can we specify to MRTG to monitor mod/port? TIA RunAsDaemon: Yes Interval: 5 PathAdd: c:\mrtg\rrdtool LogFormat: rrdtool WithPeak[_]: ymw workdir: c:\mrtg/wwwroot Options[_]: growright ### Interface 8 >> Descr: '' | Name: '1/1' | Ip: '' | Eth: '00-04-6d-32-6b-fe' ### Target[e1_0_1.ifoper]:ifOperHack.#3/1:communitystring at 10.X.Y.Z MaxBytes[e1_0_1.ifoper]: 1 Title[e1_0_1.ifoper]: appleton Interface Status : E1 0 & E1 1 Options[e1_0_1.ifoper]: growright, gauge, nopercent, integer Unscaled[E1_0_1.ifoper]: dwmy YLegend[e1_0_1.ifoper]: Up/Down ShortLegend[e1_0_1.ifoper]: ^ LegendI[e1_0_1.ifoper]: E1 0 LegendO[e1_0_1.ifoper]: E1 1 PageTop[e1_0_1.ifoper]:

Interface status for E1 0 & E1 1

System:
Maintainer:
Interface:
IP:
Max Speed:
***************************************************************************** The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing KPMG client engagement letter. ***************************************************************************** -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From mrtg at syshalt.com Sat Oct 22 00:44:28 2005 From: mrtg at syshalt.com (Konstantin N. Bezruchenko) Date: Sat, 22 Oct 2005 01:44:28 +0300 Subject: [mrtg] readline() on closed filehandle NF Message-ID: <1172812334.20051022014428@syshalt.com> Hello, After last modification of mrtg.cfg i see this messages every mrtg run: readline() on closed filehandle NF at /usr/local/bin/mrtg line 1154. Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mrtg line 1250. How can i fix this problem? Thanks! -- Konstantin N. Bezruchenko, BK5536-RIPE -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From ionel.gardais at geomath.fr Mon Oct 24 11:51:33 2005 From: ionel.gardais at geomath.fr (Ionel GARDAIS) Date: Mon, 24 Oct 2005 11:51:33 +0200 Subject: [mrtg] Re: (No References: <90544AEA709B2143A3D7BBB681B4167A773165@muss052b.pdo.shell.om> In-Reply-To: <90544AEA709B2143A3D7BBB681B4167A773165@muss052b.pdo.shell.om> Message-ID: <435CAEA5.7030606@geomath.fr> Hi, As Eric says, it displays such low values because MRTG divide the retrieved values by 300 (which corresspond to 5 minutes, my MRTG delay) so it shows values as persecond values. You can add perminute or perhour to the option list so MRTG displays larger values for a perminute or perhour value. If you want raw values, add the gauge keyword. If you want delta values but for a 5minutes delta, you may try to do a "* 300" to get a perfiveminute stat. Ionel Dhawan, Vic CGGSG wrote: > > Hi Ionel, > > Not sure if you've solved your problem by now. I had the same problem > with the Extreme Network boxes showing the numbers about a 10th of the > expected value. I believe it's due the the internal counters counting > in bytes as opposed to bits on Ciscos. > > The solution applied is to append a string of 5 colons and * and 8 to > the end of each line beginning with Target as shown below... > > Target[bd6816_1001]: 1001:public at bd6816::::: * 8 > > This works fine. I'm not sure if it's possible to get cfgmaker to do > this but I edited the file manually. I am not subscribed to the mrtg > mail list so you may like yo post this for me as well. > > Vic > > Systems Manager > CGG Processing, Muscat > Ph: +968 24670547 > Fx: +968 24675828 > > -- Ionel GARDAIS ~ ionel.gardais at geomath.fr Junior System-Network Administrator Phone : +33(0)147088131 Fax : +33(0)147088065 -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From shane.presley at gmail.com Mon Oct 24 14:29:44 2005 From: shane.presley at gmail.com (Shane Presley) Date: Mon, 24 Oct 2005 08:29:44 -0400 Subject: [mrtg] Adding four interfaces Message-ID: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> Hello, I have a router, with 48 interfaces (no VLANs). Four of those segments will be moving to another building, so I want to graph the total bandwidth of those four. Using MRTG, I know you can do addition, but I can't get the syntax right. How could I add interfaces 23, 24, 25, 26 together to produce one graph. Is that possible? Here's my code for interface 23... ### Interface 23 >> Descr: 'Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23' | Name: 'ifc23 (Slot: 1 Port: 23)' | Ip: '' | Eth: '' ### Target[10.1.1.1_23]: 23:mystring at 199.196.26.151: SetEnv[10.1.1.1_23]: MRTG_INT_IP="" MRTG_INT_DESCR="Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23" MaxBytes[10.1.1.1_23]: 12500000 Title[10.1.1.1_23]: Nortel Networks BayStack 470_48 Ethernet Switch Module - Port 23 -- 470A526151 PageTop[10.1.1.1_23]:

Nortel Networks BayStack 470_48 Ethernet Switch Module - Port 23 -- 470A526151

System: Nortel Router
Maintainer:
Description:Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23
ifType: ethernetCsmacd (6)
ifName: ifc23 (Slot: 1 Port: 23)
Max Speed: 12.5 MBytes/s
-- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From melih.turan at tr.net Mon Oct 24 14:37:44 2005 From: melih.turan at tr.net (Melih Turan) Date: Mon, 24 Oct 2005 15:37:44 +0300 Subject: [mrtg] Re: Adding four interfaces In-Reply-To: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> Message-ID: <20051024115156.D0D5F846AF@smtp.tr.net> Hi, Remove the colon at the and of the Target line. Put a plus after a blank. The write the target line of the other interface. Do the steps for the other interfaces. Best Regards, -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Shane Presley Sent: 24 Ekim 2005 Pazartesi 15:30 To: mrtg at list.ee.ethz.ch Subject: [mrtg] Adding four interfaces Hello, I have a router, with 48 interfaces (no VLANs). Four of those segments will be moving to another building, so I want to graph the total bandwidth of those four. Using MRTG, I know you can do addition, but I can't get the syntax right. How could I add interfaces 23, 24, 25, 26 together to produce one graph. Is that possible? Here's my code for interface 23... ### Interface 23 >> Descr: 'Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Port-23' | Name: 'ifc23 (Slot: 1 Port: 23)' | Ip: '' | Eth: '' ### Target[10.1.1.1_23]: 23:mystring at 199.196.26.151: SetEnv[10.1.1.1_23]: MRTG_INT_IP="" MRTG_INT_DESCR="Nortel-Networks-BayStack-470_48-Ethernet-Switch-Module---Por t-23" MaxBytes[10.1.1.1_23]: 12500000 Title[10.1.1.1_23]: Nortel Networks BayStack 470_48 Ethernet Switch Module - Port 23 -- 470A526151 PageTop[10.1.1.1_23]:

Nortel Networks BayStack 470_48 Ethernet Switch Module - Port 23 -- 470A526151

System: Nortel Router
Maintainer:
Description:Nortel-Networks-BayStack-470_48-Ethernet-Switch -Module---Port-23
ifType: ethernetCsmacd (6)
ifName: ifc23 (Slot: 1 Port: 23)
Max Speed: 12.5 MBytes/s
-- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric_mailing_list at rednarb.com Mon Oct 24 15:41:53 2005 From: eric_mailing_list at rednarb.com (Eric Brander) Date: Mon, 24 Oct 2005 08:41:53 -0500 Subject: [mrtg] Re: Adding four interfaces In-Reply-To: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> References: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> Message-ID: <435CE4A1.6090108@rednarb.com> Shane Presley wrote: >Hello, > >I have a router, with 48 interfaces (no VLANs). > >Four of those segments will be moving to another building, so I want >to graph the total bandwidth of those four. > >Using MRTG, I know you can do addition, but I can't get the syntax >right. How could I add interfaces 23, 24, 25, 26 together to produce >one graph. Is that possible? > > > Look for Multi Target Syntax in the reference.html. It explains it better than I can in an email. HTH, Eric Brander -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From francis.ohazulike at cwlgroup.net Tue Oct 25 14:12:06 2005 From: francis.ohazulike at cwlgroup.net (Francis Ohazulike) Date: Tue, 25 Oct 2005 13:12:06 +0100 Subject: [mrtg] performance tools Message-ID: <20051025122559.6FCACD933F@smtp.ee.ethz.ch> Hi, I have an Immediate need for a centrally managed LAN Performance management tool able to detect performance related issues like broadcast storms, dropped packets, errors, etc. any offering? Could anyone please help on this? Thank you. Regards, Francis. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From shane.presley at gmail.com Tue Oct 25 19:15:36 2005 From: shane.presley at gmail.com (Shane Presley) Date: Tue, 25 Oct 2005 13:15:36 -0400 Subject: [mrtg] EMC CLARiiON templates? Message-ID: <27ae92160510251015h67898d53xe29e05e859ece3e0@mail.gmail.com> Anybody have any templates for monitoring an EMC CLARiiON disk array? Thanks Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From biju.kurian at e4e.com Wed Oct 26 00:02:29 2005 From: biju.kurian at e4e.com (Biju Kurian) Date: Tue, 25 Oct 2005 15:02:29 -0700 Subject: [mrtg] MRTG is not ploting 6513 Portchannel corectly Message-ID: <788F94DE962B1F48B736BD7DB8B6FCDF148EA5@E4E-MAIL.e4e.com> I have a port channel which is 4 gig ports etherchanneled together. Each individual ports are showing correct values. But the port channel graphs incorrectly. snmpget shows the correct value though. WHere can i modify in such a way that it should show the correct value.. Thanks -Biju ### Interface 317 >> Descr: 'Port-channel2' | Name: 'Po2' | Ip: '' | Eth: '' ### Target[10-77-18-131_317]: 317:public at 10-77-18-131_317: SetEnv[10-77-18-131_317]: MRTG_INT_IP="" MRTG_INT_DESCR="Port-channel2" MaxBytes[10-77-18-131_317]: 500000000 Title[10-77-18-131_317]: Traffic Analysis for 317 -- CAT1 PageTop[10-77-18-131_317]:

Traffic Analysis for 317 -- CAT1

System: CAT1 - ATL ta, GA
Maintainer: EOC (111-111-1111)
Maintainer: EOC (111-111-1111)
Description: Port-channel2
ifType: propVirtual (53)
ifName: Po2
Max Speed: 4000.0 MBites/s
-- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From pavouk at pavouk.org Wed Oct 26 00:35:51 2005 From: pavouk at pavouk.org (Pavel Ruzicka) Date: Wed, 26 Oct 2005 00:35:51 +0200 Subject: [mrtg] Re: Adding four interfaces In-Reply-To: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> References: <27ae92160510240529l3d938093o849344104ee2b51e@mail.gmail.com> Message-ID: <200510260035.51371.pavouk@pavouk.org> Hello, I use my own summary cgi script, which sums final rrd databases on the fly. It is not perfect, I am not programmer, but it is very useful for me and maybe for others. mrtgsum.cgi with DEMO pages is available here: http://www.pavouk.org/sw/mrtgsum/en_index.html > I have a router, with 48 interfaces (no VLANs). > > Four of those segments will be moving to another building, so I want > to graph the total bandwidth of those four. Best regards, Pavel Ruzicka -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From szycha at bydnet.com.pl Wed Oct 26 23:19:01 2005 From: szycha at bydnet.com.pl (Mariusz Szyszka) Date: Wed, 26 Oct 2005 23:19:01 +0200 Subject: [mrtg] more than one target on one page Message-ID: Hello. I am newbie ... ;) Is is possible to get more that one target on one html page ? for example like here ... http://www.stat.ee.ethz.ch/mrtg/ How can i do it? thx a lot best regards -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From evan at espphotography.com Thu Oct 27 01:45:33 2005 From: evan at espphotography.com (Evan Platt) Date: Wed, 26 Oct 2005 16:45:33 -0700 Subject: [mrtg] Re: more than one target on one page In-Reply-To: References: Message-ID: <6.2.5.6.0.20051026164510.04fff7f0@espphotography.com> At 02:19 PM 10/26/2005, you wrote: >Hello. > >I am newbie ... ;) > >Is is possible to get more that one target on one html page ? >for example like here ... http://www.stat.ee.ethz.ch/mrtg/ >How can i do it? AFAIK, those people just write their own HTML page. Not too difficult. Evan -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 27 01:57:16 2005 From: khudson at tsss.org (kelsey hudson) Date: Wed, 26 Oct 2005 16:57:16 -0700 Subject: [mrtg] Re: more than one target on one page In-Reply-To: References: Message-ID: <436017DC.6060609@tsss.org> Mariusz Szyszka wrote: > Is is possible to get more that one target on one html page ? > for example like here ... http://www.stat.ee.ethz.ch/mrtg/ > How can i do it? you can use indexmaker on your config file and it will output an appropriate index page. man indexmaker -- it's really easy. :) good luck, -kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From nene at sal.gbnet.cc Thu Oct 27 05:52:00 2005 From: nene at sal.gbnet.cc (Perro del Mal) Date: Wed, 26 Oct 2005 21:52:00 -0600 Subject: [mrtg] unknown MIB References: <436017DC.6060609@tsss.org> Message-ID: <005701c5daa9$ccaee7b0$6401a8c0@gbnetoh6awr6m3> What should I do, if I have an equippment that MRTG doesn't support their MIB ??? I do a normal cfgmaker but the .cfg file generated is all remarked as comment and the interfases are not showed anyway. I read some at the web, and an option is doing the .cfg manually, but I still wondering to know where I can get the MIB of my equippment ?? Can anybody help me ?? Regards NENISTER -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From s.shipway at auckland.ac.nz Thu Oct 27 06:26:17 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 27 Oct 2005 17:26:17 +1300 Subject: [mrtg] Re: more than one target on one page In-Reply-To: Message-ID: <008f01c5daae$93d2fd50$01fea8c0@itss.auckland.ac.nz> >Is is possible to get more that one target on one html page ? >for example like here ... http://www.stat.ee.ethz.ch/mrtg/ >How can i do it? If you use the routers2 frontend, then you can use the *Summary directive to define summary pages. Use the 'nodetails' option to get an output like the one you gave as an example. The default setup generates a summary page automatically. Steve -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dan.mcdonald at austinenergy.com Thu Oct 27 18:53:01 2005 From: dan.mcdonald at austinenergy.com (Daniel J McDonald) Date: Thu, 27 Oct 2005 11:53:01 -0500 Subject: [mrtg] Re: MRTG is not ploting 6513 Portchannel corectly In-Reply-To: <788F94DE962B1F48B736BD7DB8B6FCDF148EA5@E4E-MAIL.e4e.com> References: <788F94DE962B1F48B736BD7DB8B6FCDF148EA5@E4E-MAIL.e4e.com> Message-ID: <1130431981.25948.23.camel@localhost.localdomain> On Tue, 2005-10-25 at 17:02 -0500, Biju Kurian wrote: > I have a port channel which is 4 gig ports etherchanneled together. > Each individual ports are showing correct values. But the port channel > graphs incorrectly. snmpget shows the correct value though. WHere can > i modify in such a way that it should show the correct value.. You will need to specify snmp v2 (or snmp v3, if you are using a 2.13 beta). SNMP v1, which your syntax below is referencing, provides un-reliable results for all data rates greater than about 120mb/s. > Target[10-77-18-131_317]: 317:public at 10-77-18-131_317: add ::::2 to the target statement for snmp V2. -- Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281 Austin Energy dan.mcdonald at austinenergy.com -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From RDOVER at bclc.com Thu Oct 27 19:11:56 2005 From: RDOVER at bclc.com (Rob Dover) Date: Thu, 27 Oct 2005 10:11:56 -0700 Subject: [mrtg] How do I get rid of Legend Items? Message-ID: <06E8DEE56E6497438E51CA694959F7AF05A5F2D4@svk105.CONNEX.bclc.com> I am collecting data from an external program. The program returns 2 items; the first of which is the important one. The second item is always 0 (zero). The graph is correct but the legend that I get looks something like this _ Maximal 5 Minute Max RTT mS _ Max Round Trip Time in mS _ Peak outbound _ Outgoing Max In: 71.79 k Avg In: 13.56 k Cur In: 24.98 k Max Out: 0.00 Avg Out: 0.00 Cur Out: 0.00 Working day averages In: 10.00 k Out: 0.00 The only graphed items I am interested in are the Max Round Trip Time in mS and the In: values on the third line. How can I get rid of the extra entries? My cfg file looks like this... Title[target]: target HTTP Latency MaxBytes[target]: 5000 AbsMax[target]: 10000 Options[target]: gauge Target[target]: `/bin/http_ping -count 1 http://www.target.com | head -1 | awk '{ print $5; print 0 }'` PageTop[target]:

target HTTP Latency

Actually we are measuring the http get time between our web server and target. YLegend[target]: Round Trip Time (mS) ShortLegend[target]: ms Legend1[target]: Max Round Trip Time in mS #Legend2[target]: Min Round Trip Time in mS Legend3[target]: Maximal 5 Minute Max RTT (mS) #Legend4[target]: Maximal 5 Minute Min RTT (mS) LegendI[target]: #LegendO[target]: WithPeak[target]: ymwd As you can see I've tried commenting out the unwanted Legends which didn't work. TIA -Rob- "If you listen on a quiet night, you? can? hear the sound of?an NT Server reboot". "THIS TRANSMISSION IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR CONFIDENTIAL INFORMATION. ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT WE MAY CORRECT OUR TRANSMISSION. PLEASE DESTROY THE ORIGINAL. THANK YOU." -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric_mailing_list at rednarb.com Thu Oct 27 19:50:09 2005 From: eric_mailing_list at rednarb.com (Eric Brander) Date: Thu, 27 Oct 2005 12:50:09 -0500 Subject: [mrtg] Re: How do I get rid of Legend Items? In-Reply-To: <06E8DEE56E6497438E51CA694959F7AF05A5F2D4@svk105.CONNEX.bclc.com> References: <06E8DEE56E6497438E51CA694959F7AF05A5F2D4@svk105.CONNEX.bclc.com> Message-ID: <43611351.4040209@rednarb.com> Rob Dover wrote: >I am collecting data from an external program. The program returns 2 items; the first of which is the important one. The second item is always 0 (zero). The graph is correct but the legend that I get looks something like this > > > Just leave them blank after the : like you've done with LegendI. Legend2[target]: HTH, Eric Brander -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From JWang at fhsu.edu Thu Oct 27 20:19:00 2005 From: JWang at fhsu.edu (JWang at fhsu.edu) Date: Thu, 27 Oct 2005 13:19:00 -0500 Subject: [mrtg] MRTG gets the same data from two different ports of the router Message-ID: Hi there, The subnets of our school is monitored by MRTG, which is set up on a Unix server and accesses a router to monitor the network traffic through ports. It used to work as we expected. Lately I found MRTG gets the same data from two different ports of the router. In other words, MRTG gets data from other port that it should not access. Do you have any idea what happened with MRTG or SNMP server on my router? Thanks! Best regards, John -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From greg.volk at edwardjones.com Thu Oct 27 20:36:52 2005 From: greg.volk at edwardjones.com (Volk,Gregory B) Date: Thu, 27 Oct 2005 13:36:52 -0500 Subject: [mrtg] Can 14all.cgi be easily configured/modified to use more than two CPUs? Message-ID: <3C83DDDEC7B8194A83B7A92B5557BE3421E242@nwpsrv07.edj.ad.edwardjones.com> I recently upgraded my Solaris-on-Sparc system that I run MRTG on from two CPUs to four CPUs. I got a nice (expected) boost in polling capacity, but I did not get an increase in 14all.cgi graphing performance. I wasn't sure if I would - I had noticed that while building large index pages, there were never more than two copies of 14all.cgi running simultaneously. So what I'm wondering is if I can easily modify 14all.cgi to spawn four copies of itself now that I have four processors at my disposal, or are there other reasons why only two instances of 14all.cgi can exist at one time? I did see the following reference to forking RRDs towards the bottom... > > if ($ENV{MOD_PERL}) { > # forking a RRDs child doesn't work with mod_perl > return (pack("C*", errorpng()), 'image/png'); > } > ...but that looks like graphs just won't be generated if mod_perl is in use (it is not in use on my apache installation). I don't see any other references to forking or other multiprocess management in the 14all.cgi code, but there are a lot of things going on in there that I don't quite understand. Has anyone else looked into getting 14all.cgi to spawn more than two copies of itself? Am I going down the right path, or should I be investigating some apache configuration variable? -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric_mailing_list at rednarb.com Thu Oct 27 20:43:19 2005 From: eric_mailing_list at rednarb.com (Eric Brander) Date: Thu, 27 Oct 2005 13:43:19 -0500 Subject: [mrtg] Re: MRTG gets the same data from two different ports of the router In-Reply-To: References: Message-ID: <43611FC7.9070707@rednarb.com> JWang at fhsu.edu wrote: > Do you have any idea what >happened with MRTG or SNMP server on my router? Thanks! >Best regards, > >John > > John, Without seeing your cfg file its hard to guess. First place I'd look is the instance numbers on the target line of the config. Regards, Eric Brander -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric at techeminence.com Thu Oct 27 21:17:52 2005 From: eric at techeminence.com (Eric M.Faden) Date: Thu, 27 Oct 2005 15:17:52 -0400 Subject: [mrtg] MRTG with 14all.cgi and odd scales In-Reply-To: References: <43611FC7.9070707@rednarb.com> Message-ID: I have the following in MRTG Target[cpu]:ssCpuRawUser.0&ssCpuRawUser.0:FOO at localhost + ssCpuRawSystem.0&ssCpuRawSystem.0:FOO at localhost + ssCpuRawNice.0&ssCpuRawNice.0:FOO at localhost Title[cpu]: FooBar CPU Load PageTop[cpu]:

CPU Load - System, User and Nice Processes

MaxBytes[cpu]: 100 ShortLegend[cpu]: % YLegend[cpu]: CPU Utilization Legend1[cpu]: Current CPU percentage load LegendI[cpu]: Used LegendO[cpu]: Options[cpu]: growright,nopercent Unscaled[cpu]: ymwd I am getting really odd scales though. (really HUGE numbers)... I am getting this on a few graphs. Any ideas? -Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric at techeminence.com Thu Oct 27 21:39:27 2005 From: eric at techeminence.com (Eric M.Faden) Date: Thu, 27 Oct 2005 15:39:27 -0400 Subject: [mrtg] Re: MRTG with 14all.cgi and odd scales In-Reply-To: <20051027142521.T4488@aardvark.ded.mo.gov> References: <43611FC7.9070707@rednarb.com> <20051027142521.T4488@aardvark.ded.mo.gov> Message-ID: On Thu, 27 Oct 2005 14:27:23 -0500 (CDT) warren.auld at ded.mo.gov wrote: > > Hi Eric, > > On Thu, 27 Oct 2005, Eric M.Faden wrote: > > [...snip...] > >> LegendO[cpu]: >> Options[cpu]: growright,nopercent >> Unscaled[cpu]: ymwd >> >> I am getting really odd scales though. (really HUGE >> numbers)... I am getting this on a few graphs. Any >>ideas? >> > [...snip...] > > Add gauge to the options line. > > warren I added gauge. It didn't change anything. I am having the same problem on the dskPercent graph also and that one was already using gauge. -Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From s.shipway at auckland.ac.nz Thu Oct 27 22:04:59 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 28 Oct 2005 09:04:59 +1300 Subject: [mrtg] Re: How do I get rid of Legend Items? In-Reply-To: <06E8DEE56E6497438E51CA694959F7AF05A5F2D4@svk105.CONNEX.bclc.com> Message-ID: <00d301c5db31$b5cb30c0$01fea8c0@itss.auckland.ac.nz> >The only graphed items I am interested in are the Max Round >Trip Time in mS and the In: values on the third line. How can >I get rid of the extra entries? My cfg file looks like this... Try: Options[target]: noo to suppress the 'out' (or second) values. There is a 'noi' option as well which suppresses the first (or 'in') values. I leave it to you to find out why you shouldn't use both options at once :) Steve -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yamtak at b-session.com Thu Oct 27 22:13:49 2005 From: yamtak at b-session.com (Takumi Yamane) Date: Fri, 28 Oct 2005 05:13:49 +0900 Subject: [mrtg] Re: MRTG with 14all.cgi and odd scales In-Reply-To: References: <43611FC7.9070707@rednarb.com> Message-ID: <53C5DB32F14012yamtak@b-session.com> On Thu, 27 Oct 2005 15:17:52 -0400, "Eric M.Faden" wrote in : > I have the following in MRTG > Target[cpu]:ssCpuRawUser.0&ssCpuRawUser.0:FOO at localhost + > ssCpuRawSystem.0&ssCpuRawSystem.0:FOO at localhost + > ssCpuRawNice.0&ssCpuRawNice.0:FOO at localhost ... > I am getting really odd scales though. (really HUGE > numbers)... I am getting this on a few graphs. Any ideas? ssCpuRaw* is not percentages, use ssCpu* instead if its available. $ snmpwalk -v 2c -c string agent systemStats ... UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 4 UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 14 UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 80 UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 98542201 UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 210465 UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 306196258 UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1639873889 -- Takumi Yamane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric at techeminence.com Thu Oct 27 22:55:20 2005 From: eric at techeminence.com (Eric M.Faden) Date: Thu, 27 Oct 2005 16:55:20 -0400 Subject: [mrtg] Re: MRTG with 14all.cgi and odd scales In-Reply-To: <20051027151725.J4488@aardvark.ded.mo.gov> References: <43611FC7.9070707@rednarb.com> <20051027142521.T4488@aardvark.ded.mo.gov> <20051027151725.J4488@aardvark.ded.mo.gov> Message-ID: On Thu, 27 Oct 2005 15:26:37 -0500 (CDT) warren.auld at ded.mo.gov wrote: > > > On Thu, 27 Oct 2005, Eric M.Faden wrote: > >> >> I added gauge. It didn't change anything. I am having >> the same problem on the dskPercent graph also and that >>one >> was already using gauge. >> >> -Eric >> > > Looking at the values on one of my systems (a >workstation running FreeBSD > 4.11), the values aren't percentages -- > > enterprises.ucdavis.systemStats.ssCpuRawUser.0 = >Counter32: 107500979 > enterprises.ucdavis.systemStats.ssCpuRawNice.0 = >Counter32: 25418869 > enterprises.ucdavis.systemStats.ssCpuRawSystem.0 = >Counter32: 25397603 > > And according to the MIB file, they're 32-bit counters >so adding them up > will give a large nonsensical (sp?) value as you've >already discovered. I > think there was some discussion on this list about a >similar problem in > the last six months maybe. > > warren I think it has to do with Unscaled. I am only seeming to get this problem if the graphs are listed as unscaled. I figured this out because the graph I have it building using dskPercent.1 and such are actually percentages but the scales are nonsense. In fact the Min/Max on the bottom of the graph are correct and on dskPercent it says 7, but the scale is nonsense. Other clues? Could 14all be graphing the scale incorrectly? -Eric -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From eric at techeminence.com Thu Oct 27 23:24:56 2005 From: eric at techeminence.com (Eric M.Faden) Date: Thu, 27 Oct 2005 17:24:56 -0400 Subject: [mrtg] Re: MRTG with 14all.cgi and odd scales In-Reply-To: <20051027160422.K4488@aardvark.ded.mo.gov> References: <43611FC7.9070707@rednarb.com> <20051027142521.T4488@aardvark.ded.mo.gov> <20051027151725.J4488@aardvark.ded.mo.gov> <20051027160422.K4488@aardvark.ded.mo.gov> Message-ID: I get an error that MaxBytes isn't defined. -Eric On Thu, 27 Oct 2005 16:05:00 -0500 (CDT) warren.auld at ded.mo.gov wrote: > > > On Thu, 27 Oct 2005, Eric M.Faden wrote: > >> I think it has to do with Unscaled. I am only seeming >>to >> get this problem if the graphs are listed as unscaled. >> I >> figured this out because the graph I have it building >> using dskPercent.1 and such are actually percentages but >> the scales are nonsense. In fact the Min/Max on the >> bottom of the graph are correct and on dskPercent it >>says >> 7, but the scale is nonsense. Other clues? Could 14all >> be graphing the scale incorrectly? >> > > Does it help to remove the MaxBytes line? > > warren -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From khudson at tsss.org Thu Oct 27 23:59:52 2005 From: khudson at tsss.org (kelsey hudson) Date: Thu, 27 Oct 2005 14:59:52 -0700 Subject: [mrtg] Re: MRTG with 14all.cgi and odd scales In-Reply-To: <53C5DB32F14012yamtak@b-session.com> References: <43611FC7.9070707@rednarb.com> <53C5DB32F14012yamtak@b-session.com> Message-ID: <43614DD8.8@tsss.org> Takumi Yamane wrote: > ssCpuRaw* is not percentages, use ssCpu* instead if its available. > > $ snmpwalk -v 2c -c string agent systemStats > .... > UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 4 > UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 14 > UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 80 > UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 98542201 > UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 210465 > UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 306196258 > UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 1639873889 While this is true that they are not percentages, the ssCpuRaw* targets are more accurate; that is, they reflect the CPU usage over the reporting period rather than immediate readings (which the ssCpuUser.0 and friends reflect). Using the percentage OIDs results in a graph that could potentially have many readings which are not representative of your target's actual utilization. I've got my target set up as: Target[nemesis_cpu0]: \ ssCpuRawUser.0&ssCpuRawUser.0:public at localhost + \ ssCpuRawSystem.0&ssCpuRawSystem.0:public at localhost + \ ssCpuRawNice.0&ssCpuRawNice.0:public at localhost MaxBytes[nemesis_cpu0]: 100 Options[nemesis_cpu0]: growright, nopercent, noo Unscaled[nemesis_cpu0]: ymwd and it works just fine. mrtg 2.10.15 and rrdtool 1.0.49, Linux 2.6, 1000Hz timer. I've successfully used this target on probably twenty-five hosts around the office with complete success -- different operating systems and different kernel releases as well, all using the Net-SNMP agent. Hopefully you can get yours working. Goodl luck! -Kelsey -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From yonienjcn at gmail.com Fri Oct 28 14:34:15 2005 From: yonienjcn at gmail.com (Tao Yaoning) Date: Fri, 28 Oct 2005 08:34:15 -0400 Subject: [mrtg] strange data gather Message-ID: <8ee7548c0510280534q3c2c0862q1ae979417ff6f945@mail.gmail.com> Hi, all I use MRTG to monitor traffic. The configuration file looks like ************************************************************************** Target[ba-adm_ag1]: ethernetInBytes.1ðernetOutBytes.1:public at ba-adm:::::2 Title[ba-adm_ag1]: Throughput Analysis for ba-adm:ag1 Options[ba-adm_ag1]: nopercent,growright MaxBytes[ba-adm_ag1]: 125000000 PageTop[ba-adm_ag1]:

Traffic Analysis for ba-adm ag1

the picuture display the traffice is In: 25.0 MB/s Out: 30.6 MB/s But when I use snmpget, I get data snmpget -v 2c -c public -m /usr/local/mrtg/mibs/BlueArc.824w.mib ba-adm ethernetInBytes.1 ethernetInBytes.1 98153685734632 snmpget -v 2c -c public -m /usr/local/mrtg/mibs/BlueArc.824w.mib ba-adm ethernetOutBytes.1 ethernetOutBytes.1 309495727944137 I think there are some big differences between what I get from snmpget and MRTG get. Anybody has ideas for it? Thanks -- looking for Network Adminstrator Position -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From brunon at abstynenci.org Fri Oct 28 14:59:02 2005 From: brunon at abstynenci.org (brunon at abstynenci.org) Date: Fri, 28 Oct 2005 14:59:02 +0200 (CEST) Subject: [mrtg] Re: strange data gather Message-ID: <41765.194.204.152.122.1130504342.squirrel@mail.wireland.org> > > the picuture display the traffice is > In: 25.0 MB/s > Out: 30.6 MB/s > > But when I use snmpget, I get data > > snmpget -v 2c -c public -m /usr/local/mrtg/mibs/BlueArc.824w.mib > ba-adm ethernetInBytes.1 > ethernetInBytes.1 98153685734632 > > snmpget -v 2c -c public -m /usr/local/mrtg/mibs/BlueArc.824w.mib > ba-adm ethernetOutBytes.1 > ethernetOutBytes.1 309495727944137 > > I think there are some big differences between what I get from snmpget > and MRTG get. > Looks ok - these are counter type data sources - snmpget won't show you explicit traffic values, if that's your problem. Counters are always incrementing and mrtg calculates traffic here by measuring differences between read counter values and dividing it by number of second in configured interval. I think it's described somewhere on the MRTG homepage. Lukasz -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From shane.presley at gmail.com Fri Oct 28 18:21:28 2005 From: shane.presley at gmail.com (Shane Presley) Date: Fri, 28 Oct 2005 12:21:28 -0400 Subject: [mrtg] NetCache? Message-ID: <27ae92160510280921w2df13ad3o616d8f82fa0abac3@mail.gmail.com> Do any templates exist for monitoring a NetCache proxy appliance? I found some at http://www.wtcs.org/snmp4tpc/mrtg.htm but haven't been able to make those work. Thanks! Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From c.morgan at megagate.com Fri Oct 28 19:54:53 2005 From: c.morgan at megagate.com (Charley Morgan) Date: Fri, 28 Oct 2005 12:54:53 -0500 Subject: [mrtg] Problem with Unscaled Message-ID: <002501c5dbe8$b30ac410$800101df@samson> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I just downloaded the newest version of MRTG form the web and I am now having problems with Unscaled working. I have 2 DS3 interfaces in a Cisco router that I am monitoring and even with the unscaled option they are always scaled. I am running an older version with the exact scale command and they work fine. The first time I start up MRTG and there is no graph data everything looks correct, but as soon as data hits it starts scaling the graphs. Any idea what would cause this? Thanks, ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 2k (2725 bytes) -- URL : http://lists.ee.ethz.ch/p/53-logo.gif -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From todd at ocsny.com Fri Oct 28 20:57:22 2005 From: todd at ocsny.com (Todd Stevens) Date: Fri, 28 Oct 2005 14:57:22 -0400 Subject: [mrtg] MRTG 2.12.2 bug? - cisco interface descriptions Message-ID: <0F3177E4824EC94698BAA43AF73D1BC7CF6F18@webmail.ocsny.com> I am using MRTG 2.12.2 just set it up in a new environment. Windows 2003 web server, I used the same configuration scripts that I have been using for years, and now no matter what I try the descriptions for the cisco interfaces do not show up in headings of the individual interface graphs for indexmaker generated .htm files. They do get listed out on the detail page(s) though when you drill down. Anyone have any ideas? -------------------------------------------------- Todd Stevens Optimized Computer Solutions, Inc. -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From arinesmith at bigrivertelephone.com Fri Oct 28 22:10:27 2005 From: arinesmith at bigrivertelephone.com (Anson Rinesmith) Date: Fri, 28 Oct 2005 15:10:27 -0500 Subject: [mrtg] Re: Problem with Unscaled In-Reply-To: <002501c5dbe8$b30ac410$800101df@samson> Message-ID: <200510282010.j9SKA1824106@mailhost.bigrivertelephone.com> What do you have in your config? -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Charley Morgan Sent: Friday, October 28, 2005 12:55 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Problem with Unscaled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I just downloaded the newest version of MRTG form the web and I am now having problems with Unscaled working. I have 2 DS3 interfaces in a Cisco router that I am monitoring and even with the unscaled option they are always scaled. I am running an older version with the exact scale command and they work fine. The first time I start up MRTG and there is no graph data everything looks correct, but as soon as data hits it starts scaling the graphs. Any idea what would cause this? Thanks, ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 2k (2725 bytes) -- URL : http://lists.ee.ethz.ch/p/53-logo.gif -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From c.morgan at megagate.com Fri Oct 28 22:24:40 2005 From: c.morgan at megagate.com (Charley Morgan) Date: Fri, 28 Oct 2005 15:24:40 -0500 Subject: [mrtg] Re: Problem with Unscaled In-Reply-To: <200510282010.j9SKA1824106@mailhost.bigrivertelephone.com> Message-ID: <003d01c5dbfd$a004dfd0$800101df@samson> Here is my config: ### Global Config Options # for UNIX WorkDir: /var/www/html/mrtg RunAsDaemon: Yes Interval: 5 Options[_]: growright, bits, noinfo Unscaled[_]: dwmy LogDir: /usr/local/mrtg-2/logs Refresh: 300 EnableIPv6: no ###################################################################### # System: cisco7613 # Description: Cisco Internetwork Operating System Software # IOS (tm) s72033_rp Software (s72033_rp-PK9SV-M), Version 12.2(18)SXD5, RELEASE SOFTWARE (fc3) # Technical Support: http://www.cisco.com/techsupport # Copyright (c) 1986-2005 by cisco Systems, Inc. # Compiled Fri # Contact: ie at megagate.com # Location: Ivey Lane ###################################################################### ### Interface 12 >> Descr: 'Serial6/0/0' | Name: 'Se6/0/0' | Ip: '160.81.70.134' | Eth: '' ### Target[Sprint]: 12:9cR2npZ at 208.24.218.100: SetEnv[Sprint]: MRTG_INT_IP="160.81.70.134" MRTG_INT_DESCR="Serial6/0/0" MaxBytes[Sprint]: 2250000 Title[Sprint]: Traffic Analysis for Sprint Network Uplink - 18MB PageTop[Sprint]:

Traffic Analysis for Sprint Network Uplink - 18MB

System: cisco7613 in Ivey Lane
Maintainer: ie at megagate.com
Description: Serial6/0/0 Sprint Uplink - Hattiesburg POP - 18MB
ifType: propPointToPointSerial (22)
ifName: Se6/0/0
Max Speed: 2250.0 kBytes/s
Ip: 160.81.70.134 (sl-megag-2-0.sprintlink.net)
Directory[Sprint]: sprint ####### ####### ####### ### Interface 330 >> Descr: 'ATM13/0/0.1-aal5-layer' | Name: '' | Ip: '64.200.126.150' | Eth: '' ### Target[WillTel]: 330:9cR2npZ at 208.24.218.100: SetEnv[WillTel]: MRTG_INT_IP="64.200.126.150" MRTG_INT_DESCR="ATM13/0/0.1-aal5-layer" MaxBytes[WillTel]: 1500000 Title[WillTel]: Traffic Analysis for WillTel Network Uplink - 12MB PageTop[WillTel]:

Traffic Analysis for WillTel Network Uplink - 18MB

System: cisco7613 in Ivey Lane
Maintainer: ie at megagate.com
Description: ATM13/0/0.1-aal5-layer
ifType: aal5 (49)
ifName:
Max Speed: 1500.0 kBytes/s
Ip: 64.200.126.150 (drvlga1wct1-wholesalecarrier-atm.wcg.net)
Directory[WillTel]: willtel ### ### ### ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Anson Rinesmith Sent: Friday, October 28, 2005 3:10 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Problem with Unscaled What do you have in your config? -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Charley Morgan Sent: Friday, October 28, 2005 12:55 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Problem with Unscaled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I just downloaded the newest version of MRTG form the web and I am now having problems with Unscaled working. I have 2 DS3 interfaces in a Cisco router that I am monitoring and even with the unscaled option they are always scaled. I am running an older version with the exact scale command and they work fine. The first time I start up MRTG and there is no graph data everything looks correct, but as soon as data hits it starts scaling the graphs. Any idea what would cause this? Thanks, ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 2k (2725 bytes) -- URL : http://lists.ee.ethz.ch/p/53-logo.gif -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From pavouk at pavouk.org Sat Oct 29 00:42:05 2005 From: pavouk at pavouk.org (Pavel Ruzicka) Date: Sat, 29 Oct 2005 00:42:05 +0200 Subject: [mrtg] Re: Can 14all.cgi be easily configured/modified to use more than two CPUs? In-Reply-To: <3C83DDDEC7B8194A83B7A92B5557BE3421E242@nwpsrv07.edj.ad.edwardjones.com> References: <3C83DDDEC7B8194A83B7A92B5557BE3421E242@nwpsrv07.edj.ad.edwardjones.com> Message-ID: <200510290042.05696.pavouk@pavouk.org> Hello, > or are there other > reasons why only two instances of 14all.cgi can exist at > one time? I use Apache with modperl. You can use more Apache forks. Using modperl is great speed improvement. Another big speed improvement is splitting of mrtg config file. I have many included config files, one per host. I have speed problems, only when my Linux machine flushes disk caches about 2GB to disks. Best regards, Pavel Ruzicka -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From shane.presley at gmail.com Mon Oct 31 14:04:06 2005 From: shane.presley at gmail.com (Shane Presley) Date: Mon, 31 Oct 2005 08:04:06 -0500 Subject: [mrtg] NetCache Templates Message-ID: <27ae92160510310504rb10d2c9ifcb4bb2e98d09f9f@mail.gmail.com> Do any templates exist for monitoring a NetCache proxy appliance? I found some at http://www.wtcs.org/snmp4tpc/mrtg.htm but haven't been able to make those work. It seems they were built for an older version of the NetCache OS. Thanks! Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From dez at otenet.gr Mon Oct 31 14:07:27 2005 From: dez at otenet.gr (Dez Cadena) Date: Mon, 31 Oct 2005 15:07:27 +0200 Subject: [mrtg] Re: NetCache? In-Reply-To: <27ae92160510280921w2df13ad3o616d8f82fa0abac3@mail.gmail.com> References: <27ae92160510280921w2df13ad3o616d8f82fa0abac3@mail.gmail.com> Message-ID: <20051031130727.GA8100@noc.otenet.gr> On Fri, Oct 28, 2005 at 12:21:28PM -0400, Shane Presley wrote: > Do any templates exist for monitoring a NetCache proxy appliance? Why dont you just "walk" the NetApp MIB and determine which OIDs you need to monitor? I, for example, monitor things like: 1.3.6.1.4.1.789.1.8.3.1.0 (objects stored) 1.3.6.1.4.1.789.1.8.3.2.0&1.3.6.1.4.1.789.1.8.3.3.0 (bytes from/to clients) 1.3.6.1.4.1.789.1.8.3.6.1.0 (HTTP requests) 1.3.6.1.4.1.789.1.8.3.6.2.0&1.3.6.1.4.1.789.1.8.3.6.3.0 (hits & misses) etc... > I found some at http://www.wtcs.org/snmp4tpc/mrtg.htm but haven't been > able to make those work. > > Thanks! > Shane -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From data2 at cablespeed.com Mon Oct 31 15:29:28 2005 From: data2 at cablespeed.com (Jon Krause) Date: Mon, 31 Oct 2005 09:29:28 -0500 Subject: [mrtg] Re: NetCache Templates References: <27ae92160510310504rb10d2c9ifcb4bb2e98d09f9f@mail.gmail.com> Message-ID: <059c01c5de27$807e9f80$05dc3818@mdm246a3e4f6fc> ----- Original Message ----- From: "Shane Presley" Sent: Monday, October 31, 2005 8:04 AM Subject: [mrtg] NetCache Templates > Do any templates exist for monitoring a NetCache proxy appliance? > > I found some at http://www.wtcs.org/snmp4tpc/mrtg.htm but haven't been > able to make those work. It seems they were built for an older version > of the NetCache OS. > > Thanks! > Shane > > -- > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe > Archive http://lists.ee.ethz.ch/mrtg > FAQ http://faq.mrtg.org Homepage http://www.mrtg.org > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > I beleive there is a very comprehensive list of MIB's with explainations available within the appliance web interface, depending on what appliance you are using. Good luck, Jon -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi From c.morgan at megagate.com Mon Oct 31 19:09:48 2005 From: c.morgan at megagate.com (Charley Morgan) Date: Mon, 31 Oct 2005 12:09:48 -0600 Subject: [mrtg] Re: Problem with Unscaled In-Reply-To: <200510282010.j9SKA1824106@mailhost.bigrivertelephone.com> Message-ID: <001201c5de46$47edf020$800101df@samson> Here is my config: Please let me know if you can figure out why the unscaled option is not working. I have put the unscaled on each interface and as a global parameter and still have the same results. Thanks, ### Global Config Options # for UNIX WorkDir: /var/www/html/mrtg RunAsDaemon: Yes Interval: 5 Options[_]: growright, bits, noinfo Unscaled[_]: dwmy LogDir: /usr/local/mrtg-2/logs Refresh: 300 EnableIPv6: no ###################################################################### # System: cisco7613 # Description: Cisco Internetwork Operating System Software # IOS (tm) s72033_rp Software (s72033_rp-PK9SV-M), Version 12.2(18)SXD5, RELEASE SOFTWARE (fc3) # Technical Support: http://www.cisco.com/techsupport # Copyright (c) 1986-2005 by cisco Systems, Inc. # Compiled Fri # Contact: ie at megagate.com # Location: Ivey Lane ###################################################################### ### Interface 12 >> Descr: 'Serial6/0/0' | Name: 'Se6/0/0' | Ip: '160.81.70.134' | Eth: '' ### Target[Sprint]: 12:9cR2npZ at 208.24.218.100: SetEnv[Sprint]: MRTG_INT_IP="160.81.70.134" MRTG_INT_DESCR="Serial6/0/0" MaxBytes[Sprint]: 2250000 Title[Sprint]: Traffic Analysis for Sprint Network Uplink - 18MB PageTop[Sprint]:

Traffic Analysis for Sprint Network Uplink - 18MB

System: cisco7613 in Ivey Lane
Maintainer: ie at megagate.com
Description: Serial6/0/0 Sprint Uplink - Hattiesburg POP - 18MB
ifType: propPointToPointSerial (22)
ifName: Se6/0/0
Max Speed: 2250.0 kBytes/s
Ip: 160.81.70.134 (sl-megag-2-0.sprintlink.net)
Directory[Sprint]: sprint ####### ####### ####### ### Interface 330 >> Descr: 'ATM13/0/0.1-aal5-layer' | Name: '' | Ip: '64.200.126.150' | Eth: '' ### Target[WillTel]: 330:9cR2npZ at 208.24.218.100: SetEnv[WillTel]: MRTG_INT_IP="64.200.126.150" MRTG_INT_DESCR="ATM13/0/0.1-aal5-layer" MaxBytes[WillTel]: 1500000 Title[WillTel]: Traffic Analysis for WillTel Network Uplink - 12MB PageTop[WillTel]:

Traffic Analysis for WillTel Network Uplink - 18MB

System: cisco7613 in Ivey Lane
Maintainer: ie at megagate.com
Description: ATM13/0/0.1-aal5-layer
ifType: aal5 (49)
ifName:
Max Speed: 1500.0 kBytes/s
Ip: 64.200.126.150 (drvlga1wct1-wholesalecarrier-atm.wcg.net)
Directory[WillTel]: willtel ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Anson Rinesmith Sent: Friday, October 28, 2005 3:10 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Re: Problem with Unscaled What do you have in your config? -----Original Message----- From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Charley Morgan Sent: Friday, October 28, 2005 12:55 PM To: mrtg at list.ee.ethz.ch Subject: [mrtg] Problem with Unscaled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I just downloaded the newest version of MRTG form the web and I am now having problems with Unscaled working. I have 2 DS3 interfaces in a Cisco router that I am monitoring and even with the unscaled option they are always scaled. I am running an older version with the exact scale command and they work fine. The first time I start up MRTG and there is no graph data everything looks correct, but as soon as data hits it starts scaling the graphs. Any idea what would cause this? Thanks, ______________________________________________________ Charley Morgan Internet Engineer Megagate Broadband ' Tel: (601) 450-5000 * Email: c.morgan at megagate.com ______________________________________________________ -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 2k (2725 bytes) -- URL : http://lists.ee.ethz.ch/p/53-logo.gif -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi