I want »check_command = http« checks to return the content/body of the checked service.
- I’ve managed to get a PR merged here: https://github.com/monitoring-plugins/monitoring-plugins/pull/1560
- Last release was 2016
- I’ve build a PPA of monitoring-plugins and got that apt-mirrored locally
- Now, I want to add a parameter vars.http_showbody to the http command
- When I just add a CheckCommand with the same name »http«, then Icinga complains about the dupe and reefuses to validate the config
What now? I don’t want to use another CheckCommand name like »http_for_real« and change all our complicated configs.
So how can I override the ITL? Patch the file locally on disk and then again after each Icinga package upgrade? Do a dpkg-divert only for this?