<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:x="urn:schemas-microsoft-com:office:excel" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* 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 WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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="WordSection1">
<p class="MsoNormal">Good morning all.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m attempting to configure MK LiveStatus so that I can install NagVis on my Nagios Core installation.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m following through the MK LiveStatus setup instructions located
<a href="http://mathias-kettner.de/checkmk_livestatus.html">http://mathias-kettner.de/checkmk_livestatus.html</a>. I am attempting to do the manual installation of livestatus without the rest of the check_mk stuff.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve downloaded the source file (<a href="http://mathias-kettner.de/download/mk-livestatus-1.2.2p2.tar.gz">http://mathias-kettner.de/download/mk-livestatus-1.2.2p2.tar.gz</a>), unpacked it, ran ./configure followed by make install; then
added the suggested lines (“broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live” and “event_broker_options=-1”) to my nagios.cfg file, and restarted Nagios. When I look at the nagios.log file, I see the following messages:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[1383580496] livestatus: Livestatus 1.2.2p2 by Mathias Kettner. Socket: '/var/lib/nagios/rw/live'<o:p></o:p></p>
<p class="MsoNormal">[1383580496] livestatus: Please visit us at http://mathias-kettner.de/<o:p></o:p></p>
<p class="MsoNormal">[1383580496] livestatus: Hint: please try out OMD - the Open Monitoring Distribution<o:p></o:p></p>
<p class="MsoNormal">[1383580496] livestatus: Please visit OMD at http://omdistro.org<o:p></o:p></p>
<p class="MsoNormal">[1383580496] livestatus: <span style="background:yellow;mso-highlight:yellow">
Unable to bind adress /var/lib/nagios/rw/live to UNIX socket: No such file or directory</span><o:p></o:p></p>
<p class="MsoNormal">[1383580496] Error: Function nebmodule_init() in module '/usr/local/lib/mk-livestatus/livestatus.o' returned an error. Module will be unloaded.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So it seems that the directory that the software is trying to use for the Unix socket doesn’t exist (confirmed this when attempting to browse to that directory). The installation instructions mention changing that file path (/var/lib/nagios/rw/live)
to the directory that Nagios Pipe resides in – but doesn’t specify the correct method for changing this file path, and I am also not familiar with what this file path is on Nagios Core 3.5installed on Ubuntu 12.04.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Do I just need to manualy create the directory /var/lib/nagios/rw/live possibly?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks folks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Daniel Ceola<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">System Administrator
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><u><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black"><a href="mailto:Daniel.Ceola@occfiber.com"><span style="color:blue">Daniel.Ceola@occfiber.com</span></a>
<o:p></o:p></span></u></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>