New answers tagged

0

To fix this issue without making the nagios plugin world-readable and/or world-executable, add the nrpe user to the nagios group.


0

I had the same symptom. So maybe this will save someone else some time. My problem was that I was missing the .cfg extension on the files in the include directory. My include dir was include_dir=/etc/nagios/nrpe.d The machine is running Ubuntu 14.04 for reference, using NRPE v2.15


0

I had the same problema, many times it was permission. Setting permission or using sudoers solve it. Try to login with nrpe/nagios user (su - nrpe) and try to run the command. Other possibilite is the selinux, try to disable is TO TEST: echo 0 > /selinux/enforce


1

You have to use something for a host check, otherwise the state will never change. Notice how it says "Last Check" was on the 17th, even though you took this screenshot on the 19th? If you don't want to use check_ping, pick another plugin to use for a host check. Or just let it ping localhost; there's no harm in that, even though it seems unnecessary. ...


0

Add below line to C:\Program Files\NSClient++\ nsclient.ini section port=12489 Note this is for windows client system


0

You also need to add f to the service_notification_options. The set of emails that a contact actually receives is the intersection of the service's (or host's) options and the contact's options.


0

That was at must nagios user be in group smsd ...


0

Why not write your own command/script that checks each server certificate, aggregates the data, and then alerts if a percentage of checks fail? You can check Cert expiry with openssl from a command prompt: echo | openssl s_client -connect google.com:443 2>/dev/null | openssl x509 -noout -dates Loop through your servers in Bash and then set you exit ...


0

If the Nagios server has a problem with start/stop on CentOS 6.x I use this command: /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg It works on my Nagios server.


0

The Nagios server can't connect to the NRPE service on the server you are monitoring. Check that the NRPE service in running on the destination server Check that you have configured allowed_hosts correctly on the destination server so that the Nagios server is allowed connect (nrpe.cfg) Check that no firewalls are blocking the connections My guess is ...



Top 50 recent answers are included