Coder Social home page Coder Social logo

vazeri / zabbix-ssl-certificate-check-with-grade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hermanekt/zabbix-ssl-certificate-check-with-grade

0.0 0.0 0.0 6.02 MB

This is template and howto for SSL expiration check and grading SSL certificate deployment.

Shell 100.00%

zabbix-ssl-certificate-check-with-grade's Introduction

Zabbix SSL Certificate template (grading included)

This a guide on howto deploy and configure this template for SSL expiration check and grading SSL certificate deployment.

Monitoring:

  1. Running HTTPS service (port)
  2. Certificate issuer
  3. Certificate expiration
  4. Certificate installation grade with SSL Labs API.

Latest data alt SSL latest data

Items alt SSL items

Triggers alt SSL triggers

Macros alt SSL macros

Install instruction

The following steps need to be performed on all zabbix servers (or proxy servers respectively).

CentOS, RHEL

yum install zabbix-sender

Debian, Ubuntu

apt-get install zabbix-sender

Clone the repository

cd /tmp
git clone [email protected]:hermanekt/Zabbix-ssl-certificate-check-with-grade.git

Copy scripts to their respective locations

cp /tmp/Zabbix-ssl-certificate-check-with-grade/ssllabs_checker.sh /usr/lib/zabbix/externalscripts
cp /tmp/Zabbix-ssl-certificate-check-with-grade/ssllabs_checker_at.sh /usr/lib/zabbix/externalscripts
cp /tmp/Zabbix-ssl-certificate-check-with-grade/zext_ssl_expiry.sh /usr/lib/zabbix/externalscripts
cp /tmp/Zabbix-ssl-certificate-check-with-grade/zext_ssl_issuer.sh /usr/lib/zabbix/externalscripts

Set an execution bit

chmod +x zext_ssl_*
chmod +x ssllabs_checker*

Install GO or copy over the pre-compiled package 'ssllabs-scan' (version v1.35.1)

Here you have 2 options - either to use the precompiled package I've provided, or you can build your own package from scratch.

1) Copy the package

cp /tmp/Zabbix-ssl-certificate-check-with-grade/ssllabs-scan /usr/lib/zabbix/externalscripts
chmod +x /usr/lib/zabbix/externalscripts/ssllabs-scan

OR

1) Install GOlang

CentOS, RHEL

yum install golang

Debian, Ubuntu

apt-get install golang

2) Build sslabs-scan package

cd /tmp
git clone https://github.com/ssllabs/ssllabs-scan/
cd ssllabs-scan/
go build
mv /tmp/ssllabs-scan/ssllabs-scan /usr/lib/zabbix/externalscripts/
cd && rm -rf /tmp/ssllabs-scan/

Clean up the server

rm -rf /tmp/Zabbix-ssl-certificate-check-with-grade

Import the template to zabbix frontend

File: Template_SSL_Certificates.xml

Create dummy host and link the template to it

Dummy host with hostname is URL name for example https://www.google.com/ hostname is: www.google.com

Host connection: alt SSL Host Connection

Host template: alt SSL Host template

paypal

zabbix-ssl-certificate-check-with-grade's People

Contributors

hermanekt avatar vomej avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.