Web access to sysctl hw.sensors

2006-08-17 Thread Douglas Maus
I'd like to be able to remotely observe my server's hardware health. I'd like to see my motherboard hardware sensors output from sysctl: $sysctl hw.sensors and I'd like to check on my RAID status with $sudo raidctl -s raid0 But... to get an web shell script (/var/www/cgi-bin/sensors.sh)

Re: Web access to sysctl hw.sensors

2006-08-17 Thread Darrin Chandler
On Fri, Aug 18, 2006 at 01:13:49AM +, Douglas Maus wrote: I'd like to be able to remotely observe my server's hardware health. snip I saw the FAQ about chroot (www.openbsd.org/faq/faq10.html#httpdchroot) so I see the basics of what is required to move things into a chroot. So I was

Re: Web access to sysctl hw.sensors

2006-08-17 Thread Will Maier
On Fri, Aug 18, 2006 at 01:13:49AM +, Douglas Maus wrote: 1. Is there an easier way to remotely observe such hardware status? SNMP (for better or worse) or any number of real monitoring products do that for you; nagios and munin are both in ports. If you really want to write your own,

Re: Web access to sysctl hw.sensors

2006-08-17 Thread Moritz Grimm
Douglas Maus wrote: I'd like to be able to remotely observe my server's hardware health. I recently wrote something that might help achieve what you want. It's a bit of a poor-man's SNMP with a slightly different target audience. It's still alpha, but the documentation is complete, making it