ERROR: opening ...... : No such file or directory
Moderators: Developers, Moderators
ERROR: opening ...... : No such file or directory
Hello, all. I am having another issue here, maybe due to my own fault, who knows.
I keep getting the below error when trying to graph HDD space when using the ucd/net Available Disk Space template. I've seen an error such as this before, and I never did end up getting it resolved. I am unable to figure out what's wrong here.
Permissions are in check, and I do believe that they're fine. My cacti user does have permission to write to rra/ and log/, it's just that the file itself is not being created. Many other graphs are created without incident.
What is the cause of these errors?
Even though this is 0.8.6, I remember seeing it in 0.8.5, as well. I was very suprised when I didn't find many postings about this error, as I thought it was a fairly common question.
Thanks!
-dant
I keep getting the below error when trying to graph HDD space when using the ucd/net Available Disk Space template. I've seen an error such as this before, and I never did end up getting it resolved. I am unable to figure out what's wrong here.
Permissions are in check, and I do believe that they're fine. My cacti user does have permission to write to rra/ and log/, it's just that the file itself is not being created. Many other graphs are created without incident.
What is the cause of these errors?
Even though this is 0.8.6, I remember seeing it in 0.8.5, as well. I was very suprised when I didn't find many postings about this error, as I thought it was a fairly common question.
Thanks!
-dant
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It would be helpfull if you would attach your logfile. Clear your logfile and then goto settings->general, turn logging to DEBUG for one polling cycle. Attach the logfile to this thread and then we can talk. When you simply talk about having problems and looking for help without supporting detail, you kind of look ???
TheWitness
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?
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?
Yeah, I appologize for that...
Ok, so here I go:
First I went into Graph Management, made sure that this was not already being graphed (deleted all data sources and graphs, yada yada), because I had been toying with it earlier. I disabled all of the hosts except for one to test with, to make looking through the log easier. Then I proceeded with the following:
Devices -> My Host -> Add Graph Template: Host MIB, Available Disk Space -> Add -> Save -> Save again, for good measure -> Create Graphs For This host -> Checkmark the box that I wanted to graph -> Create -> Create Again (ignoring Custom Data) -> Create Again for good measure.
While doing this, I did not notice any data placed into the debug log, which I figured was kindof odd. But then, I watched the log more, and this appeared:
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool fetch /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd AVERAGE -s 1095059066 -e 1095145466
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Traffic - eth0/2" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_in:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In: 4.99 MB\n" LINE1:cdeff#002A97:"Outbound" GPRINT:cdeff:LAST:"Current\:%8.2lf %s" GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out: 22.81 MB"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="percent" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd":cpu_system:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd":cpu_user:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd":cpu_nice:AVERAGE CDEF:cdefbc=TIME,1095145167,GT,a,a,UN,0,a,IF,IF,TIME,1095145167,GT,b,b,UN,0,b,IF,IF,TIME,1095145167,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#FF0000:"System" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:b#0000FF:"User" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:c#00FF00:"Nice" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#000000:"Total" GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd":load_1min:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd":load_5min:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1095145167,GT,a,a,UN,0,a,IF,IF,TIME,1095145167,GT,b,b,UN,0,b,IF,IF,TIME,1095145167,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
09/14/2004 12:04:28 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd":mem_free:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd":mem_buffers:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"
That's great, but it doesn't say anything about my Available Disk Spage graph. What was pasted above was a poll immediately following the addition of my graph. Below is another clip of the log concerning that host, but it has not changed:
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool fetch /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd AVERAGE -s 1095059368 -e 1095145768
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Traffic - eth0/2" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_in:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In: 5.01 MB\n" LINE1:cdeff#002A97:"Outbound" GPRINT:cdeff:LAST:"Current\:%8.2lf %s" GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out: 22.88 MB"
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="percent" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd":cpu_system:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd":cpu_user:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd":cpu_nice:AVERAGE CDEF:cdefbc=TIME,1095145469,GT,a,a,UN,0,a,IF,IF,TIME,1095145469,GT,b,b,UN,0,b,IF,IF,TIME,1095145469,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#FF0000:"System" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:b#0000FF:"User" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:c#00FF00:"Nice" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#000000:"Total" GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
09/14/2004 12:09:30 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd":load_1min:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd":load_5min:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1095145470,GT,a,a,UN,0,a,IF,IF,TIME,1095145470,GT,b,b,UN,0,b,IF,IF,TIME,1095145470,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
09/14/2004 12:09:30 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd":mem_free:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd":mem_buffers:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"
I've been following my actual graphs, as well, and nothing has appeared. This is a snip from the debug of the actual graph, itself:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="web01.myhost.net - Available Disk Space" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE \
DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
This is a snip of the debug from Graph Management for that particular piece of data for that particular host:
RRDTool Says:
ERROR: opening '/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd': No such file or directory
...which leaves me where I started.
Looking at cactid's log shows pretty much the same information. It just logs everything that it polls, and my newly added graph is not in that list.
Any help here would, again, be appreciated. Sorry I was not very informative with my origional posts, but I hope this last post helps.
Thanks again
-dant
Ok, so here I go:
First I went into Graph Management, made sure that this was not already being graphed (deleted all data sources and graphs, yada yada), because I had been toying with it earlier. I disabled all of the hosts except for one to test with, to make looking through the log easier. Then I proceeded with the following:
Devices -> My Host -> Add Graph Template: Host MIB, Available Disk Space -> Add -> Save -> Save again, for good measure -> Create Graphs For This host -> Checkmark the box that I wanted to graph -> Create -> Create Again (ignoring Custom Data) -> Create Again for good measure.
While doing this, I did not notice any data placed into the debug log, which I figured was kindof odd. But then, I watched the log more, and this appeared:
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool fetch /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd AVERAGE -s 1095059066 -e 1095145466
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Traffic - eth0/2" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_in:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In: 4.99 MB\n" LINE1:cdeff#002A97:"Outbound" GPRINT:cdeff:LAST:"Current\:%8.2lf %s" GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out: 22.81 MB"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="percent" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd":cpu_system:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd":cpu_user:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd":cpu_nice:AVERAGE CDEF:cdefbc=TIME,1095145167,GT,a,a,UN,0,a,IF,IF,TIME,1095145167,GT,b,b,UN,0,b,IF,IF,TIME,1095145167,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#FF0000:"System" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:b#0000FF:"User" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:c#00FF00:"Nice" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#000000:"Total" GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
09/14/2004 12:04:27 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd":load_1min:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd":load_5min:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1095145167,GT,a,a,UN,0,a,IF,IF,TIME,1095145167,GT,b,b,UN,0,b,IF,IF,TIME,1095145167,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
09/14/2004 12:04:28 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059066 --end=1095145466 --title="web01.myhost.net - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:04:26 To 2004/09/14 00:04:26\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd":mem_free:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd":mem_buffers:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"
That's great, but it doesn't say anything about my Available Disk Spage graph. What was pasted above was a poll immediately following the addition of my graph. Below is another clip of the log concerning that host, but it has not changed:
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE AREA:a#002A97:"Total" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" AREA:b#F51D30:"Used" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n"
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool fetch /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd AVERAGE -s 1095059368 -e 1095145768
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Traffic - eth0/2" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_in:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdeff=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total In: 5.01 MB\n" LINE1:cdeff#002A97:"Outbound" GPRINT:cdeff:LAST:"Current\:%8.2lf %s" GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" COMMENT:"Total Out: 22.88 MB"
09/14/2004 12:09:29 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - CPU Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="percent" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd":cpu_system:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd":cpu_user:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd":cpu_nice:AVERAGE CDEF:cdefbc=TIME,1095145469,GT,a,a,UN,0,a,IF,IF,TIME,1095145469,GT,b,b,UN,0,b,IF,IF,TIME,1095145469,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#FF0000:"System" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:b#0000FF:"User" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" STACK:c#00FF00:"Nice" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefbc#000000:"Total" GPRINT:cdefbc:LAST:" Current\:%8.2lf %s" GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s"
09/14/2004 12:09:30 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Load Average" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --units-exponent=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="processes in the run queue" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd":load_1min:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd":load_5min:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd":load_15min:AVERAGE CDEF:cdefg=TIME,1095145470,GT,a,a,UN,0,a,IF,IF,TIME,1095145470,GT,b,b,UN,0,b,IF,IF,TIME,1095145470,GT,c,c,UN,0,c,IF,IF,+,+ AREA:a#EACC00:"1 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:b#EA8F00:"5 Minute Average" GPRINTLAST:" Current\:%8.2lf\n" STACK:c#FF0000:"15 Minute Average" GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000:"Total"
09/14/2004 12:09:30 AM - WEBLOG: Poller[0] RRD: /usr/local/bin/rrdtool graph - --imgformat=PNG --start=1095059368 --end=1095145768 --title="web01.myhost.net - Memory Usage" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2004/09/13 00:09:28 To 2004/09/14 00:09:28\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd":mem_free:AVERAGE DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd":mem_buffers:AVERAGE DEF:c="/var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd":mem_cache:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=c,1024,* AREA:cdefa#8F005C:"Memory Free" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#FF5700:"Memory Buffers" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefi#FFC73B:"Cache Memory" GPRINT:c:LAST:" Current\:%8.2lf %s" GPRINT:c:AVERAGE:"Average\:%8.2lf %s" GPRINT:c:MAX:"Maximum\:%8.2lf %s\n"
I've been following my actual graphs, as well, and nothing has appeared. This is a snip from the debug of the actual graph, itself:
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="web01.myhost.net - Available Disk Space" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
DEF:a="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_total:AVERAGE \
DEF:b="/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
This is a snip of the debug from Graph Management for that particular piece of data for that particular host:
RRDTool Says:
ERROR: opening '/var/www/virtual/cacti/rra/web01_myhost_net_hdd_total_56.rrd': No such file or directory
...which leaves me where I started.
Looking at cactid's log shows pretty much the same information. It just logs everything that it polls, and my newly added graph is not in that list.
Any help here would, again, be appreciated. Sorry I was not very informative with my origional posts, but I hope this last post helps.
Thanks again
-dant
-
- Posts: 5
- Joined: Mon Sep 29, 2003 8:23 pm
- Contact:
I'm having a similar problem with mine.
It's a fresh install on a Slackware server.
I'm trying to create a graph for Ethernet Traffic, but it doesn't seem to work, I've created a new graph etc, just want bytes in and out with total bandwidth.
And it doesn't work, if I turn on the thing to debug graph, I get this.
ERROR: opening '/var/www/htdocs/cacti/rra/localhost_traffic_in_17.rrd': No such file or directory
No such file or directory, now it's the right place, but there isn't a .rrd file, and the poller.php thingo has run, if someone could give me a hand it would be greatly appreciated.
I don't know much about Cacti, so if I have to get logs you'll have to explain where etc.
It's a fresh install on a Slackware server.
I'm trying to create a graph for Ethernet Traffic, but it doesn't seem to work, I've created a new graph etc, just want bytes in and out with total bandwidth.
And it doesn't work, if I turn on the thing to debug graph, I get this.
ERROR: opening '/var/www/htdocs/cacti/rra/localhost_traffic_in_17.rrd': No such file or directory
No such file or directory, now it's the right place, but there isn't a .rrd file, and the poller.php thingo has run, if someone could give me a hand it would be greatly appreciated.
I don't know much about Cacti, so if I have to get logs you'll have to explain where etc.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok You All,
Remember:
1) Polling is accomplished using poller.php NOT cmd.php or cactid
2) If you leave logging at DEBUG while using the Web, lot's of things get added to the log. You should always leave at LOW or NONE unless you are having problems
3) Once you create a DS/Graph from a template, it doesn't actually exist until you poll it twice.
4) To use the ucd Unix disk, you must have Net-SNMP demon installed on the system you are polling.
Suggestions are, verify the above. Clear the log file, then poll for a cycle at LOW, and then poll again with logging to DEBUG and post your log file(s).
TheWitness
Remember:
1) Polling is accomplished using poller.php NOT cmd.php or cactid
2) If you leave logging at DEBUG while using the Web, lot's of things get added to the log. You should always leave at LOW or NONE unless you are having problems
3) Once you create a DS/Graph from a template, it doesn't actually exist until you poll it twice.
4) To use the ucd Unix disk, you must have Net-SNMP demon installed on the system you are polling.
Suggestions are, verify the above. Clear the log file, then poll for a cycle at LOW, and then poll again with logging to DEBUG and post your log file(s).
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?
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?
I am very clear on how caciti actually polls the devices, so I hope that rant does not apply to me.
I do understand what debug is, and I have expectations as to what kind of information cacti would print in the log using the debug level - turns out, my expectations were right. So again, I'm quite confident that I am doing the right thing when it comes to that.
I do understand and have discovered through my own experience that it does take two polls until the data is actually displayed in a graph form. I have no problem understanding that. I do have a problem understanding why the graphs for this particular kind of graph are not created.
net-snmpd is running on the system that I am polling. IIRC, ucd-snmpd is crap, which is why not many people use it anyway.
You act as if this question has been asked a million times. My research through the forums shows that, well, it has - but it has never been answered. Everyone follows up with their posts stating that they just re-installed or upgraded whenever this happened. I really don't *want* to do this.
The below log sniplet is from later today. Mind you, the graphs are still running in debug mode. I really don't care about what kind of resources this eats up, this testing system is made for just that - testing. The first snip is logging at low:
09/14/2004 12:40:07 PM - SYSTEM STATS: Time: 6.1256 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 6, Hosts/Process: 6
The second is logging at debug, for that particular host. Note, in both examples, the lack of anything relating to a disk usage even attempting to be created. This is what concerns me. Not on how to actually use cacti, but on why this graph is not created in the first place So basically I just
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] RECACHE: Processing 2 items in the auto reindex cache for 'web01.myhost.net'
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2494
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 491066
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 388753
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: 0.00
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd --template cpu_nice 1095191102:2494
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd --template cpu_system 1095191102:491066
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd --template cpu_user 1095191102:388753
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: 0.00
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: 0.00
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 84888
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 135936
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 13756
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 2396216705
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1226174772
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd --template traffic_out:traffic_in 1095191102:1226174772:2396216705
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd --template mem_free 1095191102:13756
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd --template mem_cache 1095191102:135936
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd --template mem_buffers 1095191102:84888
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd --template load_5min 1095191102:0.00
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd --template load_1min 1095191102:0.00
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd --template load_15min 1095191102:0.00
Again, I appreciate the time that you're spending on this. If there's any more information that you would like, please let me know. I'd be happy to help work on this with you.
Thanks
-dant
I do understand what debug is, and I have expectations as to what kind of information cacti would print in the log using the debug level - turns out, my expectations were right. So again, I'm quite confident that I am doing the right thing when it comes to that.
I do understand and have discovered through my own experience that it does take two polls until the data is actually displayed in a graph form. I have no problem understanding that. I do have a problem understanding why the graphs for this particular kind of graph are not created.
net-snmpd is running on the system that I am polling. IIRC, ucd-snmpd is crap, which is why not many people use it anyway.
You act as if this question has been asked a million times. My research through the forums shows that, well, it has - but it has never been answered. Everyone follows up with their posts stating that they just re-installed or upgraded whenever this happened. I really don't *want* to do this.
The below log sniplet is from later today. Mind you, the graphs are still running in debug mode. I really don't care about what kind of resources this eats up, this testing system is made for just that - testing. The first snip is logging at low:
09/14/2004 12:40:07 PM - SYSTEM STATS: Time: 6.1256 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 6, Hosts/Process: 6
The second is logging at debug, for that particular host. Note, in both examples, the lack of anything relating to a disk usage even attempting to be created. This is what concerns me. Not on how to actually use cacti, but on why this graph is not created in the first place So basically I just
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] RECACHE: Processing 2 items in the auto reindex cache for 'web01.myhost.net'
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, value: 2494
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, value: 491066
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, value: 388753
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: 0.00
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_nice_19.rrd --template cpu_nice 1095191102:2494
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_system_20.rrd --template cpu_system 1095191102:491066
09/14/2004 12:45:02 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_cpu_user_21.rrd --template cpu_user 1095191102:388753
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: 0.00
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: 0.00
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_buffers, oid: .1.3.6.1.4.1.2021.4.14.0, value: 84888
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_cache, oid: .1.3.6.1.4.1.2021.4.15.0, value: 135936
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: mem_free, oid: .1.3.6.1.4.1.2021.4.6.0, value: 13756
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 2396216705
09/14/2004 12:45:02 PM - CACTID: Poller[0] Host[3] SNMP: v1: web01.myhost.net, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1226174772
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_traffic_in_41.rrd --template traffic_out:traffic_in 1095191102:1226174772:2396216705
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_free_27.rrd --template mem_free 1095191102:13756
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_cache_26.rrd --template mem_cache 1095191102:135936
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_mem_buffers_25.rrd --template mem_buffers 1095191102:84888
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_5min_24.rrd --template load_5min 1095191102:0.00
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_1min_22.rrd --template load_1min 1095191102:0.00
09/14/2004 12:45:03 PM - POLLER: Poller[0] RRD: /usr/local/bin/rrdtool update /var/www/virtual/cacti/rra/web01_myhost_net_load_15min_23.rrd --template load_15min 1095191102:0.00
Again, I appreciate the time that you're spending on this. If there's any more information that you would like, please let me know. I'd be happy to help work on this with you.
Thanks
-dant
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Dant,
Not intended to be a rant, just know that serveral others will read the post and many have missed the poller.php information.
Question: Does the poller cache include the DS information for the disks? My expectation is that it does not.
Question: Does the UI contain the host partition information from the "Create Graphs" interface?
Thanks,
TheWitness
Not intended to be a rant, just know that serveral others will read the post and many have missed the poller.php information.
Question: Does the poller cache include the DS information for the disks? My expectation is that it does not.
Question: Does the UI contain the host partition information from the "Create Graphs" interface?
Thanks,
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Dant -
We have had so many platform specific issues with PHP versions and RRDTool that we have decided to revert to the former method of running the RRDTool until such time that PHP matures a bit more in the areas we have focused. We are also considering requiring specific versions of PHP in the future to make the development cycle a little easier on our respective lives.
Therefore, the 9/28/04 pre-release of 0.8.6a has the old version of RRD processing utilizing a popen instead of proc_open. Ian hopes to release if there are no additional bugs reported before the end of the week.
TheWitness
We have had so many platform specific issues with PHP versions and RRDTool that we have decided to revert to the former method of running the RRDTool until such time that PHP matures a bit more in the areas we have focused. We are also considering requiring specific versions of PHP in the future to make the development cycle a little easier on our respective lives.
Therefore, the 9/28/04 pre-release of 0.8.6a has the old version of RRD processing utilizing a popen instead of proc_open. Ian hopes to release if there are no additional bugs reported before the end of the week.
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?
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?
Who is online
Users browsing this forum: No registered users and 5 guests