Page 1 of 1

Updating Expired License

Posted: Tue Jun 09, 2015 2:38 am
by gsl_ops_practice
Hi,

Can you let me know how to update an existing license that recently expired?
We already have it renewed but when I try to go to Admin > License Information, and click on the update button, it still says expired. Thanks.

Re: Updating Expired License

Posted: Tue Jun 09, 2015 10:26 am
by lmiltchev
Are you in a offline environment? Are you using a proxy?

Re: Updating Expired License

Posted: Wed Jun 10, 2015 12:13 am
by gsl_ops_practice
hi... our nagios server has direct access to the internet without a proxy.
any suggestions on what i need to check on our end?

Re: Updating Expired License

Posted: Wed Jun 10, 2015 9:43 am
by ssax
Double-check you proxy configuration and make sure it's set to disabled and click update settings - Admin > System Config > Proxy Configuration.

Also, try to go to Admin > System Information > Check For Updates and click the Check For Update Now button, that may fix the issue, after you've done that, check to see if it still says expired.

Re: Updating Expired License

Posted: Wed Jun 10, 2015 9:47 am
by lmiltchev
In addition to this, run:

Code: Select all

curl -k -v api.nagios.com/versioncheck/
and show us the output.

Also, download the file below:
test.zip
Unzip it, and copy the "test.php" file to your Nagios XI server, i.e. in the "/tmp/" directory. Then run:

Code: Select all

cd /tmp
./test.php
and show us the output.

Re: Updating Expired License

Posted: Thu Jun 18, 2015 3:52 am
by gsl_ops_practice
hi guys... sorry was sick the past few days.

here are the info you requested.

no proxy has been set.
nagprox.jpg
also the update fails...
nagupd.jpg
curl output below:

Code: Select all

[root@mmmon2 tmp]# curl -k -v api.nagios.com/versioncheck/
* About to connect() to api.nagios.com port 80 (#0)
*   Trying 50.116.21.73... connected
* Connected to api.nagios.com (50.116.21.73) port 80 (#0)
> GET /versioncheck/ HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: api.nagios.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 18 Jun 2015 08:36:08 GMT
< Server: Apache/2.2.15 (CentOS)
< Vary: Accept-Encoding
< Cache-Control: max-age=0, no-cache
< Content-Length: 0
< Content-Type: text/html; charset=UTF-8
<
* Connection #0 to host api.nagios.com left intact
* Closing connection #0

and the result of test.php...

Code: Select all

[root@mmmon2 tmp]# ./test.php
<?xml version="1.0" encoding="utf-8"?>
<versioninfo>
  <update_available>1</update_available>
  <update_version>
    <version>2014R2.7</version>
    <release_date>2015-04-23</release_date>
    <release_notes>2014R2.7 was released on April 23rd, 2015.</release_notes>
  </update_version>
  <latest_versions>
     <latest_version>
       <version>2014R2.7</version>
       <release_date>2015-04-23</release_date>
       <release_notes>2014R2.7 was released on April 23rd, 2015.</release_notes>
     </latest_version>
     <latest_stable_version>
       <version>2014R2.7</version>
       <release_date>2015-04-23</release_date>
       <release_notes>2014R2.7 was released on April 23rd, 2015.</release_notes>
     </latest_stable_version>
     <latest_branch_version>
       <version>2014R2.7</version>
       <release_date>2015-04-23</release_date>
       <release_notes>2014R2.7 was released on April 23rd, 2015.</release_notes>
     </latest_branch_version>
     <latest_branch_stable_version>
       <version>2014R2.7</version>
       <release_date>2015-04-23</release_date>
       <release_notes>2014R2.7 was released on April 23rd, 2015.</release_notes>
     </latest_branch_stable_version>
  </latest_versions>
</versioninfo>

we have another nagios instance and we were able to update the license on that one.
not sure why it is not working on this other instance...
naglic.jpg

Re: Updating Expired License

Posted: Thu Jun 18, 2015 10:25 am
by abrist
Please contact [email protected] to verify the license number and activation. Afterwards, contact [email protected] to further troubleshoot if necessary.