生產環境:
操作系統: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 |
問題如圖:
[root@sky9896cron]# crontab -l
bash: crontab:command not found #事前安裝好了,在這裏說明沒找到該命令
[root@sky9896cron]# chkconfig --list|grep cron #顯示空白,說明沒有安裝
[root@sky9896cron]# yum install -y vixie-cron
[root@sky9896cron]# echo '*/1 * * * * /usr/bin/php/var/www/html/cacti/poller.php >/dev/null 2>&1' >>/var/spool/cron/root #每分種執行一次poller.php
問題解決,原因是cron出了問題。