Not sure what happened to my response, but here is the information. I've
tried this without the sed statements as well, but no joy either way. By
the way, this is a 1.1.1 install from the rpm on a Centos 4.4 server.
The check is run locally.
Here is the result of running it from a command line on the zenoss system:
[EMAIL PROTECTED] libexec]$ ./check_temptraxe -H therm -p 2 -w 78 -c 85
Temp Ok: 5th Flr Srvr Rm = 69.9 F
[EMAIL PROTECTED] libexec]$ ./check_temptraxe -H therm -p 2 -w 78 -c 85 |
sed 's/5th Flr Srvr Rm = /5thFlrSrvrRm=/' | sed 's/ F/;/'
Temp Ok: 5thFlrSrvrRm=70.0;
Name
Source Type
Enabled
Use SSH
Component
Event Class
Event Key
Severity
Cycle Time
Command Template
check_temptraxe -H $devname -p 2 -w 78 -c 85 | sed 's/5th Flr Srvr Rm =
/5thFlrSrvrRm=/' | sed 's/ F/;/'
DataPoints
Name
<http://support3.ssaihq.com:8080/zport/dmd/Devices/Sensor/devices/therm.ssai-2.com/Device/datasources/5thFloorServerRoom?tableName=rrdtempdplist&sortedHeader=getId&sortedSence=asc&sortRule=cmp>
Type
<http://support3.ssaihq.com:8080/zport/dmd/Devices/Sensor/devices/therm.ssai-2.com/Device/datasources/5thFloorServerRoom?tableName=rrdtempdplist&sortedHeader=rrdtype&sortedSence=asc&sortRule=cmp>
5thFlrSrvrRm
<http://support3.ssaihq.com:8080/zport/dmd/Devices/Sensor/devices/therm.ssai-2.com/Device/datasources/5thFloorServerRoom/datapoints/5thFlrSrvrRm>
GAUGE
James,
The graphs for command plugins are created based on the data point
names. If you would send the command line output of you successfully
running the Nagios plugin we could probably assist you in setting up
the data source and data points correctly. Once you do this for one
plugin it becomes very easy to do it for others.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users