Contents
| Previous | Next
Introduced in v2.40 of PingPlotter was the capability to launch any executable (or any file) on alert. This
gives you all kinds of capabilities to do cool things when network conditions
go south.
While this event is called "Launch an executable", it can actually
launch any file. It can launch documents, links, .mp3s, batch files, whatever
– really anything with a file association that Windows knows about. Of course, you have the option of when you want to launch the executable.
See alert events
- conditions for triggering section of the tutorial for these.
The following variables
(below in blue) can be used. Note that these are always parsed, and there is
no way to cause these to be passed as literals. If you need to have one of these
strings as literals passed to an executable, then you'll need to set up an intermediate
link, batch file, or something similar.
$host
The monitored
host – i.e.: the target that failed.
$dest The destination for PingPlotter. This may,
or may not be, the same as $host. It will match if you're monitoring the final
destination, but won't match for intermediate hops.
$year Current 4 digit year (i.e.: 2003)
$month Current 2 digit month (i.e.: 03)
$day Current 2 digit day (i.e.: 08)
$date Date, 4-2-2 format (i.e.: 2003-03-08) for
March 8th.
$hour 24 hour format, (i.e.: 06)
$minute 2 digit minute, (i.e.: 02)
Bear in mind that
the launching program isn't closed, it's just launched. You'll need to configure
your setup to close whatever you need here.