Re: SNMP error code capture ??

sarathy <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
       Thanks for the reply. I have already tried those you have mentioned.
But the problem is NET-SNMP does not report error messages properly. It
reports the same error "Timeout: No reponse from server:161" for the
following 3 cases:

1. While specifying incorrect community string in snmpget for version 1 and
2c.
2. While specifying incorrect password/passphrase in snmpget for version 3.
3. While specifying incorrect agent port in an snmpget.

Hence is such cases, i thought if net-snmp outputs an error code, i can
process it accordingly.

Thanks,
Sarathy


On 1/31/07, jiang jilin <[email protected]> wrote:
>
> Hi,
> Have you ever run snmpget,snmpgetnext etc. to get a non-exist  OID  ?
> just look  at the output carefully and maybe you would get what you want.
>
> Jiang
>
> On 1/31/07, sarathy <[email protected]> wrote:
>
> > Hi all,
> >           Is there a way to capture SNMP v2 error codes [ noAccess (6) ,
> > wrongType(7), notWritable (17) ... ], through net-snmp commands ( snmpget,
> > snmpgetnext ... ) ???
> >
> > Please do clarify,
> > Sarathy
> >
> >
> > --
> > Mob: +91 99001 97505
> > Off: 080 - 4184 7134
> >
> > -------------------------------------------------------------------------
> > 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
> >
> >
> >
>


-- 
Mob: +91 99001 97505
Off: 080 - 4184 7134

-------------------------------------------------------------------------
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.