Table of Contents
ted5000
- type:
- user_template_graph
- usertemplate:
- ted5000
- description:
- TED5000 - kWh and Cost Per Hour ($)
- Cacti:
- 0.8.8a
- homepage:
- http://forums.cacti.net/viewtopic.php?f=12&t=50149
- date:
- May 25, 2013
- email:
- [email protected]
- includes:
- yes
- script:
- PHP Script Server
- templates:
- ted5000,
- kwh,
- cost per hour
Download
Version | File |
---|---|
1 | TED5000-1.0.zip |
Installation
- Add script as shown below, chown and chgrp appropriately
#!/bin/sh
curl -sm 1 http:$1/history/minutehistory.csv?MTU=$2 | grep -m 1 / | awk -F ”,” '{print “POWER:“$3” COST:“$4” VOLTAGE:“$5”\r\n”}'
- Go to Collection Methods → Data Input Methods → and match the following, adjusting - the path as needed.
- Go to Management → Graph Management → GPRINT Presets → and add the following:
Name: 2 decimals
GPRINT Text: %8.2lf
Name: 3 decimals
GPRINT Text: %8.3lf
- Go to Collection Methods → Add and match the following:
===== Screenshots =====