Hi, thanks for the details, that was really helpful, i almost have i want to do.
Thank you. En/na Dave Shield ha escrit: > On 11/02/2008, Jordi Moles Blanco <[EMAIL PROTECTED]> wrote: > >> pass .1.3.6.1.4.1.2021.255 /home/monitor/tests/extensio.pl >> > > > >> I would like to create .1.3.6.1.4.1.2021.255.8.1.8, which needs a var >> set during the execution time. Is that possible? >> > > Yes. > > If you issue the command > > snmpset ...... .1.3.6.1.4.1.2021.255.8.1.8 i 123 > > (assuming that this MIB object is defined as an integer) > then your script will be called as > > /home/monitor/tests/extensio.pl -s .1.3.6.1.4.1.2021.255.8.1.8 integer > 123 > > It's then up to your script to check that the OID, type and value > are OK, and accept or reject the request accordingly. > > See the section on the "pass" directive in the snmpd.conf(5) > man page for details. > > Dave > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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/listinfo/net-snmp-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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/listinfo/net-snmp-users