MarcProe / node_check_mk_ssl

Check an HTTPS website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeQL Codacy Security Scan License: Unlicense

nodecheckssl

Simple test to get a rating for a HTTPS website from ssllabs.com, for use in check_mk

Use https://badssl.com/ for test cases.

Installation

sudo npm i -g

Usage

nodecheckssl host.com n

The check will return OK for any A rating, WARN for any B rating and CRIT for any other rating. The test will return CRIT if any certificate will expire in less than n days. Default is 7.

Disclaimer

This whole thing is not very sophisticated and will fail miserably if given bad parameters and most likely in a lot of other cases.

About

Check an HTTPS website

License:The Unlicense


Languages

Language:JavaScript 100.0%