Re: Example config for extend?

This is a discussion on Re: Example config for extend? within the SNMP Users forums, part of the Networking and Network Related category; On Thu, 17 Feb 2005 13:01:20 +0000 Howard wrote: HJ> exec .1.3.6.1.4.1....


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
Robert Story
 
Posts: n/a
Default Re: Example config for extend?

On Thu, 17 Feb 2005 13:01:20 +0000 Howard wrote:
HJ> exec .1.3.6.1.4.1.2021.50 qmail-queue /usr/local/bin/qmailmrtg7 q
HJ> /var/qmail/queue
HJ>
HJ> However, when I run the snmpd for net-snmp 5.2.1, I get a bunch of
HJ> warnings that exec is deprecated, and that I should 'look at
HJ> NET-SNMP-EXTEND-MIB'. Is there any documentation other than the MIB
HJ> itself for how this new method should work?

The usage is the same. The difference is in the MIB where the data is returned,
and that there is a MIB to control execution and caching. I'd imagine that
eventually control these values will be added as optional parameters, so they
can be set in snmpd.conf.

HJ> The output from snmpwalk is showing my data, but it's not clear what is
HJ> turning up where. I'd like to be able to specify index numbers, so that
HJ> (for example) queue-size is always xxxx.50 regardless of whether the
HJ> server has spam-filtering (xxxx.49). Is this possible with this method?

If those are individual lines output from the mail script, then no. The indexes
are numbered sequentially. To get individual lines filtered out, you'd have to
write a script to only output that line.

HJ> What should MIBNUM be in the usage shown in the snmpd.conf manual page
HJ> for extend?

I'd leave it out. It is used for relocating the output objects elsewhere in the
MIB tree. But then the OID's wouldn't correspond with the extend mib, so you'd
see raw OIDs instead of names when walking (unless you made a copy of the MIB
and edited the OIDs).

HJ> I'm confused - if this is to be the future, shouldn't the path be
HJ> better lit? :-)

Probably. Maybe Dave has a short writeup on migration...

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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
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

vB 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 08:37 PM.


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