I'm installed the trial version of Hostmon 8.58 for examination.
I've found, that your powerfull prog does not support very simple feature - it unable perform TCP Connection test!!!! I'm only need to know - can I establish TCP connection on some port of the remote host, or not! Your program always wait for reply from remote service, but cannot define the fact, that connection is established. I have been compelled to write the bat file, which use PortQry utility from M$ to determine the port state. That bat file returns an error by setting eviromental variable ERRORLEVEL
Here is the my bat file:
Code: Select all
@echo off
portqry.exe -n host.domain.com -e 1935|find /C "NOT LISTENING"|find "0"|| exit /B 3
It works perfectly, when I run Hostmon under my account. But when I'm run this test under hostmon, which installed as service it returns "Unknown" state for test result. Is it bug or the feature of your program? Can you provide me with example of code, which can pass error code to Hostmon correctly?