CACTI - no data in graphs
Moderators: Developers, Moderators
CACTI - no data in graphs
Hi all,
I have problem ... with cacti. Everything looks good, but I don't see any data in graphs. So I've tried to log in as cactiuser, and run /usr/..../php /apache/htdocs/cacti/poller.php - and what??????
I see some charts ???
Could You please help me, what I do wrong?????????
Thanks
michael
I have problem ... with cacti. Everything looks good, but I don't see any data in graphs. So I've tried to log in as cactiuser, and run /usr/..../php /apache/htdocs/cacti/poller.php - and what??????
I see some charts ???
Could You please help me, what I do wrong?????????
Thanks
michael
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Screen shots please? Poller log please, in MEDIUM? What happens when you run "php poller.php" from the command line (post output), what happens when you run "php <path_cacti>/cmd.php" from the command line. Do all these things in MEDIUM logging and post your results.
TheWitness
TheWitness
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?
Hi again,
When I start cmd.php from console I see following info:
But if I run poller.php form console in cacti log I can find new information:
THX
When I start cmd.php from console I see following info:
Code: Select all
"07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /www/apache/cacti/scripts/linux_memory.pl MemFree:, output: 8304
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /www/apache/cacti/scripts/linux_memory.pl SwapFree:, output: 0
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /www/apache/cacti/scripts/loadavg_multi.pl,output: 1min:0.08 5min:0.02 10min:0.01
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /www/apache/cacti/scripts/unix_users.pl, output: 2
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /www/apache/cacti/scripts/unix_processes.pl, output: 84
07/21/2006 08:01:01 AM - CMDPHP: Poller[0] Time: 0.3642 s, Theads: N/A, Hosts: 1
Code: Select all
07/21/2006 08:09:12 AM - SYSTEM STATS: Time:1.0997 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Time: 0.3635 s, Theads: N/A, Hosts: 1
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /www/apache/cacti/scripts/unix_processes.pl, output: 88
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /www/apache/cacti/scripts/unix_users.pl, output: 2
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /www/apache/cacti/scripts/loadavg_multi.pl, output: 1min:0.17 5min:0.06 10min:0.02
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /www/apache/cacti/scripts/linux_memory.pl SwapFree:, output: 0
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /www/apache/cacti/scripts/linux_memory.pl MemFree:, output: 3008
07/21/2006 08:09:11 AM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
THX
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Same information, the order is just reversed because you werer looking at the Cacti log in the second example. Your system is fine, I would bet your graphs are ok as well. I suspect a permissions issue.
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
That was correct, now see if your pollr log is more filled than it was earlier today. If no, thn your cron job is not running properly.
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Use root. It is likely not running because of some issue with the user ID you chose. Going to root removed that possiblilty.
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Maybe you should check to verify that the crond service is running. Try "chkconfig --list | grep cron". If it shows off for levels 345, then "chkconfig crond on" and "etc/init.d/crond start".
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Change your cron to push stdout and stderr to a file and then see what that file says.
TheWitness
TheWitness
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?
Who is online
Users browsing this forum: No registered users and 5 guests