Problems updating license

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Problems updating license

Post by vmesquita »

Hello,

We are having issues updating our Nagios XI license. We have a proxy but it's working fine with WGET and LINKS from the command line, so connection doesn't seem to be an issue. We are using the same setting on Nagios XI Proxy configuration. How can we fix this?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problems updating license

Post by tmcdonald »

What specific problem are you having?
Former Nagios employee
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems updating license

Post by vmesquita »

License has been renewed and keep being shown as "expired".
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems updating license

Post by lmiltchev »

Can you access the api.nagios.com?

Code: Select all

curl -k -v api.nagios.com/versioncheck/
Download the file below:
test.zip
unzip the archive and place the "test.php" file in "/usr/local/nagiosxi/scripts" directory. Make it executable:

Code: Select all

chmod +x test.php
run it and show us the output:

Code: Select all

./test.php
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems updating license

Post by vmesquita »

Hello,

Here's the result of the commands:

Code: Select all

# curl -k -v api.nagios.com/versioncheck/
* About to connect() to proxy ********** port 90 (#0)
*   Trying *.*.*.*... connected
* Connected to ****************** (*.*.*.*) port 90 (#0)
* Proxy auth using Basic with user 'update'
> GET http://api.nagios.com/versioncheck/ HTTP/1.1
> Proxy-Authorization: Basic dXBkYXRlOnRlc3RlMTIz
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.6.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: api.nagios.com
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Fri, 19 Jun 2015 16:11:45 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
< X-Cache: MISS from *****************
< X-Cache-Lookup: MISS from ****************:90
< Via: 1.0 ******************(squid/3.1.10)
* HTTP/1.0 connection set to keep alive!
< Connection: keep-alive
<
* Connection #0 to host ****************** left intact
* Closing connection #0
You have mail in /var/spool/mail/root
[root@nagios teste]# curl -k -v api.nagios.com/versioncheck/
* About to connect() to proxy *****************port 90 (#0)
*   Trying *************... connected
* Connected to ****************** (*********) port 90 (#0)
* Proxy auth using Basic with user 'update'
> GET http://api.nagios.com/versioncheck/ HTTP/1.1
> Proxy-Authorization: Basic dXBkYXRlOnRlc3RlMTIz
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.6.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: api.nagios.com
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Date: Fri, 19 Jun 2015 17:42:10 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
< X-Cache: MISS from ******************
< X-Cache-Lookup: MISS from ******************:90
< Via: 1.0 ******************(squid/3.1.10)
* HTTP/1.0 connection set to keep alive!
< Connection: keep-alive
<
* Connection #0 to host ****************** left intact
* Closing connection #0
You have mail in /var/spool/mail/root

Code: Select all

[root@nagios scripts]# ./test.php
No log handling enabled - turning on stderr logging
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/IP-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
<?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>
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems updating license

Post by lmiltchev »

What is the version of Nagios XI that you are currently running? Do your update checks work (with the current Proxy component settings)?

Admin->Check For Updates

You may need to upgrade is your XI version is too old.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems updating license

Post by vmesquita »

I'm running Nagios XI 2014R2.6. Update checks work.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Problems updating license

Post by tmcdonald »

Can you please email [email protected] with your customer ID and relevant license information? It's possible it hasn't been updated on their end, so I want to rule that out first.
Former Nagios employee
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Problems updating license

Post by vmesquita »

Hi,

Actually I had been in contact with support before, here's their reply:
Hi Rodrigo,
It is active, does the server have access to the internet or is it behind a firewall? If so, it may not be able to reach out to our servers to update. If they continue to have issues please have them contact our support team for further assistance.
Best Regards,
Katie
Katie Montour
Sales/Office Assistant
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems updating license

Post by abrist »

Can you send an email to [email protected]? I would like to fast track a resolution (with a possible remote session). Please reference this post in the body of the email.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked