Pages

Sunday, February 8, 2015

Cacti mrtg Empty or Blank Grpah problem solved



Cacti mrtg Empty or Blank Grpah problem
=======================================


cd /var/www/html/
chown -R apache:apache cacti
cd cacti


php /var/www/html/cacti/poller.php

ls -la rra
see file modification date time updated or not..



vi /etc/cron.d/cacti
PUT # MARK TO DISABLE THIS CORN JOB


crontab -e
*/1* * * *    php /var/www/html/cacti/poller.php &>/dev/null


Checck  vi /etc/php.ini
date.timezone = Asia/Dhaka


Also set  snmp version 1 for all devices at graph web console


=================================================

Graph Pool Time edit
---------------------------
Goto Web ->Console->Settings->Poller

Poller Interval ===== Every Minutes
Cron Interval ===== Every Minutes

After changing time interval always rebuild pooler cache by bellow command

php  /var/www/html/cacti/cli/rebuild_poller_cache.php


***
Check firewall:  iptables and hosts.allow and hosts.deny files either snmpd on or off
and also telnet snmp port to ensure services are open.
vi /etc/hosts.allow
snmpd:ALL
service iptables stop
 
===================== if any problem mail me:: royalmcuc@yahoo.com =====

No comments:

Post a Comment