Hello everyone,

I have a custom MIB that is successfully complied into the snmpd agent, what i want to do is to use the extend functionality to execute some scripts and query.

I did:
extend name prog args

and it works just fine when i query the extension table, but when i try:
extend OID name prog args

i got the following error:
snmpwalk -m ALL -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull."1.3.6.1.4.1.38705.1.1.0" = STRING: get_next: No such file or directory

my line in the config file is:
extend 1.3.6.1.4.1.38705.1.1.0 get_next /tmp/get_value_.1.3.6.1.4.1.38705.1.1

from the error msg above, it seems that it consider the OID as the name and the name as the prog ??

can someone help me figure out what i am doing wrong ?

Regards,
Abdelrahman
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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

Reply via email to