...
# /opt/charon/utils/charon_expchk 15 -nomail -expdat=2423-JulJan-20202021 |
The This 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:
: 2423-JulJan-20202021. License: 1001687. Product: CHARON-PA9-64-AXPL4
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 |
---|
|