NT Eventlog notification

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Guest

Post by Guest »

I have many machines to monitor and have some known errors that are thrown throught the day. My homegrown script allows me to report all warnings/errors except for a list of 1-10 known warning/error event ids. How can I imitate this in HostMonitor? Or do I need to rewrite my script to be used as an external procedure?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Current version of HostMonitor can check some or all events, but cannot monitor all events except several specific.
You can use external program to perform test. But external program can return only ErrorLevel code, HostMonitor will not have information about event (like Event Description). In future versions will be implemented API and HostMonitor will be able to use external DLLs.

Regards
Alex
Dietrich
Posts: 2
Joined: Wed Sep 11, 2002 6:00 pm

Post by Dietrich »

After I've given a little more thought to this, one could probably do this by cascading a bunch of tests (via dependancies) and only having the last one with the action. Icky, but might work.
OTOH, if I could get HM to mail/page the contents of a file, you would be able to get the external prog to do the monitoring and just have HM do the paging after it notices the existance of the file.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HM can mail specified file (use "Send e-mail" action and "Attach file" option), but it cannot page a file.
Locked