Re: [Shinken-devel] looking for pnp4shinken
Status: Beta
Brought to you by:
naparuba
From: gilles S. <gil...@ry...> - 2010-08-23 14:00:54
|
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:gil...@ry...] >> Gesendet: Mittwoch, 18. August 2010 14:57 >> An: shi...@li... >> 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 >> Shi...@li... >> 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 > Shi...@li... > https://lists.sourceforge.net/lists/listinfo/shinken-devel > |