This is a discussion on Execute script through windows - SNMP ; --===============0296851206== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, again! I don´t know if I explained correctly my problem. In Linux SO, I just write the line extend .1.3.6.1.4.1.30778.1 shelltest /bin/sh /home/murilo/script1.sh and it works! I installed ...
--===============0296851206==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi, again!
I don´t know if I explained correctly my problem.
In Linux SO, I just write the line
extend .1.3.6.1.4.1.30778.1 shelltest /bin/sh /home/murilo/script1.sh
and it works!
I installed cygwin imagining obey the same rules of Linux. However,
then I entry the comand
$ snmpwalk.exe -v 1 -c myCommunity fujita:myPort 1.3.6.1.4.1.30778.1
the answer is
End of MIB
I restarted the snmp Microsoft services when I modified the
snmpd.conf file and the answer is the same.
Please help me. Thank you very much.
Fujita
Murilo Fujita
Engineer of Automation
Universidade Federal de Itajuba
On 5/06/2008, Fujita wrote:
Hi,
In snmpd.conf (man page) there is a instruction for execute a
script (see next line):
exec .1.3.6.1.4.1.2021.50 shelltest /bin/sh /tmp/shtest
but /bin/sh belongs to linux. What is the instructions for windows?
Thanks!
Fujita
--===============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==--