Text file log

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
Mogge
Posts: 83
Joined: Thu Mar 04, 2004 3:38 pm
Location: Denmark

Text file log

Post by Mogge »

Greetings from Denmark!

A have a text file lokking somewhat like this:


Server Name Server Load
-------------------- ------------
SERV01 1505

How can I check if the value '1505' (the load of a citrix server) is > 8000 ?

I´ve tried with a text log search but it´s not that easy...

Very kind regards
Mogens

****** WE ARE WINNING THE EM IN FOOTBALL!!! ******* :lol:
boxy_25
Posts: 26
Joined: Tue Dec 02, 2003 3:49 am
Location: France
Contact:

Post by boxy_25 »

Hi,

maybe you can try an external test like a wsh script that scan your file and send HM a result :
1 -> OK
2 -> Bad

Then make an action .

Cédric.

####Think that FRANCE will win the Euro :lol: :lol: :lol: #######
Good luke to denmark !
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Text Log and Compare Files test methods check file for SPECIFIC string. You may setup test to search "1505" or search "8000" but you cannot setup test to search unknown string.
boxy_25 is right, you need to create some script that will read file and return number to HostMonitor.

Shell Script
http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell
External
http://www.ks-soft.net/hostmon.eng/mfra ... m#execheck
Active Script
http://www.ks-soft.net/hostmon.eng/mfra ... htm#script

Regards
Alex
Post Reply