<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 09.06.2011 18:30, Tristan Drinkwater wrote:
<blockquote
cite="mid:764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style>
<!--
@font-face
{font-family:Wingdings}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi guys,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve followed the install instruction from
here (<a moz-do-not-send="true"
href="http://docs.pnp4nagios.org/pnp-0.4/install">http://docs.pnp4nagios.org/pnp-0.4/install</a>)
to install pnp4nagios v4 on my nagios 3.x running on a fedora
14 box but I’m stuck when verifying the install.</p>
</div>
</blockquote>
<br>
any specific reason not to use 0.6.x ?<br>
<br>
<blockquote
cite="mid:764BD5D0154F554C940E12CD96EE9D820D461C@ma-ex-01.micro-p.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">When I do <a class="moz-txt-link-freetext" href="http://servername/Nagios/pnp">http://servername/Nagios/pnp</a> my
first error is ‘Hostname is not set’ followed by ‘perfdata
folder is empty’ and ‘no rrd files’</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve looked and sure enough there are no
rrd files in the folder, plus there is no entry in the log
file.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">To me this suggests that Nagios isn’t
firing the command ‘process-service-perfdata’ after completing
a check.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">My commands.cfg file looks correct;</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"># Added by Tristan for PNP 4 Nagios</p>
<p class="MsoNormal">define command {</p>
<p class="MsoNormal"> command_name
process-service-perfdata</p>
<p class="MsoNormal"> command_line
/usr/local/nagios/libexec/process_perfdata.pl</p>
<p class="MsoNormal">}</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">define command {</p>
<p class="MsoNormal"> command_name
process-host-perfdata</p>
<p class="MsoNormal"> command_line
/usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA</p>
<p class="MsoNormal">}</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">And so is my Nagios.cfg file;</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">process_performance_data=1</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">host_perfdata_command=process-host-perfdata</p>
<p class="MsoNormal">service_perfdata_command=process-service-perfdata</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">these tow are the only things I’ve changed
from the default install.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any ideas what I’ve missed??</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any tips on how I can drill down further to
see what’s not happing and why?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks in advance <span
style="font-family: Wingdings;">J</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
color: gray;">Regards,</span></p>
<p class="MsoNormal" style=""><span style="font-size: 10pt;
color: gray;"> Tristan Drinkwater</span></p>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1"><br>
Micro Peripherals Limited.<br>
Registered Office: Shorten Brook Way, Altham Business Park,
Altham,<br>
Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282)
858790<br>
Micro Peripherals Limited. Registered in England No. 1511931.
VAT No. GB 864 4387 91<br>
<br>
DISCLAIMER:<br>
This e-mail and attachments are confidential and are intended
solely for the use of the individual to<br>
whom it is addressed. Any views or opinions presented are solely
those of the author and do not<br>
necessarily represent those of Micro Peripherals Limited.<br>
If you are not the intended recipient, be advised that you have
received this Email in error and that<br>
any use, dissemination, forwarding, printing, or copying of this
Email is strictly prohibited. If this<br>
transmission is received in error please notify the sender
immediately and delete this message from<br>
your E-mail system.<br>
All electronic transmissions to and from Micro Peripherals Ltd
are recorded and may be monitored.<br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ephox-dev2dev">http://p.sf.net/sfu/ephox-dev2dev</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</body>
</html>