359025439 发表于 2019-1-10 06:13:52

cacti出图不出数据的问题

  生产环境:

  操作系统:CentOS 6.6
  软件包:Version 0.8.8a
  插件如下:
ActionsNameVersionLoad OrderDescription**TypeStatusAuthorhttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngReportit0.7.3
Cacti-ReportItGeneralActiveThe Cacti Grouphttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngMonitor1.3
Device MonitoringGeneralActiveJimmy Connerhttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngSettings0.71
Global Plugin SettingsSystemActiveJimmy Connerhttp://117.40.239.9/cacti/images/install_icon_disabled.pnghttp://117.40.239.9/cacti/images/view_none.gifWeathermap0.97a
PHP Network WeathermapOld PIAActiveHoward Joneshttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngRealtime0.5
Realtime Graph ViewerGeneralActiveMathieu Virbelhttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngSyslog1.22
Syslog MonitoringGeneralActiveJimmy Connerhttp://117.40.239.9/cacti/images/uninstall_icon.gifhttp://117.40.239.9/cacti/images/disable_icon.pngThold0.5
ThresholdsGeneralActiveJimmy Conner  问题如图:
http://s3.运维网.com/wyfs02/M00/76/73/wKioL1ZT71Oy94x2AAYR0Q69eUU904.jpg
  # crontab-l
  bash: crontab:command not found#事前安装好了,在这里说明没找到该命令
  # chkconfig --list|grep cron #显示空白,说明没有安装
  # yum install-yvixie-cron
  # echo '*/1 * * * */usr/bin/php/var/www/html/cacti/poller.php>/dev/null 2>&1' >>/var/spool/cron/root#每分种执行一次poller.php
   问题解决,原因是cron出了问题。
http://s1.运维网.com/wyfs02/M00/76/74/wKiom1ZT73_hzPimAAKLyr3ZjGA364.jpg



页: [1]
查看完整版本: cacti出图不出数据的问题