Forum Discussion

gbates's avatar
3 years ago

Linux HTTPD index.html Change Monitoring

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

  • 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.

     

  • @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.