Add unixtime option #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "faust/check_expire:add-output"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Where 2592000 is 30 days in seconds.
Also, remove some trailing whitespaces.