How to check Text-File for daily entries

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

How to check Text-File for daily entries

Post by JuergenF »

Dear all,

I need a good idea for testing the following.

A piece of software should create entries in a text-file.
8/12/2006 11:07:32 CDaemonService
8/12/2006 11:07:32 CDaemonService
8/14/2006 8:17:2 CDaemonService
8/14/2006 8:17:2 CDaemonService
8/15/2006 15:14:50 CDaemonService
8/15/2006 15:14:50 Entered CAgentService
8/15/2006 15:16:2 CAgentService::Init()
Sometimes it fails and doesn't create entries anymore.

What I'd like to do:
Check at 6:00 am if there is at least one entry (or more) with the current date. If yes, OK. If not, raise an alarm.

Any ideas to do that with HostMonitor are welcome.

Many thanks

Juergen[/quote]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What about simple "File/Folder Availability" test method and "Alert when file doesn't exist or older then 360 min" option

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

PS
Please use "Problems and bugs" forum when something does not work correctly.
For such questions please use "Installation and configuration" forum.

Regards
Alex
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Post by JuergenF »

KS-Soft wrote:PS
Please use "Problems and bugs" forum when something does not work correctly.
For such questions please use "Installation and configuration" forum.

Regards
Alex
Sorry.
Can you move that to the correct forum, please.

Juergen
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Post by JuergenF »

KS-Soft wrote:What about simple "File/Folder Availability" test method and "Alert when file doesn't exist or older then 360 min" option

Regards
Alex
That sounds very good.
I'll try that.

Many thanks again for great support here.

Juergen
Post Reply