I hacked up two quick PHP scripts to get the load percentage and output current draw per phase from our MIB-II compliant Liebert 3-phase UPSes (script works on single-phase units too). The scripts work fine when run from the command line - I get data, and the variable names output by the script appear to match the variable names that I've defined in the templates for these data points. Some of the data points show up in the graphs pretty reliably, but some will be missing from the graphs in a seemingly random fashion (see attached image).
The load on the box occasionally gets a little bit high - it also runs a fairly large MRTG installation that will be migrated into Cacti over time - but the spine process finishes in well under 5 minutes from what I can see, so I don't think I have an issue with concurrent spine processes stomping on each other.
I looked in the Cacti log file and I see an occasional entry like this:
Code: Select all
10/13/2009 10:45:08 AM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: (DS[253])
Code: Select all
/usr/local/rrdtool/bin/rrdtool create \
/usr/local/apache2/htdocs/cacti/rra/33/253.rrd \
--step 300 \
DS:upsoutputloadphase1:GAUGE:600:0:1000 \
DS:upsoutputloadphase2:GAUGE:600:0:1000 \
DS:upsoutputloadphase3:GAUGE:600:0:1000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Any thoughts on what else I should look at to troubleshoot why the graphs are not filling in reliably would be appreciate.
Thanks in advance. Once I get this squared away, I'll be happy to make the PHP scripts I wrote and the XML templates available.