help in german please

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

Moderators: Developers, Moderators

Post Reply
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

help in german please

Post by seraph »

Hallo
leider ist mein englisch sehr schlecht aber ich verzweifle noch.

Habe jetzt schon 3 mal cacti neu installiert, aber bei 4 Graph templates erstellt er keine grafik, er sagt

Code: Select all

ERROR: opening '/opt/cacti/rra/linuxserver_mem_total_43.rrd': No such file or directory
ich benutze SuSE Linux 9.2

habe die Templates schon wieder neu importiert aber leider geht nicht mehr.
Die Grafiken sind:
- Advance Memroy Usage
- 4 von 7 MySQL Grafiken welche ich von hier habe

Die Daten oder Scripts funktionieren:

Code: Select all

reanimation:/opt/cacti/scripts # perl mem.pl
mem_total:1035296 mem_free:21564 mem_used:1013732 swap_total:522104 swap_free:413820 swap_used:108284
Data Source Debug für MySQL Command statistics:

Code: Select all

/usr/bin/rrdtool create \
/opt/cacti/rra/linuxserver_select_44.rrd \
--step 300  \
DS:select:COUNTER:600:0:10000000000 \
DS:insert:COUNTER:600:0:10000000000 \
DS:update:COUNTER:600:0:10000000000 \
DS:change_db:COUNTER:600:0:10000000000 \
DS:delete:COUNTER:600:0:10000000000 \
RRA:AVERAGE:0.5:1:51840 \
RRA:AVERAGE:0.5:24:2160 \
RRA:AVERAGE:0.5:6:8736 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:51840 \
RRA:MIN:0.5:24:2160 \
RRA:MIN:0.5:6:8736 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:51840 \
RRA:MAX:0.5:24:2160 \
RRA:MAX:0.5:6:8736 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:51840 \
RRA:LAST:0.5:24:2160 \
RRA:LAST:0.5:6:8736 \
RRA:LAST:0.5:288:797 

Code: Select all

04/18/2005 12:30:09 PM - CMDPHP: Poller[0] Host[3] CMD: /opt/lampp/bin/php -q /opt/cacti/scripts/mysql_stats.php command 127.0.0.1 cactiuser adminbonox, output: change_db:43170 delete:241661 insert:285849 select:3050340 update:72998
was kann ich noch machen
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Hallo seraph,

der Fehler reicht nach fehlenden Berechtigungen für das Verzeichnis der RRD Datenbanken. Angenommen, die userid sei <cactiuser>, dann muß in Ihrem Beispiel <cactiuser> im Verzeichnis /opt/cacti/rra Schreibrechte haben. In der Installationsanweisung ist dafür ein Schritt angegeben:

Code: Select all

chown -R <cactiuser> rra/ log/
.
Sie sollten das rrdtool create Statement (aus Ihrem 3. Codeblock) einmal unter dem user <cactiuser> ausführen und schauen, ob es funktioniert. Sobald diese Datei angelegt ist, sollte auch die Datensammlung und die Anzeige funktionieren.

Viel Glück
Reinhard

and here the summary in english:
I suppose, that the access rights in the rra directory are not set accordingly.
Cheers
Reinhard
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

Hallo
ja das habe ich schon gemacht, alles gehört cactiuser und der gruppe cacti:

Code: Select all

drwxr-xr-x   2 cactiuser cacti     80 2004-12-19 21:01 log
-rw-r--r--   1 cactiuser cacti   1796 2004-12-19 21:01 logout.php
-rw-r--r--   1 cactiuser cacti   8770 2004-12-19 21:01 poller.php
-rw-r--r--   1 cactiuser cacti     72 2004-12-19 21:01 README
drwxr-xr-x   5 cactiuser cacti    144 2004-12-19 21:01 resource
drwxr-xr-x   3 cactiuser cacti   3168 2005-04-18 15:44 rra

Code: Select all

