Skip to main content

ArubaOS-CX SNMP

Pack Assets​

Monitored Objects​

The Centreon Pack ArubaOS-CX SNMP brings a host template:

  • Net-Aruba-Aoscx-SNMP-custom

It brings the following service templates:

Service AliasService TemplateDescriptionDefault
CpuNet-Aruba-Aoscx-Cpu-SNMPCheck cpuX
HardwareNet-Aruba-Aoscx-Hardware-SNMPCheck hardwareX
InterfacesNet-Aruba-Aoscx-Interfaces-SNMPCheck interfaces
MemoryNet-Aruba-Aoscx-Memory-SNMPCheck memoryX
VsfNet-Aruba-Aoscx-Vsf-SNMPCheck virtual switching fabricX
VsxNet-Aruba-Aoscx-Vsx-SNMPCheck virtual switching extensionX

Discovery rules​

Rule nameDescription
Net-Aruba-Aoscx-SNMP-Interface-NameDiscover network interfaces and monitor utilization

More information about discovering services automatically is available on the dedicated page and in the following chapter.

Collected metrics & status​

Metric nameUnit
module_name#cpu.utilization.percentage%

Prerequisites​

SNMP Configuration​

To use this Pack, the SNMP service must be properly configured on your device.

Network flow​

The target equipment must be reachable from the Centreon Poller on the UDP/161 SNMP port.

Setup​

  1. Install the Centreon package on every Centreon poller expected to monitor ArubaOS-CX resources:
yum install centreon-plugin-Network-Aruba-Aoscx-Snmp
  1. On the Centreon web interface, install the ArubaOS-CX SNMP Centreon Pack on the Configuration > Monitoring Connectors Manager page.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias and IP Address / DNS fields according to your ArubaOS-CX equipment settings.
  • Apply the Net-Aruba-Aoscx-SNMP-custom template to the host.
  • Once the template is applied, fill in the corresponding macros. Some macros are mandatory.

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.

MandatoryNameDescription
SNMPEXTRAOPTIONS(Default: 'Configure your own SNMPv3 credentials combo')

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins/centreon_aruba_aoscx_snmp.pl \
--plugin=network::aruba::aoscx::snmp::plugin \
--mode=vsf \
--hostname=10.30.2.114 \
--snmp-version='2c' \
--snmp-community='aruba_ro' \
--warning-cpu-utilization='90' \
--critical-cpu-utilization='95' \
--verbose

The expected command output is shown below:

OK: vsf operational status: no_split - All stack members are ok | '1#member.cpu.utilization.percentage'=16.00%;0:90;0:95;0;100 '1#member.memory.usage.percentage'=24.00%;;;0;100 '2#member.cpu.utilization.percentage'=4.00%;0:90;0:95;0;100 '2#member.memory.usage.percentage'=14.00%;;;0;100 '3#member.cpu.utilization.percentage'=4.00%;0:90;0:95;0;100 '3#member.memory.usage.percentage'=8.00%;;;0;100 '4#member.cpu.utilization.percentage'=4.00%;0:90;0:95;0;100 '4#member.memory.usage.percentage'=8.00%;;;0;100
checking stack member '1'
role: master [status: ready]
cpu usage: 16.00%
memory used: 24.00 %
checking stack member '2'
role: standby [status: ready]
cpu usage: 4.00%
memory used: 14.00 %
checking stack member '3'
role: member [status: ready]
cpu usage: 4.00%
memory used: 8.00 %
checking stack member '4'
role: member [status: ready]
cpu usage: 4.00%
memory used: 8.00 %

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/centreon_aruba_aoscx_snmp.pl \
--plugin=network::aruba::aoscx::snmp::plugin \
--mode=vsf \
--help

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins/centreon_aruba_aoscx_snmp.pl \
--plugin=network::aruba::aoscx::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.