Skip to content

Instantly share code, notes, and snippets.

View dragonsmith's full-sized avatar

Kirill Kuznetsov dragonsmith

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dragonsmith on github.
  • I am dr_agon (https://keybase.io/dr_agon) on keybase.
  • I have a public key ASCICVQrzh9awXFdvGYYbXWlXVuWgZ_SByYtmtqraQjd-Ao

To claim this, I am signing this object:

@dragonsmith
dragonsmith / check-ssl-expire.py
Created April 20, 2017 17:25 — forked from crashdump/check-ssl-expire.py
Report how many days before and http ssl certificate expire. I've also provided a template if you want to use it with Zabbix as an External Check: - Configure ExternalScripts variable in zabbix_server.conf - Put the script in the external script folder (I've used /etc/zabbix/externalscripts/) - Import the template & assign it to your host. - Wat…
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Adrien Pujol - http://www.crashdump.fr/"
__copyright__ = "Copyright 2013, Adrien Pujol"
__license__ = "Mozilla Public License"
__version__ = "0.3"
__email__ = "adrien.pujol@crashdump.fr"
__status__ = "Development"
__doc__ = "Check a TLS certificate validity."