bug in NetSNMP::agent

"Steven Jenkins" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
net-snmp version 5.4; platform Ubuntu Linux, Feisty Fawn.


I followed the sample Perl code for setting up an agent (in agent.pm), but
kept getting this error message:

Argument "ASN_OCTET_STR" isn't numeric in subroutine entry at ./simple-
sub-agent-example.pl line 21.

Some poking around made me realize that there was a missing:

use NetSNMP::ASN;

in either the examples or the NetSNMP::agent module (not sure which).

Thanks,
Steven

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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