In the graphic below, I was going to run a different report, but was not given a chance.
It is like the Run Report button is clicked just by going to this page.
I actually want to run a different report, but have to wait for this one to complete first.
A 24 hour report with the amount of data I have takes a while to complete. My Report is for top 10 talkers in the last 4 hours.
Is there some way to make this stop? Let me decide when to actually Run the Report?
Thanks
Steve B
Report runs before I choose Which report to run
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Report runs before I choose Which report to run
You do not have the required permissions to view the files attached to this post.
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: Report runs before I choose Which report to run
There is not a way to disable the report from running in the GUI but you could edit the code to stop it from running.
Edit the following file in the NNA server
Change line 33 from
to
Save the file and restart Apache by running
That will stop the reports from automatically being run on when the Reports tab is selected for a source.
Edit the following file in the NNA server
Code: Select all
/var/www/html/nagiosna/application/views/generic/reports.phpCode: Select all
var run_change = true;Code: Select all
var run_change = false;Code: Select all
service httpd restartBe sure to check out our Knowledgebase for helpful articles and solutions!
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Report runs before I choose Which report to run
Huge improvement. I thank you. We all thank you... all the voices in my head...
Feel free to close this, after you incorporate the change to the next version.
Steve B
Feel free to close this, after you incorporate the change to the next version.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
Re: Report runs before I choose Which report to run
While I'm not sure I agree that it should be a forced change, I do think that a field should be added to either the report or global config that specifies whether or not the user wants the report to run automatically. In other words, that "true/false" option should be exposed in the GUI somehow.
In fact, as I write this, I think it should be on the report itself, and thus any report that has "auto-run" (or whatever) set to true will be displayed automatically, thus making it more desirable for the option to be exposed as a radio button to allow selection of a single report (as well as an option of "no report will be run").
In fact, as I write this, I think it should be on the report itself, and thus any report that has "auto-run" (or whatever) set to true will be displayed automatically, thus making it more desirable for the option to be exposed as a radio button to allow selection of a single report (as well as an option of "no report will be run").
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Report runs before I choose Which report to run
Having a way to enable / disable the Autorun of the reports was added to the list of improvements for NNA.
The ability to select multiple reports to Autorun is a good idea as well, thanks @eloyd for the suggestion.
The ability to select multiple reports to Autorun is a good idea as well, thanks @eloyd for the suggestion.
Be sure to check out our Knowledgebase for helpful articles and solutions!