-rw-r--r--   1 cactiuser cacti  562404 2005-04-18 15:41 linuxserver_mem_total_43.rrd
-rw-r--r--   1 cactiuser cacti  468988 2005-04-18 15:42 linuxserver_min_73.rrd
-rw-r--r--   1 cactiuser cacti  468988 2005-04-18 15:43 linuxserver_select_44.rrd
-rw-r--r--   1 cactiuser cacti  842652 2005-04-18 15:43 linuxserver_read_key_46.rrd
-rw-r--r--   1 cactiuser cacti  188740 2005-04-18 15:43 linuxserver_used_47.rrd
-rw-r--r--   1 cactiuser cacti  188740 2005-04-18 15:44 linuxserver_traffic_out_50.rrd
-rw-r--r--   1 cactiuser cacti  188740 2005-04-18 15:44 linuxserver_running_49.rrd
das problem ist aber jetzt, es werden keine daten gesammelt.

im Logile sehe ich dass das Script für diese rrd ausgeführt wird, aber nich dass sieh upgedatet werden[/code]
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

ach ja noch etwas, alles ander funktioniert, also wenn ich irgend ein Template lösche, dann wieder mit new graph erstelle funktioniert es nur mit den bestimmten nicht. kann etwas mit der db nicht in ortnung sein?

hier noch ein rrd file:

Code: Select all

