Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

# /opt/charon/utils/charon_expchk 15 -nomail -expdat=2404-JulSep-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: : 2404-JulSep-2020. License: 1001687. Product: CHARON-PA9-AXP64-L4


Script example using Zabbix software:

...