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; On 04/09/07, Stefan Guenther <net-snmp@in-put.de> wrote: > There's only one thing ...


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
Dave Shield
 
Posts: n/a
Default Re: Re: Re:Re: Capabilties of pass command in snmpd.conf?

On 04/09/07, Stefan Guenther <net-snmp@in-put.de> wrote:

> 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


The pass script can be invoked in two different ways:

script -g OID
or
script -n OID

for GET and GETNEXT requests respectively.

You need to check how it was invoked, in order to respond accordingly.
You can *NOT* simply respond with a fixed OID - otherwise the
agent will get confused (exactly as you are seeing!).



> Or is there a way to avoid this message completely?


Yes - Implement the pass script according to the specification
defined in the snmpd.conf(5) man page.

In particular, note the paragraph starting
"If the command cannot return an appropriate varbind....."

Dave

-------------------------------------------------------------------------
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:46 AM.


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