The time reported in the Time of Event field is wrong because the script assumes that the API provides the time in GMT but it does not.
As a result, not only is the time of the event wrong but the last event signature is wrong. The same events are reported again and again because the last event signature is translated to UTC in the wrong time zone.
Steps to Reproduce
Configure the Nagios XI connector in an instance and note that the same two events are sent every connector cycle.
- Set the NagiosXI connector instances to be inactive.
- Set the value of time_zone (for example, to "PST") for NagiosXI connector instances.
- Set the NagiosXI connector instances to be active again.
Related Problem: PRB1245920