Enable WiDirect SNMP Monitoring

From WiDirect
Jump to: navigation, search

SNMP monitoring is available on the WiDirect to help the administrator monitor functions of the device. The following commands will install and enable the SNMP server.

yum install net-snmp.i386
service snmpd start
chkconfig snmp on

That will give you basic SNMP information. The SNMP port must be opened on the WiDirect as well. Run this command to edit the firewall:

emacs /etc/sysconfig/iptables

To open the SNMP port add this line:

-A INPUT -p udp -m udp --dport 161 -j ACCEPT

That line must be added before this line:

-A INPUT -i eth0 -j REJECT --reject-with icmp-port-unreachable

Save and exit the file. Restart the necessary processes with these commands:

service iptables restart
service awicp_client restart

The SNMP configuration may be edited by changing the /etc/snmp/snmpd.conf file. When making changes to the SNMP configuration file restart the SNMP service with this command: service snmpd restart