Hoping someone on here has seen this before and can help..

I have two hosts, both running net-snmp as an agent, versions as below:

net-snmp-5.3.2.2-5.el5
net-snmp-libs-5.3.2.2-5.el5

Configurations are identical from what I can see, however if I query
the tcpConnState table, one server gives me the full list of listening
ports, and the other only gives me a selection:

Host001: which works

r...@host001:~# netstat -lntp |grep LISTEN |wc -l
157

r...@mon001:~$ snmpwalk -On -c -v3 host001 tcpConnState |grep listen |wc -l
157

And Host002: which doesn't

r...@host002:~# netstat -lntp |grep LISTEN |wc -l
162

r...@mon001:~$ snmpwalk -On -c -v3 host002 tcpConnState |grep listen |wc -l
13

the output of the second snmpwalk command (from host002) is below -
just to show that it's not listing the first N ports, it seems to be a
random selection:

.1.3.6.1.2.1.6.13.1.1.0.0.0.0.111.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.623.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.0.0.0.0.35865.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.25.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.53.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.199.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.953.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.4803.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.127.0.0.1.9133.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.172.23.8.50.22.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.172.23.8.50.1235.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.172.23.8.50.1236.0.0.0.0.0 = INTEGER: listen(2)
.1.3.6.1.2.1.6.13.1.1.172.23.8.50.4803.0.0.0.0.0 = INTEGER: listen(2)

Is there a config setting somewhere that limits the amount of rows
returned by net_snmp that I'm missing? I've been hunting and can't
find anything.

Thanks!

Simon

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to