Text-Log or CompareFiles?

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
azazel
Posts: 3
Joined: Wed Oct 23, 2013 12:38 am

Text-Log or CompareFiles?

Post by azazel »

Hello,

we are using HM9.58 Enterprise.

I got many identical Customer-Server (Terminalserver Windows 2012). On each Server is a INI-File with some parameters. One Parameter defines the version of an installed software.

file: version.ini (on each terminalserver)
content:
[version]
Build=239

[modules]
crm=1
erp=0
fkt=1

On a "Reference Server" is a "reference file" with the only supported and approved version:

file: reference.ini on server "reference"
content:
[version]
Build=240

Now i would like to create a test which will compare the build Numbers of both files. If the Version in the file "version.ini" is less or greater than in the "reference.ini" i would like to get a "bad state".

If the Version in the file "version.ini" is equal in both files i would get a normal or good state.

How can i configure this case?

Thank you very much!

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

Post by KS-Soft »

If target files and reference file accessible from HostMonitor system, you may create your own test, e.g. using VB script or PowerShell script and start your script using Shell Script or External test method.
If target ini file and reference ini file cannot be accessed from system where HostMonitor or RMA is installed, then you cannot compare files. Unless you create some application that will provide info over network using protocol like SNMP...

Regards
Alex
Post Reply