License issue in Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
sundaraminfotech
Posts: 18
Joined: Thu Oct 16, 2014 8:16 am

License issue in Nagiosxi

Post by sundaraminfotech »

Hi,

We are using nagios xi in our environment and we have licensed on product but after activation nagios xi, the expiration date showing like below,

Maintenance Status: Current (Expires in 365 days on 1970-01-01)

Kindly help to reslove this.

Thanks & Regards,
Arumuga Ganesh S
Thanks & Regards,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: License issue in Nagiosxi

Post by slansing »

What version of Nagios XI are you currently running? Can you also share the output of the follow commands ran on an SSH session connected to the XI server:

Code: Select all

date

hwclock

cat /etc/php.ini | grep -i date.time
And let us know what timezone you are in? Thanks!
User avatar
sundaraminfotech
Posts: 18
Joined: Thu Oct 16, 2014 8:16 am

Re: License issue in Nagiosxi

Post by sundaraminfotech »

Hi,

Thanks for your reply. We are using Nagios XI 2014 R1.4 & we are in Asia/Kolkata timezone .Please find the given command output below,

[root@NAGIOSXILB ~]# date
Sat Oct 25 09:47:57 IST 2014
[root@NAGIOSXILB ~]#
[root@NAGIOSXILB ~]# hwclock
Sat 25 Oct 2014 09:48:16 AM IST -0.086914 seconds
[root@NAGIOSXILB ~]#
[root@NAGIOSXILB ~]# cat /etc/php.ini |grep -i date.time
; http://www.php.net/manual/en/datetime.c ... e.timezone
date.timezone = Asia/Kolkata
[root@NAGIOSXILB ~]#
Thanks & Regards,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: License issue in Nagiosxi

Post by lmiltchev »

The following message:
Maintenance Status: Current (Expires in 365 days on 1970-01-01)
This is almost always related to either running XI in an offline environment or improperly setting a proxy. Does your XI server has Internet access?

FYI: You don't need to worry about this message as your XI server will continue to function properly, despite of it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sundaraminfotech
Posts: 18
Joined: Thu Oct 16, 2014 8:16 am

Re: License issue in Nagiosxi

Post by sundaraminfotech »

Hi,

Thanks for your reply.

We have direct internet access from nagiosxi server.

Is any nagios url for activation means please send us ,we have manually check from command line and send the output to you.
Thanks & Regards,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: License issue in Nagiosxi

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!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: License issue in Nagiosxi

Post by slansing »

If you are currently using the XI system, and there is no warning about days remaining on your trial, you have already activated the license and it is functioning properly (in that respect). So, you should be fine on that front, I'm going to do some digging into the maintenance message and try to figure out what is going on with the date.
User avatar
sundaraminfotech
Posts: 18
Joined: Thu Oct 16, 2014 8:16 am

Re: License issue in Nagiosxi

Post by sundaraminfotech »

Thanks slansing.

Kindly advise us to make the changes for the issue.
Thanks & Regards,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: License issue in Nagiosxi

Post by lmiltchev »

You haven't showed us the output from running the following commands:

Code: Select all

curl -k -v api.nagios.com/versioncheck/
/usr/local/nagiosxi/scripts/test.php
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
sundaraminfotech
Posts: 18
Joined: Thu Oct 16, 2014 8:16 am

Re: License issue in Nagiosxi

Post by sundaraminfotech »

Thanks lmiltchev for your reply.

Please find the output.
without_proxy.JPG
We are using proxy server for internet in our environment so i am thinking it blocked by our proxy server.

So i'm configure the proxy server in nagiosxi server after that it able connect.

But after configure the proxy i am reconfigure the license in nagiosxi console and check the license date the same problem persist.
with proxy.JPG
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
Locked