Problem
When performing the default ping check for a host, up.time may display an error message similar to the following:
IO Exception: CreateProcess: C:/Program Files/uptime4/externalApps/win32/icmp.exe icmp.exe filter 1 error=2
Solution
To correct this error, take the following steps:
- Open the uptime.conf file in a text editor.
- Look for the following entry:
externalErdcScriptPath=<install_dir>/bin/
This is the path in which up.time searches for executables, specifically icmp.exe and lmhostid.exe. Note that
<install_dir>
is the directory in which up.time is installed.If you installed up.time in the default location, on Windows this path is
C:/Program Files/uptime software/uptime/support/bin/
. - If the
externalErdcScriptPath
entry is not in the file, add it to uptime.conf.Otherwise, ensure that the correct
<install_dir>
is specified. - Stop and restart the up.time Data Collector service.