Bulk Mod issue
Bulk Mod issue
Trying to use bulk modifications to remove a contact from a bunch of services. I select the contact and press the "Find relationships" button and nothing ever happens
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
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
Re: Bulk Mod issue
We would have to test this out in house to see if it's a bug - what version are you running?
Former Nagios Employee
Re: Bulk Mod issue
5.3.2rkennedy wrote:We would have to test this out in house to see if it's a bug - what version are you running?
I'm checking for enough memory and execution time also since I have 35,000 services
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
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
Re: Bulk Mod issue
I just found this in error_log for httpd!
Code: Select all
script '/usr/local/nagiosxi/html/includes/components/bulkmodifications/ajax.php' not found or unable to stat, referer: https://monitoring.itciss.com/nagiosxi/includes/components/bulkmodifications/step2.php?cmd=removecontacts[root@iss-chi-nag05 bulkmodifications]# ll
total 360
-rw-r----- 1 nagios nagios 12398 Oct 28 10:20 ajaxreqs.php
-rwxr-x--- 1 nagios nagios 34020 Oct 28 10:20 bulkmodifications.inc.php
-rwxr-x--- 1 nagios nagios 197012 Apr 7 2015 bulkmodifications.php
-rw-r----- 1 nagios nagios 2091 Oct 28 10:20 CHANGES.txt
-rw-r----- 1 nagios nagios 10709 Apr 7 2015 form.js
drwxr-x--- 2 nagios nagios 4096 Oct 21 2015 includes
-rw-r----- 1 nagios nagios 28736 Oct 28 10:20 index.php
-rw-r----- 1 nagios nagios 681 Apr 7 2015 sanity.sh
-rwxr-x--- 1 nagios nagios 37543 Oct 28 10:20 step2.php
-rw-r----- 1 nagios nagios 10477 Dec 2 2014 style.css
Last edited by BanditBBS on Thu Feb 09, 2017 4:25 pm, edited 1 time in total.
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
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
Re: Bulk Mod issue
Now I have to ask since we're bringing PHP / numbers to the equation with that many vars, how many services are you attempting to remove a contact from at once?BanditBBS wrote:5.3.2rkennedy wrote:We would have to test this out in house to see if it's a bug - what version are you running?
I'm checking for enough memory and execution time also since I have 35,000 services
Former Nagios Employee
Re: Bulk Mod issue
I'm not even able to get to the point to where I plan on removing. It can't find the ajax.php file which doesn't exist. Edited previous comment with the folder contents.rkennedy wrote:Now I have to ask since we're bringing PHP / numbers to the equation with that many vars, how many services are you attempting to remove a contact from at once?BanditBBS wrote:5.3.2rkennedy wrote:We would have to test this out in house to see if it's a bug - what version are you running?
I'm checking for enough memory and execution time also since I have 35,000 services
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
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
Re: Bulk Mod issue
I fixed it by copying the ajaxreqs.php to ajax.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
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
Re: Bulk Mod issue
I was able to confirm this on a 5.3.2 machine -
Spinning up a fresh 5.4.2 machine to see if it's still an issue.
Code: Select all
==> /var/log/httpd/error_log <==
[Wed Feb 08 15:14:29.943469 2017] [:error] [pid 22242] [client 192.152.24.249:51189] script '/usr/local/nagiosxi/html/includes/components/bulkmodifications/ajax.php' not found or unable to stat, referer: http://149.56.113.209/nagiosxi/includes/components/bulkmodifications/step2.php?cmd=removecontacts
Former Nagios Employee
Re: Bulk Mod issue
Was able to confirm this is not a problem in 5.4.2 -
You should probably update, Bandit. 
Code: Select all
==> /var/log/httpd/access_log <==
192.152.24.249 - - [10/Feb/2017:11:35:09 -0500] "GET /nagiosxi/includes/components/bulkmodifications/ajaxreqs.php?cmd=getcontacts&contact=nagiosadmin&id=1 HTTP/1.1" 200 1671 "http://149.56.113.209/nagiosxi/includes/components/bulkmodifications/step2.php?cmd=removecontacts" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
Former Nagios Employee
Re: Bulk Mod issue
I actually have a CMR in to update on Monday.rkennedy wrote:Was able to confirm this is not a problem in 5.4.2 -
You should probably update, Bandit.
Thanks!
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
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