metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METRON-132) Add Monit for Managing Sensors and Topologies
Date Wed, 04 May 2016 13:39:12 GMT

    [ https://issues.apache.org/jira/browse/METRON-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15270634#comment-15270634
] 

ASF GitHub Bot commented on METRON-132:
---------------------------------------

Github user nickwallen commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/103#discussion_r62039681
  
    --- Diff: metron-deployment/amazon-ec2/tasks/check-hosts.yml ---
    @@ -16,5 +16,5 @@
     #
     ---
     - name: Wait for connectivity to host(s)
    -  local_action: wait_for host={{ inventory_hostname }} state=started timeout=300 delay=10
    +  local_action: wait_for host={{ inventory_hostname }} state=started port=22 timeout=300
delay=10
    --- End diff --
    
    Yes, I wanted to call this out specifically to you, but forgot.  I have been adding this
"fix" in my working branch and then removing it before commits.  It has been working well
for me.
    
    Without specifying `port=22`, `wait_for` simply sleeps until the timeout.  Until now,
it has just been waiting 5 minutes, every time, no matter what the state of the hosts is.
    
    I have seen others using the following, but I think this wasn't working for you early
on?  This not only waits for the port to open, but also for SSH to be ready to respond.
    
    ```
    - local_action: wait_for port=22 host="{{ hostname }}" search_regex=OpenSSH delay=10
    ```


> Add Monit for Managing Sensors and Topologies
> ---------------------------------------------
>
>                 Key: METRON-132
>                 URL: https://issues.apache.org/jira/browse/METRON-132
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Nick Allen
>
> Need a simple way to manage all of the ingestion feeds for Metron.  Need to be able to
easily stop, start, restart, check status.  Also need these ingestion feeds to be monitored
so that if they go down, they will be restarted automatically.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message