Page 1 of 1

Problems updating license

Posted: Fri Jun 19, 2015 10:03 am
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?

Re: Problems updating license

Posted: Fri Jun 19, 2015 10:05 am
by tmcdonald
What specific problem are you having?

Re: Problems updating license

Posted: Fri Jun 19, 2015 10:24 am
by vmesquita
License has been renewed and keep being shown as "expired".

Re: Problems updating license

Posted: Fri Jun 19, 2015 11:54 am
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

Re: Problems updating license

Posted: Fri Jun 19, 2015 12:47 pm
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>

Re: Problems updating license

Posted: Fri Jun 19, 2015 1:47 pm
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.

Re: Problems updating license

Posted: Fri Jun 19, 2015 2:46 pm
by vmesquita
I'm running Nagios XI 2014R2.6. Update checks work.

Re: Problems updating license

Posted: Mon Jun 22, 2015 11:45 am
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.

Re: Problems updating license

Posted: Wed Jun 24, 2015 12:26 pm
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

Re: Problems updating license

Posted: Wed Jun 24, 2015 1:17 pm
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.