Search found 10 matches

by redacted
Thu Feb 21, 2019 9:10 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Ah, I did not realize we were using an offloaded database when I was troubleshooting. We have a local database that was used at some point, and that had the correct time. I checked the time of the offloaded database and it was indeed a different time. We have synced all of the time zones and it appe...
by redacted
Wed Feb 20, 2019 9:32 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

......................................PROCESSING COMMAND ID 13191... PROCESS COMMAND: CMD=17, DATA= APPLYING NAGIOSCORE CONFIG... CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh .No entry for terminal type "unknown"; using dumb terminal settings. --- reset_config...
by redacted
Tue Feb 19, 2019 3:01 pm
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Hi redacted , The solution was to remove hosts from groups and then apply configuration for the newly created host groups. Then add the hosts back to the groups. Thanks for the update. Glad to know you got this worked out. Let us know if you need anything else or if it's ok to close this thread. He...
by redacted
Tue Feb 19, 2019 1:47 pm
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Alright, well I think we have figured this out. We had contracted a company to create a custom theme for us, and it seems like something they did hid the error messages on the apply configuration screen. The error was that we created hosts that belongs to non-existent groups, which created the grou...
by redacted
Tue Feb 19, 2019 11:24 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Adding var_dump($sql) to /usr/local/nagiosxi/html/includes/utils-xmlstatus.inc.php line 56 shows that the query being run is: SELECT nagios_instances.instance_id AS datasource_id, nagios_instances.instance_name, (TIMESTAMPDIFF(SECOND,nagios_programstatus.program_start_time,NOW())) AS program_run_tim...
by redacted
Tue Feb 19, 2019 10:55 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Went to Core Config Manager > Tools > Write Config Files and deleted, wrote, verified and restarted. https://i.imgur.com/mE58m6g.png /usr/local/nagios/etc/hosts is then empty. https://i.imgur.com/9LYsrMj.png /usr/local/nagios/etc/hosts is now populated with the correct number of config files. Config...
by redacted
Tue Feb 19, 2019 10:14 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Re: Nagios does not recognize that it has applied config

Replacing line 146 of /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php with 'var_dump($data)' gives: array(25) { ["instance_id"]=> NULL ["instance_name"]=> string(9) "localhost" ["status_update_time"]=> NULL ["program_start_time"]=...
by redacted
Tue Feb 19, 2019 10:04 am
Forum: Nagios XI
Topic: Nagios does not recognize that it has applied config
Replies: 11
Views: 1238

Nagios does not recognize that it has applied config

CentOS Linux release 7.6.1810 (Core) 3.10.0-957.1.3.el7.x86_64 Nagios XI 5.5.7 Manual Install This morning Nagios started behaving strangely. We updated hosts via the API (/nagiosxi/api/v1/config/host) and attempted to apply configuration. Nagios has successfully updated the correct host files, but ...
by redacted
Wed Dec 19, 2018 11:11 am
Forum: Nagios XI
Topic: Determining date that a node was added to Nagios XI
Replies: 5
Views: 570

Re: Determining date that a node was added to Nagios XI

Thank you all very much for the replies.

At least I know I was not overlooking the date!

I will work around this most likely with the addition of a field that is populated when the devices are added to monitoring.
by redacted
Mon Dec 17, 2018 11:22 am
Forum: Nagios XI
Topic: Determining date that a node was added to Nagios XI
Replies: 5
Views: 570

Determining date that a node was added to Nagios XI

Is there a report that contains this or a table in the database that can be queried? Our billing team would like to automate a report of showing when the device was added and I am drawing a blank.

Thank you.