Page 1 of 1

check the NLS license status in the command line

Posted: Wed Aug 05, 2020 3:33 am
by technosol
Hi,

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

Thank you

Re: check the NLS license status in the command line

Posted: Wed Aug 05, 2020 12:38 pm
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.