That was easy! Thanks Dave
Dave Shield wrote: > On 25/08/06, John Dunne <[EMAIL PROTECTED]> wrote: > >> I'm planning on extending the snmp agent by writing modules written in >> C, which will set variables. Since some of these modules are only going >> to call another already written program and pass the variable onto it, >> is it possible to write such modules in perl or another script that will >> allow me pass a variable onto a program?? >> > > Yes. > > One option would be to use the "pass" mechanism, to invoke a script, > which could then call your other program(s). See the section > "MIB-Specific Extension Commands" in 'snmpd.conf(5)' for details. > > It may also be possible to invoke perl directly from within the agent > (depending on how it was configured/compiled). See the section > "Embedded Perl Support" in the same man page. > > Dave > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > 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 > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
