Page 1 of 1

LogEntries / Apply Config

Posted: Wed Dec 02, 2020 4:40 pm
by dh0125e
When I run an apply config via API calls to one of the nagios XI hosts and poll the logentries API I'm never seeing the status_code change to 1, which from what I can tell is the proper return for a successfully executed command? However when I check systemctl status nagios, I see the application restarted as expected and when I check the config files in /usr/local/nagios/etc I'm seeing the expected alterations. When I run an apply config locally via the UI everything works as expected.

I'm seeing this behavior reliably from a single host but not the others. I'm stumped on why this would be. Also is there a definitive place to find the mappings from integers to text values for the API calls / database values?

Re: LogEntries / Apply Config

Posted: Thu Dec 03, 2020 2:25 pm
by dh0125e
FYI - I've also opened a ticket for this as we need to understand what is going on as we work to integrate automations into our administrative process.

Re: LogEntries / Apply Config

Posted: Thu Dec 03, 2020 2:28 pm
by benjaminsmith
Hi,
FYI - I've also opened a ticket for this as we need to understand what is going on as we work to integrate automations into our administrative process.
Since you have opened a support ticket, let's move this case over there. We try to keep it to one post/ticket per issue so we can best focus our efforts.

Thanks!
Benjamin