生产环境:
操作系统:CentOS 6.6
软件包:Version 0.8.8a
插件如下:
Actions | Name | Version | Load Order | Description** | Type | Status | Author |
Reportit | 0.7.3 | Cacti-ReportIt | General | Active | The Cacti Group | ||
Monitor | 1.3 | Device Monitoring | General | Active | Jimmy Conner | ||
Settings | 0.71 | Global Plugin Settings | System | Active | Jimmy Conner | ||
Weathermap | 0.97a | PHP Network Weathermap | Old PIA | Active | Howard Jones | ||
Realtime | 0.5 | Realtime Graph Viewer | General | Active | Mathieu Virbel | ||
Syslog | 1.22 | Syslog Monitoring | General | Active | Jimmy Conner | ||
Thold | 0.5 | Thresholds | General | Active | Jimmy Conner |
问题如图:
[[email protected]]# crontab -l
bash: crontab:command not found #事前安装好了,在这里说明没找到该命令
[[email protected]]# chkconfig --list|grep cron #显示空白,说明没有安装
[[email protected]]# yum install -y vixie-cron
[[email protected]]# echo ‘*/1 * * * * /usr/bin/php/var/www/html/cacti/poller.php >/dev/null 2>&1‘ >>/var/spool/cron/root #每分种执行一次poller.php
问题解决,原因是cron出了问题。
时间: 2024-11-04 16:29:58