Nagios XI Cron Jobs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dhatha03
Posts: 26
Joined: Thu Nov 12, 2015 12:24 pm

Nagios XI Cron Jobs

Post by dhatha03 »

I understand that Nagios XI needs to run a set of Cron jobs on a regular basis and that they are critical to the operation of Nagios. It appears that the majority of them are set to run every minute. These jobs running every minute are filling my audit log up pretty quickly, close to 30,000 records for a 24-hour period. Are there recommendations on different time intervals for these jobs, then the defaults? Listed below is the current (default) configuration:

# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi

# Backup MySQL & PostgreSQL Databases
0 7 * * * root /root/scripts/automysqlbackup
0 7 * * * root /root/scripts/autopostgresqlbackup > /dev/null 2>&1

* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php >> /usr/local/nagiosxi/var/dbmaint.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1
01 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/recurring_downtime.php >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1

Thank you.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI Cron Jobs

Post by scottwilkerson »

these are recommended to stay just how they are. As a matter of fact changing them will have adverse affects and cause Nagios XI to not run properly.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dhatha03
Posts: 26
Joined: Thu Nov 12, 2015 12:24 pm

Re: Nagios XI Cron Jobs

Post by dhatha03 »

Thank you for the information, I will leave them as is.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI Cron Jobs

Post by scottwilkerson »

dhatha03 wrote:Thank you for the information, I will leave them as is.
great

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked