exec deprecated

"Enzo Arlati" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 171: Error: WARNING: This output format is being deprecated - Please use the 'extend' directive instead

I look for the extended directive that should replace the exec, but I didn't find it.
Should someone give me a link about such topic and mybe an example on how use the new 
extended command.

Regards, Enzo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.