Config file cleanup / lint


#1

Hi,

I was wondering whether anyone knows of a lint-like script for Nagios config files that will parse the configs and report on, well, lint -
*anything that’s unused (though Nagios already does this with -v)
*any templates that are used less than X times (say, 3)
*any hosts/services that have a value explicitly defined, but is the same as a template it uses
*perhaps any hosts/services that have a substantially large amount of similar values defined explicitly (i.e. where a template would be useful)

Any suggestions? I thought about doing this using Nauphy, but it doesn’t seem to have full support for v3 configs yet.