18 Commits (master)
 

Author SHA1 Message Date
Stephane Bortzmeyer 9dc05e9c7b Error code outside of its visibility 3 months ago
Stephane Bortzmeyer b3709c64e9 TODO task done 7 months ago
Stephane Bortzmeyer 46538fa620 * Tests updated
* Correct handling of forced refresh
7 months ago
Stephane Bortzmeyer a117da20b1 New ianardap module, with support for several RDAP servers 7 months ago
Stephane Bortzmeyer 42f67a7e64 Domain names are case-insensitive 7 months ago
Stephane Bortzmeyer 7ddffa7fa5 Read and apply IANA's caching instructions. Closes #3 8 months ago
Stephane Bortzmeyer 04fb72e408 Pickle implemented (but not activated by default). Closes #1 2 years ago
Stephane Bortzmeyer ae00a81f79 New code to retrieve the database, more robust 2 years ago
Stephane Bortzmeyer 09f5ccc3e4 Small cleanups 2 years ago
Stephane Bortzmeyer 65d8deb569 Documentation of timeout 2 years ago
Stephane Bortzmeyer 6b4f5b228e Timeouts in HTTP requests 2 years ago
Stephane Bortzmeyer a3a1f8c0d4 Lock the cache file 2 years ago
Stephane Bortzmeyer 79032c1021 Fix usage and alphabetical order 2 years ago
bortzmeyer 86436ef1f0 Merge pull request 'Add unixtime option' (#2) from faust/check_expire:add-output into master
Reviewed-on: #2
2 years ago
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.
2 years ago
Stephane Bortzmeyer 5c8a6af546 Icinga template 2 years ago
Stephane Bortzmeyer ab3feeec4a First version 2 years ago
bortzmeyer 887e30d86a Initial commit 2 years ago