Re: Re: exec dose not work in 5.4

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/07/07, Thomas Zenz <[email protected]> wrote:

Scalar objects:

> SNMPv2-SMI::enterprises.3032.65.1.0 = INTEGER: 1

    1 entry registered under enterprises.3032.65   (nsExtendNumEntries)


First table - configuration (enterprises.3032.65.2.1... - see
nsExtendConfigEntry)

> enterprises.3032.65.2.1.2.2.101.114 = STRING: "/usr/local/bin/cacti/exim-rejected"
> enterprises.3032.65.2.1.3.2.101.114 = ""
> enterprises.3032.65.2.1.4.2.101.114 = ""

    Command, arguments, and input text for the entry "er"

> enterprises.3032.65.2.1.5.2.101.114 = INTEGER: 5
> enterprises.3032.65.2.1.6.2.101.114 = INTEGER: 1
> enterprises.3032.65.2.1.7.2.101.114 = INTEGER: 1
> enterprises.3032.65.2.1.20.2.101.114 = INTEGER: 4
> enterprises.3032.65.2.1.21.2.101.114 = INTEGER: 1

    other aspects of this entry
 (results cached for 5 seconds. run via 'exec' when output tables are read)



Second table - configuration (enterprises.3032.65.3.1... - see
nsExtendOutput1Entry)

> enterprises.3032.65.3.1.1.2.101.114 = STRING: "rejected_users:0 rejected_data:0 rejected_by_filter:0"
> enterprises.3032.65.3.1.2.2.101.114 = STRING: "rejected_users:0 rejected_data:0 rejected_by_filter:0"

   Complete output and first line for entry "er"

> enterprises.3032.65.3.1.3.2.101.114 = INTEGER: 1
> enterprises.3032.65.3.1.4.2.101.114 = INTEGER: 0

  Number of lines, and return value



Second table - configuration (enterprises.3032.65.4.1... - see
nsExtendOutput2Entry)

> enterprises.3032.65.4.1.2.2.101.114.1 = STRING: "rejected_users:0 rejected_data:0 rejected_by_filter:0"

   Line-by-line output for entry "er":

For a multi-line output command, this woud appear as
               ...."er".1
               ...."er".2
                etc


Note that the index "er" is represented as the numeric subidentifiers
  ...2.101.114....
throughout.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.