1827322 Members
4129 Online
109961 Solutions
New Discussion

Re: snmp verification

 
joe clark
Advisor

snmp verification

Besides using netstat, how do others out tell what applications are using snmp, or if in use at all. Thanks
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: snmp verification

Take a look at

/var/adm/snmpd.log

As an activity log it should help you track things down.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Douglass
Esteemed Contributor

Re: snmp verification

If you have lsof installed

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.67/

you can do

lsof -i udp:161
lsof -i udp:162

and it will list any processes listening on these ports.
joe clark
Advisor

Re: snmp verification

Most of the logs have old entries, below is one of them, yet some of our oracle applications and network monitoring may be using this service, yet the log isn't updated. I want to shut it off if no one is using it, tracking it down doesn't seem easy here. Message in logs "o such type in ParseType (85) (0x55)
at line 1046 in file /view/agent.alpine/DE/snmpr/s
eclib/prse_pkt.c "

Steven E. Protter
Exalted Contributor

Re: snmp verification

Some possibly more useful infromation.

No comment on my first attempt(ahem pathetic though when it wasn't working I did get log messages in there).

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfa40a22831ebd5118ff40090279cd0f9,00.html

Log messages:
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5693abe92dabd5118ff10090279cd0f9,00.html&qt=snmp+%2Blogs&hit=4

My itrc search in case I've missed again.
http://us-support2.external.hp.com/emse/bin/doc.pl/sid=e1234bab122115617c?todo=search&searchtext=snmp+logs&searchcriteria=allwords&searchtype=SEARCH_TECH_DOCS&searchtype=SEARCH_MANUAL&searchtype=SEARCH_FORUMS&searchcategory=ALL&rn=25&presort=rank&x=45&y=4

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com