Recognize HP1810 switches as Comware and not as Generic Device #3933

Closed
rtkmcarse opened this Issue Aug 2, 2016 · 7 comments

Projects

None yet

5 participants

@rtkmcarse
rtkmcarse commented Aug 2, 2016 edited

Can the detection be updated for HP1810 switches do they are not detected as Generic Device?


/usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0HP 1820-8G Switch J9979A, PT.01.14, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01)

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

| HP 1820-8G Switch J9979A, PT.01.14, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01) | .1.3.6.1.4.1.11.2.3.7.11.167 | /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0No Such Object available on this agent at this OID
@Rosiak
Contributor
Rosiak commented Aug 2, 2016

Isn't it Procurve/Aruba and not Comware?

@rtkmcarse

@Rosiak You may be correct. Now that I go back and look deeper.
I have several, and am willing to provide whatever details needed to fix.

@paulgear
Member
paulgear commented Aug 2, 2016

1810s are definitely ProCurve, and not CLI-manageable; 1910s are Comware (sort of - the CLI is not really supported).

@mcarse
mcarse commented Aug 3, 2016

There is also a typo on my part, which is that I need 1820's not (as the output says).
I can't edit the bug title, but can we get 1820's identified as ProCurve please?

@Rosiak
Contributor
Rosiak commented Aug 7, 2016

Can you supply the sysObjectId for this device?
Seems obfuscated in the output shown.

@Rosiak Rosiak added the New-Device label Aug 7, 2016
@mcarse
mcarse commented Aug 9, 2016

Ran 'discovery.php -h hostname -d -m os' and this is what it reports. Haven't obfuscated. Anything else I can provide?

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

| HP 1820-8G Switch J9979A, PT.01.14, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01) | .1.3.6.1.4.1.11.2.3.7.11.167 | /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0No Such Object available on this agent at this OID
@laf
Member
laf commented Aug 12, 2016

Please provide all of the information asked for when creating an issue: https://github.com/librenms/librenms/issues/new

@Rosiak Rosiak added a commit to Rosiak/librenms that referenced this issue Aug 29, 2016
@Rosiak Rosiak fix: HP 1820 Discovery #3933 0041f36
@Rosiak Rosiak referenced this issue Aug 29, 2016
Merged

fix: HP 1820 Discovery #3933 #4259

2 of 2 tasks complete
@murrant murrant closed this in #4259 Sep 4, 2016
@murrant murrant added a commit that referenced this issue Sep 4, 2016
@Rosiak @murrant Rosiak + murrant fix: HP 1820 Discovery #3933 (#4259)
* fix: HP 1820 Discovery #3933

* re-add old discovery code as @anden4380 confirms it works as intended
1174954
@deutor deutor added a commit to deutor/librenms that referenced this issue Sep 6, 2016
@Rosiak @deutor Rosiak + deutor fix: HP 1820 Discovery #3933 (#4259)
* fix: HP 1820 Discovery #3933

* re-add old discovery code as @anden4380 confirms it works as intended
cb2a0e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment