You have got to be kidding!? That was the issue and now host is showing up.
Completely overlooked the obvious.

Thank you

//Garrett

On Wed, Jul 19, 2017 at 11:15 AM, Gerald Vogt <v...@spamcop.net> wrote:

> On 19.07.17 19:05, Garrett Pye wrote:
>
>> *[root@bcv-devops-icinga icinga2]#  icinga2 daemon -C*
>> information/cli: Icinga application loader (version: v2.6.3)
>> information/cli: Loading configuration file(s).
>> warning/ConfigCompiler: Cannot compile file 
>> '/etc/icinga2/conf.d/host/baschisp02.conf':
>> Error: Function call 'std::ifstream::open' for file
>> '/etc/icinga2/conf.d/host/baschisp02.conf' failed with error code 13,
>> 'Permission denied'
>>
>
> Permission denied means the icinga user (the uid of the icinga process)
> cannot read the file /etc/icinga2/conf.d/host/baschisp02.conf. I guess
> you created it as root and didn't change the owner to icinga... Check with
>
> # ls -l /etc/icinga2/conf.d/host/baschisp02.conf
>
>
> (0) Compiling configuration file '/etc/icinga2/conf.d/host/basc
>> hisp02.conf'
>>
>> information/ConfigItem: Committing config item(s).
>> information/ApiListener: My API identity: bcv-devops-icinga
>> warning/ApplyRule: Apply rule 'satellite-host' (in
>> /etc/icinga2/conf.d/satellite.conf: 29:1-29:41) for type 'Dependency'
>> does not match anywhere!
>>
>
> That doesn't matter.
>
> *[root@bcv-devops-icinga icinga2]# icinga2 object list --type host*
>> Object 'bcv-devops-icinga' of type 'Host':
>>    % declared in '/etc/icinga2/conf.d/hosts.conf', lines 18:1-18:20
>>    * __name = "bcv-devops-icinga"
>>
>
> You have one host defined in /etc/icinga2/conf.d/hosts.conf named
> bcv-devops-icinga.
>
> No other hosts in any file readable by the icinga server...
>
> -Gerald
>
> _______________________________________________
> 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

Reply via email to