sown / tasks

Tasks for sown projects
0 stars 0 forks source link

Fix debsums check + standardise NRPE configs #24

Closed TimStallard closed 5 years ago

TimStallard commented 5 years ago

The debsums check script (at least on some servers) is broken - the string result is compared as an integer, and the script will always return success regardless of the actual outcome.

As well as fixing the issue (I've already patched the script, though need to test it slightly more thoroughly), this seems like a good opportunity to standardise the NRPE configs on every server so they line up with the configs generated by ansible.

drn05r commented 5 years ago

Before starting this it may be worth installing Ansible on auth2 and checkout the Git repository of playbooks there rather than on monitor.

TimStallard commented 5 years ago

Servers to sort:

tunnelbroker also has the debsums check, but I don't think I have access and suspect the config might be even less standard there?

TimStallard commented 5 years ago

Now sorted on all servers, and I've written and deployed a check for systemd failed services on everything as well. Just need to tidy up and commit now.

Should make it much easier to deploy new checks on every host at once :)