Hello, I setup icinga2 and try to check a client via nrpe. Is there a way to set check args on icinga server?
I have try: root@icinga:/etc/icinga2# /usr/lib/nagios/plugins/check_nrpe -H client.example.com -c check_load -a '-w 15,10,5 -c 30,20,10' NRPE: Command 'check_load!-w 15,10,5 -c 30,20,10' not defined without args the check is working: root@icinga:/etc/icinga2# /usr/lib/nagios/plugins/check_nrpe -H client.example.com -c check_load WARNING - load average: 0.08, 0.07, 0.07|load1=0.083;0.150;0.300;0; load5=0.068;0.100;0.250;0; load15=0.068;0.050;0.200;0; nrpe.d/local.cfg on client allowed_hosts=icinga.example.com command[check_apt]=sudo /usr/lib/nagios/plugins/check_apt -t 60 -u command[check_ntp_time]=/usr/lib/nagios/plugins/check_ntp_time -H pool.ntp.org -w 2 -c 5 command[check_release]=/usr/lib/nagios/plugins/ius/check_release command[check_mem]=/usr/lib/nagios/plugins/ius/check_mem searching on the web I found some old article that the command I have try should work, for example this one https://serverfault.com/questions/702586/error-with-using-nrpe-with-icinga2 best regards, _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users