Hi, hehe, sorry about the smtpd.conf thing :) i'm working on 3 projects at the same time and things just get mixed up, hehe.
Yes, unfortunately i'm using the 5.2.x version that comes with the apt-get "official an stable"repository on debian. I'll try to get a newer version and see if that works. I'll come back to you when i get it working just in case somebody else faces this problem. Thank you very much. El dt 12 de 02 del 2008 a les 13:30 +0000, en/na Dave Shield va escriure: > On 12/02/2008, Jordi Moles <[EMAIL PROTECTED]> wrote: > > Could anyone try this easy example? > > Just put a line like this in the smtpd.conf > > snmpd.conf, but I know what you meant :-) > > > > > pass .1.3.6.1.4.1.2021.255 /root/script.pl > > > > > > and then.. in the script.pl, something like > > > > *********** > > #!/usr/bin/perl > > `echo $ARGV[0] > /root/output.txt`; > > `echo $ARGV[1] >> /root/output.txt`; > > `echo $ARGV[2] >> /root/output.txt`; > > `echo $ARGV[3] >> /root/output.txt`; > > `echo $ARGV[4] >> /root/output.txt`; > > `echo $ARGV[5] >> /root/output.txt`; > > > > ************ > > OK - contents of /root/output.txt are: > > With the current development code, > the 5.4.x and 5.3.x lines: > ======== > -s > .1.3.6.1.4.1.2021.255 > string > hi > > > ======== > > With the 5.2.x line: > =========== > -s > .1.3.6.1.4.1.2021.255 > string > > > =========== > > Are you using the 5.2.x agent? > > 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