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.
license_key is periodically set empty
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: license_key is periodically set empty
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
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