Re: a problem about net-snmp 5-4
"Clement Hsu" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Dave: when I perform the command: snmpgetnext -c public -v 2c 192.168.x.x sysORUpTime the result is Timeout : No Response from 192.168.x.x And when I execute snmpd -Lo -f -Dread-config the result is belowed: registered debug token read-config, 1 Warning: no access control information configured. It's unlikely this agent can serve any useful purpose in this state. Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent. NET-SNMP version 5.4 It seems have some errors, but how to correct it ? Thanks a lot Best Regards, Clement Hsu 2006/12/20, Dave Shield <[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