Date: Tue, 18 May 2004 13:36:43 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Stephen P. Cravey" <clists@gotbrains.org> Cc: freebsd-questions@freebsd.org Subject: Re: remote monitoring system variables? Message-ID: <20040518123643.GB46147@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040517183242.192ead9f.clists@gotbrains.org> References: <20040517183242.192ead9f.clists@gotbrains.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2004 at 06:32:42PM -0500, Stephen P. Cravey wrote: > I'm tryign to locate a pre-existing method of monitoring FreeBSD systems.= Specifically, I'd like a way to monitor sysctl variables, IPFW/PF counters= , cpu and ram utilization(in that order). I can write my own interface, how= ever I'd hate to have to reinvent the wheel if there's already something ou= t there. Not to mention the difficulty in figuring out how to build an inte= rface into the ipfw counters. Thanks. Most of that can by obtained via snmp -- the net-mgmt/net-snmp port would be a good place to start. You can get the system load and memory usage and the number of bytes transmitted via each interface straight out of SNMP, but for things like sysctl(8) output or IPFW counters, youl'd have to get the SNMP daemon to run an external script and return the results. You can probably figure out how to do that by reading the documentation supplied with net-snmp and by playing with the configuration file generator snmpconf(1). Once you've got SNMP capability available on your server, virtually all network monitoring software, including a bunch of large-scale commercial monitoring programs, will be able to process and display the results. If your budget doesn't run that far, then there's plenty of applications in ports that will do a similar job. Particularly recommended is net-mgmt/mrtg in combination with net/rrdtool -- very good for graphing the state of such things over time. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAqgNbiD657aJF7eIRAsYeAJ4ufkD1NkCutPs0okZ8ThXBH60j2ACgmrQY 8+bx61JIZCRAug2VZthZUVY= =zznG -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040518123643.GB46147>