I broke it up as I tried it as a whole string at first
e.g.
Const Trap = "awtrap -f swccasn2 -h 10.101.44.31 -p 162 -c public 1 6 12 1 -s "hello this is a test trap""
but this failed, I would like to have it on one line but i don't think its possible
Thanks
Mitesh
Hello all,
I've put together the following script which should fire the following snmp trap through a DOS Window when a certain process is detected, in this case i have used notepad.exe:
awtrap -f swccasn2 -h 10.101.44.31 -p 162 -c public 1 6 12 1 -s "hello this is a test trap"
however as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.