Hello list<br><br>I am using nagios 3.0.1 ie the stable version in Ubuntu 7.10. I have installed pnp4 0.4.9 .I<br><br>I have made changes as per documentation for pnp4 for default mode <br><br> nagios.cfg file.<br><pre class="code">
process_performance_data=1<br>service_perfdata_command=process-service-perfdata<br>host_perfdata_command=process-host-perfdata<br><br><font size="4">commands.cfg file <br><br></font>define command {<br> command_name process-service-perfdata<br>
command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl<br>}<br><br>define command {<br> command_name process-host-perfdata<br> command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA<br>
}<br><br><font size="4">Added following changes in windows.cfg file<br><br></font>define host {<br> name host-pnp -------do i need to change this name ?<br> register 0<br> action_url /nagios/pnp/index.php?host=$HOSTNAME$<br>
}<br><br>define service {<br> name srv-pnp<br> register 0<br> action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$<br>}<br><br> <font size="4">also in each service for which i want data processing the following line </font><br>
<br>define service {<br> ...<br> process_perf_data 1<br> ...<br>}<br><br>now when i try to view the pages it says <br><br></pre><div id="Inhalt">
<p id="ok"> Initalising </p>
<p id="ok"> Using /usr/local/nagios/share/perfdata/</p>
<p id="ok"> RRDTool /usr/bin/rrdtool found.</p>
<p id="ok"> RRDTool /usr/bin/rrdtool is executable </p>
<p id="ok"> PHP Function proc_open is enabled </p>
<p id="ok"> PHP Function fpassthru is enabled </p>
<p id="ok"> PHP Function xml_parser_create is enabled </p>
<p id="ok"> PHP zlib Support found.</p>
<p id="ok"> PHP GD Support found.</p>
<p id="ok"> RRD Base Directory /usr/local/nagios/share/perfdata/ found.</p>
<p id="critical"> Hostname is not set.</p><br><p id="critical"><br></p><p id="critical">appreciate some help on this !!<br></p><br><p id="critical"><br></p><p id="critical">Regards</p><p id="critical">Michael</p><p id="critical">
AT& T<br></p>
</div><pre class="code"><br></pre>