[omd-users] Use existing nagios

Papp Tamas tompos at martos.bme.hu
Mon May 23 12:28:14 CEST 2011


On 05/23/2011 11:33 AM, trm asn wrote:
> On Sat, May 21, 2011 at 8:39 PM, Papp Tamas<tompos at martos.bme.hu>  wrote:
>> On 05/21/2011 04:03 PM, trm asn wrote:
>>> Dear List,
>>>
>>> I have a nagios3.2.3 already installed, I would like to use all the
>>> existing nagios cfg files into OMD. Please help me to achieve this.
>>>
>> Remove the file $site/etc/nagios/conf.d/omd-startup.cfg and copy your
>> existing config file into that directory and you are probably done.
>>
>> tamas
>
> After removing the files , I am getting the below errors.
>
> Website: http://www.nagios.org
> Reading configuration data...
>     Read main config file okay...
> Processing object config directory '/omd/sites/nagiosomd/etc/nagios/conf.d'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/escalations.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/contactgroups.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/commands.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/servicegroups.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/windows.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/check_mk_templates.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/printer.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/hosts.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/pnp4nagios.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/timeperiods.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/hostgroups.cfg'...
> Processing object config file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/resource.cfg'...
>
> Error: Unexpected token or statement in file
> '/omd/sites/nagiosomd/etc/nagios/conf.d/resource.cfg' on line 26.
>     Error processing object config files!

What is on line 26?

tamas


More information about the omd-users mailing list