Execute script through windows

Murilo Fujita <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
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;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.