Code Monkey home page Code Monkey logo

zabbix-ssl's Introduction

zabbix-ssl

Zabbix check SSL certificates

We have to different ways to check for ssl certificates

  1. If you have only one certificate per IP address, use the standard templates along with the ssltls.check script
  2. If you use multiple SSL certificates per IP address, then you need to use the ssltls-sni.check and Template_App_HTTPS_Autodiscovery.xml

This script and the templates allow your zabbix server to validate SSL certificates.

It supports direct SSL/HTTPS checks as well as STARTTLS connections Supported check types

  • simple Checks if SSL is active
  • startdate Startdate of certificate
  • enddate Enddate of certificate
  • lifetime How long the certificate is valid
  • ssl3 SSLv3 active ? (Poodle vulnerable) This only works when your openssl binaries still have built in ssl3 support
  • digestmode Hash algorithm (For example detect SHA1 certificates)

How to install

  • Download the ssltls.check file to your Zabbix Server external script directory (Or your proxy if the servers are behind a Zabbix proxy) For example ExternalScripts=/usr/lib/zabbix/externalscripts
  • Make it executable
  • Import the templates for the different check types in your zabbix server
  • Assign the templates to the hosts you wish to monitor

Additional setup required for SNI

Only needed if you have multiple certificates on the same IP+Port

  • Put the /etc/zabbix/zabbix_agentd.d/ssl-sites.conf in the config directory of your client agent (The server where your sites reside)
  • Put the /etc/zabbix/ssl_sites.json in the config directory of your client agent (The server where your sites reside) and modify the list of sites which should be checked. This is the list of certificates to check on this server Make sure it has a valid json syntax
  • Restart the zabbix agent

(C) 2017 André Schild <a.schild aarboard.ch>

zabbix-ssl's People

Contributors

a-schild avatar cbricart avatar

Watchers

 avatar  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.