Hi,

i think it is because my mail program sometimes has problems with newlines
in code samples.

Please open your shinken-specific.cfg again:

...
    perfdata_spool_filename  perfdata }
...

must be:

    perfdata_spool_filename  perfdata
}  


The bracket must be in a line of it's own.

Gerhard


> -----Ursprüngliche Nachricht-----
> Von: gilles SEBAN [mailto:gilles.se...@ryxeo.com] 
> Gesendet: Montag, 23. August 2010 16:01
> An: shinken-devel@lists.sourceforge.net
> Betreff: Re: [Shinken-devel] looking for pnp4shinken
> 
> Hi,
> and thanks Gerhard !
> 
> but i have an error when i try to launch broker, scheduler 
> and arbiter :
> 
> "Shinken require the Python Pyro module. Please install it."
> 
> The poller, reactionner don't have the problem and i have 
> pyro module installed.
> 
> maybe it's a problem of instructions order, because when i move (in
> shinken-scheduler.py,broker,arbiter)
> 
> try:
>     import shinken.pyro_wrapper
> except ImportError:
>     print "Shinken require the Python Pyro module. Please install it."
>     sys.exit(1)
> 
> Pyro = shinken.pyro_wrapper.Pyro
> 
> after
> 
>     sys.path.append(os.sep.join(elts))
> 
> 
> it works but i have another error :
> 
> 
> Opening configuration file
> /usr/local/shinken/bin/../etc/shinken-specific.cfg
> Traceback (most recent call last):
>   File "/usr/local/shinken/bin/../bin/shinken-arbiter.py", 
> line 655, in <module>
>     p.main()
>   File "/usr/local/shinken/bin/../bin/shinken-arbiter.py", 
> line 268, in main
>     self.conf.read_config(self.config_files)
>   File "/usr/local/shinken/shinken/config.py", line 342, in 
> read_config
>     self.read_config_buf(res)
>   File "/usr/local/shinken/shinken/config.py", line 418, in 
> read_config_buf
>     self.load_params(params)
>   File "/usr/local/shinken/shinken/config.py", line 262, in 
> load_params
>     self.params[elts[0]] = elts[1]
> IndexError: list index out of range
> 
> I continue to work on that
> 
> Thanks
> 
> Gilles
> 
> 
> Gerhard Lausser a écrit :
> > Hi,
> >
> > there's a broker module for that.
> > Add this to shinken-specific.cfg:
> >
> > define broker{
> > ....
> >        modules           Status-Dat, Simple-log, Npcdmod #<-----
> >
> >
> > define module{
> >        module_name              Npcdmod
> >        module_type              npcdmod
> >        config_file              /usr/local/pnp4nagios/etc/npcd.cfg
> > }
> >
> > or
> >
> > define module{
> >        module_name              Npcdmod
> >        module_type              npcdmod
> >        perfdata_file            /usr/local/shinken/var/perfdata
> >        perfdata_spool_dir       /usr/local/pnp4nagios/var/spool
> >        perfdata_spool_filename  perfdata }
> >
> > It works the same way as the npcdmod.o event broker module 
> and is used 
> > together with the npcd.
> >
> > Gerhard
> >
> >   
> >> -----Ursprüngliche Nachricht-----
> >> Von: gilles SEBAN [mailto:gilles.se...@ryxeo.com]
> >> Gesendet: Mittwoch, 18. August 2010 14:57
> >> An: shinken-devel@lists.sourceforge.net
> >> Betreff: [Shinken-devel] looking for pnp4shinken
> >>
> >> Hi,
> >>
> >> I'm a new user of shinken,
> >> I try to use pnp4nagios with shinken
> >> Is anybody has done this before ?
> >>
> >>
> >> Thanks
> >>
> >> Gilles
> >>
> >> --------------------------------------------------------------
> >> ----------------
> >> This SF.net email is sponsored by
> >>
> >> Make an app they can't live without
> >> Enter the BlackBerry Developer Challenge 
> >> http://p.sf.net/sfu/RIM-dev2dev 
> >> _______________________________________________
> >> Shinken-devel mailing list
> >> Shinken-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/shinken-devel
> >>
> >>     
> >
> >
> > 
> ----------------------------------------------------------------------
> > --------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge 
> > http://p.sf.net/sfu/RIM-dev2dev 
> > _______________________________________________
> > Shinken-devel mailing list
> > Shinken-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/shinken-devel
> >   
> 
> 
> --------------------------------------------------------------
> ----------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge 
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
> 
 

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 5390
(20100823) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com
 


------------------------------------------------------------------------------
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
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to