Closed MrTango closed 7 years ago
Ugh, yeah this is pretty dumb. This whole file needs a cleanup.
I'll merge this and release a new version soon with some other cleanups I've got in mind.
thx, I'm also wondering if it would make sense to include the nagios-plugins packages in the role, as I use them just by name instead of copying them with the role. The copy makes sense for custom plugins which are not part of the packages.
On debian based OS' nagios-plugins
is a dependency, so it's installed already. On RedHat based ones it's installed as a separate task.
Are you seeing otherwise?
There is no hart dependency from nagios-nrpe-server to nagios-plugins. It didn't install it. I had to add it by my self. And i didn't find any explicit install in your role. That could be easy fixed.
What OS are you running?
Ugh I've just confirmed this on an ubuntu 16.04 machine, I've raised #23 to track.
It makes sense to actually enable the server_address in the nrpe.cfg, otherwise the var for it does not have any effect. There is no need for the example commands being enabled by default in the template.