Date: Mon, 25 Sep 2000 00:51:40 -0500 (CDT) From: BWS - Offwhite <brennan@offwhite.net> To: Dan Nelson <dnelson@emsphone.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: snmp with mrtg for monitoring Message-ID: <Pine.BSF.4.21.0009250050370.11758-100000@home.offwhite.net> In-Reply-To: <20000924215649.A4730@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, I think I have it working much better now. I did not relize the float values were a problem. That article did not offer any warning about that. What does that gauge option do? Thanks for the help so far. Brennan Stehling - web developer and sys admin projects: www.greasydaemon.com | www.onmilwaukee.com | www.sncalumni.com On Sun, 24 Sep 2000, Dan Nelson wrote: > In the last episode (Sep 24), BWS - Offwhite said: > > I am just learning how to use SNMP to monitor various aspects of my > > servers and then creating useful graphs with mrtg. I am reading material > > here to learn how to do it. > > > > http://www.oreillynet.com/pub/a/bsd/2000/09/21/Big_Scary_Daemons.html > > > > # cpu load > > Target[load]:.1.3.6.1.4.1.2021.10.1.3.1&.1.3.6.1.4.1.2021.10.1.3.2:HOME@localhost > > Try .1.3.6.1.4.1.2021.10.1.5.1 instead. 1.3.1 is a float, and since > mrtg just graphs integers, you'll only be able to graph the number 0 > and 1. 1.5.1 is the loadavg * 100, so you'll go from 0..100 most of > the time. > > > # swap > > Target[swap]:.1.3.6.1.4.1.2021.4.3.0&.1.3.6.1.4.1.2021.4.4.0:HOME@localhost > > This should be fine. Make sure that you set Options[load]=gauge (same > for swap). > > > These both have a value for MaxBytes of 12500000. I probably should > > change this, but the article from oreillynet.com does not give a > > specific recommondation for this. The article seems to cut our a bit > > early leaving me to do a great deal of guesswork. > > I'd set MaxBytes[load] at 100, but AbsMax at an outrageous number > (100000 or whatever). That way you'll get numbers >100% when your > loadavg goes above 1.00. Set MaxBytes[swap] at whatever your swap size > is. > > -- > Dan Nelson > dnelson@emsphone.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009250050370.11758-100000>