[op5-users] re Merlin not importing all data from objects.conf

Michael Hobbs mike at mikehobbs.co.uk
Thu Aug 13 12:14:44 CEST 2009


HI Andreas

I've been testing this all morning and can see the same behaviour in the
newest version of Merlin/Ninja

Testing involves me creating new hosts, adding and removing service checks,
removing hosts

In each case I've been restarting nagios via a script I use which does this

<snip>
#!/bin/bash 
/etc/init.d/nagios reload 
# import to merlin 
php /usr/local/nagios/etc/addons/merlin/import.php
--cache=/usr/local/nagios/var/objects.cache
</snip>

Output of the script is
<snip>
Running configuration check...done. 
Reloading nagios configuration...done 
Importing objects to database merlin 
importing objects from /usr/local/nagios/var/objects.cache
</snip>

I've also got this line in /usr/local/nagios/etc/addons/merlin/merlin.conf 
import_program =php /usr/local/nagios/etc/addons/merlin/import.php
--cache=/usr/local/nagios/var/objects.cache

if I restart nagios via /etc/init.d/nagios reload or stop /start it just
returns

Running configuration check...done. 
Reloading nagios configuration...done

So far Ninja or Merlin hasn't picked up any of the changes.

Once you have the new version ready I'll upgrade merlin and test again

Cheers

Mike

-----Original Message-----
From: op5-users-bounces at lists.op5.com
[mailto:op5-users-bounces at lists.op5.com] On Behalf Of Andreas Ericsson
Sent: 13 August 2009 10:31
To: Mailinglist for op5's products
Subject: Re: [op5-users] re Merlin not importing all data from objects.conf

Michael Hobbs wrote:
> Hi Andreas
> 
> I've just built a new server running the latest version of Merlin and
Ninja
> (as of 12pm GMT today)
> 
> I'll do some testing tomorrow and add/remove/change various hosts and
> services and feed back if Ninja/merlin pick up the changes
> 

Aight. Although I think I've found one issue with Merlin right now; It
doesn't re-open stdout and stderr, so nodes can, potentially, get output
directed to either of those sent to them, which would disrupt things
quite a lot, I imagine.

I'll patch this right away and have the fix pushed in half an hour or so.

Thanks all who're helping out with testing. I really appreciate it.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
_______________________________________________
op5-users mailing list
op5-users at lists.op5.com
http://lists.op5.com/mailman/listinfo/op5-users


More information about the op5-users mailing list