<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Right, pnp4nagioS  seems slicker.<br><br>However, after i've installed it, i got this error , did you get that also? If so, how did you work around it? :<br>"<br><h3>PNP Error</h3>
Please check the Kohana documentation for information about the following error.<BR>
<tt>application/models/data.php <strong>[104]:</strong></tt><BR>
<code class="block">perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. Please check your Nagios config. <a href="http://docs.pnp4nagios.org/faq/3">Read FAQ online</a>"</code><BR><br><code class="block"></code><BR><code class="block">/Rik<br></code><BR><br><hr id="stopSpelling">From: PWilliamson@twgi.net<br>To: ej_seg@hotmail.com<br>Subject: RE: [Nagios-users] Nagiosgraper<br>Date: Tue, 14 Dec 2010 14:56:05 +0000<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML"><style>
.ExternalClass .ecxshape
{;}
</style><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass pre
{margin-bottom:.0001pt;font-size:10.0pt;font-family:'Courier New';}
.ExternalClass span.ecxHTMLPreformattedChar
{font-family:Consolas;}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxhtmlpreformattedchar
{;}
.ExternalClass span.ecxecxemailstyle20
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0in;margin-bottom:0in;margin-left:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxhtmlpreformattedchar1
{font-family:Consolas;}
.ExternalClass span.ecxecxemailstyle201
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0in;margin-left:0in;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle32
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}

</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Just the normal documentation.  I just need to “turn off” nagiosgrapher now.  Setup on pnp4n is much nicer.</span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> Rikard Dahlberg [mailto:ej_seg@hotmail.com] <br><b>Sent:</b> Tuesday, December 14, 2010 9:51 AM<br><b>To:</b> Paul Williamson<br><b>Subject:</b> RE: [Nagios-users] Nagiosgraper</span></p></div></div><p class="ecxMsoNormal"> </p><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>Thanks paul, i might just look into that.<br>Did you follow a specific guide or just the normal documentations?<br><br>/Rik</span></p><div class="ecxMsoNormal" style="text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><hr id="ecxstopSpelling" align="center" size="2" width="100%"></span></div><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From: PWilliamson@twgi.net<br>To: ej_seg@hotmail.com<br>Subject: RE: [Nagios-users] Nagiosgraper<br>Date: Tue, 14 Dec 2010 14:52:04 +0000</span></p><div><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">I just went down the same road, and I think you’d be better served to go with pnp4nagios.  It’s what the “official” Nagios commercial distribution uses, so there’s more hope for longer term support.  Plus, setting up nagiosgrapher, while not bad, is way more involved than pnp4nagios.</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">Paul</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-color: -moz-use-text-color;"><p class="ecxMsoNormal"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> Rikard Dahlberg [mailto:ej_seg@hotmail.com] <br><b>Sent:</b> Tuesday, December 14, 2010 9:42 AM<br><b>To:</b> nagios-users@lists.sourceforge.net<br><b>Subject:</b> [Nagios-users] Nagiosgraper</span></p></div></div><p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"> </span></p><p class="ecxMsoNormal" style="margin-bottom: 12pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Heya!<br><br>im currently trying to get a decent graphicsystem online to somewhat replace our Cacti. I know nagiosgraph doesn't really do that but it does fit our needs :)<br>Im trying to re-write this config file to create nice shiney graphs for my monitored services, but so far no luck. <br><br>This is the template for ping, but if i would change it for maybe checking CPU Load, how would I do so? What are the variables i need to change, this is what i cant figure out.<br>Worth knowing is that our more or less whole system is built on passive checks that now (Thanks alot to Greg on this mailing list) works flawless.<br><br>I have also edited nagios.cfg to enable performance graphing, so that is OK :)</span></p><pre>#---<br>#NagiosGrapherTemplateforcheck_ping<br>#Author:MariusHein<br>#---<br><br>define ngraph{<br>       service_name        PING<br>       graph_log_regex        loss = (\d+)<br>       graph_value        Loss<br>       graph_units        %<br>       graph_legend        Loss<br>       graph_legend_eol    none<br>       page            2 Loss<br>       rrd_plottype        LINE2<br>       rrd_color        ff0000<br>}<br><br>#PingDEFRTA<br>define ngraph{<br>       service_name        PING<br>       graph_log_regex        rta = (\d+[,\.]\d+)<br>       graph_value        RTA<br>       graph_units        ms<br>       graph_legend        RTA<br>       page            1 RTA<br>       rrd_plottype        AREA<br>       rrd_color        00a000<br>}<br><br>#PingVDEF,AverageRTA<br>define ngraph{<br>       service_name        PING<br>       type            VDEF<br>       graph_value        vdef_ping_average<br>       graph_units<br>       graph_legend        RTA Average<br>       graph_calc        RTA,AVERAGE<br>       graph_legend_eol    LEFT<br>       page            1 RTA<br>       rrd_plottype        LINE1<br>       rrd_color        0000ff<br>       hide            no<br>}</pre></div></div>                                        </body>
</html>