SNMP services

Hello,

Can anyone help me by telling how to open port 161 in solaris 10? I have added it in /etc/services but it is not working. I checked by telneting but I could not connect to that server on the port 161. I am trying to communicate using snmp services.

check with "svcs -a | grep -i snmp" if the snmp service is running.

I checked by running this command:

#svcs -a | grep -i snmp
# offline 17:16:02 svc:/application/management/snmpdx:default

also I checked with

# ps -eaf | grep snmp and got this
# root 528 1 0 17:16:19 ? 0:46 /usr/sfw/sbin/snmpd

What does this mean? The first result shows as offline and the second one seems to indicate that snmp is running? am new to solaris pls help :confused:

Thanks in advance...

allready tryed to stop the current /usr/sfw/sbin/snmpd process and
execute #> svcadm enable svc:/application/management/snmpdx:default ?

correct...

Hello,

Thanks for that suggestion, however am little sceptic if i will not have both of them running after I stop this running service. I have people above me whom I have to answer if anything goes wrong...that is the problem, if this was a test machine I could have done all the testing on it...:frowning:

How about not killing the current snmp process and enableing the service? Then do a ps -ef | grep snmp

Then show us what you have. After enabling the service please try to do an SNMPwalk to that host from a different machine.

Let me know what you get.