Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-whois-domain-expiration.rb warn and crit flags reversed #81

Open
aww-yiss opened this issue Aug 29, 2018 · 0 comments
Open

check-whois-domain-expiration.rb warn and crit flags reversed #81

aww-yiss opened this issue Aug 29, 2018 · 0 comments

Comments

@aww-yiss
Copy link

aww-yiss commented Aug 29, 2018

Alerting flag appear to be handled reversed based on warning and critical thresholds

root@sensu0:/opt/sensu/embedded/bin ./check-whois-domain-expiration.rb -d dyn.com
WhoisDomainExpirationCheck OK: dyn.com expires on 08-04-2019 (339 days away)

root@sensu0:/opt/sensu/embedded/bin ./check-whois-domain-expiration.rb -d dyn.com  -w 340
WhoisDomainExpirationCheck CRITICAL: dyn.com expires on 08-04-2019 (339 days away)

root@sensu0:/opt/sensu/embedded/bin# ./check-whois-domain-expiration.rb -d dyn.com  -c 340
WhoisDomainExpirationCheck WARNING: dyn.com expires on 08-04-2019 (339 days away)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant