No, the uptime on these servers is high.
Code: Select all
service crond status
crond (pid 20086) is running...
Code: Select all
cat /etc/cron.d/nagiosxi
# /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/snmptt_service_results.php >> /usr/local/nagiosxi/var/snmptt_service_results.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1
Code: Select all
time logrotate -vv /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file ConsoleKit
reading config info for /var/log/ConsoleKit/history
reading config file cups
reading config info for /var/log/cups/*_log
reading config file dracut
reading config info for /var/log/dracut.log
reading config file gearmand
reading config info for /var/log/gearmand/gearmand.log
reading config file httpd
reading config info for /var/log/httpd/*log
reading config file mod_gearman2
reading config info for /var/log/mod_gearman2/mod_gearman_worker.log
reading config info for /var/log/mod_gearman2/mod_gearman_neb.log
reading config file mrtg-check
reading config info for /var/log/mrtg-check/mrtg-check-output.log
reading config file mysqld
reading config file nagiosxi
reading config info for /usr/local/nagiosxi/var/*log
reading config info for /usr/local/nagiosxi/var/xidebug.log
reading config info for /usr/local/nagiosxi/var/xidebug.log.backtrace
reading config file ppp
reading config info for /var/log/ppp/connect-errors
reading config file psacct
reading config info for /var/account/pacct
reading config file snmptt
reading config info for /var/log/snmptt/snmptt*.log /var/log/snmptt/snmptthandler.debug
reading config info for /var/log/snmptt/snmptt.debug
reading config file snmptt_spool_check_logrotate
reading config info for /var/log/snmptt_spool_check.log
reading config file sssd
reading config info for /var/log/sssd/*.log
reading config file syslog
reading config info for /var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
reading config file wpa_supplicant
reading config info for /var/log/wpa_supplicant.log
reading config file yum
reading config info for /var/log/yum.log
reading config info for /var/log/wtmp
reading config info for /var/log/btmp
Handling 22 logs
rotating pattern: /var/log/ConsoleKit/history monthly (6 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/ConsoleKit/history
log does not need rotating
rotating pattern: /var/log/cups/*_log weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/cups/*_log
log /var/log/cups/*_log does not exist -- skipping
rotating pattern: /var/log/dracut.log 1048576 bytes (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/dracut.log
log does not need rotating
rotating pattern: /var/log/gearmand/gearmand.log after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/gearmand/gearmand.log
log does not need rotating
rotating pattern: /var/log/httpd/*log after 1 days (15 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/httpd/access_log
log does not need rotating
considering log /var/log/httpd/error_log
log does not need rotating
considering log /var/log/httpd/ssl_access_log
log does not need rotating
considering log /var/log/httpd/ssl_error_log
log does not need rotating
considering log /var/log/httpd/ssl_request_log
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/mod_gearman2/mod_gearman_worker.log weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/mod_gearman2/mod_gearman_worker.log
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/mod_gearman2/mod_gearman_neb.log weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/mod_gearman2/mod_gearman_neb.log
log does not need rotating
rotating pattern: /var/log/mrtg-check/mrtg-check-output.log monthly (12 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/mrtg-check/mrtg-check-output.log
log does not need rotating
rotating pattern: /usr/local/nagiosxi/var/*log 5242880 bytes (1 rotations)
empty log files are not rotated, old logs are removed
considering log /usr/local/nagiosxi/var/cleaner.log
log does not need rotating
considering log /usr/local/nagiosxi/var/cmdsubsys.log
log does not need rotating
considering log /usr/local/nagiosxi/var/dbmaint.log
log does not need rotating
considering log /usr/local/nagiosxi/var/deadpool.log
log does not need rotating
considering log /usr/local/nagiosxi/var/event_handler.log
log does not need rotating
considering log /usr/local/nagiosxi/var/eventman.log
log does not need rotating
considering log /usr/local/nagiosxi/var/feedproc.log
log does not need rotating
considering log /usr/local/nagiosxi/var/load_url.log
log does not need rotating
considering log /usr/local/nagiosxi/var/nom.log
log does not need rotating
considering log /usr/local/nagiosxi/var/perfdataproc.log
log does not need rotating
considering log /usr/local/nagiosxi/var/recurringdowntime.log
log does not need rotating
considering log /usr/local/nagiosxi/var/reportengine.log
log does not need rotating
considering log /usr/local/nagiosxi/var/scheduledreporting.log
log does not need rotating
considering log /usr/local/nagiosxi/var/snmptt_service_results.log
log does not need rotating
considering log /usr/local/nagiosxi/var/sysstat.log
log needs rotating
rotating log /usr/local/nagiosxi/var/sysstat.log, log->rotateCount is 1
dateext suffix '-20210722'
glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
destination /usr/local/nagiosxi/var/sysstat.log-20210722.gz already exists, skipping rotation
rotating pattern: /usr/local/nagiosxi/var/xidebug.log 104857600 bytes (1 rotations)
empty log files are not rotated, old logs are removed
considering log /usr/local/nagiosxi/var/xidebug.log
log /usr/local/nagiosxi/var/xidebug.log does not exist -- skipping
rotating pattern: /usr/local/nagiosxi/var/xidebug.log.backtrace 104857600 bytes (1 rotations)
empty log files are not rotated, old logs are removed
considering log /usr/local/nagiosxi/var/xidebug.log.backtrace
log /usr/local/nagiosxi/var/xidebug.log.backtrace does not exist -- skipping
rotating pattern: /var/log/ppp/connect-errors after 1 days (5 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/ppp/connect-errors
log /var/log/ppp/connect-errors does not exist -- skipping
rotating pattern: /var/account/pacct after 1 days (31 rotations)
empty log files are not rotated, old logs are removed
considering log /var/account/pacct
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/snmptt/snmptt*.log /var/log/snmptt/snmptthandler.debug weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/snmptt/snmptt.log
log does not need rotating
considering log /var/log/snmptt/snmpttsystem.log
log does not need rotating
considering log /var/log/snmptt/snmpttunknown.log
log does not need rotating
considering log /var/log/snmptt/snmptthandler.debug
log /var/log/snmptt/snmptthandler.debug does not exist -- skipping
rotating pattern: /var/log/snmptt/snmptt.debug weekly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/snmptt/snmptt.debug
log /var/log/snmptt/snmptt.debug does not exist -- skipping
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/snmptt_spool_check.log after 1 days (30 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/snmptt_spool_check.log
log does not need rotating
rotating pattern: /var/log/sssd/*.log weekly (2 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/sssd/*.log
log /var/log/sssd/*.log does not exist -- skipping
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
weekly (4 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/cron
log does not need rotating
considering log /var/log/maillog
log does not need rotating
considering log /var/log/messages
log does not need rotating
considering log /var/log/secure
log does not need rotating
considering log /var/log/spooler
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/wpa_supplicant.log 30720 bytes (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/wpa_supplicant.log
log does not need rotating
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/yum.log yearly (4 rotations)
empty log files are not rotated, old logs are removed
considering log /var/log/yum.log
log does not need rotating
rotating pattern: /var/log/wtmp monthly (1 rotations)
empty log files are rotated, only log files >= 1048576 bytes are rotated, old logs are removed
considering log /var/log/wtmp
log does not need rotating
rotating pattern: /var/log/btmp monthly (1 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/btmp
log does not need rotating
real 0m0.304s
user 0m0.002s
sys 0m0.007s