Hello everyone,
Looking for some help. Trying to set up some remote monitoring of my new APC UPS units using apcaccess and the Zabbix Agent. apcaccess appears to work properly when I run it as a non-priv or root user at the command line, it returns the dump of data I'd expect, but when the agent (also running as root) tries to run it I'm getting an error. Firewall is off.
Example Command: /sbin/apcaccess status -h 127.0.0.1:3551 | awk '/^(BCHARGE).*:/ {print $3}'
Error: Error contacting apcupsd @ 127.0.0.1:3551: Permission denied
OS: Centos 7
Package: apcupsd-3.14.14-18.el7.x86_64
This process appears to work just fine when I run it on a Windows host. Wondering if there's something special about the linux version of the agent that could be blocking this? I've also reached out to the APCUPSD folks too since I get that it could very well be something about their app.
Thanks for your help!
Chris
Looking for some help. Trying to set up some remote monitoring of my new APC UPS units using apcaccess and the Zabbix Agent. apcaccess appears to work properly when I run it as a non-priv or root user at the command line, it returns the dump of data I'd expect, but when the agent (also running as root) tries to run it I'm getting an error. Firewall is off.
Example Command: /sbin/apcaccess status -h 127.0.0.1:3551 | awk '/^(BCHARGE).*:/ {print $3}'
Error: Error contacting apcupsd @ 127.0.0.1:3551: Permission denied
OS: Centos 7
Package: apcupsd-3.14.14-18.el7.x86_64
This process appears to work just fine when I run it on a Windows host. Wondering if there's something special about the linux version of the agent that could be blocking this? I've also reached out to the APCUPSD folks too since I get that it could very well be something about their app.
Thanks for your help!
Chris
Comment