Hi.
How can I get HostMonitor to count the number of files in a directory and when it exceeds a preset limit, it must write a message to the NT Event log and/or send out and alert?
Thanks.
Marius
marius@is.co.za
Counting files in a directory
>Can I write a message to the NT Evnet log when the threshold is exceeded?
Current version of HostMonitor cannot do that
>How to I clear the logs?
You can remove file, HM will create new one. Or, you can use "clear log and start over" option (located on Log Settings page in the Options dialog)
Regards
Alex
Current version of HostMonitor cannot do that
>How to I clear the logs?
You can remove file, HM will create new one. Or, you can use "clear log and start over" option (located on Log Settings page in the Options dialog)
Regards
Alex
Define an external action and have it call the logevent resource kit tool and you can log your own events.
If you want to define a message source to use check out http://www.joeware.net free win32 tools and grab ELDLL which will define a message source and has some basic messages that can be used.
If you want to define a message source to use check out http://www.joeware.net free win32 tools and grab ELDLL which will define a message source and has some basic messages that can be used.