Hi list,<br><br>I'm trying to setup and configure pnp4nagios [v0.6.6] on a currently working Nagios Core [v3.2.0] system running on openSUSE 11.1<br><br>I installed pnp4nagios from source and also installed rrdtool using an rpm. All was going well until I tried to verify the pnp configuration. Below are the<br>
specific errors;<br><br><br><i style="color: rgb(255, 0, 0);">the-host:/usr/local/pnp4nagios/libexec # ./<a href="http://verify_pnp_config.pl">verify_pnp_config.pl</a> -m sync<br><br>Check Nagios/Icinga/PNP integration, v0.1.21<br>
<br>[I] OS: Welcome to openSUSE 11.1 - Kernel  ().<br>[I] Perl: 5.010000<br>[I] Package Manager: /bin/rpm<br>[I] Package: "php5-5.2.6-49.11"<br>[I] Package: "dejavu-2.26-1.41"<br>[I] install_opts: -o nagios -g nagios<br>
[I] PNP-version: 0.6.6<br>[I] using Nagios basedir "/usr/local/nagios"<br>[I] using Nagios config "/usr/local/nagios/etc/nagios.cfg"<br>[I] using Nagios binary "/usr/local/nagios/bin/nagios"<br>
[I] PNP mode: "sync"<br>[I] Nagios info: Nagios Core 3.2.0<br>[A] verifying Nagios config<br>[A] processing "/usr/local/nagios/etc/nagios.cfg"<br>[I] nagios_user=nagios<br>[I] nagios_group=nagios<br>[A] checking RRDtool (/usr/bin/rrdtool)<br>
[I] RRDtool: RRDtool 1.2.26<br>[I] RRDs perl module not installed<br>[A] processing "/usr/local/nagios/etc/resource.cfg"<br>[I] using "/usr/local/nagios/var/objects.cache" entries<br>[E] value "/usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out" for "service_perfdata_command" is invalid<br>
[H] <a href="http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode">http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode</a><br>[E] value "/usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /usr/local/nagios/var/host-perfdata.out" for "host_perfdata_command" is invalid<br>
[H] <a href="http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode">http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode</a><br>[A] processing "/usr/local/pnp4nagios/etc/process_perfdata.cfg-sample"<br>[I] (rra_cfg) file "/usr/local/pnp4nagios/etc/rra.cfg" doesn't exist (yet)<br>
[I] (log_file) file "/usr/local/pnp4nagios/var/perfdata.log" doesn't exist (yet)<br>[A] processing "/usr/local/pnp4nagios/etc/config.php"<br>[E] ($conf['template_dirs']) directory "/usr/local/check_mk/pnp-templates" is missing<br>
[A] checking of RRDpath "/usr/local/pnp4nagios/var/perfdata"<br>[E] 0 dir(s) but NO rrd files => NO graphs!<br><br>Errors found. Please check the settings and have a look at the documentation.</i><br><br><br>
In my commands.cfg file, I have the following configuration as shown in the excerpt below;<br><br><i style="color: rgb(255, 0, 0);"># 'process-host-perfdata' command definition<br>define command {<br>       command_name    process-service-perfdata<br>
       command_line    /usr/bin/perl /usr/local/pnp4nagios/libexec/<a href="http://process_perfdata.pl">process_perfdata.pl</a><br>}<br><br># 'process-service-perfdata' command definition<br>define command {<br>       command_name    process-host-perfdata<br>
       command_line    /usr/bin/perl /usr/local/pnp4nagios/libexec/<a href="http://process_perfdata.pl">process_perfdata.pl</a> -d HOSTPERFDATA<br>}</i><br><br><br>Would anyone know why I'm getting the errors highlighted above? Kindly point me in the right direction.<br>
<br><br>Thanks,<br>Juki<br><br><br>