Tuesday, December 9, 2008

How to detect Net-SNMP host on OpenNMS

How can install net-snmp in Ubuntu and detected from OpenNMS (Network Management Software)?
very easy, since net-snmp.deb are available, it is very simple.
apt-get install ...bla..bla..bla

Here is the ways:
apt-get install snmp
apt-get install snmpd

And it finish,
But, just doing that way, it can't detected by OpenNMS that the client offer Net-SNMP. So, we have to configure again.

Open this file:
/etc/snmp/snmpd.conf :


# com2sec
com2sec local localhost public
com2sec opennms 192.168.100.6 public # change with OpenNMS host IP Adress
# group
group local v1 local
group local v2c local
group local usm local
group opennms v1 opennms
group opennms v2c opennms
group opennms usm opennms
# view [MASK]
view all included .1 80
view system included system fe
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
# access
access local "" any noauth exact all none none
access opennms "" any noauth exact all none none


and then activate monitoring feature in /etc/snmp/snmpd.conf.

and then in /etc/default/snmpd :
change 127.0.0.1 pada SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' with 0.0.0.0, that means allowed listen address to access the host.
and then restart net-snmp.

Check on OpenNMS browser.
Good Luck.

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home