Linux HTTPD index.html Change Monitoring

  • 23 December 2021
  • 2 replies
  • 2 views

Active Directory servers have the anyChange Datapoint, for when a change is made to the AD config file, but I want something like that to tell me when the contents of /var/www/html/index.html changes.
Does anyone know the name of such a thing in LM Exchange, or how I can otherwise accomplish this?

TIA,
Gordon


2 replies

Userlevel 5
Badge +10

I'm not sure about the how Active Directory one works, but I suspect that could be implemented using a custom LMConfig Source. Output the contents of the file so LM can store a copy to compare against. I don't have access to LM Config anymore to confirm but assume you can clone an existing linux LMConfig and change the path to /var/www/html/index.html for example.

 

Userlevel 3
Badge +4

@gbates the SFTP_Files out-of-box ConfigSource will handle this, assuming you have SFTP access to the box. You'll just have to add a few properties including ssh credentials, and the path of the file you want to monitor.
 

Reply