I'm not sure at what scale you are trying to do this, but it could be a custom script.. Also, there is a feature in operations manager where you can capture and/or push configuration files down.. See if that will help you.
It is a build-in functionality and it's called Configuration Management.
In essensce you can create a template by downloading the current configuration of a running system.
Afterwards you can push that configuration to other systems or simly use that template to compare it to the running systems.
Once you have pushed a configuration to a system (and be it by just setting a single option) the whole configuration is monitored on a regular basis and you get the alert you mentioned already "Storage System Configuratoion: Changed locally" when options or specific files have changed. Unfortunalety this functionality does not cover system-specific files that are unique per system such as the rc or hosts files.
I suggest to look for more information in the Unified Manager online help.
Go to the legacy Operations Manager (a.k.a. DFM) UI,
click "Help" --> "General Help"
Look for the category "Storage system management" --> "Storage Systems" --> "Configuration File Management"