<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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.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;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="2050" />
</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>Make sure that your ndo2db.cfg and ndomod.cfg files are
owned by the same users that runs ndo2db and Nagios.<o:p></o:p></p>

<p class=MsoNormal>In my case it is "nagios".<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I noticed that ndo.sock was not being created in
/usr/local/nagios/var.<o:p></o:p></p>

<p class=MsoNormal>On a hunch I checked the permissions on the two config files
(mentioned above) and found that they were owned by root, since I was logged in
as root when I copied them over from the nod-utils distribution.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>As soon as I changed the ownership, restarted ndo2db and
nagios, the problem was solved.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Hope this helps someone.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Bob.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><span
style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D'>Bob
Ehlenfield <br>
Technology Specialist<br>
</span><b><i><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>171 Group, LLC</span></i></b><span style='font-size:10.0pt;
font-family:"Verdana","sans-serif";color:#1F497D'><br>
MCSE 2003:Security, MCSA 2003:Security, <br>
MCSE 2000, MCSA 2000, MCT, MCP, CCNA<br>
A+, Server+, Network+, Security+, HP APS<br>
<a href="mailto:bob@171group.com"><span style='color:blue'>bob@171group.com</span></a></span><span
style='font-size:12.0pt;font-family:"Verdana","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'>Phone:  716.570.6870<o:p></o:p></span></p>

<table class=MsoNormalTable border=0 cellpadding=0>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'>  <img
  border=0 width=111 height=59 id="Picture_x0020_1"
  src="cid:image001.jpg@01CA63F2.31A62D10"
  alt="cid:image001.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td colspan=2 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'><img
  border=0 width=113 height=54 id="Picture_x0020_2"
  src="cid:image002.jpg@01CA63F2.31A62D10"
  alt="cid:image002.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'>  <img
  border=0 width=113 height=61 id="Picture_x0020_3"
  src="cid:image003.jpg@01CA63F2.31A62D10"
  alt="cid:image003.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td colspan=2 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'><img
  border=0 width=112 height=54 id="Picture_x0020_4"
  src="cid:image004.jpg@01CA63F2.31A62D10"
  alt="cid:image004.jpg@01C991CB.096DF700"> </span><o:p></o:p></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'><img
  border=0 width=113 height=61 id="Picture_x0020_5"
  src="cid:image005.jpg@01CA63F2.31A62D10"
  alt="cid:image005.jpg@01C991CB.096DF700"> </span><o:p></o:p></p>
  </td>
  <td colspan=2 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'>  <img
  border=0 width=112 height=52 id="Picture_x0020_6"
  src="cid:image006.jpg@01CA63F2.31A62D10"
  alt="cid:image006.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'>  <img
  border=0 width=83 height=69 id="Picture_x0020_7"
  src="cid:image007.gif@01CA63F2.31A62D10"
  alt="cid:image007.gif@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td colspan=2 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:center;line-height:115%'><span style='font-size:12.0pt;
  line-height:115%;font-family:"Times New Roman","serif";color:#1F497D'>  <img
  border=0 width=224 height=40 id="Picture_x0020_8"
  src="cid:image008.jpg@01CA63F2.31A62D10"
  alt="cid:image008.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td colspan=3 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='line-height:115%'><img border=0 width=224
  height=41 id="Picture_x0020_9" src="cid:image009.jpg@01CA63F2.31A62D10"
  alt="cid:image009.jpg@01C991CB.096DF700"><o:p></o:p></p>
  </td>
  <td colspan=3 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><img
  border=0 width=224 height=41 id="Picture_x0020_10"
  src="cid:image010.jpg@01CA63F2.31A62D10"
  alt="cid:image010.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
  <td colspan=2 valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal style='line-height:115%'><span style='color:#1F497D'><img
  border=0 width=224 height=42 id="Picture_x0020_11"
  src="cid:image011.jpg@01CA63F2.31A62D10"
  alt="cid:image011.jpg@01C991CB.096DF700"></span><o:p></o:p></p>
  </td>
 </tr>
 <tr>
  <td width=161 style='width:120.75pt;padding:0in 0in 0in 0in'></td>
  <td width=76 style='width:57.0pt;padding:0in 0in 0in 0in'></td>
  <td width=59 style='width:44.25pt;padding:0in 0in 0in 0in'></td>
  <td colspan=4 style='padding:0in 0in 0in 0in'>
  <p class=MsoNormal align=center style='text-align:center;line-height:115%'><img
  border=0 width=275 height=94 id="Picture_x0020_12"
  src="cid:image012.jpg@01CA63F2.31A62D10"
  alt="cid:image012.jpg@01C991CB.096DF700"><o:p></o:p></p>
  </td>
  <td width=62 style='width:46.5pt;padding:0in 0in 0in 0in'></td>
  <td width=90 style='width:67.5pt;padding:0in 0in 0in 0in'></td>
  <td width=139 style='width:104.25pt;padding:0in 0in 0in 0in'></td>
 </tr>
 <tr height=0>
  <td width=159 style='border:none'></td>
  <td width=78 style='border:none'></td>
  <td width=43 style='border:none'></td>
  <td width=125 style='border:none'></td>
  <td width=60 style='border:none'></td>
  <td width=60 style='border:none'></td>
  <td width=121 style='border:none'></td>
  <td width=64 style='border:none'></td>
  <td width=92 style='border:none'></td>
  <td width=137 style='border:none'></td>
 </tr>
</table>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>