In case of problems there is a script called <code>verify_pnp_config.pl</code> located on <ahref="http://verify.pnp4nagios.org"class="urlextern"title="http://verify.pnp4nagios.org"rel="nofollow">http://verify.pnp4nagios.org</a>. It enables you to check the configuration settings as well as performance data of hosts or services. It can be used prior and during runtime of PNP.
The verify script is located on <ahref="http://verify.pnp4nagios.org"class="urlextern"title="http://verify.pnp4nagios.org"rel="nofollow">http://verify.pnp4nagios.org</a> and needs three start options
</p>
<ul>
<liclass="level1"><divclass="li"><code>--mode</code> One of the modes described on <ahref="/pnp-0.6/modes"class="wikilink1"title="pnp-0.6:modes">modes</a></div>
</li>
<liclass="level1"><divclass="li"><code>--config</code> Location of nagios.cfg or icinga.cfg</div>
</li>
<liclass="level1"><divclass="li"><code>--pnpcfg</code> Path to PNP´s etc directory</div>
</li>
</ul>
<p>
Calling <code>perl verify_pnp_config</code> will show the available options.
Starting with <code>0.6.19-R.37</code> (2013-02-17) the script will accept the option <code>--object</code> (or <code>-o</code>) followed by a string to specify a host name and/or service description to additionally show performance data (if any) of the object(s) found. The data is enclosed in brackets, followed by the value of the directive <code>process_performance_data</code> (<code>ppd</code>=n).
</p>
<p>
<code>host</code> = show performance information for host <code>host</code><br/>
<code>;service</code> = show performance information for service <code>service</code><br/>
<code>host;service</code> = show performance information for service <code>service</code> on host <code>host</code>
</p>
<p>
The strings are taken as regular expressions (perl syntax).