Re: Script error after use *.bat file
"Richard Horton" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2008/10/22 Murilo Fujita <[email protected]>: > Hi! > I want to report the following fact: > I added in snmpd.conf file this line: > extend .1.3.6.1.4.1.30778.14 /bin/sh "output.bat" >I might be barking up the wrong tree but:- 1. The OS you are running the output command on is Windows, 2. The OS you are running the agent on is Windows, 3. The OS you are running the walk from is Windows. /bin/sh is a unix style command for launching the sh shell (just as /bin/bash launches the bash shell). For windows you'll need something like c:\windows\command.com -c (I think it is -c to run the specified command and exit - you'll need to look at windows box as I don't have one to hand) -- Richard Horton Users are like a virus: Each causing a thousand tiny crises until the host finally dies. http://www.solstans.co.uk - Solstans Japanese Bobtails and Norwegian Forest Cats http://www.pbase.com/arimus - My online photogallery ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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