<p>This pl

by Jun 27, 2007

This plug-in monitor provides information about current temperature and humidity based on the results returned by the following device:

Example Graphed Output

The agent side script in this example is *nix only. It can be updated to fit other utilities and devices as long as the returned result is in this format:

temp 99.9
rh 99.9

This example uses a device by Sensorsoft and the SCOM software that it comes bundled with. If you are able to adapt this agent side script to other devices please post your examples including the information on the device or software that produces the environment values.

Sensorsoft SS6610J Humidity Temperature Meter – Retail: $199.95 USD


– Monitoring station must have Perl installed
– *nix Agent Only
– SCOM software is installed and funtioning

Agent Side Configuration

– Add the following line to your /opt/uptime-agent/bin/.uptmpasswd file

password /opt/uptime-agent/bin/agent-temphum.sh

-Create a script named 'agent-temphum.sh' in /opt/uptime-agent/bin, ensure it is owned and executable by the user who is running the agent. Use the content below to have the script interface with the SCOM software listening on port 6100. If you have a different device or software update this content as required to match your solution:

TEMP=`/opt/SCOM/scom -Q /opt/SCOM/TEMP.ini localhost@6100`
echo “temp $TEMP”
HUMIDITY=`/opt/SCOM/scom -Q /opt/SCOM/RH.ini localhost@6100`
echo “rh $HUMIDITY”
exit 0

Monitoring Station Configuration

– Extract check_temprh.zip (found below) into /scripts
– Import the monitor xml using this command

/scripts/erdcloader -x scripts/check_temprh.xml

You may want to change the temperature unit's to F instead of C if you are in the US. Look for this tag in the xml file: units=”C”, change the C to F before running the erdcloader.

– You should now see 'TempHumid' as a monitor option under your advanced monitors
– On Windows systems you will need to change the 'Script Path' within any new monitor to the following value. You may also need to update the check_temprh.bat file to point to your correct Perl path


Example Files