Re: very simple exec usage

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/04/07, Max <[email protected]> wrote:
> With 5.4 it seems that exec is completely deprecated and no longer
> works as I just get 'no such OID' errors when I try to use the exec
> lines I use with 5.0.9 (RHEL3 stable) snmpd.

The relocatable form of "exec" has been dropped, yes.
(i.e.   "extend {OID} {name} ....")
That's because the output produced is not legal SNMP.

The fixed location form  ("extend {name} ...") is fine,
and will continue to report results under the
UCD-SNMP-MIB::extTable.

But the "extend" structure (defined in NET-SNMP-EXTEND-MIB)
is much richer, and will produce consistent results, regardless
of the order of "extend" entries in the snmpd.conf file.

It's also consistent between the fixed and relocatable forms
(unlike "exec").

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.