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 - Troubleshooting Backups
Viewed 723 times since Fri, Apr 15, 2016
Nagios Log Server - Logs Not Searchable or Not Coming In
Viewed 1320 times since Tue, Jan 27, 2015
Nagios Log Server - Newline Character Added When Adding A Filter To A Search
Viewed 677 times since Wed, Apr 27, 2016
Nagios Log Server - Troubleshooting SELinux and rsyslog
Viewed 972 times since Wed, Mar 30, 2016
Web Browser Reports 330 Error Content Encoding
Viewed 297 times since Tue, Mar 7, 2017
Nagios Log Server - Understanding and Troubleshooting Red Cluster Health
Viewed 1635 times since Mon, Apr 6, 2015
Nagios Log Server - Administration Page Fails To Display
Viewed 644 times since Thu, Jan 21, 2016
Nagios Log Server - Understanding and Troubleshooting Yellow Cluster Health
Viewed 1444 times since Mon, Feb 15, 2016
Nagios Log Server - rsyslog and JSON Formatted Log Files
Viewed 196 times since Thu, Mar 2, 2017
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 2412 times since Tue, Jan 26, 2016