Error validating execution rights for agent


05-Sep-2017 04:38

The error message could look like this: More details about the Icinga 2 DSL and its possibilities can be found in the language and library reference chapters.

If these templates contain additional attributes, your objects will automatically inherit them.

Solution: This can cause problems with Icinga 2 in large environments with many commands executed in parallel starting with Systemd v228.

Some distributions also may have changed the defaults.

ssh' * check_command = 'ssh' % = modified in '/etc/icinga2/conf.d/hosts/localhost/ssh.conf', lines 5:3- * check_interval = 60 % = modified in '/etc/icinga2/conf.d/templates.conf', lines 24:3- * host_name = 'localhost' % = modified in '/etc/icinga2/conf.d/hosts/localhost/ssh.conf', lines 4:3- * max_check_attempts = 3 % = modified in '/etc/icinga2/conf.d/templates.conf', lines 23:3- * name = 'ssh' * retry_interval = 30 % = modified in '/etc/icinga2/conf.d/templates.conf', lines 25:3- * templates = [ 'ssh', 'generic-service' ] % = modified in '/etc/icinga2/conf.d/hosts/localhost/ssh.conf', lines 1:0-7:1 % = modified in '/etc/icinga2/conf.d/templates.conf', lines 22:1-26:1 * type = ' Service' * vars % = modified in '/etc/icinga2/conf.d/hosts/localhost/ssh.conf', lines 6:3- * sla = '24x7' % = modified in '/etc/icinga2/conf.d/hosts/localhost/ssh.conf', lines 6:3- Found 1 Service objects.

[2014-10-15 0200] information/cli: Parsed 175 objects.# openssl verify -verbose -CAfile /var/lib/icinga2/certs//var/lib/icinga2/certs/icinga2-master1.icinga2-master1.localdomain.crt: OK # openssl verify -verbose -CAfile /var/lib/icinga2/certs//var/lib/icinga2/certs/icinga2-client1.icinga2-client1.localdomain.crt: OK critical/SSL: Error loading and verifying locations in ca key file ' C:\Program Data\icinga2\etc/icinga2/pki/ca.crt': 219029726, "error:0D0E20DE:asn1 encoding routines:c2i_ibuf:illegal zero content" critical/config: Error: Cannot make SSL context for cert path: ' C:\Program Data\icinga2\etc/icinga2/pki/client.crt' key path: ' C:\Program Data\icinga2\etc/icinga2/pki/client.key' ca path: ' C:\Program Data\icinga2\etc/icinga2/pki/ca.crt'.