cactiuser@reanimation:/opt/cacti/rra> rrdtool info linuxserver_mem_total_43.rrd
filename = "linuxserver_mem_total_43.rrd"
rrd_version = "0001"
step = 300
last_update = 1113831696
ds[mem_total].type = "GAUGE"
ds[mem_total].minimal_heartbeat = 600
ds[mem_total].min = 0.0000000000e+00
ds[mem_total].max = 1.0995116278e+12
ds[mem_total].last_ds = "UNKN"
ds[mem_total].value = 0.0000000000e+00
ds[mem_total].unknown_sec = 96
ds[swap_total].type = "GAUGE"
ds[swap_total].minimal_heartbeat = 600
ds[swap_total].min = 0.0000000000e+00
ds[swap_total].max = 1.0995116278e+12
ds[swap_total].last_ds = "UNKN"
ds[swap_total].value = 0.0000000000e+00
ds[swap_total].unknown_sec = 96
ds[mem_used].type = "GAUGE"
ds[mem_used].minimal_heartbeat = 600
ds[mem_used].min = 0.0000000000e+00
ds[mem_used].max = 1.0995116278e+12
ds[mem_used].last_ds = "UNKN"
ds[mem_used].value = 0.0000000000e+00
ds[mem_used].unknown_sec = 96
ds[mem_free].type = "GAUGE"
ds[mem_free].minimal_heartbeat = 600
ds[mem_free].min = 0.0000000000e+00
ds[mem_free].max = 1.0995116278e+12
ds[mem_free].last_ds = "UNKN"
ds[mem_free].value = 0.0000000000e+00
ds[mem_free].unknown_sec = 96
ds[swap_free].type = "GAUGE"
ds[swap_free].minimal_heartbeat = 600
ds[swap_free].min = 0.0000000000e+00
ds[swap_free].max = 1.0995116278e+12
ds[swap_free].last_ds = "UNKN"
ds[swap_free].value = 0.0000000000e+00
ds[swap_free].unknown_sec = 96
ds[swap_used].type = "GAUGE"
ds[swap_used].minimal_heartbeat = 600
ds[swap_used].min = 0.0000000000e+00
ds[swap_used].max = 1.0995116278e+12
ds[swap_used].last_ds = "UNKN"
ds[swap_used].value = 0.0000000000e+00
ds[swap_used].unknown_sec = 96
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[0].cdp_prep[4].value = NaN
rra[0].cdp_prep[4].unknown_datapoints = 0
rra[0].cdp_prep[5].value = NaN
rra[0].cdp_prep[5].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 2
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 2
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 2
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 2
rra[1].cdp_prep[4].value = NaN
rra[1].cdp_prep[4].unknown_datapoints = 2
rra[1].cdp_prep[5].value = NaN
rra[1].cdp_prep[5].unknown_datapoints = 2
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = NaN
rra[2].cdp_prep[0].unknown_datapoints = 20
rra[2].cdp_prep[1].value = NaN
rra[2].cdp_prep[1].unknown_datapoints = 20
rra[2].cdp_prep[2].value = NaN
rra[2].cdp_prep[2].unknown_datapoints = 20
rra[2].cdp_prep[3].value = NaN
rra[2].cdp_prep[3].unknown_datapoints = 20
rra[2].cdp_prep[4].value = NaN
rra[2].cdp_prep[4].unknown_datapoints = 20
rra[2].cdp_prep[5].value = NaN
rra[2].cdp_prep[5].unknown_datapoints = 20
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = NaN
rra[3].cdp_prep[0].unknown_datapoints = 164
rra[3].cdp_prep[1].value = NaN
rra[3].cdp_prep[1].unknown_datapoints = 164
rra[3].cdp_prep[2].value = NaN
rra[3].cdp_prep[2].unknown_datapoints = 164
rra[3].cdp_prep[3].value = NaN
rra[3].cdp_prep[3].unknown_datapoints = 164
rra[3].cdp_prep[4].value = NaN
rra[3].cdp_prep[4].unknown_datapoints = 164
rra[3].cdp_prep[5].value = NaN
rra[3].cdp_prep[5].unknown_datapoints = 164
rra[4].cf = "MIN"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[4].cdp_prep[1].value = NaN
rra[4].cdp_prep[1].unknown_datapoints = 0
rra[4].cdp_prep[2].value = NaN
rra[4].cdp_prep[2].unknown_datapoints = 0
rra[4].cdp_prep[3].value = NaN
rra[4].cdp_prep[3].unknown_datapoints = 0
rra[4].cdp_prep[4].value = NaN
rra[4].cdp_prep[4].unknown_datapoints = 0
rra[4].cdp_prep[5].value = NaN
rra[4].cdp_prep[5].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = NaN
rra[5].cdp_prep[0].unknown_datapoints = 2
rra[5].cdp_prep[1].value = NaN
rra[5].cdp_prep[1].unknown_datapoints = 2
rra[5].cdp_prep[2].value = NaN
rra[5].cdp_prep[2].unknown_datapoints = 2
rra[5].cdp_prep[3].value = NaN
rra[5].cdp_prep[3].unknown_datapoints = 2
rra[5].cdp_prep[4].value = NaN
rra[5].cdp_prep[4].unknown_datapoints = 2
rra[5].cdp_prep[5].value = NaN
rra[5].cdp_prep[5].unknown_datapoints = 2
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = NaN
rra[6].cdp_prep[0].unknown_datapoints = 20
rra[6].cdp_prep[1].value = NaN
rra[6].cdp_prep[1].unknown_datapoints = 20
rra[6].cdp_prep[2].value = NaN
rra[6].cdp_prep[2].unknown_datapoints = 20
rra[6].cdp_prep[3].value = NaN
rra[6].cdp_prep[3].unknown_datapoints = 20
rra[6].cdp_prep[4].value = NaN
rra[6].cdp_prep[4].unknown_datapoints = 20
rra[6].cdp_prep[5].value = NaN
rra[6].cdp_prep[5].unknown_datapoints = 20
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = NaN
rra[7].cdp_prep[0].unknown_datapoints = 164
rra[7].cdp_prep[1].value = NaN
rra[7].cdp_prep[1].unknown_datapoints = 164
rra[7].cdp_prep[2].value = NaN
rra[7].cdp_prep[2].unknown_datapoints = 164
rra[7].cdp_prep[3].value = NaN
rra[7].cdp_prep[3].unknown_datapoints = 164
rra[7].cdp_prep[4].value = NaN
rra[7].cdp_prep[4].unknown_datapoints = 164
rra[7].cdp_prep[5].value = NaN
rra[7].cdp_prep[5].unknown_datapoints = 164
rra[8].cf = "MAX"
rra[8].rows = 600
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[8].cdp_prep[1].value = NaN
rra[8].cdp_prep[1].unknown_datapoints = 0
rra[8].cdp_prep[2].value = NaN
rra[8].cdp_prep[2].unknown_datapoints = 0
rra[8].cdp_prep[3].value = NaN
rra[8].cdp_prep[3].unknown_datapoints = 0
rra[8].cdp_prep[4].value = NaN
rra[8].cdp_prep[4].unknown_datapoints = 0
rra[8].cdp_prep[5].value = NaN
rra[8].cdp_prep[5].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = NaN
rra[9].cdp_prep[0].unknown_datapoints = 2
rra[9].cdp_prep[1].value = NaN
rra[9].cdp_prep[1].unknown_datapoints = 2
rra[9].cdp_prep[2].value = NaN
rra[9].cdp_prep[2].unknown_datapoints = 2
rra[9].cdp_prep[3].value = NaN
rra[9].cdp_prep[3].unknown_datapoints = 2
rra[9].cdp_prep[4].value = NaN
rra[9].cdp_prep[4].unknown_datapoints = 2
rra[9].cdp_prep[5].value = NaN
rra[9].cdp_prep[5].unknown_datapoints = 2
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = NaN
rra[10].cdp_prep[0].unknown_datapoints = 20
rra[10].cdp_prep[1].value = NaN
rra[10].cdp_prep[1].unknown_datapoints = 20
rra[10].cdp_prep[2].value = NaN
rra[10].cdp_prep[2].unknown_datapoints = 20
rra[10].cdp_prep[3].value = NaN
rra[10].cdp_prep[3].unknown_datapoints = 20
rra[10].cdp_prep[4].value = NaN
rra[10].cdp_prep[4].unknown_datapoints = 20
rra[10].cdp_prep[5].value = NaN
rra[10].cdp_prep[5].unknown_datapoints = 20
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = NaN
rra[11].cdp_prep[0].unknown_datapoints = 164
rra[11].cdp_prep[1].value = NaN
rra[11].cdp_prep[1].unknown_datapoints = 164
rra[11].cdp_prep[2].value = NaN
rra[11].cdp_prep[2].unknown_datapoints = 164
rra[11].cdp_prep[3].value = NaN
rra[11].cdp_prep[3].unknown_datapoints = 164
rra[11].cdp_prep[4].value = NaN
rra[11].cdp_prep[4].unknown_datapoints = 164
rra[11].cdp_prep[5].value = NaN
rra[11].cdp_prep[5].unknown_datapoints = 164
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[12].cdp_prep[1].value = NaN
rra[12].cdp_prep[1].unknown_datapoints = 0
rra[12].cdp_prep[2].value = NaN
rra[12].cdp_prep[2].unknown_datapoints = 0
rra[12].cdp_prep[3].value = NaN
rra[12].cdp_prep[3].unknown_datapoints = 0
rra[12].cdp_prep[4].value = NaN
rra[12].cdp_prep[4].unknown_datapoints = 0
rra[12].cdp_prep[5].value = NaN
rra[12].cdp_prep[5].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = NaN
rra[13].cdp_prep[0].unknown_datapoints = 2
rra[13].cdp_prep[1].value = NaN
rra[13].cdp_prep[1].unknown_datapoints = 2
rra[13].cdp_prep[2].value = NaN
rra[13].cdp_prep[2].unknown_datapoints = 2
rra[13].cdp_prep[3].value = NaN
rra[13].cdp_prep[3].unknown_datapoints = 2
rra[13].cdp_prep[4].value = NaN
rra[13].cdp_prep[4].unknown_datapoints = 2
rra[13].cdp_prep[5].value = NaN
rra[13].cdp_prep[5].unknown_datapoints = 2
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = NaN
rra[14].cdp_prep[0].unknown_datapoints = 20
rra[14].cdp_prep[1].value = NaN
rra[14].cdp_prep[1].unknown_datapoints = 20
rra[14].cdp_prep[2].value = NaN
rra[14].cdp_prep[2].unknown_datapoints = 20
rra[14].cdp_prep[3].value = NaN
rra[14].cdp_prep[3].unknown_datapoints = 20
rra[14].cdp_prep[4].value = NaN
rra[14].cdp_prep[4].unknown_datapoints = 20
rra[14].cdp_prep[5].value = NaN
rra[14].cdp_prep[5].unknown_datapoints = 20
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = NaN
rra[15].cdp_prep[0].unknown_datapoints = 164
rra[15].cdp_prep[1].value = NaN
rra[15].cdp_prep[1].unknown_datapoints = 164
rra[15].cdp_prep[2].value = NaN
rra[15].cdp_prep[2].unknown_datapoints = 164
rra[15].cdp_prep[3].value = NaN
rra[15].cdp_prep[3].unknown_datapoints = 164

