Re: ask for help
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 19/07/06, 杨静 <[email protected]> wrote: > This program have compiled successful .But when I run a program ,it > always show "the host 127.0.0.1 do not support snmp get_default_way > wrong" , I didn't know what should I do! Well, the first thing to do is to try and tell whether the problem is with your code, or the settings you are using. Try using the 'snmpget' command to make the same request (to the same agent, using the same settings), and see if that works. If it does, then the problem will be somewhere in your code. If it doesn't then the problem is something to do with the agent or destination system. My guess is that the agent may be configured to respond to the community name "public" rather than "pubic". Changing the community string in your program might well fix the problem. 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