[mrtg] Re: Remote Linux/FreeBSD system monitoring... ucd-snmp vs. perl scripts in inetd
Brendon B
mlist at brendon.com
Wed Jan 17 03:03:50 MET 2001
On linux, you should be able to query /proc instead of using sar also. I
admit I use sar, but if I had a lot of machines, I would probably figure out
what I need in proc and just calculate it in my scripts.
I wrote a script that uses top instead of sar, but top won't work for a
scripted query. I get values, but top gives the wrong values when it first
starts.
Brendon
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Max Clark
Sent: Tuesday, January 16, 2001 2:15 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Remote Linux/FreeBSD system monitoring... ucd-snmp vs.
perl scripts in inetd
This is so horribly complicated. I understand what you mean by using sar for
the CPU information on the Linux machines. Is there anything like this for
FreeBSD? I would like to try and use something unified for the entire
system.
Max
-----Original Message-----
From: Ashley M. Kirchner [mailto:ashley at pcraft.com]
Sent: Tuesday, January 16, 2001 1:37 PM
To: Max Clark
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Remote Linux/FreeBSD system monitoring... ucd-snmp
vs. perl scripts in inetd
Max Clark wrote:
> 2) installing shell scripts on the remote machine
> and configuring inetd to listen on ports, 3) using an snmp package such as
> ucd-snmp.
I use both those options. Scripts to monitor CPU in percentages, and
snmp
to monitor disk and network. I didn't use snmp to do PCU because SNMP only
reports average load over 1, 5 and 15 minute intervals. I wanted a
percentage
of CPu usage over time, so I combined the 'sar' utility with a perl script
and
fed the info to MRTG.
http://mrtg.yeehaw.net/ - follow the setup into for CPU load.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|____________________________________________________________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . eFax 248.671.0909
http://www.pcraft.com . 3550 Arapahoe Ave #6
.................. . . . . Boulder, CO 80303, USA
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list