Home » Categories » Products » Nagios Log Server » Troubleshooting » Common Problems

Nagios Log Server - License Key Not Accepted

Problem Description

When entering in your license key in Nagios Log Server, after clicking the Set Key button the screen refreshes and the license key you just entered is not shown.


 

Resolution

To resolve this problem you will need to enter the license key in a terminal session on one of your Nagios Log Server instances.

Establish a terminal session to one of your Nagios Log Server nodes.

Execute this command first:

curl -XDELETE 'http://localhost:9200/nagioslogserver/cf_option/license_key'

 

You should get output similar to this retuned:

{"found":false,"_index":"nagioslogserver","_type":"cf_option","_id":"license_key","_version":1}

 

The next command requires you to provide your license key, this this example it is AAAAAA-BBBBBB-CCCCCC-DDDDDD:

curl -XPUT 'http://localhost:9200/nagioslogserver/cf_option/license_key' -d '{"created":"date +\"%Y-%m-%d %T\"","created_by":"1","value":"AAAAAA-BBBBBB-CCCCCC-DDDDDD","modified_by":"1"}'

 

You should get output similar to this retuned:

{"_index":"nagioslogserver","_type":"cf_option","_id":"license_key","_version":4,"created":true}

 

You can now navigate to the License page in Nagios Log Server and you'll see the license key is now applied.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios Log Server - Waiting For Database Startup
Viewed 262 times since Wed, Oct 12, 2016
Nagios Log Server - Logs Not Searchable or Not Coming In
Viewed 671 times since Tue, Jan 27, 2015
Pages Not Displaying Correctly
Viewed 289 times since Mon, Jan 25, 2016
Nagios Log Server - Understanding and Troubleshooting Red Cluster Health
Viewed 398 times since Mon, Apr 6, 2015
Nagios Log Server - Newline Character Added When Adding A Filter To A Search
Viewed 183 times since Wed, Apr 27, 2016
Nagios Log Server - rsyslog and JSON Formatted Log Files
Viewed 206 times since Thu, Mar 2, 2017
Nagios Log Server - Logstash not running after upgrade to 2.0
Viewed 193 times since Tue, Nov 14, 2017
Nagios Log Server - Troubleshooting SELinux and rsyslog
Viewed 397 times since Wed, Mar 30, 2016
Nagios Log Server - Troubleshooting Commands
Viewed 266 times since Mon, Feb 11, 2019
Nagios Log Server - Logstash process dying
Viewed 277 times since Mon, Apr 10, 2017