[SOLVED] Nothing in ./rra - no graphs

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Spook_Aus
Posts: 5
Joined: Mon Mar 31, 2008 9:55 pm

[SOLVED] Nothing in ./rra - no graphs

Post by Spook_Aus »

Can someone give me a hint where to go next - im a bit of a newbie with fedora 8 so please dont hold that against me...

I have followed the debugging steps linked in one of the admins sig's but im stuck.

The problem is no .rrd files are showing up in the cacti/rra directory which * i think * is the reason why no graphs are showing up.

Another thought from me is it relates to user permissions. But im not sure.

Here is what I have done so far....

Code: Select all

* Check SNMP
[cactiuser@medion scripts]$ snmpget -v 1  -c public localhost system.sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux medion 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686


* Check perl exec w/cactiuser
[cactiuser@medion scripts]$ perl ping.pl 192.168.1.100
0.372[cactiuser@medion scripts]$


* Manually run poller 
php -r cmd.php 1 1
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] PING: Host is alive
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/share/cacti/scripts/linux_memory.pl MemFree:, output: 219396
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/share/cacti/scripts/linux_memory.pl SwapFree:, output: 2031608
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/share/cacti/scripts/loadavg_multi.pl, output: 1min:0.02 5min:0.01 10min:0.00
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/share/cacti/scripts/unix_users.pl , output: 2
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/share/cacti/scripts/unix_processes.pl, output: 144
04/01/2008 03:52:46 PM - CMDPHP: Poller[0] Time: 0.0705 s, Theads: N/A, Hosts: 1


[root@medion cacti]# su cactiuser
[cactiuser@medion cacti]$ php -q /usr/share/cacti/cmd.php 1 1
[cactiuser@medion cacti]$ cd rra
[cactiuser@medion rra]$ ls
[cactiuser@medion rra]$


04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] PING: Host is alive
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] DS[3] CMD: perl /usr/share/cacti/scripts/linux_memory.pl MemFree:, output: 219320
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] DS[4] CMD: perl /usr/share/cacti/scripts/linux_memory.pl SwapFree:, output: 2031608
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] DS[5] CMD: perl /usr/share/cacti/scripts/loadavg_multi.pl, output: 1min:0.01 5min:0.01 10min$
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] DS[6] CMD: perl /usr/share/cacti/scripts/unix_users.pl , output: 2
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Host[1] DS[7] CMD: perl /usr/share/cacti/scripts/unix_processes.pl, output: 144
04/01/2008 03:55:39 PM - CMDPHP: Poller[0] Time: 0.0709 s, Theads: N/A, Hosts: 1


Still nothing in rra...

Anyone, someone, please? :o
Last edited by Spook_Aus on Tue Apr 01, 2008 6:10 am, edited 1 time in total.
Spook_Aus
Posts: 5
Joined: Mon Mar 31, 2008 9:55 pm

Post by Spook_Aus »

ok I solved this...

chown -R apache.apache -

cacti/
/var/log/poller.log

Edit
/etc/cron.d/cacti

change to

*/5 * * * * apache /usr/bin/php /<path>/cacti/poller.php > /var/log/poller.log 2>&1
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests