Thank you! That installed the missing component in /sbin/Moneer81 wrote:I will try that here in a bitrkennedy wrote:Try running -
[ccode]
yum install apcupsd -y
[/code]
Trying to run the plugin from the command line now always gives me this error:
./check_apcupsd: line 213: [: -lt: unary operator expected
Example: (note that I changed the host name for privacy. also, using port 23 here because that happens to be open on this test ups, but eventually we'll obviously turn off that port)
# ./check_apcupsd -h ups-test-1.myuniversity.edu -w 80 -c 70 -p 23 bcharge
./check_apcupsd: line 168: [: -lt: unary operator expected
./check_apcupsd: line 174: [: -lt: unary operator expected
Checking any of the other arguments (like itemp,loadpct,timeleft, etc.) gives the same exact result (but obviously the error usually points to a different line)