Re: a problem about net-snmp 5-4

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/12/06, Clement Hsu <[email protected]> wrote:
>  if I execute the command :
>        snmpwalk -Os -c Public -v 2c 192.168.x.x system
> I get the following message:
>
> sysDescr.0 = STRING: Linux (none) 2.4.21-timesys-4.1.319 ...
     :
> sysORUpTime.8 = Timeticks: (83) 0:00:00.83


OK - what about

     snmpgetnext  .... sysORUpTime.8

?
My suspicion is that this will return endOfMib/noSuchName....


>       the snmpd.conf I wrote is belowed:
>
>      rwcommunity public
>      includeAllDisks 100%
>
>      authtrapenable 1
>      trap2sink 192.168.168.187 public 162

That should be OK.
Two options spring to mind:
    a)  The agent doesn't include support for the HostResources MIB
    b)  It's not reading the snmpd.conf file that you expect.

Try running

     snmpd -Lo -f -Dread-config ,,,,

and check that it's reading the config settings correctly.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.