FYI: I created issue #975 about the too many contacts issue I found.
Roy

On 8/15/13 3:14 PM, Olivier Hanesse wrote:
In fact, we should add : Pyro > 4.12 and Pyro < 4.16 in the requirements so Pyro 4.13/14/15 as known to work well :)



2013/8/15 Roy Marantz <[email protected] <mailto:[email protected]>>

    To answer my own question, pyro 4.14 seems to work.  at least
    everything now starts and all network ports are being listened to.
    Thanks.
    Roy


    On 8/15/13 10:53 AM, Roy Marantz wrote:
    shinken installation requirements
    <http://www.shinken-monitoring.org/wiki/shinken_installation_requirements>
    says:

 #
    pyro <http://pypi.python.org/pypi/Pyro4> Python package

     *
        version 3.x for Debian Squeeze
     *
        version < 4.14 if running Shinken 1.0.1
     *
        version 3.x, 4.x and if you can 4.15 for Shinken 1.2 and newer

    Don't I need at least pyro 4.15?
    Thanks.
    Roy

    On 8/15/13 10:20 AM, Francois Mikus wrote:
    Use Pyro 4.14, do not use serpent.

    On 13-08-15 10:13 AM, Roy Marantz wrote:
    I installed shinken 1.4 with pyro 4.20 and serpent 1.2 and am
    trying to run with an unchanged /etc/shinken.  While everything
    seems to start correctly, I don't see the livestatus port
    (5000) nor the WebUI port (7767) being listened on.  I set
    use_local_log=1 and log_level=DEBUG in /etc/shinken/*.ini and
    /var/log/shinken/schedulerd.log has the following:

    2013-08-15 13:56:02,074 [1376574962] Info : Using the local log
    file '/var/log/shinken/schedulerd.log'
    2013-08-15 13:56:05,281 [1376574965] Warning : Printing stored
    debug messages prior to our daemonization
    2013-08-15 13:56:05,282 [1376574965] Debug : modulemanager file
    /usr/lib/python2.6/site-packages/shinken/modulesmanager.pyc
    2013-08-15 13:56:05,282 [1376574965] Debug : modulemanager
    absolute file
    /usr/lib/python2.6/site-packages/shinken/modulesmanager.pyc
    2013-08-15 13:56:05,282 [1376574965] Debug : Using modules
    path: /usr/lib/python2.6/site-packages/shinken/modules
    2013-08-15 13:56:05,282 [1376574965] Debug : Successfully
    changed to workdir: /var/lib/shinken
    2013-08-15 13:56:05,282 [1376574965] Debug : Opening pid file:
    /var/run/shinken/schedulerd.pid
    2013-08-15 13:56:05,283 [1376574965] Debug : Redirecting stdout
    and stderr as necessary..
    2013-08-15 13:56:05,283 [1376574965] Debug : We are now fully
    daemonized :) pid=30113
    2013-08-15 13:56:05,297 [1376574965] Info : [scheduler] General
    interface is at: PYRO:[email protected]:7768
    <mailto:PYRO:[email protected]:7768>
    2013-08-15 13:56:05,297 [1376574965] Info : Waiting for initial
    configuration
    2013-08-15 13:56:22,368 [1376574982] Debug : The arbiter asked
    me what I manage. It's {}
    2013-08-15 13:56:22,405 [1376574982] Warning : Someone is
    talking to me in a strange language!
    2013-08-15 13:56:23,424 [1376574983] Warning : Someone is
    talking to me in a strange language!
    2013-08-15 13:56:24,470 [1376574984] Warning : Someone is
    talking to me in a strange language!
    ...
    2013-08-15 13:57:21,905 [1376575041] Warning : Someone is
    talking to me in a strange language!
    2013-08-15 13:57:22,984 [1376575042] Debug : The arbiter asked
    me what I manage. It's {}
    2013-08-15 13:57:22,999 [1376575042] Warning : Someone is
    talking to me in a strange language!
    ...

    I would guess there is a problem with pyro.  I wrote this patch
    to stop the processes from crashing:

    diff -u
    /usr/lib/python2.6/site-packages/shinken/pyro_wrapper.py{.ORIG,}
    ---
    /usr/lib/python2.6/site-packages/shinken/pyro_wrapper.py.ORIG
    2013-08-06 01:44:05.000000000 +0000
    +++ /usr/lib/python2.6/site-packages/shinken/pyro_wrapper.py
    2013-08-15 13:50:31.351125005 +0000
    @@ -116,7 +116,7 @@
                     pass
                 # Maybe it's just a protocol error, like someone
    with a telnet
                 # tying to talk with us, bypass this
    -            except ProtocolError:
    +            except Pyro.errors.ProtocolError:
                     pass
                     logger.warning("Someone is talking to me in a
    strange language!")

    @@ -240,7 +240,7 @@
                     else:
    Pyro.core.Daemon.events(self, [s])
                 # Catch bad protocol attemps, like a telnet connexion
    -            except ProtocolError:
    +            except Pyro.errors.ProtocolError:
                     pass
                     logger.warning("Someone is talking to me in a
    strange language!")

    I believe I've read of others getting pyro 4.20 to work, but
    perhaps not or my patch is wrong.

    Any ideas on how to proceed?
    Thanks.
    Roy

    On 8/15/13 7:27 AM, Roy Marantz wrote:
    Hi,
    I did try stripping my configuration to just the contacts.cfg
    and then shrunk that file in order to arrive at the conclusion
    that that was the cause.  I will try 1.4 and see if that makes
    a differences.

    Since my testing has been using a single host (as the 10
    minute quick start configures) the software version skew
    problems can't happen.

    If 1.4 fails, I'll sanitize the contacts.cfg file and send the
    configs as a reply.
    Thanks for the advice.
    Roy

    On 8/15/13 3:24 AM, nap wrote:



    On Thu, Aug 15, 2013 at 1:43 AM, Francois Mikus
    <[email protected] <mailto:[email protected]>> wrote:

        Hello,

        I would suggest trying 1.4. A lot of major performance
        and stability
        fixes were added.

        If you strip your configuration and just add your 168
        contacts do you
        still get the problem. If so just open a case on the
        Shinken github and
        copy your configuration.
        Jean should be able to quickly fix it as this is a core
        issue.

        As to scalability, unless you hit an odd bug or a known
        bug, you should
        be ok.

        Also make sure to follow the guidelines. (All same python
        version, same
        pyro version on all hosts running Shinken).

        Good luck, Shinken is an interesting beast that has lots
        of potential.

        Cheers,

        X.



    Hi,


    For 1: can you post your configuration objects so we can get
    a try?

    2: there is no limit in objects numbers, and all objects are
    managed like the others, so I don't see a reason why you got
    a lock here. Can you send me your configuration or reproduce
    it in a test case so we can work on it?


    Thanks,


    Jean


    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


    _______________________________________________
    Shinken-devel mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel



    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


    _______________________________________________
    Shinken-devel mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel



    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


    _______________________________________________
    Shinken-devel mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel



    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


    _______________________________________________
    Shinken-devel mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel



    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


    _______________________________________________
    Shinken-devel mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel


    
------------------------------------------------------------------------------
    Get 100% visibility into Java/.NET code with AppDynamics Lite!
    It's a free troubleshooting tool designed for production.
    Get down to code-level detail for bottlenecks, with <2% overhead.
    Download for free and get started troubleshooting in minutes.
    http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
    _______________________________________________
    Shinken-devel mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/shinken-devel




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Shinken-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to