Configuration Verification.... never ends when removing item

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Configuration Verification.... never ends when removing item

Post by tecnalb »

I upgraded to R5, and have noticed that if I remove a service or host I get an endless "waiting on Configuration Verification..."

While it removed the services and hosts, if it fails, I'll never know. Ive seen this in Safari and Opera.

My Red "X" don't work either in the Config Snapshot box, so I cannot delete failed items.
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Configuration Verification.... never ends when removing

Post by hsmith »

Are you running SSL on this setup?
Former Nagios Employee.
me.
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: Configuration Verification.... never ends when removing

Post by tecnalb »

SSL is enabled, yes. However, I am behind the firewall, so I'm using http only.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Configuration Verification.... never ends when removing

Post by jolson »

Give the following procedure a try.

1. SSH to your box using putty or similar.

2. Switch to the Nagios user.
su - nagios

3. Change to the scripts directory and run a manual 'Apply Configuration'.
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh


Do you see any obvious errors or issues? This is the script that runs when an Apply Configuration is initiated from the Web GUI.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
tecnalb
Posts: 133
Joined: Tue May 03, 2011 12:53 pm

Re: Configuration Verification.... never ends when removing

Post by tecnalb »

The output... I had to remove some URLs to get under your forum limit of 10. One more thing. I opened a ticket on a more comprehensive issue, that is related to this I think. This or that can be closed, to keep you from working a duplicate if you guys feel they are similar in nature.

[nagios@nagios scripts]$ ./reconfigure_nagios.sh
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n2i3lr' -O nagiosql.login--2015-10-07 17:26:48-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... connected.
WARNING: certificate common name `*.domain.com' doesn't match requested host name `localhost'.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.login'

[ <=> ] 35,465 --.-K/s in 0.1s

2015-10-07 17:26:49 (348 KB/s) - `nagiosql.login' saved [35465]

LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: https://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL: https://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n2i3lr' -O nagiosql.login--2015-10-07 17:26:51-- https://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:443... connected.
WARNING: certificate common name `*.domain.com' doesn't match requested host name `localhost'.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `nagiosql.login'

[ <=> ] 35,465 --.-K/s in 0.06s

2015-10-07 17:26:52 (534 KB/s) - `nagiosql.login' saved [35465]


Warning: Service 'Memory Usage' on host 'desktop.sio' has no default contacts or contactgroups defined!
Warning: Service 'ReadyNAS HDD1 Temp' on host 'nvx.nky.sio' has no check time period defined!
Warning: Service 'ReadyNAS HDD2' on host 'nvx.nky.sio' has no check time period defined!
Warning: Service 'ReadyNAS HDD2 Temp' on host 'nvx.nky.sio' has no check time period defined!
Warning: Service 'ReadyNAS RAID Status' on host 'nvx.nky.sio' has no check time period defined!
Warning: Service 'Domain Expiration' on host 'storeitoffsite.com' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Total Processes' on host 'trifecta-khp' has no default contacts or contactgroups defined!
Warning: Service 'Memory Usage' on host '<host.domain.com>' has no default contacts or contactgroups defined!
Checked 1061 services.
Checked 93 hosts.
Checked 19 host groups.
Checked 11 service groups.
Checked 15 contacts.
Checked 10 contact groups.
Checked 139 commands.
Checked 21 time periods.
Checked 8 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 93 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 21 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 19
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Configuration Verification.... never ends when removing

Post by tmcdonald »

tecnalb wrote:I opened a ticket on a more comprehensive issue, that is related to this I think. This or that can be closed, to keep you from working a duplicate if you guys feel they are similar in nature.
The only ticket I see open is the one we worked on this morning about the gauge dashlet. Was that the one you are referring to or is there another?
Former Nagios employee
Locked