No localhost_traffic_in_15 file in rra

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

Moderators: Developers, Moderators

Post Reply
velvetpixel
Posts: 3
Joined: Sun Sep 04, 2011 1:34 pm

No localhost_traffic_in_15 file in rra

Post by velvetpixel »

After install I am not able to get snmp traffic graphs due to localhost_traffic_in_14 and localhost_traffic_in_15 not existing in rra.

[root@vps cacti]# ls -al rra
total 732
drwxrwxr-x 2 cacti cacti 4096 Sep 4 10:40 .
drwxr-xr-x 12 root root 4096 Sep 4 09:39 ..
-rw-r--r-- 1 cacti cacti 33 May 16 2010 .htaccess
-rw-r--r-- 1 cacti cacti 141492 Sep 4 10:55 abw_load_1min_10.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 10:55 abw_mem_buffers_8.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 10:55 abw_mem_swap_9.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 10:55 abw_proc_12.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 10:55 abw_snmp_oid_13.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 10:55 abw_users_11.rrd
-rw-r--r-- 1 cacti cacti 141492 Sep 4 11:00 localhost_load_1min_5.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 11:00 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 11:00 localhost_mem_swap_4.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 11:00 localhost_proc_7.rrd
-rw-r--r-- 1 cacti cacti 47844 Sep 4 11:00 localhost_users_6.rrd


From apache error_log:
ERROR: opening '/var/www/cacti/rra/localhost_traffic_in_15.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/localhost_traffic_in_15.rrd': No such file or directory


Everything else seems to be functioning fine.
How do I fix this?
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: No localhost_traffic_in_15 file in rra

Post by noname »

velvetpixel
Posts: 3
Joined: Sun Sep 04, 2011 1:34 pm

Re: No localhost_traffic_in_15 file in rra

Post by velvetpixel »

Well I am getting an snmpd connection for the device in cacti:

SNMP Information
System:Linux vps.example.net 2.6.18-128.2.1.el5.028stab064.7PAE #1 SMP
Fri Aug 21 03:42:35 MSD 2009 i686
Uptime: 28949 (0 days, 0 hours, 4 minutes)
Hostname: vps.example.net
Location: Unknown
Contact: root@localhost


and snmpwalk is working:

[root@vps ~]# snmpwalk -v 1 -c xxxxx localhost IP-MIB::ipAdEntIfIndex
IP-MIB::ipAdEntIfIndex.xx.xx.xx.xx = INTEGER: 3
IP-MIB::ipAdEntIfIndex.xx.xx.xx.xx = INTEGER: 3
IP-MIB::ipAdEntIfIndex.xx.xx.xx.xx = INTEGER: 3
IP-MIB::ipAdEntIfIndex.xx.xx.xx.xx = INTEGER: 3
IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1

In the associated data query of the device I see this:
2) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [18 Items, 2 Rows]


I dumbed down my snmpd.conf to two lines:
rocommunity something 127.0.0.1
rocommunity something xx.xx.xx.xx.xx <-- IP of server I want stats from and which cacti is running on.

I started over from scratch and am still getting file file not found error:
RROR: opening '/var/www/cacti/rra/vps_example_net_traffic_in_18.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/vps_example_net_traffic_in_17.rrd': No such file or directory

any ideas why?
Is cacti supposed to generate those rrd files when new graphs are created?
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: No localhost_traffic_in_15 file in rra

Post by noname »

velvetpixel wrote: In the associated data query of the device I see this:
2) SNMP - Interface Statistics (Verbose Query) Uptime Goes Backwards Success [18 Items, 2 Rows]
Please post the results when clicked "Verbose Query".
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests