...
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 |
color | #FF0000 |
---|
EXPIRED |
Example
Command line parameters
...
Example (command executed on 0921-Jul-2020):
# /opt/charon/utils/charon_expchk 15 -nomail -expdat=1224-Jul-2020 |
Div | ||
---|---|---|
| ||
...
- $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
- Example:
...