Nagios XI - Display All Scheduled Reports

Overview

The reporting functionality in Nagios XI is implemented "per user", each individual user can create their own scheduled reports.

Currently there is no centralized view of all scheduled reports by all users in Nagios XI. However there are some back-end commands that can be executed to provide some useful information.

 

 

View Apache crontab

The scheduled reports are executed by the apache user and this is scheduled through the crontab for the apache user.

Open an SSH session to the Nagios XI server and execute the following command:

crontab -u apache -l

 

The output will be similar to:

#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="johndoe" > /dev/null 2>&1

 

The helpful information here is that it can help identify which users have scheduled reports.

You can then investigate what reports the users have setup:

Login to Nagios XI as nagiosadmin and navigate to Admin > Users > Manage Users.

Click the Masquerade As icon (eyeball) to login as that user.

Click Continue to login as that user.

Now that you are logged in as that user you can navigate to Reports > Scheduled Reports to identify what specific reports the user has scheduled.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

Posted by: - Wed, Oct 12, 2016 at 11:19 PM. This article has been viewed 1750 times.
Online URL: https://support.nagios.com/kb/article/nagios-xi-display-all-scheduled-reports-551.html

Powered by PHPKB (Knowledge Base Software)