twig les wrote:
Hey all, after a bit of thinking and some looking thru
email archives I'm still stumped on a way to get CPU,
memory, disk I/O, disk use etc.... info from one
machine to another without using SNMP.  All these
boxes are FreeBSD 4.7 Release.

I'm sure I could rig a script to ssh into the boxes
and do a df -h etc. and write the info to a file but
my gut tells me there is a MUCH better solution that
someone with far better programming skills has already
come up with and stuck in the ports collection.
Better idea: have a process on each box generate the data you want in a format you can parse easily, then have a collector fetch it from some high-numbered port you can secure with ACLs, router rules, etc. You can either code up a little server process with perl or python to listen on that port or simplest of all, just have the service (in [x]inetd.conf) cat the file upon request.


--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ <http://paulbeard.no-ip.org/movabletype/>

I have more humility in my little finger than you have in your whole
____BODY!
-- from "Cerebus" #82


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to