rra[15].cdp_prep[4].value = NaN
rra[15].cdp_prep[4].unknown_datapoints = 164
rra[15].cdp_prep[5].value = NaN
rra[15].cdp_prep[5].unknown_datapoints = 164
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ok, seraph,

you will go to "Settings -> Poller Logging Level" and set this to DEBUG. Have a look at the output. You will see the command (perl mem.pl or so) and the values returned. Then you should see an rrdtool statement for linuxserver_mem_total_43.rrd with the same numbers. Tell us about your findings.

Reinhard
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

Code: Select all

cactiuser@reanimation:/opt/cacti/log> grep mem.pl cacti.log
04/18/2005 12:30:08 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:11828 mem_used:1023468 swap_total:522104 swap_free:414004 swap_used:108100
04/18/2005 12:35:12 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:12444 mem_used:1022852 swap_total:522104 swap_free:414004 swap_used:108100
04/18/2005 03:55:15 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:10488 mem_used:1024808 swap_total:522104 swap_free:395168 swap_used:126936
04/18/2005 04:00:13 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:11096 mem_used:1024200 swap_total:522104 swap_free:395372 swap_used:126732
04/18/2005 04:05:15 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:10148 mem_used:1025148 swap_total:522104 swap_free:395560 swap_used:126544
04/18/2005 04:10:09 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:10804 mem_used:1024492 swap_total:522104 swap_free:395676 swap_used:126428
04/18/2005 04:15:12 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:11236 mem_used:1024060 swap_total:522104 swap_free:395696 swap_used:126408
mehr sehe ich nicht mit mem_free usw. also nichts mit den rrd files
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

