pnp4nagios configuration errors - SOLVED

Julius Kidubuka juki.emma at gmail.com
Wed Aug 25 07:40:19 CEST 2010


Thanks for your input Joerg.

I figured out that I forgot to restart Nagios after making the various
configurations - my bad!




On 24 August 2010 12:01, Joerg Linge <pitchfork at ederdrom.de> wrote:

> Am 24.08.10 09:32, schrieb Julius Kidubuka:
> > Hi list,
>
> Hi Julius,
> there are other support channels available for pnp4nagios then the
> nagios-users list.
>
> http://docs.pnp4nagios.org/pnp-0.6/about#support
>
>
> > 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
> >
> > 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
> > specific errors;
> >
> >
> > *the-host:/usr/local/pnp4nagios/libexec # ./verify_pnp_config.pl -m sync
> >
> > Check Nagios/Icinga/PNP integration, v0.1.21
> >
> > [I] OS: Welcome to openSUSE 11.1 - Kernel  ().
> > [I] Perl: 5.010000
> > [I] Package Manager: /bin/rpm
> > [I] Package: "php5-5.2.6-49.11"
> > [I] Package: "dejavu-2.26-1.41"
> > [I] install_opts: -o nagios -g nagios
> > [I] PNP-version: 0.6.6
> > [I] using Nagios basedir "/usr/local/nagios"
> > [I] using Nagios config "/usr/local/nagios/etc/nagios.cfg"
> > [I] using Nagios binary "/usr/local/nagios/bin/nagios"
> > [I] PNP mode: "sync"
> > [I] Nagios info: Nagios Core 3.2.0
> > [A] verifying Nagios config
> > [A] processing "/usr/local/nagios/etc/nagios.cfg"
> > [I] nagios_user=nagios
> > [I] nagios_group=nagios
> > [A] checking RRDtool (/usr/bin/rrdtool)
> > [I] RRDtool: RRDtool 1.2.26
> > [I] RRDs perl module not installed
> > [A] processing "/usr/local/nagios/etc/resource.cfg"
> > [I] using "/usr/local/nagios/var/objects.cache" entries
> > [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
> > [H] http://docs.pnp4nagios.org/pnp-0.6/config#sync_mode
> > [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
>
> This config is wrong while using synchronous mode.
>
> http://docs.pnp4nagios.org/pnp-0.6/config
>
> Please check nagios.cfg for service_perfdata_command and
> host_perfdata_command
>
> Joerg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100825/0e57d259/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list