Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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 » Wed Jul 13, 2005 9:49 am
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 (104.29 KiB) Viewed 8051 times
data_source_int_traffic.jpg (89.27 KiB) Viewed 8052 times
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Wed Jul 13, 2005 1:34 pm
What version of RRDTool are you using?
TheWitness
axa
Posts: 3 Joined: Tue Dec 30, 2003 9:45 pm
Post
by axa » Wed Jul 13, 2005 9:26 pm
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 » Thu Jul 14, 2005 1:02 am
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
axa
Posts: 3 Joined: Tue Dec 30, 2003 9:45 pm
Post
by axa » Thu Jul 14, 2005 1:45 am
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 » Thu Jul 14, 2005 2:43 am
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 » Sun Jul 17, 2005 3:47 am
TheWitness, can you help?
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Sun Jul 17, 2005 8:57 am
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
lucky
Cacti User
Posts: 62 Joined: Mon Sep 30, 2002 3:23 am
Location: Germany
Post
by lucky » Mon Jul 18, 2005 1:23 am
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 366 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 » Tue Jul 19, 2005 1:31 am
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?
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Tue Jul 19, 2005 8:54 am
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
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Tue Jul 19, 2005 9:02 am
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
lucky
Cacti User
Posts: 62 Joined: Mon Sep 30, 2002 3:23 am
Location: Germany
Post
by lucky » Tue Jul 19, 2005 9:09 am
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?
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Tue Jul 19, 2005 4:43 pm
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
lucky
Cacti User
Posts: 62 Joined: Mon Sep 30, 2002 3:23 am
Location: Germany
Post
by lucky » Wed Jul 20, 2005 2:47 am
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.
Users browsing this forum: No registered users and 2 guests