This is a discussion on Execute script through windows within the SNMP Users forums, part of the Networking and Network Related category; --===============0296851206== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0296851206==
Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> Hi, again!<br> I don´t know if I explained correctly my problem.<br> In Linux SO, I just write the line<br> <br> extend .1.3.6.1.4.1.30778.1 shelltest /bin/sh /home/murilo/script1.sh<br> <br> and it works!<br> I installed cygwin imagining obey the same rules of Linux. However, then I entry the comand<br> <br> $ snmpwalk.exe -v 1 -c myCommunity fujita:myPort 1.3.6.1.4.1.30778.1<br> <br> the answer is<br> <br> End of MIB<br> <br> I restarted the snmp Microsoft services when I modified the snmpd.conf file and the answer is the same.<br> Please help me. Thank you very much.<br> <br> Fujita<br> <br> <small>Murilo Fujita<br> Engineer of Automation<br> Universidade Federal de Itajuba</small><br> <br> <br> <i>On 5/06/2008, Fujita wrote:</i><br> <br> Hi,<br> <br> In snmpd.conf (man page) there is a instruction for execute a script (see next line):<br> <br> exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest<br> <br> but /bin/sh belongs to linux. What is the instructions for windows? <br> Thanks!<br> <br> <br> &n bsp; Fujita<br> <br> </body> </html> --===============0296851206== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone --===============0296851206== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/...net-snmp-users --===============0296851206==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|