seraph,

please cut out some lines of your log around those "mem.pl" calls. Is "rrdtool update" only missing for some of the templates? Did you try to re-create those graphs?.
Sorry, but this kind of problem looks strange to me...
:cry:
Reinhard
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

Code: Select all

Data Source Debug

/usr/bin/rrdtool create \
/opt/cacti/rra/linuxserver_mem_total_77.rrd \
--step 300  \
DS:swap_free:GAUGE:600:0:1099511627776 \
DS:swap_used:GAUGE:600:0:1099511627776 \
DS:mem_total:GAUGE:600:0:1099511627776 \
DS:swap_total:GAUGE:600:0:1099511627776 \
DS:mem_used:GAUGE:600:0:1099511627776 \
DS:mem_free:GAUGE:600:0:1099511627776 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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 create the graph new with dis command under cactiuser in the console

Code: Select all

-rw-r--r--   1 cactiuser cacti  562404 2005-04-18 17:07 linuxserver_mem_total_77.rrd

Code: Select all

04/18/2005 05:10:11 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_unicast_in_30.rrd --template unicast_in:unicast_out 1113837003:280707158:278133604
04/18/2005 05:10:11 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: errors_in, oid: .1.3.6.1.2.1.2.2.1.14.2, output: 0
04/18/2005 05:10:11 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: discards_out, oid: .1.3.6.1.2.1.2.2.1.19.2, output: 0
04/18/2005 05:10:11 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 85
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: cpu_idle, oid: .1.3.6.1.4.1.2021.11.53.0, output: 201825697
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: 9839
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: 1790650
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: 3923674
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 127.0.0.1, dsname: cpu_wait, oid: .1.3.6.1.4.1.2021.11.54.0, output: 5197112
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/mem.pl, output: mem_total:1035296 mem_free:10728 mem_used:1024568 swap_total:522104 swap_free:450220 swap_used:71884
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/unix_users.pl, output: 2
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Host[3] CMD: perl /opt/cacti/scripts/unix_tcp_connections.pl, output: 9
04/18/2005 05:10:12 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
04/18/2005 05:10:12 PM - CMDPHP: Poller[0] Time: 8.6666 s, Theads: N/A, Hosts: 2
04/18/2005 05:10:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_connections_42.rrd --template connections 1113837003:9
the rrd file dont update:

