hey guys ,
im trying to monitor a UPS PowerChute Bussiness edition, through the LibreNMS server.
current connection of the UPS is made to a the following server :
cat /etc/os-release
NAME=“SLES”
VERSION=“12-SP3”
VERSION_ID=“12.3”
PRETTY_NAME=“SUSE Linux Enterprise Server 12 SP3”
server and UPS are connected together via a USB port. im
on the server i’ve installed the agent , but seems like its not able to detect and monitor the UPS )even though the application are enabled for it to do so)
i’ve run the following command : ./poller.php -h 172.21.0.30 -d -r -f -m applications,unix-agent
here is the output:
LibreNMS Poller
Version info:
Commit SHA: 1e3551a7e546a1c833e2b5420b9bc6b61901be17
Commit Date: 1576789233
DB Schema: 2019_12_16_140000_create_customoids_table (148)
PHP: 7.2.24
MySQL: 5.5.64-MariaDB
RRDTool: 1.4.8
SNMP: NET-SNMP 5.7.2
==================================DEBUG!
Starting polling run:
Hostname: 172.21.0.30
Device ID: 10
OS: linux
(unix)
Load poller module core
SNMP[e[0;36m’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQnUt’ ‘-m’ ‘SNMPv2-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘sysUpTime.0’ ‘sysLocation.0’ ‘sysContact.0’ ‘sysName.0’ ‘sysObjectID.0’ ‘sysDescr.0’e[0m]
SNMP[e[0;36m’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQnUst’ ‘-m’ ‘HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘snmpEngineTime.0’ 'hrSystemUptime.0’e[0m]
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/uptime.rrd N:28325729e[0m]
[e[0;31mRRD Disablede[0m]Uptime: 327 days 20 hours 15 minutes 29 seconds
Runtime for poller module ‘core’: 0.0542 seconds with 150664 bytes
SNMP: [2/0.05s] MySQL: [0/0.00s] RRD: [0/0.00s]
Unload poller module core
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/poller-perf-core.rrd N:0.054205894470215e[0m]
[e[0;31mRRD Disablede[0m]
Load poller module applications
SNMP[e[0;36m’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.8072.1.3.2.3.1.2.7.117.112.115.45.110.117.116’e[0m]
ups-nut
Warning: A non-numeric value encountered in /opt/librenms/includes/polling/applications/ups-nut.inc.php on line 62
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/app-ups-nut-7.rrd N:U:U:0:U:U:U:U:Ue[0m]
[e[0;31mRRD Disablede[0m]: …
ups-apcupsSNMP[e[0;36m’/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘NET-SNMP-EXTEND-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ 'nsExtendOutputFull.10.117.112.115.45.97.112.99.117.112.115’e[0m]
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/app-ups-apcups-8.rrd N:U:U:U:U:U:U:Ue[0m]
[e[0;31mRRD Disablede[0m]: …
rrdcached
Warning: fsockopen(): unable to connect to 172.21.0.30:42217 (Connection refused) in /opt/librenms/includes/polling/applications/rrdcached.inc.php on line 41
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/app-rrdcached-9.rrd Ne[0m]
[e[0;31mRRD Disablede[0m]
Runtime for poller module ‘applications’: 0.4363 seconds with 21288 bytes
SNMP: [2/0.36s] MySQL: [6/0.07s] RRD: [0/0.00s]
Unload poller module applications
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/poller-perf-applications.rrd N:0.4363420009613e[0m]
[e[0;31mRRD Disablede[0m]
Load poller module unix-agent
LibreNMS UNIX Agent:
Warning: fsockopen(): unable to connect to 172.21.0.30:6556 (Connection refused) in /opt/librenms/includes/polling/unix-agent.inc.php on line 14
Warning: stream_set_timeout() expects parameter 1 to be resource, boolean given in /opt/librenms/includes/polling/unix-agent.inc.php on line 17
Warning: stream_get_meta_data() expects parameter 1 to be resource, boolean given in /opt/librenms/includes/polling/unix-agent.inc.php on line 18
Connection to UNIX agent failed on port 6556.
Runtime for poller module ‘unix-agent’: 0.0015 seconds with 2616 bytes
SNMP: [0/0.00s] MySQL: [0/0.00s] RRD: [0/0.00s]
Unload poller module unix-agent
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/poller-perf-unix-agent.rrd N:0.0015079975128174e[0m]
[e[0;31mRRD Disablede[0m]### Start Device Groups ###
End Device Groups, runtime: 0.0097s
RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/ping-perf.rrd N:0.29e[0m]
[e[0;31mRRD Disablede[0m]RRD[e[0;32mupdate /opt/librenms/rrd/172.21.0.30/poller-perf.rrd N:1.629e[0m]
[e[0;31mRRD Disablede[0m]
Polled in 1.629 seconds
Start Alerts
End Alerts
SNMP [5/0.46s]: Get[5/0.46s] Getnext[0/0.00s] Walk[0/0.00s]
MySQL [11/0.15s]: Cell[1/0.00s] Row[-1/-0.00s] Rows[5/0.01s] Column[0/0.00s] Update[4/0.07s] Insert[2/0.06s] Delete[0/0.00s]
RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
any suggestions on how to solve this thing out would be welcomed
kind regards
Ervin S.