mode services: without sudo entry check return OK
When running in services mode, if the sudo entry is missing, the check return OK although nothing was checked.
nagios@host$ /opt/puppetlabs/puppet/bin/ruby /usr/local/sbin/check_gitlab.rb -m services
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for nagios:
Sorry, try again.
[sudo] password for nagios:
Sorry, try again.
[sudo] password for nagios:
Sorry, try again.
sudo: 3 incorrect password attempts
OK - All services are running