Hi Michael, thanks.!

I'm sorry, I didn't see the Gunner comments.

Is this permanent change or fixed change ?

greats

Em 10-02-2014 12:59, Michael Friedrich escreveu:
> On 10.02.2014 15:43, Carlos Cesario wrote:
>> Hello, after apt-get upgrade the config authorities being ignored.
>
> authorities are only valid for services and notifications, therefore
> this has been corrected in the config parser.
>
> Gunnar commented on your issue -
> https://dev.icinga.org/issues/5593#note-3
>
>>
>> # icinga2 -V
>> icinga2 - The Icinga 2 network monitoring daemon. (Version:
>> jenkins-DIST=ubuntu-precise-332-12-g95f7de1)
>> Copyright (c) 2012-present Icinga Development Team
>> (http://www.icinga.org)
>> License GPLv2+: GNU GPL version 2 or later
>> <http://gnu.org/licenses/gpl2.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>>
>> See the logs
>>
>> cat  /var/log/icinga2/icinga2.log  | grep -i authorities
>> [2014-02-10 12:32:43 -0200] <Main Thread> warning/config: Config
>> warning: Unknown attribute: Object 'Damata::CiscoEBT' (Type: 'Host') at
>> /etc/icinga2/conf.d/customers/damata/damata-cisco.conf:38 -> Attribute
>> 'authorities'
>> [2014-02-10 12:32:43 -0200] <Main Thread> warning/config: Config
>> warning: Unknown attribute: Object 'Damata::Firewall' (Type: 'Host') at
>> /etc/icinga2/conf.d/customers/damata/damata-fw.conf:33 -> Attribute
>> 'authorities'
>> [2014-02-10 12:32:43 -0200] <Main Thread> warning/config: Config
>> warning: Unknown attribute: Object 'Node-1-Master' (Type: 'Host') at
>> /etc/icinga2/conf.d/localhost.conf:72 -> Attribute 'authorities'
>> [2014-02-10 12:32:43 -0200] <Main Thread> warning/config: Config
>> warning: Unknown attribute: Object 'Node-2' (Type: 'Host') at
>> /etc/icinga2/conf.d/customers/node2/node2.conf:67 -> Attribute
>> 'authorities'
>>
>>
>> My config files dind't touched.
>>
>> its a localhost.conf
>>
>>
>> /**
>>   * A host definition. You can create your own configuration files
>>   * in the conf.d directory (e.g. one per host). By default all *.conf
>>   * files in this directory are included.
>>   */
>> object Host "Node-1-Master" inherits "linux-server" {
>>    display_name = "node-1-master",
>>    authorities = [ "icinga-node-1"],
>>
>>    services["icinga"] = {
>>      templates = [ "generic-service" ],
>>      check_command = "icinga"
>>    },
>>
>>    services["ping4"] = {
>>      templates = [ "generic-service" ],
>>      check_command = "ping4"
>>    },
>>
>>    services["ping6"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "ping6"
>>    },
>>
>>    services["http"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "http_ip"
>>    },
>>
>>    services["ssh"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "ssh"
>>    },
>>
>>    services["load"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "load",
>>
>>      scheduled_downtimes["backup"] = {
>>        templates = [ "backup-downtime" ]
>>      }
>>    },
>>
>>    services["processes"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "processes"
>>    },
>>
>>    services["users"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "users"
>>    },
>>
>>    services["disk"] = {
>>      templates = [ "generic-service" ],
>>
>>      check_command = "disk"
>>    },
>>
>>    macros = {
>>      address = "127.0.0.1",
>>      address6 = "::1",
>>    },
>>
>>    check = "ping4",
>> }
>>
>>
>> grets
>>
>> Carlos
>>
>
>

Carlos
-- 


_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to