check the NLS license status in the command line

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
technosol
Posts: 36
Joined: Mon May 07, 2018 11:46 am

check the NLS license status in the command line

Post by technosol »

Hi,

May I know, is there a way to check the NLS license status in the command line?

Thank you
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: check the NLS license status in the command line

Post by cdienger »

The expiration date is stored in the nagioslogserver index and can be pulled from the command line with:

Code: Select all

curl -XGET 'http://localhost:9200/nagioslogserver/cf_option/lmd'
It is the epoch value that is returned.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked