Hi,
Ok I understood my mistake.
The steps missing in installation of pnp4nagios were:
- make install-init
- /etc/init.d/npcd start
Thank you very much for help!
Regards,
Gauthier
2011/8/24 Gerhard Lausser <gerhard.laus...@consol.de>
> Hi,
>
> you should have a npcd.cfg-sample which you simply rename to npcd.cfg. The
> parameters inside the file should be already correct.
> http://docs.pnp4nagios.org/pnp-0.6/npcd
> Then you have to start the npcd daemon with the included init-script.
>
> Gerhard
>
> > -----Ursprüngliche Nachricht-----
> > Von: Gauthier DOUCHET [mailto:gauthier.douc...@gmail.com]
> > Gesendet: Mittwoch, 24. August 2011 08:21
> > An: shinken-devel@lists.sourceforge.net
> > Betreff: Re: [Shinken-devel] Question about Shinken and PNP4Nagios
> >
> > Hi,
> >
> > Thank you for your quick answer.
> >
> > Ok, what you said is what I supposed about Shinken and PNP
> > (and what I hoped!). So I well followed the link you mentionned.
> >
> > In my shinken-specific.cfg, I put that:
> > #The broker manages data export (in flat file or in database)
> > #Here just log files and status.dat file
> > define broker{
> > broker_name broker-master
> > address isp-inf-03-vm
> > port 7772
> > spare 0
> > realm All
> > manage_sub_realms 1
> > manage_arbiters 1
> > modules Status-Dat, Simple-log, NPCD, Livestatus
> > }
> >
> > #The broker manages data export (in flat file or in database)
> > #Here just log files and status.dat file
> > define broker{
> > broker_name broker-slave
> > address isp-inf-05-vm
> > port 7772
> > spare 1
> > realm All
> > manage_sub_realms 1
> > manage_arbiters 1
> > modules Status-Dat, Simple-log, NPCD, Livestatus
> > }
> >
> > And for the definition of the module:
> > #Use with the PNP interface
> > define module{
> > module_name NPCD
> > module_type npcdmod
> > config_file /usr/local/pnp4nagios/etc/npcd.cfg
> > }
> >
> > You said to install pnp in npcd mode, is there a special
> > option to put in the configure command before compiling?
> > I installed pnp4nagios like that:
> > 1) aptitude install rrdtool librrds-perl php5-gd
> > 2) wget
> > http://freefr.dl.sourceforge.net/project/pnp4nagios/PNP-0.6/pn
> > p4nagios-0.6.14.tar.gz
> > 3) tar zxvf pnp4nagios-0.6.14.tar.gz
> > 4) cd pnp4nagios-0.6.14
> > 5) ./configure --with-nagios-user=shinken --with-nagios-group=shinken
> > 6) make all
> > 7) make install
> > 8) make install-webconf
> > 9) make install-config
> >
> > Do I forget something?
> >
> > Gauthier
> >
> >
> > 2011/8/24 Gerhard Lausser <gerhard.laus...@consol.de>
> >
> >
> > Hi Gauthier,
> >
> >
> > > process_performance_data=1
> > ok.
> >
> >
> >
> > >
> > service_perfdata_file=/usr/local/nagios/var/service-perfdata
> > > service_perfdata_file_template=DATATYPE::SERVICEPERFDATAtTIMET
> >
> > > host_perfdata_file_template=DATATYPE::HOSTPERFDATAtTIMET::$TIM
> >
> > ....
> >
> > >
> > host_perfdata_file_processing_command=process-host-perfdata-file
> >
> > You don't need these parameters any more, simply delete
> > them. (Also in a
> > Nagios/PNP-Setup they are old-fashioned. You better use
> > the npcdmod broker
> > module)
> >
> > For PNP and Shinken, you edit the file
> > shinken-specific.cfg like this:
> > http://www.shinken-monitoring.org/wiki/use_with_pnp
> >
> > There should already be a section "define module {
> > module_name NPCD...."
> > Just make sure that NPCD appears in the list of modules
> > of the "define
> > broker..." section.
> >
> > You should install PNP in npcd mode, so there will be a
> > npcd.cfg file which
> > you need in the module definition.
> >
> >
> > Gerhard
> >
> >
> > __________ Hinweis von ESET NOD32 Antivirus,
> > Signaturdatenbank-Version 6404
> > (20110823) __________
> >
> > E-Mail wurde gepruft mit ESET NOD32 Antivirus.
> >
> > http://www.eset.com
> >
> >
> >
> >
> > --------------------------------------------------------------
> > ----------------
> > EMC VNX: the world's simplest storage, starting under $10K
> > The only unified storage solution that offers unified management
> > Up to 160% more powerful than alternatives and 25% more
> > efficient.
> > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> > _______________________________________________
> > Shinken-devel mailing list
> > Shinken-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/shinken-devel
> >
> >
> >
> >
> >
> > --
> > Gauthier DOUCHET
> >
> >
> >
> > __________ Hinweis von ESET NOD32 Antivirus,
> > Signaturdatenbank-Version 6404 (20110823) __________
> >
> >
> > E-Mail wurde geprüft mit ESET NOD32 Antivirus.
> >
> >
> > http://www.eset.com
> >
> >
>
>
> __________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 6404
> (20110823) __________
>
> E-Mail wurde geprüft mit ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
--
Gauthier DOUCHET
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel