[omd-devel] OMD 1.10_0 icinga icinga.cfg missing error

Joerg Linge pitchfork at ederdrom.de
Thu May 22 18:15:34 CEST 2014


John,

if you don't change the CORE to Icinga there is no need to create icinga.cfg

Default Core is nagios right now

omd stop
omd config set CORE icinga
omd start

ls -la tmp/icings/icinga.cfg

 
Am 22.05.2014 um 18:08 schrieb John Cooper <John.Cooper at smartfocus.com>:

> Hi joerg,
> I'm running automatic install using Amazon Opsworks chef script.
> 
> bash 'install_omd' do
>  user 'root'
>  cwd '/'
>  code <<-EOH
>    omd create monitoring
>    omd start
>  EOH
>  not_if 'test -d /opt/omd/sites/monitoring'
> end
> 
> which does create and start the site 'monitoring' . The file ~/tmp/icinga/icinga.cfg is missing and ~/etc/icinga/icinga.cfg has no config :-
> 
> --------------------------------------------
> # Icinga main configuration file
> 
> # This file will be read in after the files in icinga.d.
> # Variables you set here will override settings in those
> # files. Better do not edit the files in icinga.d but rather
> # copy variables from there to here. That will save you
> # trouble when updating your sites to new versions.
> --------------------------------------------
> 
> This is consistent on all 5 OMD I've built.
> 
> Thanks, John.
> 
> 
> 
> -----Original Message-----
> From: omd-devel-bounces at lists.mathias-kettner.de [mailto:omd-devel-bounces at lists.mathias-kettner.de] On Behalf Of Joerg Linge
> Sent: 22 May 2014 16:53
> To: OMD developers mailing list (english)
> Subject: Re: [omd-devel] OMD 1.10_0 icinga icinga.cfg missing error
> 
> Nope thats wrong!
> 
> ~/tmp/icinga/icinga.cfg is the correct location
> 
> omd start <site>   creates ~/tmp/icinga/icinga.cfg out of ~/etc/icinga/icinga.cfg and ~/etc/icinga/icinga.d/*
> 
> Joerg
> 
> Am 22.05.2014 um 16:34 schrieb John Cooper <John.Cooper at smartfocus.com>:
> 
>> Hi, icinga is broken in 1.10 as icinga is looking for ~/tmp/icinga/icinga.cfg which is missing. It exists in ~/etc/icinga/icinga.cfg but is blank. The icinga.d is not being parsed. To fix it I added a symlink :-
>> 
>> As OMD user
>> ln -s ~/etc/icinga/icinga.d/omd.cfg ~/tmp/icinga/icinga.cfg
>> 
>> Tested on Ubuntu precise.
>> 
>> John.
>> _______________________________________________
>> omd-devel mailing list
>> omd-devel at lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/omd-devel
> 
> 
> 
> _______________________________________________
> omd-devel mailing list
> omd-devel at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/omd-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.mathias-kettner.de/pipermail/omd-devel/attachments/20140522/b671773a/attachment.pgp>


More information about the omd-devel mailing list