Re: problem with extend on win32: nsExtendObjects table cut short

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, Feb 10, 2010 at 8:44 PM, Rottenberg, Hal
<[email protected]> wrote:
> When I do this:
>
> snmpwalk -v2c -c <community> <host> nsExtendObjects
>
> I am not seeing anything after the nsExtendStatus table. That means no output, and seemingly, the extensions are not being invoked. I tried manually hitting an Output1Line OID and that did not work. This happens on multiple Win32 boxes, yet for the most part, this has worked great in the past.
>
> I tried commenting out all of the extend lines, then adding a simple extension which I know has worked before to see what happened. Restarted agent, polled, and-no output.
>
> Sample output:
>
> § HXRLAP2 {~} snmpwalk -v2c -c<community> <host>:3181 nsExtendObjects
> NET-SNMP-EXTEND-MIB::nsExtendNumEntries.0 = INTEGER: 1
> NET-SNMP-EXTEND-MIB::nsExtendCommand."win_svr_bat_test1" = STRING: E:/PROGRA~1/netsnmp_5
> -4-2/etc/snmp/extensions/echo1.bat
> NET-SNMP-EXTEND-MIB::nsExtendArgs."win_svr_bat_test1" = STRING:
> NET-SNMP-EXTEND-MIB::nsExtendInput."win_svr_bat_test1" = STRING:
> NET-SNMP-EXTEND-MIB::nsExtendCacheTime."win_svr_bat_test1" = INTEGER: 5
> NET-SNMP-EXTEND-MIB::nsExtendExecType."win_svr_bat_test1" = INTEGER: exec(1)
> NET-SNMP-EXTEND-MIB::nsExtendRunType."win_svr_bat_test1" = INTEGER: run-on-read(1)
> NET-SNMP-EXTEND-MIB::nsExtendStorage."win_svr_bat_test1" = INTEGER: permanent(4)
> NET-SNMP-EXTEND-MIB::nsExtendStatus."win_svr_bat_test1" = INTEGER: active(1)
>
> Note that right here what I expect to see  are lines like this (pasted from another host):
>
> NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."win_svr_bat_test1" = STRING: Test1
> NET-SNMP-EXTEND-MIB::nsExtendOutputFull."win_svr_bat_test1" = STRING: Test1
> NET-SNMP-EXTEND-MIB::nsExtendOutNumLines."win_svr_bat_test1" = INTEGER: 1
> NET-SNMP-EXTEND-MIB::nsExtendResult."win_svr_bat_test1" = INTEGER: 0
> NET-SNMP-EXTEND-MIB::nsExtendOutLine."win_svr_bat_test1".1 = STRING: Test1

Can you please report this on the Net-SNMP bug tracker, including
information about which Net-SNMP version you are using, the contents
of snmpd.conf, how you obtained Net-SNMP binaries and whether or not
winExtDLL was enabled ?

Thanks,

Bart.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
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.