Importing config broken!!!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Importing config broken!!!

Post by BanditBBS »

We use the import folder for adding new hosts and services. When we apply config the file disappears but the data is not added to the database. If I use the import config files page and select the file it says imported successful but the data is again not added to the database.

This just started happening post 2014r1.4 update!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Importing config broken!!!

Post by BanditBBS »

Wow, some crazy stuff happening with the new CCM! I am testing, but you guys should try and use the import function(either the auto or manual) and also the delete function with the With Checked or clicking the X button. Try them when using old separate CCM login and with new combined.

I finally got it to import once I changed to separate logins and then I switched back to combined. Then I couldnt delete the item with the X, I had to check it and select "With Checked"

Is Trevor the beta tester or something? :) Just kidding buddy!


Edit #1 : After further testing the import is working great now no matter what option is selected for the CCM login type. The delete is still not working though using the X
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Importing config broken!!!

Post by abrist »

Odd. Delete (x) is working on my side.
What browser are you using?
Is your system date and mysql date similar:

Code: Select all

date
echo 'system date;' | mysql -pnagiosxi
If not, restart mysqld:

Code: Select all

service mysqld restart
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Importing config broken!!!

Post by BanditBBS »

System and mysql time are within a second.

Testing I created a copy of a service and then tried clicking the X to delete and still not working. Any other ideas?
Capture.PNG
Click the X and get this and click OK but the service doesnt go away :(
Capture2.PNG
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Importing config broken!!!

Post by abrist »

JS error? Can you try a different browser?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Importing config broken!!!

Post by BanditBBS »

No errors. Happening in both Chrome and IE.

I do see this in the http error log over and over:

Code: Select all

[Tue Aug 19 15:30:41 2014] [error] [client 10.160.1.10] PHP Notice:  Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 195, referer: https://xxxx.xxxx.com/nagiosxi/includes/components/ccm/index.php
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Importing config broken!!!

Post by abrist »

Well good sir. We may need to remote in for this as I cannot reproduce this in house (other than similar behavior due to javascript caching - clearing the cache fixed it). Could you open a ticket for this one so that we can remote in tomorrow?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Importing config broken!!!

Post by BanditBBS »

For others that may search the forum - The issue is a bug that is already committed in the next version. It works fine in FF and wouldn't work in IE or Chrome. With the fix it'll work in all 3.

Lock this thread up :)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Locked