Commit Graph

8 Commits

Author SHA1 Message Date
Stephane Bortzmeyer 9dc05e9c7b Error code outside of its visibility 2023-03-15 19:53:12 +00:00
Stephane Bortzmeyer a117da20b1 New ianardap module, with support for several RDAP servers 2022-11-09 15:01:28 +00:00
Stephane Bortzmeyer 42f67a7e64 Domain names are case-insensitive 2022-10-24 18:11:32 +02:00
Stephane Bortzmeyer ae00a81f79 New code to retrieve the database, more robust 2021-07-07 15:23:26 +02:00
Stephane Bortzmeyer 6b4f5b228e Timeouts in HTTP requests 2021-07-07 11:57:27 +02:00
Stephane Bortzmeyer 79032c1021 Fix usage and alphabetical order 2021-07-07 11:04:04 +02:00
Faustin Lammler 342f89844b
Add unixtime option
Add an option to return the expiration date in unixtime (time since
epoch).

  ./check_expire -H domain -u

It's particularly useful for alerting or monitoring systems that do
their own calculation based on the metric they receive (and not based on
exit codes).

For instance you can use the following in zabbix 5.4:
- item: check_expire["-H","{HOST.CONN}","-u"]
- trigger: last(/check_expire["-H","{HOST.CONN}","-u"])-now()<2592000

Where 2592000 is 30 days in seconds.
2021-07-07 10:13:50 +02:00
Stephane Bortzmeyer ab3feeec4a First version 2021-07-05 20:49:49 +02:00