Unable to view graphs after cacti installation.
Moderators: Developers, Moderators
Unable to view graphs after cacti installation.
Configured "cacti 0.8.7e" on my "CentOS 5.2" version.
After successful installation, i am unable to see "localhost" graphs in cacti.
httpd.log is saying below listed message.
tail -f /var/log/httpd/error_log
ERROR: opening '/var/www/html/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
ERROR: opening '/var/www/html/cacti/rra/localhost_hdd_free_8.rrd': No such file or directory
By visiting cacti forum, i have downloaded "hostinf.tar.gz" & extracted it in "/var/www/html/cacti" which is the default DocumentRoot for "cacti"
what should i do now?
Waiting.
After successful installation, i am unable to see "localhost" graphs in cacti.
httpd.log is saying below listed message.
tail -f /var/log/httpd/error_log
ERROR: opening '/var/www/html/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
ERROR: opening '/var/www/html/cacti/rra/localhost_hdd_free_8.rrd': No such file or directory
By visiting cacti forum, i have downloaded "hostinf.tar.gz" & extracted it in "/var/www/html/cacti" which is the default DocumentRoot for "cacti"
what should i do now?
Waiting.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Read the documentation...
You need to setup the poller in cron.
You need to setup the poller in cron.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
crontab already set.
Dear Friend,
Crontab has already modified. Below is the entry in crontab.
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
What else i need to check?
Crontab has already modified. Below is the entry in crontab.
*/5 * * * * cactiuser php /var/www/html/cacti/poller.php > /dev/null 2>&1
What else i need to check?
cacti.log file notification.
I am getting below notification in my cacti.log file,which is located at
"/var/www/html/cacti/log/cacti.log"
06/29/2009 06:26:13 PM - SYSTEM STATS: Time:1.7705 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
Also let me know which file should i check to get the solution for cacti?
I have installed NAGIOS on the same CentOS Linux Server & I would like to combine "Nagios & Cacti" for better output of graphs & monitoring logs.
Is there any particular documentation available to merge "Nagios & Cacti" & I can monitor my servers & network Devices?
I have AIX 5.1.2 Servers,having Oracle Service configured. Now,i want to monitor all 3 AIX Servers without anabling SNMP in AIX OS.
Is it possible through cacti? If Yes, How many services can i monitor by using cacti?
"/var/www/html/cacti/log/cacti.log"
06/29/2009 06:26:13 PM - SYSTEM STATS: Time:1.7705 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
Also let me know which file should i check to get the solution for cacti?
I have installed NAGIOS on the same CentOS Linux Server & I would like to combine "Nagios & Cacti" for better output of graphs & monitoring logs.
Is there any particular documentation available to merge "Nagios & Cacti" & I can monitor my servers & network Devices?
I have AIX 5.1.2 Servers,having Oracle Service configured. Now,i want to monitor all 3 AIX Servers without anabling SNMP in AIX OS.
Is it possible through cacti? If Yes, How many services can i monitor by using cacti?
Unable to Get Graphs.
Below is my crontab entry.
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Below is the output of "/var/www/html/cacti/log/cacti.log"
06/29/2009 06:26:13 PM - SYSTEM STATS: Time:1.7705 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
06/30/2009 02:15:41 PM - CMDPHP: Poller[0] Time: 0.3091 s, Theads: N/A, Hosts: 5
06/30/2009 02:18:33 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 71542 seconds have passed since the last poll!
06/30/2009 02:18:33 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 11, Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), (DS[5]), users(DS[6]), proc(DS[7]), hdd_free(DS[8]), hdd_used(DS[8]), hdd_free(DS[9]), hdd_used(DS[9]), hdd_free(DS[10]), hdd_used(DS[10])
06/30/2009 02:18:34 PM - SYSTEM STATS: Time:1.7327 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
06/30/2009 02:20:17 PM - CMDPHP: Poller[0] Time: 0.1246 s, Theads: N/A, Hosts: 5
I am getting data,but graphs are still not visible.
Please help me out. I have followed all the installation instructions given on the website.
"/var/www/html/cacti/rra directorty & /log direcotry is having"cactiuser" permission.
What else i need to check?
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1
*/5 * * * * cactiuser /usr/bin/php /var/www/html/cacti/cmd.php > /dev/null 2>&1
Below is the output of "/var/www/html/cacti/log/cacti.log"
06/29/2009 06:26:13 PM - SYSTEM STATS: Time:1.7705 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
06/30/2009 02:15:41 PM - CMDPHP: Poller[0] Time: 0.3091 s, Theads: N/A, Hosts: 5
06/30/2009 02:18:33 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 71542 seconds have passed since the last poll!
06/30/2009 02:18:33 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 11, Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), (DS[5]), users(DS[6]), proc(DS[7]), hdd_free(DS[8]), hdd_used(DS[8]), hdd_free(DS[9]), hdd_used(DS[9]), hdd_free(DS[10]), hdd_used(DS[10])
06/30/2009 02:18:34 PM - SYSTEM STATS: Time:1.7327 Method:cmd.php Processes:1 Threads:N/A Hosts:6 HostsPerProcess:6 DataSources:11 RRDsProcessed:8
06/30/2009 02:20:17 PM - CMDPHP: Poller[0] Time: 0.1246 s, Theads: N/A, Hosts: 5
I am getting data,but graphs are still not visible.
Please help me out. I have followed all the installation instructions given on the website.
"/var/www/html/cacti/rra directorty & /log direcotry is having"cactiuser" permission.
What else i need to check?
- Attachments
-
- cacti-no-graph.jpg (126.83 KiB) Viewed 4613 times
Graphs are Working Now.
Dear All,
Now,i can generate graphs. What i did is given below.
1) Don't forget to install "spine" after cacti installation.
2) Make sure you have configured "poller" entry in crontab as suggested by "cacti documentation"
3) you can modify crontab entry either as a "root" user OR "cactiuser"
In my case,i modify crontab for 5 mintue poller period,which didn't work.
4) Make sure your crontab service is running.
service crontab status/start/stop/restart
chkconfig crontab on ( for startup )
5) Don't modify "poller" entry from 5 minutes to 1 minute. If you Do, you need to
modify many more things,which will become headache.
6) Use both entries "poller.php & cmd.php" in crontab.
Thanks,
Nishith Vyas
Now,i can generate graphs. What i did is given below.
1) Don't forget to install "spine" after cacti installation.
2) Make sure you have configured "poller" entry in crontab as suggested by "cacti documentation"
3) you can modify crontab entry either as a "root" user OR "cactiuser"
In my case,i modify crontab for 5 mintue poller period,which didn't work.
4) Make sure your crontab service is running.
service crontab status/start/stop/restart
chkconfig crontab on ( for startup )
5) Don't modify "poller" entry from 5 minutes to 1 minute. If you Do, you need to
modify many more things,which will become headache.
6) Use both entries "poller.php & cmd.php" in crontab.
Thanks,
Nishith Vyas
- Attachments
-
- cacti-ok-graph.jpg (109.91 KiB) Viewed 4606 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Graphs are Working Now.
This is definitively an optional step. But for optimum performance, it is requirednishith wrote:1) Don't forget to install "spine" after cacti installation.
If you run the system-wide crontab of /etc/crontab, you will have to specify the userd. If you run the crontab of cactiuser, the userid must NOT be specified. That's how cronatbs work.2) Make sure you have configured "poller" entry in crontab as suggested by "cacti documentation"
3) you can modify crontab entry either as a "root" user OR "cactiuser"
In my case,i modify crontab for 5 mintue poller period,which didn't work.
A good hint. Will use this for the documentation site.4) Make sure your crontab service is running.
service crontab status/start/stop/restart
chkconfig crontab on ( for startup )
This is correct!5) Don't modify "poller" entry from 5 minutes to 1 minute. If you Do, you need to
modify many more things,which will become headache.
I fear that this is not correct. Please post crontab entries to judge6) Use both entries "poller.php & cmd.php" in crontab.
Reinhard
Who is online
Users browsing this forum: No registered users and 6 guests