2005-09-23
Jason Schoonover
Initial EM01 support was added in 1.0.3
Unnoc Esensors Websensor Monitor EM01 available for purchase at:
http://www.eesensors.com/websensor.html
1. Introduction
2. Configuration
3. Display
1. Introduction
As of 1.0.3, Unnoc now supports the Esensors Websensor em01 monitor,
the plugin will alert you if the temperature gets too high on the
sensor, but that's all. I didn't add humidity or illumination alerts
because I didn't' see the point. However I did put all the work into the
script, so basically to enable those would be pretty easy.
It can neatly display the temperature and humidity as well (and if
someone out there wants the illumination settings, please let me know
and I'll enable it in the code), never used it before but it might come
in handy.
As of 1.0.6, MRTG is no longer required. RRD is used for everything and
configuration is trivial.
2. Configuration
The way to configure an em01 sensor is with the 'host' directive in the
unnoc.conf file. See the README.hosts file for proper syntax, here is
an example config:
host {
hostname = environ-1
community = public
type = em01
updown = ping
}
You can specify a different interval with the 'interval' directive.
setting interval = 1 is recommended.
You can specify an alternate temperature warning level with the
'temp_warn' directive.
You must specify a 'updown' value of ping, because they are not accessed
via SNMP (only via the web, for some reason).
3. Display
You can view the status by something like this in your php scripts:
Server Room Ambient Temperature:
Server Room Ambient Humidity:
To put the link on the index.php, use the print_href functions, the proper argument for print_href_type is 'em01', so for example: print_href_type ('em01'); Will print every environment sensor that unnoc knows about. This will display a link to the graphs and display vim:tw=72:wm=1