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&#39;t have to define any of those, it will just poll everything in the config.</div>
<div><br></div><div>I don&#39;t think it&#39;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">&lt;<a href="mailto:mark.frost1@pepsi.com">mark.frost1@pepsi.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;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&#39;m scaling back to the NOC+poller on a single host<br>
configuration.  I&#39;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 &quot;merlin_a&quot;.<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: &#39;host1&#39; is a member of &#39;merlin_a&#39;, so<br>
can&#39;t add to poller for &#39;merlin_a&#39;<br>
                [1253148251] 4: &#39;host2&#39; is a member of &#39;merlin_a&#39;, so<br>
can&#39;t add to poller for &#39;merlin_a&#39;<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&#39;s running checks normally as I&#39;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>