big newbee - I dont see graph
Moderators: Developers, Moderators
big newbee - I dont see graph
hello ! and congratulation for cacti
excuse my bad english , i am french
i have a problem with cacti, i install this on a server with RH9 mysql pre installed ( with a panel administration named "direct admin" ) and i compil RRDtool and SNMP with your install guide : but cacti dont create graph
i take a screen shot for you
thanks to help me
regards
excuse my bad english , i am french
i have a problem with cacti, i install this on a server with RH9 mysql pre installed ( with a panel administration named "direct admin" ) and i compil RRDtool and SNMP with your install guide : but cacti dont create graph
i take a screen shot for you
thanks to help me
regards
- Attachments
-
- ScreenShot001.jpg (46.77 KiB) Viewed 3349 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Have you at least run the poller one time?
The rrd files that are used to graph are created/updated by the poller. If the poller hasn't run, then no graphs.
The rrd files that are used to graph are created/updated by the poller. If the poller hasn't run, then no graphs.
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Are you running the poller every 5 minutes from cron/scheduler? This important, as you will not see data in the graphs until at least to polls in a row. That is the way RRDtool works.
[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]
yes i think, i edit the etc/crontab filerony wrote:Are you running the poller every 5 minutes from cron/scheduler? This important, as you will not see data in the graphs until at least to polls in a row. That is the way RRDtool works.
Code: Select all
[cacti@ns1 etc]$ cat crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * cacti_db php /home/cacti/domains/cacti.cledunet.com/public_html/cacti/poller.php > /dev/null 2>&1
[cacti@ns1 etc]$
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yep, problem.... Is php in the path defined in the crontab? I would suggest that you put the full path to php in cron.
Also, you can confirm this by checking the cron logs.
Also, you can confirm this by checking the cron logs.
[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]
i modify /etc/crontab with the complet URL for php
graph is empty
and when i type php poller.php i have some error :
Code: Select all
[root@ns1 etc]# cat crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/5 * * * * cacti_db /usr/local/bin/php /home/cacti/domains/cacti.cledunet.com/public_html/cacti/poller.php > /dev/null 2>&1
and when i type php poller.php i have some error :
[cacti@ns1 cacti]$ php poller.php
OK u:0.00 s:0.00 r:2.11
OK u:0.00 s:0.01 r:2.11
OK u:0.00 s:0.01 r:2.14
OK u:0.00 s:0.01 r:2.14
OK u:0.00 s:0.01 r:2.14
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:8.16
OK u:0.00 s:0.01 r:8.16
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:12.17
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:17.22
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:21.34
OK u:0.00 s:0.01 r:21.34
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:25.34
OK u:0.00 s:0.01 r:25.34
Timeout: No Response from 127.0.0.1:161.
OK u:0.00 s:0.01 r:29.39
OK u:0.00 s:0.01 r:29.39
04/08/2005 12:07:46 AM - SYSTEM STATS: Time: 29.4837 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
[cacti@ns1 cacti]$
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Temporarily redirect your stdout/stderr to a file and review it's contents for more information. In addition, please post your DEBUG output from System Utilities->View Cacti Log
TheWitenss
TheWitenss
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Ton utilisateur qui execute le script 'pooler.php' ne devrait il pas être plutot le user de Apache. Je serais etonné que ton user Apache soit 'cacti_db'. En fait l'utilisateur qui execute le script, pour toi cacti_db, doit avoir les droits d'ecriture dans les repertoires 'cacti/log' & 'cacti/rra' sans cela ca ne fonctionnera jamais.ramax wrote:Code: Select all
*/5 * * * * cacti_db /usr/local/bin/php /home/cacti/domains/cacti.cledunet.com/public_html/cacti/poller.php > /dev/null 2>&1
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Translation ala google:iocombe wrote:Ton utilisateur qui execute le script 'pooler.php' ne devrait il pas être plutot le user de Apache. Je serais etonné que ton user Apache soit 'cacti_db'. En fait l'utilisateur qui execute le script, pour toi cacti_db, doit avoir les droits d'ecriture dans les repertoires 'cacti/log' & 'cacti/rra' sans cela ca ne fonctionnera jamais.ramax wrote:Code: Select all
*/5 * * * * cacti_db /usr/local/bin/php /home/cacti/domains/cacti.cledunet.com/public_html/cacti/poller.php > /dev/null 2>&1
Good point.Your user who execute script ' pooler.php' should not it not be rather to use it of Apache. I would be astonished that your to use Apache is ' cacti_db '. In fact the user who execute script, for you cacti_db, must have the rights of writing in the repertoires ' cacti/log' & ' cacti/rra' without that Ca will never function.
[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]
Who is online
Users browsing this forum: No registered users and 0 guests