Monitoring, Management & Location Tracking

Setup snmpd on AirWave for read based SNMP monitoring

Aruba Employee

Introduction :

 

It can be useful to monitor AirWave using SNMP if you want to use an external monitoring solution instead of the built in server resource triggers available. Note that the triggers also support sending SNMP traps to an external NMS. This article will explain how to setup snmpd on AirWave to allow for SNMP read based monitoring.

 

Environment : AirWave with snmpd for performing SNMP reads.

 

Configuration Steps :

 

 

1. Modify the /etc/yum.conf file and remove the exclusion for net-snmp* located at the end of the file.

Before:

exclude=net-snmp* kernel*

After:

exclude=kernel*

2. Install the net-snmp, net-snmp-utils, and net-snmp-libs packages.

yum install net-snmp net-snmp-utils net-snmp-libs -y

3. Specify that snmpd should start automatically and start the service.

chkconfig snmpd on
service snmpd start

 

 

Answer :

 

Modify the /etc/snmp/snmpd.conf file as necessary to accomplish your goals. Additional information on how to use snmpd can be found online.

 

Verification :

 

 

Verify the SNMP reads work both locally and remotely.

[root@localhost mercury]# snmpwalk -v 1 localhost -c public sysName
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain

laptop$ snmpwalk -v 1 -c public 10.0.6.10 sysName
SNMPv2-MIB::sysName.0 = STRING: localhost.localdomain

 

 

Troubleshooting :

 

Issues with getting polling to work are likely to be caused by firewall rules on AirWave or other network devices.

Version history
Revision #:
1 of 1
Last update:
‎11-09-2014 10:54 AM
Updated by:
 
Labels (1)
Contributors
Comments
onur_haznedar

I changed the value after then I typed the command that you specified;

 

yum install net-snmp net-snmp-utils net-snmp-libs -y

 

It gives an error like;

 

root@localhost etc]# yum install net-snmp net-snmp-utils net-snmp-libs -y

Loaded plugins: downloadonly, fastestmirror, presto, security, verify, versionlock

Determining fastest mirrors

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Eg. </html>/

removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt

Error: Cannot find a valid baseurl for repo: base

 

what could be the problem?

onur_haznedar

Sorry for inconvenience

 

Firewall was blocking, (yum installer) security team permitted the traffic after then it worked..

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.