Re: snmpwalk didn't show all values!
"Askar Kengesbayev" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dave, May be I missed something but changed "exec" to "extend" and bounced service. When I tried to do #snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51 It did not show me the output from the script! Pls can you tell what I did incorect? Also I did some experiment: 1. I installed "package"(which comes with distributive) on FreeBSD box. It worked fine. I got all output fom the script. 2. Installed from "source" on FreeBSD box. It did not work. The output from script wasn't completly full. The problem that "net-snmp" installed from source and it is production server(Linux). How can I fix this problem? Thanks, Askar On 3/9/06, Dave Shield <[email protected]> wrote: > > On Thu, 2006-03-09 at 08:49 -0500, Askar Kengesbayev wrote: > > exec .1.3.6.1.4.1.2021.2789.51 SERs /opt/snmp/scripts/ser.sh > > > ############################################################################ > > > > Then I am trying to run command "snmpwalk". > > > > #snmpwalk -c public -v 1 localhost .1.3.6.1.4.1.2021.2789.51 > > > > The output from this command should show me more than 50 values but it > > shows only 19 values. > > a) What is the full output of the 'ser.sh' script? > In particular, how large is it? > (I have a feeling that there's a limit to the size of > output that 'exec' can handle). > > b) What happens if you try with the directive > > extend .1.3.6.1.4.1.2021.2789.51 SERs /opt/snmp/scripts/ser.sh > > and walk the same subtree? The resulting MIB structure will > be different, but can you see the full output? > > Dave >