Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

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/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 4364 times since Tue, Jan 26, 2016
PHPMailer - Troubleshooting Using Debug Logging
Viewed 31293 times since Tue, Aug 14, 2018
Nagios XI - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 3917 times since Mon, Jan 25, 2016
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 4603 times since Thu, Mar 8, 2018
XI 5.4 monitoring engine not running
Viewed 9467 times since Mon, Feb 6, 2017
Enabling Oracle Linux Optional Repository
Viewed 16224 times since Mon, May 14, 2018
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 4956 times since Tue, Jan 26, 2016
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 6904 times since Wed, Jun 1, 2016
SSL Certificate does not validate properly
Viewed 3722 times since Wed, Jan 20, 2021
Disabling Outdated Versions of SSL/TLS
Viewed 6917 times since Thu, Aug 6, 2020