Description
This plugin is used to monitor the remaining days to expire a specific domain.
Compatible versions
- OpMon 6.0 or higher.
Requirements
- You must to install package jwhois.
Example of use and return of command
You must access the command directory before running it trough the following path: /usr/local/opmon/libexec/opservices/
On this example shown below you can see the remaining days for expiration of a domain.
[root@opmon]# ./check_remaining_days.sh -d dominio.com.br -w 5 -c 3 Dias restantes para expiração do domínio: 10
Where:
-d: domain to be check;
-w: Warning threshold;
-c: Critical threshold;
Use the following command to see more options available on plugin.
[root@opmon]# ./check_remaining_days.sh --h