Re: Re: Re:Re: Capabilties of pass command in snmpd.conf?

This is a discussion on Re: Re: Re:Re: Capabilties of pass command in snmpd.conf? within the SNMP Users forums, part of the Networking and Network Related category; Hello Ken, > > The response should be 3 lines: the OID, the data type, and the data value, > ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2007
Stefan Guenther
 
Posts: n/a
Default Re: Re: Re:Re: Capabilties of pass command in snmpd.conf?

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...nmpd.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/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0