Versions Compared

Key

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

...

Code Block
languagebash
journalctl -u license.service -r

Useful commands using Prometheus metrics

Check the status of the service:

Code Block
ngp_license_service_status

Where the response is:

  • 0the service is working;
  • greater than or equal to 1there are problems in the service operation.

Check license expiration time:

Code Block
ngp_license_expire_time_utc

The response contains the time in UTC 64-bit format.

Info
titleNote

Metrics are sent either every three minutes or when connection with the license server is lost.