Issue: Generex CS141 discovery #5634

Closed
sirHulda opened this Issue Jan 27, 2017 · 7 comments

Projects

None yet

3 participants

@sirHulda
sirHulda commented Jan 27, 2017 edited

DO NOT DELETE THIS INFORMATION.

Please read this information carefully.

GitHub issues is for feature requests or bugs, please do not post issues asking for help or how to do X, Y or Z.
You can use our irc channel ##librenms on freenode to ask questions or our community site.

Please confirm each of the sections below by putting an x in the box like [x].

  • Is your install up to date? Updating your install
    Please do not submit an issue if your install is not up to date within the last 24 hours or on a stable monthly release.
  • Please include all of the information between the ==================================== section of ./validate.php which you can run from the cli.
Component Version
LibreNMS 3fb65da
DB Schema 157
PHP 5.6.29-0+deb8u1
MySQL 5.5.54-0+deb8u1
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2.1
  • Unless your issue is for a WebUI fix or feature then please provide ALL info asked for here.

  • Please provide as much detail as possible.

Discovery doesn't work on my CS141 ups card. It works on my cs121 cards though. I checked sysobjectid and the output is "The Cs141 SNMP Agent". After changing "CS141" to "Cs141" in generex-ups.yaml the discovery worked fine.

  • Please do NOT post more than 10 lines of debug information here, use a pastebin service or GitHub Gists.

10.2.255.10 389 generic SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0]
The Cs141 SNMP Agent

SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0]
.*.2.1.33

| The Cs141 SNMP Agent | .1.3.6.1.2.1.33 |

@laf laf added a commit to laf/librenms that referenced this issue Jan 28, 2017
@laf laf newdevice: Updated generex ups support #5634 7bab518
@laf laf referenced this issue Jan 28, 2017
Merged

newdevice: Updated generex ups support #5634 #5640

2 of 2 tasks complete
@laf laf closed this in #5640 Jan 28, 2017
@sirHulda
sirHulda commented Jan 30, 2017 edited

Hey,
Thanks for the fix. Now it does discover properly but polling is no go.

Example:
"Checking (snmp) current Output Phase 1..."
.1.3.6.1.2.1.33.1.4.4.1.3.1 = No Such Instance currently exists at this OID
Should be: .1.3.6.1.2.1.33.1.4.4.1.3.1.0 = INTEGER: 104

snmpbulkwalk: http://pastebin.com/W01PjH54
Full poll: http://pastebin.com/5dRDxKkB
Full discovery: http://pastebin.com/47rGG5WZ

Thanks

@laf laf reopened this Jan 31, 2017
@laf laf added the New-Device label Jan 31, 2017
@FTBZ
Contributor
FTBZ commented Feb 8, 2017

The Generex support was contacted and I've got a confirmation that's a firmware problem that will be solved in the future 1.50 release planned in two weeks.

@FTBZ FTBZ referenced this issue Feb 8, 2017
Merged

update tripplite divisor for certain versions #5364 #5794

2 of 2 tasks complete
@laf
Member
laf commented Feb 8, 2017

Ignore the above. This still needs fixing.

@sirHulda
sirHulda commented Feb 8, 2017

Sorry, still not working after #5820
New disco: http://pastebin.com/SjCN7v6L
New poll: http://pastebin.com/gBHGzt3D

@sirHulda
sirHulda commented Feb 8, 2017

Generex will fix this in upcoming FW update (v1.50)

@sirHulda sirHulda closed this Feb 8, 2017
@aldemira aldemira added a commit to aldemira/librenms that referenced this issue Feb 9, 2017
@laf @aldemira laf + aldemira newdevice: Updated generex ups support #5634 (#5640) fa01886
@FTBZ
Contributor
FTBZ commented Feb 18, 2017

Generex has released the 1.50 firmware, including the fix (not tested at this time):

  • Bugfix: SNMP-Agent appends wrong “.0" to OIDs of tabular values [#3341]
@sirHulda

Discovery and polling works fine after 1.50 fw upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment