After upgrade from 5.6.14 to 5.7.2 we see some unwanted behavior.
Example :
I've enabled a service check created a few weeks ago , end Apply configuration. The check showed up after minutes (normally a few seconds) and showed a Duration of 18xxx : 1-1-1970. Also running a manual Force check took 5-15 minutes to show up with result in GUI.
This happens after applying the configuration.
Gr,
Christian
Service check very sloowly updated
Re: Service check very sloowly updated
I'd like to get a profile from the XI server which can be generated under Admin > System Config > System Profile > Download Profile.
I'd also like to get a copy of a the database that has the current configuration. If the default database is being used then this can be done from the command line with:
If the database has been offloaded to another machine then you'll need to modify the commands slightly to look like:
If you're not sure about the credentials or database server IP you can review /usr/local/nagiosxi/html/config.inc.php. A copy of this is also included in the profile so we can review it if necessary.
Please PM both the nagiosql.sql file and the profile to me.
I'd also like to get a copy of a the database that has the current configuration. If the default database is being used then this can be done from the command line with:
Code: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sqlCode: Select all
mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sqlPlease PM both the nagiosql.sql file and the profile to me.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Service check very sloowly updated
Requested files send in PM's.
I've also posted another issue reguarding a SQL error . Maybe the issues are related
I've also posted another issue reguarding a SQL error . Maybe the issues are related
Re: Service check very sloowly updated
Thanks for the heads up. The two issues may be related but for now we'll treat them as separate.
I did see some timeouts occurring with some of the checks. This may explain why it is taking so long to update after a forced check. I'd like you to enable some more debugging by editing nagios.cfg found under Configure > Core Config Manager > CCM Admin > Core Configs, and setting the max_debug_file_size, debug_level and debug_verbosity:
Then save the changes and apply the config and the force another check for the service. Please note the host and service name and approximately how long it takes for it to update. Once it does, gather /usr/local/nagios/var/nagios.debug and then revert the changes back.
I did see some timeouts occurring with some of the checks. This may explain why it is taking so long to update after a forced check. I'd like you to enable some more debugging by editing nagios.cfg found under Configure > Core Config Manager > CCM Admin > Core Configs, and setting the max_debug_file_size, debug_level and debug_verbosity:
Code: Select all
debug_level=16
debug_verbosity=2
max_debug_file_size=10000000As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Service check very sloowly updated
PM with attachment send
Re: Service check very sloowly updated
Follow this instructions to downgrade to ndoutils to see if this helps the objects to update quicker..
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:
Make sure this line is commented:
Then start the nagios service:
Run the Apply Config and see if the statuses and Objects are updated quicker.
Code: Select all
service nagios stop
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
chkconfig ndo2db on
service ndo2db startCode: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfgCode: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfgCode: Select all
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Service check very sloowly updated
Hi, also this issue seems to be resolved.
Thanks for your great help.
Thanks for your great help.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Service check very sloowly updated
Great!CBoekhuis wrote:Hi, also this issue seems to be resolved.
Thanks for your great help.
Locking thread