license_key is periodically set empty

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sergey Dolbunov
Posts: 1
Joined: Mon Feb 18, 2019 3:57 am

license_key is periodically set empty

Post by Sergey Dolbunov »

Hello
I have a manually installed Nagios XI 5.5.9 with an applied license key.
It has 91 host and 2017 services configured.
From time to time the 'license_key' value in xi_options becomes blank and the system starts including a license warning into notification emails.
Also I see that there are a lot of 'license_key' records in the database already (and, strangely, 'im_component_version' as well).
Tried adding printing of debug messages into set_option() in /usr/local/nagiosxi/html/includes/utils.inc.php. Nothing is written between the license key re-activation (when it is put into the database and can be seen there) and seeing the license key empty again. So it does not seem to be done with set_option.
Nobody uses the Web UI within this period (checked in access_log).

P.S. Tried reactivating the license key and also went to the CCM.
Got a debug message about the im_component_version from set_option():
06/03/2020 03:44:56 Setting license_key to value
06/03/2020 03:44:56 Setting license_key to value ... <--- I have hidden the real key
06/03/2020 03:45:44 Option im_component_version is not found. Creating it with value 101 <--- This message has to be printed in 'if ($key_exists == false) {' case in set_option. I did a select from xi_options manually and several rows im_component_version were there.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: license_key is periodically set empty

Post by scottwilkerson »

Hi Sergey,

With the customization you have in place, I am going to request you open a ticket so we can collect more info
https://support.nagios.com/tickets/

Regards
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked