...
Alert levels are defined as follows:
Days before expiration (date limited license) | Hours before expiration (time limited license) | Alert Level |
---|
More than 7 | More than 72 hours | INFORMATIONAL |
Between 4 and 7 | Between 49 and 72 hours | MINOR |
Between 2 and 3 | Between 25 and 48 hours | MAJOR |
Less than 2 | Between 0 and 24 hours | CRITICAL |
< 0 | 0 hours and 0 minutes |
Highlight |
---|
|
Example
Command line parameters
...
Example (command executed on 0921-Jul-2020):
# /opt/charon/utils/charon_expchk 15 -nomail -expdat=1224-Jul-2020 |
...
The command above, with forced expiration date, will provide the following results:
...
- $1 = level that can be (case sensitive): Informational, Minor, MAJOR, CRITICAL, EXPIRED or NEUTRAL
- Note: NEUTRAL is sent when no alert is detected, used to send counter alert.
- $2 = message starting with ":" followed by the license expiration date, the license number and the product.
- Example:
: 1224-Jul-2020. License: 1001687. Product: CHARON-AXP
...
Script example using Zabbix software:
...
...
...
#-------------------------------------------------------------------------------
|
|
...
...
...
#-------------------------------------------------------------------------------
|
|
...
ZABSEND=/usr/bin/zabbix_sender
|
|
...
ZABCONF=/etc/zabbix/zabbix_agentd.conf
|
|
...
...
...
...
...
...
...
...
in
Informational) LVL="INFORMATION";;
|
|
...
...
...
...
EXPIRED) LVL="DISASTER";;
|
|
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|