[omd-users] Use existing nagios

trm asn trm.nagios at gmail.com
Mon May 23 11:33:32 CEST 2011


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!


/\
dE


More information about the omd-users mailing list