Hello Ken,
>
> The response should be 3 lines: the OID, the data type, and the data value, 
> each on it's own line.
>
> For example:
>
> .1.3.6.1.4.1.29090.1.1
> integer
> 10
>
> Read the section "Extending Agent Functionality" here 
> http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html . particularaly the 
> "pass" mechanism under "MIB-Specific Extension Commands". That describes the 
> protocol.
>
>   
Great! That's it, I read the wrong documentation. I can now add a line 
for any OID I need and snmpwalk returns the right result.

There's only one thing in the output, which might cause some trouble. 
Here's what I get:

SNMPV2-SMI::entrprises.10190.1 = STRING: "hello world"
Error: OID not increasing: SNMPV2-SMI::enterprises.10190.1
 >= SNMPV2-SMI::enterprises.10190.1

Since snmpwalk can not get the next OID, this error make sense to me. 
When I use snmpget instead of snmpwalk I only get the expected output.

Do you agree that an external application like the OP-Manager use 
snmpget because an application is only interested in a single value?
If this is true, the app should see the error message, but only the 
value it is expecting.
Or is there a way to avoid this message completely?

Thanks for your help,

Stefan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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