Question

What custom Template can I use for an Aruba 1930-24G-PoE Switch?

  • 5 January 2024
  • 6 replies
  • 120 views

Badge +4

My Aruba 1930-24G-PoE shows the following error: “UNKNOWN: SNMP Table Request: Cant get a single value.” I think it is because I have the wrong services from the wrong template for my host. I used the Net-Aruba-Standard-Controller-SNMP-custom Template.

What template is the right one?


6 replies

Userlevel 1
Badge +3

Hi,

Some HP Aruba switches (entry level) work with the Net-HP-Standard-SNMP-custom model. Try it.

Regards

Badge +4

If I use the Net-HP-Standard-SNMP-custom model, the services ping, uptime, hardware-global work but memory and cpu do not work

Userlevel 1
Badge +3
I have neither this switch nor its MIB. It seems that some people are unable to obtain the CPU and RAM of this switch :

You can try manually :

snmpwalk -v2c -c YOUR_SNMP_CO  YOUR_IP .1.3.6.1.4.1.25506.2.6.1.1.1.1.6       => Net-HP-Standard-custom
snmpwalk -v2c -c YOUR_SNMP_CO YOUR_IP .1.3.6.1.4.1.47196.4.1.1.3.22.1.0.1.1.3 => Net-Aruba-Aoscx-SNMP-custom
snmpwalk -v2c -c YOUR_SNMP_CO YOUR_IP .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 => Net-Hp-Procurve-custom
snmpwalk -v2c -c YOUR_SNMP_CO YOUR_IP .1.3.6.1.2.1.25.3.3.1.2 => HOST-RESOURCES-MIB::hrProcessorLoad (Linux, Windows, ...)

Sometimes not all informations are available with SNMP. In this case, you must deactivate the impacted services.

Regards

Badge +4

I downloaded the MIB and searched for the OID for CPU usage and memory usage. I found the OID .1.3.6.1.4.1.11.2.1.8.0 for CPU usage and replaced it in the Centreon template (/usr/lib/cnetreon/plugins//entreon_hp_standard_snmp.pl). Now it works. However, I cannot find the value for the memory usage and the memory size in the MIB. 

Badge +4

Perhaps you can help me with another problem. I have created an autodiscovery for printers. They are recognized by the autodiscovery. However, there is always an empty string under Hostname. Which SNMP command is being used here?

Userlevel 1
Badge +3

You should not modify the OID in the centreon_hp_standard_snmp.pl file. You can try the App-Protocol-SNMP-Numeric-Value-custom service template instead if snmpwalk returns a single value :

 

I don’t use host autodiscovery. You should make another post.

Regards

Reply