How can I see "All" reports scheduled by "All" users.
I have a large setup, and some reports make the system freeze and become useless.
I suspect there are some users who have scheduled some reports but I do not see how to show a list by username, report, and schedule.
With a list, I can balance the schedules, remove reports that are no longer needed, remove reports that cause my system to behave poorly.
Any suggestions?
Thanks
Steve B
Reports and how to see them
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Reports and how to see them
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: Reports and how to see them
I don't believe there is a way to see the schedule in the GUI. You could log is (masquerade as) a user, and review his/her reports.
Having said that, the reports are run on a cron job by the apache user, so you could view the schedule by running:
Example:
Having said that, the reports are run on a cron job by the apache user, so you could view the schedule by running:
Code: Select all
crontab -u apache -lHope this helps.[root@localhost ~]# crontab -u apache -l
#crontab for apache user
0 9 1 * * /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=og54pu --username="nagiosadmin" > /dev/null 2>&1
0 9 1 * * /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=ble436 --username="nagiosadmin" > /dev/null 2>&1
0 17 * * * /usr/bin/php /usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=o7s9pc --username="ludmil" > /dev/null 2>&1
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Reports and how to see them
Thanks for providing some insight.
As the Administrator of the Nagios XI tool at my site, I need to be able to see all user created '[anything]' in the tool in order to 'Administer' them.
I think this is a good opportunity for someone to provide a holistic Admin tool to see and control anything a user puts in place.
If random users can create tasks, reports, or whatever, and I have no easy visibility, this can become a problem at some point. Using masquerade is a work around. I have Many folks using Nagios XI to see the health of the tools they support in our infrastructure. Some get creative.
If there is no actual solution at this time you may as well close this issue.
Thanks.
Steve B
As the Administrator of the Nagios XI tool at my site, I need to be able to see all user created '[anything]' in the tool in order to 'Administer' them.
I think this is a good opportunity for someone to provide a holistic Admin tool to see and control anything a user puts in place.
If random users can create tasks, reports, or whatever, and I have no easy visibility, this can become a problem at some point. Using masquerade is a work around. I have Many folks using Nagios XI to see the health of the tools they support in our infrastructure. Some get creative.
If there is no actual solution at this time you may as well close this issue.
Thanks.
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: Reports and how to see them
Unfortunately, there is no "actual solution" at this time. Viewing the apache crontab is more of a "workaround". It will show you the names of the users who scheduled reports, and the times when the reports are scheduled to go out. It will now show you what kind of reports are going to be sent out though.If there is no actual solution at this time you may as well close this issue.
BTW, we like the idea of creating such a tool in Nagios XI for viewing/managing scheduled reports very much! I already posted an internal feature request for adding this functionality (TASK ID 9449). Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Reports and how to see them
Appreciated! Thanks... close now.
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: Reports and how to see them
Closing.
Be sure to check out our Knowledgebase for helpful articles and solutions!