I look for the extended directive that should replace the exec, but I didn't
find it.
$ man snmpd.conf
EXTENDING AGENT FUNCTIONALITY
Arbitrary Extension Commands
[snip]
extend [MIBOID] NAME PROG ARGS
works in a similar manner to the exec
Oggetto: Re: exec deprecated
I look for the extended directive that should replace the exec, but I didn't
find it.
$ man snmpd.conf
EXTENDING AGENT FUNCTIONALITY
Arbitrary Extension Commands
[snip]
extend [MIBOID] NAME PROG ARGS
works in a similar
On 23/11/06, Enzo Arlati [EMAIL PROTECTED] wrote:
I see there a lot of extra data , also for indexing a variable ,
so I wondering what the name are used for,
With the old exec mechanism, the name was basically ignored,
and the output of the script was rooted directly below the specified
OID
In my /usr/local/share/snmp/snmpd.conf I have some directive exec,
like the one show below
exec .1.3.6.1.4.1.17377.35.13 diskusage /bin/df -a
The command is executed but inside the log I see a warning about deprecated exec
the warning is like this:
/usr/local/share/snmp/snmpd.conf: line