Build precise queries to find exactly what you need
Press ESC to close
@more_like_NAG-ios
Favorites0
Views
Projects0
My devs are happy that they're getting docker alerts before the endusers can report problems which makes me happy As already mentioned whatever use you have in nrpe.cfg to execute commands will need to be in the docker group. One thing that threw me is that I was still getting permission errors when I added my nagios user to Docker even though the user wasn't logged in. Locally executing the command after su nagios worked just fine by my NRPE checks from my Nagios server were all giving the same permissions error. I wound up having to restart the nrpe service and it resolved my issue. I'd love some more clarification or a link to relevant Docker documentation on what exactly the --restarts flag is checking, how far back it's checking for restarts, etc.
Reviewed 5 years ago