Hi, @Markus: "icinga2 daemon -x notice" is very usefull, thx for it.
The error messages is: ('/usr/lib/nagios/plugins/check_nrpe' '-H' '' '-c' 'check_disk' '-a' '20%' '10%' '/') terminated with exit code 1 So the check_nrpe command doesn't receive host_name parameter, don't know why. It's in config: object Service "nrpe-disk-/" { import "generic-service" host_name = "icingaclient.xxx.yyy" check_command = "nrpe" vars.nrpe_command = "check_disk" vars.nrpe_arguments = [ "20%", "10%", "/" ] } Any idea? Thx, Balint -----Original Message----- From: icinga-users [mailto:icinga-users-boun...@lists.icinga.org] On Behalf Of Joosten, Markus Sent: Monday, April 18, 2016 2:38 PM To: Icinga User's Corner <icinga-users@lists.icinga.org> Subject: Re: [icinga-users] nrpe doesn´t work (Could not resolve hostname : Name or service not known) I would start by running icinga2 in debug mode in foreground and filter the output: icinga2 daemon -x notice | grep nrpe Reschedule your check (or wait until it is being executed) and extract the exact commandline which will be executed by icinga2. Once you have that, go from there to identify any error. Of course, don't forget to restart icinga2 as daemon. Regards, Markus _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users