Unsolved

This post is more than 5 years old

1 Rookie

 • 

26 Posts

5437

April 14th, 2009 15:00

Linux SNMP config for OMSA / ITA?

What does Linux need in it's snmp.conf for ITA to be able to see it?

I can use the Troubleshooting Tool to get green checkmarks for the SNMP test.  However, right-clicking on the IP under Include Ranges (I add each IP individually to prevent ITA from blasting all sorts of queries across the subnet) and doing Perform Discover Now does not result in the system showing up under View, Devices.  The server ITA 8.3.0 is running on can access the OMSA web page on this problematic host.  Are there more ports which must be allowed?

2 Intern

 • 

793 Posts

April 14th, 2009 17:00

Thanks for posting!  Ports 161 and 162 need to be open to UDP traffic for SNMP to work properly.  Also make sure the snmpd.conf file lists the ITA box as the destination address, and the case sensitive community names match.

1 Rookie

 • 

26 Posts

April 14th, 2009 18:00

I have allowed 161 and 162, TCP and UDP, in from the ITA server.  In snmp.conf I've got the rocommunity public, trapsink, and trap2sink all pointing at the ITA server.  And the rocommunity is "public" (all lower case) in both snmp.conf and ITA.

 

So... what next? :-)

1 Rookie

 • 

26 Posts

April 15th, 2009 15:00

Anyone?  There is clearly something more that is required beyond ITA being able to access SNMP on the monitored host.

I did wind up installing net-snmp after OMSA.  If OMSA makes some change to SNMP (beyong a trap destination), then they would probably be my missing bit.

1 Rookie

 • 

26 Posts

April 16th, 2009 11:00

I am going to post the answer I found.

 

rwcommunity private 127.0.0.1
rocommunity public 127.0.0.1
rwcommunity private 192.168.61.42
rocommunity public 192.168.61.42
trapsink 192.168.61.42 public

com2sec notConfigUser  default       public
com2sec ConfigUser     default       private

group   notConfigGroup v1            notConfigUser
group   notConfigGroup v2c           notConfigUser
group   ConfigGroup    v1            ConfigUser
group   ConfigGroup    v2c           ConfigUser

view    systemview    included   .1

#       group       context    sec.model sec.level prefix read   write notif
access  notConfigGroup ""      any       noauth    0      all    none  none
access  ConfigGroup    ""      any       noauth    0      all    all   none

# Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat

# Added for OMSA
smuxpeer .1.3.6.1.4.1.674.10892.1

 

Then:

service dataeng enablesnmp

service snmpd restart

srvadmin-services.sh restart

0 events found

No Events found!

Top