cannot create new graphs / no new rdd files created

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

Code: Select all

Data Source Debug

c:/rrdtool/rrdtool.exe create \
c:\inetpub\wwwroot\cacti/rra/fwectinternet_cisco_pic_conn_443.rrd \
--step 300  \
DS:cisco_pic_conn:GAUGE:600:0:10000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
or

Code: Select all

Data Source Debug

c:/rrdtool/rrdtool.exe create \
c:\inetpub\wwwroot\cacti/rra/s28040rem04_cpu_nice_434.rrd \
--step 300  \
DS:cpu_nice:COUNTER:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
i have a problem with every new graph which i create :(

old graphs are working fine!
Attachments
data_source_pix_conn.jpg
data_source_pix_conn.jpg (104.29 KiB) Viewed 8054 times
data_source_int_traffic.jpg
data_source_int_traffic.jpg (89.27 KiB) Viewed 8055 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What version of RRDTool are you using?

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?
User avatar
axa
Posts: 3
Joined: Tue Dec 30, 2003 9:45 pm

Post by axa »

:o
i got same problem few days @_@

and no idea for this problem too.
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

TheWitness wrote:What version of RRDTool are you using?

TheWitness
i'm using rrdtool 1.2.10 from cacti site.....
i've also tried all other versions 1.2.xx
User avatar
axa
Posts: 3
Joined: Tue Dec 30, 2003 9:45 pm

Post by axa »

lucky wrote:
TheWitness wrote:What version of RRDTool are you using?

TheWitness
i'm using rrdtool 1.2.10 from cacti site.....
i've also tried all other versions 1.2.xx

The same as me.....
nagios 14 # rrdtool
RRDtool 1.2.6 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Thu Jul 14 14:07:43 CST 2005
stoltze
Posts: 1
Joined: Thu Jul 14, 2005 2:33 am

Post by stoltze »

I have problems too... :(

I can't view any graphs at all..

When using graph debugging in the WebGUI, I get this error:

RRDTool Says:
ERROR: opening 'D:\data\websites\cacti\www/rra/buzz_traffic_in_152.rrd': No such file or directory


In the rra directory, I only have one file: .placeholder

Any ideas?

Regards,
Stoltze
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

TheWitness, can you help?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Set Logging to DEBUG and run the following from the command line:

"php <path_cacti>/cmd.php"

also

"php poller.php"

before doing so though, execute the following command:

mysql -u root -p cacti
> select count(*) from poller_output;
> truncate table poller_output;
> quit

Look for the obvious errors. Then, post the results of all three.

TheWitness
Post results of
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?
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

hi,

Code: Select all

mysql>
select count(*) from poller_output; 
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.00 sec)
mysql>
truncate table poller_output;
Query OK, 0 rows affected (0.00 sec)
poller:

Code: Select all

07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create c:\inetpub\wwwroot\cacti/rra/fwelan2lan_cisco_pic_conn_444.rrd   --step 300   DS:cisco_pic_conn:GAUGE:600:0:10000000  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\inetpub\wwwroot\cacti\rra\fwelan2lan_cisco_pic_conn_444.rrd --template cisco_pic_conn N:44
07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create c:\inetpub\wwwroot\cacti/rra/fwectinternet_cisco_pic_conn_443.rrd   --step 300   DS:cisco_pic_conn:GAUGE:600:0:10000000  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\inetpub\wwwroot\cacti\rra\fwectinternet_cisco_pic_conn_443.rrd --template cisco_pic_conn N:464
07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create c:\inetpub\wwwroot\cacti/rra/fwheinternet_cisco_pic_conn_445.rrd   --step 300   DS:cisco_pic_conn:GAUGE:600:0:10000000  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
07/18/2005 08:21:18 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\inetpub\wwwroot\cacti\rra\fwheinternet_cisco_pic_conn_445.rrd --template cisco_pic_conn N:2092
Waiting on 1/1 pollers.
cmd:

Code: Select all

07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[158] SNMP: Host responded to SNMP
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[158] RECACHE: Processing 1 items in the auto reindex cache for '10.110.250.51'.
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[158] DS[444] SNMP: v1: 10.110.250.51, dsname: cisco_pic_conn, oid: .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6, output: 46
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[159] SNMP: Host responded to SNMP
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[159] RECACHE: Processing 1 items in the auto reindex cache for '10.110.251.235'.
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[159] DS[443] SNMP: v1: 10.110.251.235, dsname: cisco_pic_conn, oid: .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6, output: 485
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[160] SNMP: Host responded to SNMP
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[160] RECACHE: Processing 1 items in the auto reindex cache for '10.112.251.211'.
07/18/2005 08:21:58 AM - CMDPHP: Poller[0] Host[160] DS[445] SNMP: v1: 10.112.251.211, dsname: cisco_pic_conn, oid: .1.3.6.1.4.1.9.9.147.1.2.2.2.1.5.40.6, output: 1740
07/18/2005 08:21:59 AM - CMDPHP: Poller[0] Time: 19.3334 s, Theads: N/A, Hosts: 147
thanks for help!!!
Attachments
poller.txt
(112.12 KiB) Downloaded 367 times
cmd.txt
(126.89 KiB) Downloaded 335 times
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

hi.
last night, all my new graphs were created and got falues for one houre. now, the values in the log are ok, but they are not written in the rrd files.

any idea?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

lucky,

Looking at your stdout, it appears that the rrdtool is crapping out during the update process. Were you using 1.2.10? It is clear that RRDTool is crashing.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Edit <cacti>/poller.php and comment out the lines that contain the following:

rrd_init() and rrd_close()

The poller should still operate, but you may get zombie rrdtool processes and some graphs may not update. This will help you find the rrd_create or rrd_update syntax that is crashing rrdtool.

Once you find the problem data source, please post again. It is important that we understand why rrdtool is crashing. Also, if you are not at rrdtool 1.2.10, try that first.

Larry
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?
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

i'm usind rrdtool 1.2.10

i cannot understand that last night all my new graphs were created and updated for one hour?!?!?!

Code: Select all

Edit <cacti>/poller.php and comment out the lines that contain the following: 

rrd_init() and rrd_close() 

The poller should still operate, but you may get zombie rrdtool processes and some graphs may not update. This will help you find the rrd_create or rrd_update syntax that is crashing rrdtool. 
i will try it tomorrow......

do you think a rrdtool 1.0.x will help for the moment?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you have been using 1.2.x and your RRD's were created with it, you kindof stuck. With the changes noted, the poller will continue to work. If there is a problem with a template or the data causing rrdtool to crash, we need to know about it. So hang in there... please

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?
lucky
Cacti User
Posts: 62
Joined: Mon Sep 30, 2002 3:23 am
Location: Germany

Post by lucky »

ok,

i've made your workaround in the poller.php. now ALL graphs are updating and new graphs are creating with the first polling!

Code: Select all

07/20/2005 09:40:06 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:\inetpub\wwwroot\cacti/rra/fwectinternet_cisco_pix_io_mem_448.rrd   --step 300   DS:cisco_pix_io_mem:GAUGE:600:0:U  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
07/20/2005 09:40:06 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update c:\inetpub\wwwroot\cacti\rra\fwectinternet_cisco_pix_io_mem_448.rrd --template cisco_pix_io_mem N:70512304
i cannot see any errors! you??
Last edited by lucky on Fri Jul 22, 2005 1:21 am, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests