Hi,
I'm using Icinga2 with NRPE against a remote windows machine running NSClient++ 
v0.4.2.93.

>From my icinga2 server I can run this manually:

./check_nrpe -H 1.2.3.4 -c check_service -a "filter=name not in 
('sysdown','clr_optimization_v4.0.30319_32')"
CRITICAL: ReportServer=stopped (auto), delayed ()

However, I'm struggling to format this in a CheckCommand object due to the 
quotes.. Obviously the configuration below fails. I'd appreciate any ideas.


object CheckCommand "nrpe_win_checkservices" {
  import "plugin-check-command"

  command = NagiosPluginDir + "/check_nrpe -H $address$ -c check_service -a 
"filter=name not in ('sysdown','clr_optimization_v4.0.30319_32')"
}

Thanks,
Phil Quinton


_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to