Hey everyone!
First, thank you in advance for any help you can provide. I'm a fairly experienced linux user, and just getting my feet wet in solaris for a project here at the office. I am trying to use snmpget on a linux box to get information from a Solaris 10 system. The solaris 10 system has snmpdx running (solstice, used for SNMP by a vendor solution that is installed). However it also appears to have snmpd running. Here are the commands and output that I get:
bash-3.00# ps -ef |grep snm
root 775 1 0 Mar 10 ? 345:35 /usr/lib/snmp/brdsftMIB2 -r -c /usr/local/broadworks/bw_base/conf -p 10161
root 726 1 0 Mar 10 ? 0:00 /usr/lib/dmi/snmpXdmid -s as1
root 755 1 0 Mar 10 ? 9:16 /usr/sfw/sbin/snmpd
root 717 1 0 Mar 10 ? 0:12 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
root 2061 27184 0 19:23:21 pts/3 0:00 grep snm
bworks 8672 8663 0 Oct 06 ? 31:42 /usr/local/java/java_base/bin/java -Dp=openclientserver -server -Docs.snmp.comp
bworks 8421 8412 0 Oct 06 ? 154:45 /usr/local/java/java_base/bin/java -Dp=snmp -XX:ParallelGCThreads=2 -classpath
bworks 8410 1 0 Oct 06 ? 0:00 /usr/bin/perl ./bwpmd -snmp -d /var/broadworks/logs/snmp
bash-3.00# lsof -i -nP |grep snm
snmpdx 717 root 3u IPv4 0x60000942040 0t0 UDP *:17
snmpdx 717 root 4u IPv4 0x60000942240 0t0 UDP *:17
snmpdx 717 root 5u IPv4 0x6000249fa80 0t0 UDP *:17
snmpXdmid 726 root 0u IPv4 0x6000249f680 0t0 UDP *:17
snmpXdmid 726 root 1u IPv4 TCP no TCP/UDP/IP information available
snmpXdmid 726 root 5u IPv4 0x6000249f880 0t0 UDP *:17
snmpXdmid 726 root 6u IPv4 0x6000249f280 0t0 UDP *:17
snmpd 755 root 13u IPv4 0x6000249ec80 0t0 UDP *:17
snmpd 755 root 14u IPv4 0x6000249f080 0t0 UDP *:17
snmpd 755 root 15u IPv4 0x6000249ee80 0t0 UDP *:17
snmpd 755 root 16u IPv4 0x600015040c0 0t0 UDP *:17
snmpd 755 root 17u IPv4 0x60002b65b00 0t0 UDP *:17
snmpd 755 root 18u IPv4 0x60002b65900 0t0 UDP *:17
This shows the services running on UDP port 17. The problem is if I try and query remotely on port 17, everything fails. Why does lsof show port 17 and not 161? In fact typing
lsof -i |grep 161
doesn't return a single thing.
Any help would be appreciated. Both daemons show as running, and I'd like to figure out what ports they're running, and then figure out what information is attainable from each daemon. I'm assuming snmpdx is just vendor related stuff, because from my research snmpd should be for OS stuff. Any thoughts?
Thanks!
-Matthew