生产环境:
操作系统: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出了问题。
本文出自 “Linux~DBA~MBA~EIE” 博客,请务必保留此出处http://sky9896.blog.51cto.com/2330653/1716322
原文地址:http://sky9896.blog.51cto.com/2330653/1716322