Bulk Modification Tool not working after upgrade to 2012R1.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Bulk Modification Tool not working after upgrade to 2012R1.2

Post by eclypse »

I was previously using the CCM Beta and was working fine with this. Today, I upgraded to 2012R1.2, and whenever I try to make a change to a host or service using the Bulk Modification Tool, I receive the following error.

Code: Select all

No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
When I check the host or service via the config manager, it appears that the change does get applied.

I have restarted the server entirely, with no luck. FWIW, The host is configured using the supplied CentOS VM images.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bulk Modification Tool not working after upgrade to 2012

Post by lmiltchev »

We will have to do some digging into this. Have you tried to recreate this issue in a different browser?
Be sure to check out our Knowledgebase for helpful articles and solutions!
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Re: Bulk Modification Tool not working after upgrade to 2012

Post by eclypse »

The above is what I got in Google Chrome. I get a generic "Internet Explorer cannot display the webpage" when I use IE.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Bulk Modification Tool not working after upgrade to 2012

Post by mguthrie »

There must be something goofy going on from the beta to the new version. We actually changed the Bulk Modification tool to be it's own component in 2012, so that could be the reason. Lets try the following:

Code: Select all

rm -rf /usr/local/nagiosxi/html/includes/components/ccm
The reinstall the new CCM through the Admin->Manage Components page. The zip is attached.
You do not have the required permissions to view the files attached to this post.
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Re: Bulk Modification Tool not working after upgrade to 2012

Post by eclypse »

Unfortunately, I see the same behavior after removing and reinstalling CCM.

Code: Select all

# ls -al /usr/local/nagiosxi/html/includes/components/ccm/              total 124
drwxr-xr-x  10 nagios users   4096 Nov 15 14:26 .
drwxr-x---. 55 nagios nagios  4096 Nov 15 14:26 ..
-rwxr-xr-x   1 nagios users   7906 Nov 15 14:26 ajax.php
-rwxr-xr-x   1 nagios users    611 Nov 15 14:26 BUGS.txt
-rwxr-xr-x   1 nagios users  16452 Nov 15 14:26 ccm.inc.php
-rwxr-xr-x   1 nagios users  18505 Nov 15 14:26 ccm.jpg
-rwxr-xr-x   1 nagios users   2703 Nov 15 14:26 CHANGES.txt
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 classes
-rwxr-xr-x   1 nagios users   3875 Nov 15 14:26 command_test.php
-rwxr-xr-x   1 nagios users    984 Nov 15 14:26 config.inc.php
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 css
-rwxr-xr-x   1 nagios users   2890 Nov 15 14:26 download.php
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 images
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 includes
-rwxr-xr-x   1 nagios users   1407 Nov 15 14:26 index.php
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 javascript
-rwxr-xr-x   1 nagios users     54 Nov 15 14:26 NOTES.txt
drwxr-xr-x   3 nagios users   4096 Nov 15 14:26 page_templates
drwxr-xr-x   6 nagios users   4096 Nov 15 14:26 .svn
drwxr-xr-x   4 nagios users   4096 Nov 15 14:26 templates
-rwxr-xr-x   1 nagios users    375 Nov 15 14:26 TODO.txt
-rwxr-xr-x   1 nagios users   1307 Nov 15 14:26 xi-index.php
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Bulk Modification Tool not working after upgrade to 2012

Post by lmiltchev »

Try restarting apache and see if this is going to fix your issue:

Code: Select all

service httpd restart
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Modification Tool not working after upgrade to 2012

Post by scottwilkerson »

This could be caused by a bug we have discovered in sourceguardian

Please run the following procedure

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/patches/patch_sourceguardian.zip
unzip -u patch_sourceguardian.zip
chmod +x patch_sourceguardian.sh
./patch_sourceguardian.sh
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Re: Bulk Modification Tool not working after upgrade to 2012

Post by eclypse »

lmiltchev wrote:Try restarting apache and see if this is going to fix your issue:

Code: Select all

service httpd restart
I forgot to mention that I did restart httpd after reinstalling.
scottwilkerson wrote:This could be caused by a bug we have discovered in sourceguardian

Please run the following procedure

Code: Select all

cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/patches/patch_sourceguardian.zip
unzip -u patch_sourceguardian.zip
chmod +x patch_sourceguardian.sh
./patch_sourceguardian.sh
This has fixed my issue. I now get the correct "Updates saved successfully!" message when saving my changes in the Bulk Modification Tool.

Thanks Ludmil, Mike, and Scott for your help!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bulk Modification Tool not working after upgrade to 2012

Post by scottwilkerson »

Nice.

Thanks for updating!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked