sensu-plugins / sensu-plugins-network-checks

This plugin provides native network instrumentation for monitoring and metrics collection, including: hardware, TCP response, RBLs, whois, port status, and more.

Home Page:http://sensu-plugins.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Add retries parameter to check-ports.rb

jholle opened this issue · comments

Usually things that test connections provide a number of retries. I am aware that similar behavior by modifying my "occurrences" in my check definition. However, it's not quite the same and takes much longer to get a result. For example, my check runs every 2 minutes. Getting a 30 timeout, then waiting 1.5 minutes to test again and repeating isn't as useful as 2 rapid retries in succession to test a app server.
Thoughts?

sounds good, do you think you would be able to put together a pr?