Code: Select all

-rw-r--r--   1 cactiuser cacti  562404 2005-04-18 17:07 linuxserver_mem_total_77.rrd
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

seraph,

so rrdtool update works in general but not for this data input. My last idea: "System Utilities -> Clear Poller Cache" re-generates all poller items. Please leave DEBUG in place.

:-?
Reinhard
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

nein hat nichts genütz im logfile steht immernoch genau das gleich wie vorher,.. ja dan werde ich mal alles nochmals löschen und auch die tempalets neu erstellen, habe eben von der früheren verison hosttamplets erstellt für mich und diese imme rimportiert, evtlö hat es dort ein fehler drin.
was auch noch ist, das problem ist erst seit ich die Download Official Patches [0.8.6c] installiert habe,..
gruss und danke
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

hallo habe noch was gefunden. Habe den poller.php manuel gestartet mal und folgender fehler kommt:

Code: Select all

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_connections_42.rrd --template connections 1113844024:9
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_users_41.rrd --template users 1113844024:2
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_cpu_wait_37.rrd --template cpu_wait 1113844024:5270995
OK u:0.00 s:0.00 r:8.04
OK u:0.00 s:0.00 r:8.04
OK u:0.00 s:0.00 r:8.04
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_cpu_user_36.rrd --template cpu_user 1113844024:3930158
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_cpu_system_35.rrd --template cpu_system 1113844024:1812493
OK u:0.00 s:0.00 r:8.05
OK u:0.00 s:0.00 r:8.05
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_cpu_nice_34.rrd --template cpu_nice 1113844024:9849
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_cpu_idle_33.rrd --template cpu_idle 1113844024:202425454
OK u:0.00 s:0.00 r:8.05
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_proc_32.rrd --template proc 1113844024:80
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_discards_in_31.rrd --template errors_in:errors_out:discards_in:discards_out 1113844024:0:0:0:0
OK u:0.00 s:0.00 r:8.05
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_unicast_in_30.rrd --template unicast_in:unicast_out 1113844024:283300681:283866622
OK u:0.00 s:0.00 r:8.05
OK u:0.00 s:0.00 r:8.05
OK u:0.00 s:0.00 r:8.05
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_traffic_out_29.rrd --template traffic_in:traffic_out 1113844024:2603818365:3533676785
OK u:0.00 s:0.01 r:8.05
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_connections_79.rrd --template connections 1113844024:73243
04/18/2005 07:07:12 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /opt/cacti/rra/linuxserver_questions_82.rrd --template questions 1113844024:3939568
OK u:0.00 s:0.01 r:8.05
OK u:0.00 s:0.01 r:8.05
Waiting on 1/1 pollers.

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please see the latest patch at http://www.cacti.net/downloads/patches/ ... poller.php This problem was just corrected about 1 to 2 nights ago.

TheWitness

Code: Select all

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215 

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215 

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215 

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215 

Warning: Compilation failed: range out of order in character class at offset 29 in /opt/cacti/lib/poller.php on line 215 
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?
seraph
Posts: 16
Joined: Thu Mar 31, 2005 9:38 am
Location: Zuerich
Contact:

Post by seraph »

yes with this patch works fine
thank you
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests