I'm attempting to retrieve snmp variables from the daemon using the
extend directive.

if i do

snmpget -v2c -c public localhost nsExtendOutput1Line.\"theone\"

I'll get my variable from the extend script, great.

However, if in my perl script i do

$snmpses->get('nsExtendOutput1Line.\"theone\"');

I get no such oid/var and no output.

If i query the numerical oid inside perl i do get the value, so i'm
sure it's a translation problem between the name and number.  and that
i'm doing something wrong.

do i have to statically define the the name->oid map in my perl
program using something?

thanks

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to