<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h3
        {mso-style-priority:9;
        mso-style-link:"Titre 3 Car";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:13.5pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML Car";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.Titre3Car
        {mso-style-name:"Titre 3 Car";
        mso-style-priority:9;
        mso-style-link:"Titre 3";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.PrformatHTMLCar
        {mso-style-name:"Pr\00E9format\00E9 HTML Car";
        mso-style-priority:99;
        mso-style-link:"Pr\00E9format\00E9 HTML";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1934823203;
        mso-list-template-ids:-436968382;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><i>I don’t know if im doing something wrong here <o:p></o:p></i></p>
<p class=MsoNormal><i>I ve just grabbed the latest snapshot of merlin and
ninja from git<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>So far , Merlin is working just fine .. the only problem I
saw so far is that Merlin will not try to reconnect if mysql goes done .. I tested
this by stopping mysql for a couple of minutes .. and starting it again.<o:p></o:p></i></p>
<p class=MsoNormal><i>Merlin will complaint DB is still down .. so you
just have to restart it again.<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>On the ninja side the story is a little bit different .<o:p></o:p></i></p>
<p class=MsoNormal><i>I have run the ninja_db_init.sh to update the Merlin
database , and verified some tables are indeed created .<o:p></o:p></i></p>
<p class=MsoNormal><i>I can logon to the web interface using the default
user/password (monitor/monitor) , the problem is that ninja cannot read in host
or services information .. <o:p></o:p></i></p>
<p class=MsoNormal><i>First test .. I thought maybe it’s not
communicating with mysql .. so I stopped mysql service again .. and immediately
ninja gave a nice error saying it cannot communicate with mysql!<o:p></o:p></i></p>
<p class=MsoNormal><i>Sounds cool. I verified the content of the Merlin
database .. and as expected the db is ok <o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>mysql> use merlin;<o:p></o:p></i></p>
<p class=MsoNormal><i>Reading table information for completion of table and
column names<o:p></o:p></i></p>
<p class=MsoNormal><i>You can turn off this feature to get a quicker startup
with -A<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>Database changed<o:p></o:p></i></p>
<p class=MsoNormal><i>mysql> select count(*) from host;<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>| count(*) |<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>| 18 |<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>1 row in set (0.00 sec)<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>mysql><o:p></o:p></i></p>
<p class=MsoNormal><i>mysql> select count(*) from service;<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>| count(*) |<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>| 60 |<o:p></o:p></i></p>
<p class=MsoNormal><i>+----------+<o:p></o:p></i></p>
<p class=MsoNormal><i>1 row in set (0.00 sec)<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>mysql><o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>the only page that shows some infos is the Comments
page which show all the comments.<o:p></o:p></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
<p class=MsoNormal><i>2- when I click on the Host group Overview
I get I little message saying: </i><i><span lang=EN>The requested group
('windows-servers') wasn't found <o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN>So somehow it knows I have a host group
named windows-servers .. it just can’t show more info about it !<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN>Again when I click on Hostggroup_grid link I
get a kohana error :<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN><o:p> </o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'>An error was detected
which prevented the loading of this page. If this problem persists, please
contact the website administrator.<o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Courier New"'>application/controllers/status.php </span></i><b><i><span
lang=EN style='font-family:"Times New Roman","serif"'>[1418]:</span></i></b><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Courier New"'>Invalid argument supplied for
foreach()</span></i><i><span lang=EN style='font-family:"Times New Roman","serif"'><o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span
lang=EN style='font-family:"Times New Roman","serif"'>Stack Trace<o:p></o:p></span></i></b></p>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l0 level1 lfo1'><i><span lang=EN style='font-family:"Courier New"'>application/controllers/status.php
</span></i><b><i><span lang=EN style='font-family:"Times New Roman","serif"'>[1299]:</span></i></b><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p></o:p></span></i></li>
</ul>
<p class=MsoNormal style='margin-left:.5in'><i><span lang=EN style='font-family:
"Courier New"'>Status_Controller->_show_grid( host, APC-Sensors )<o:p></o:p></span></i></p>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l0 level1 lfo1'><i><span lang=EN style='font-family:"Courier New"'>application/controllers/status.php
</span></i><b><i><span lang=EN style='font-family:"Times New Roman","serif"'>[1239]:</span></i></b><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p></o:p></span></i></li>
</ul>
<p class=MsoNormal style='margin-left:.5in'><i><span lang=EN style='font-family:
"Courier New"'>Status_Controller->group_grid( host, all )<o:p></o:p></span></i></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
lang=EN style='font-size:10.0pt;font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><i><span lang=EN style='font-family:"Courier New"'>Status_Controller->hostgroup_grid(
)<o:p></o:p></span></i></p>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l0 level1 lfo1'><i><span lang=EN style='font-family:"Courier New"'>system/core/Kohana.php
</span></i><b><i><span lang=EN style='font-family:"Times New Roman","serif"'>[313]:</span></i></b><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p></o:p></span></i></li>
</ul>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></i></b></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span
lang=EN style='font-family:"Times New Roman","serif"'>so from this line:<o:p></o:p></span></i></b></p>
<p class=MsoNormal style='margin-left:.5in'><i><span lang=EN style='font-family:
"Courier New"'>Status_Controller->_show_grid( host, APC-Sensors )<o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'>It somehow know about a
group named APC-Sensors.<o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'>So This is it .. maybe I missed
something ? <o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'>Thanks <o:p></o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'><o:p> </o:p></span></i></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span
lang=EN style='font-family:"Times New Roman","serif"'>SunChero<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN><o:p> </o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN><o:p> </o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN><o:p> </o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN><o:p> </o:p></span></i></p>
<p class=MsoNormal><i><o:p> </o:p></i></p>
</div>
</body>
</html>