Hi,<div><br></div><div>As i understand you only have 1 nagios box and you want that to be both noc and poller?</div><div><br></div><div>then you don't have to define any of those, it will just poll everything in the config.</div>
<div><br></div><div>I don't think it's a valid configuration to have both noc and poller pointing to same maching ( without setting up more nagios instances and use merlin on different ports)</div><div><br></div><div>
Guess Andreas can tell us more about this.<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 2:53 AM, Frost, Mark {PBG} <span dir="ltr"><<a href="mailto:mark.frost1@pepsi.com">mark.frost1@pepsi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to play with Merlin 0.6.3beta (latest git I saw on the<br>
website) and Ninja. I had trouble when I started with a mult-host<br>
configuration so I'm scaling back to the NOC+poller on a single host<br>
configuration. I've also scaled back a chunk of our real Nagios<br>
configuration to run on this test box and put every host into a<br>
hostgroup "merlin_a".<br>
<br>
I have the following at the top of my merlin.conf:<br>
<br>
noc wonka {<br>
address = x.x.x.x<br>
port = 15551<br>
}<br>
<br>
poller wonka {<br>
address = x.x.x.x<br>
port = 15551<br>
hostgroup = merlin_a<br>
}<br>
<br>
When I start Nagios, I see the following in the neb.log:<br>
<br>
[1253148250] 6: Merlin Module Loaded<br>
[1253148251] 6: setting connect and disconnect handlers<br>
[1253148251] 6: Coredumps in /tmp<br>
[1253148251] 6: Merlin module v0.6.2 initialized<br>
successfully<br>
[1253148251] 6: Object configuration parsed.<br>
[1253148251] 6: Creating hash tables<br>
[1253148251] 4: 'host1' is a member of 'merlin_a', so<br>
can't add to poller for 'merlin_a'<br>
[1253148251] 4: 'host2' is a member of 'merlin_a', so<br>
can't add to poller for 'merlin_a'<br>
... one of those for each host I have ...<br>
<br>
What am I missing? My service table in Nagios is empty. When I run<br>
Ninja, it tells me there are no services and while it shows the hosts,<br>
it tells me that no services are scheduled to be checked. If I look in<br>
the CGI, it's running checks normally as I'd expect it to.<br>
<br>
Thanks very much.<br>
<br>
Mark<br>
_______________________________________________<br>
op5-users mailing list<br>
<a href="mailto:op5-users@lists.op5.com">op5-users@lists.op5.com</a><br>
<a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Vänliga hälsningar / Best Regards<br>Mattias Ryrlén<br><br>__________________________<br>op5 AB<br>Första Långgatan 19<br>SE-413 27 Göteborg<br>Mobil: +46 735-17 70 99<br>
Support: +46 31-774 09 24<br><a href="http://www.op5.com">www.op5.com</a><br>
</div>