SOme graphs not showing up
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
SOme graphs not showing up
Hi,
Cacti 1.2.7. When displaying all graphs some do not show up. After clicking on details they show up. Where can I start?
[attachment=3]2019_11_22_14_13_Tree_Mode_Intern_HP1810_24G_.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_2.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_3.jpg[/attachment]
Second, when upgrading or installing there is a page during the process showing some recommendations e.g. regading php memory. Can I access that page outside the upgrade process?
Thank you!
Cacti 1.2.7. When displaying all graphs some do not show up. After clicking on details they show up. Where can I start?
[attachment=3]2019_11_22_14_13_Tree_Mode_Intern_HP1810_24G_.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_2.jpg[/attachment]
[attachment=3]2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_3.jpg[/attachment]
Second, when upgrading or installing there is a page during the process showing some recommendations e.g. regading php memory. Can I access that page outside the upgrade process?
Thank you!
- Attachments
-
- 2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_3.jpg (165.84 KiB) Viewed 2146 times
-
- 2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_2.jpg (127.95 KiB) Viewed 2146 times
-
- 2019_11_22_14_14_Tree_Mode_Intern_HP1810_24G_.jpg (15.83 KiB) Viewed 2146 times
-
- 2019_11_22_14_13_Tree_Mode_Intern_HP1810_24G_.jpg (96.17 KiB) Viewed 2146 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SOme graphs not showing up
Wait for the 1.2.8 release and upgrade right away. There were some issue related to the graph functions that broke a few things. Should be this weekend. Otherwise, you can update to the 1.2.x branch to get the fixes.
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?
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: SOme graphs not showing up
Hi,
I still have the issue with 1.2.13.
[attachment=0]Cacti.jpg[/attachment]
I still have the issue with 1.2.13.
[attachment=0]Cacti.jpg[/attachment]
- Attachments
-
- Cacti.jpg (240.72 KiB) Viewed 1721 times
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SOme graphs not showing up
Sounds like an RRDfile/RRDtool issue. You should paste the Graph Debug syntax to a command line and see if RRDtool segfaults.
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?
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: SOme graphs not showing up
No segfault and if I click on "Debug" the graph also shows fine.
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start='1603728000' \
--end='1603814389' \
--pango-markup \
--title='bsdhelmut - Apache Statistics - Bytes / Request' \
--vertical-label='bytes / hit' \
--slope-mode \
--base=1024 \
--height=120 \
--width=500 \
--tabwidth '30' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2020/10/26 17\:00\:00 To 2020/10/27 16\:59\:49\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/var/db/cacti/rra/bsdhelmut_threadg_151.rrd':'apache_total_kbytes':AVERAGE \
DEF:b='/var/db/cacti/rra/bsdhelmut_threadg_151.rrd':'apache_total_hits':AVERAGE \
CDEF:cdefa='a,UN,0,a,100000,GT,0,a,IF,IF' \
CDEF:cdefb='b,UN,0,b,100000,GT,0,b,IF,IF' \
CDEF:cdefc='cdefb,0,EQ,0,cdefa,1024,*,cdefb,/,IF,0,1000000,LIMIT' \
CDEF:cdefg='a,0,0,LIMIT' \
CDEF:cdefba='b,0,0,LIMIT' \
COMMENT:' ' \
COMMENT:' ' \
AREA:cdefc#4123A1FF:'Bytes / Request' \
GPRINT:cdefc:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefc:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefc:MAX:'Maximum\:%8.2lf %s\n' \
LINE2:cdefg#FF0000FF:'kBytes ' \
GPRINTLAST:'Current\:%8.2lf %s' \
GPRINTAVERAGE:'Average\:%8.2lf %s' \
GPRINTMAX:'Maximum\:%8.2lf %s\n' \
LINE2:cdefba#00FF00FF:'Hits ' \
GPRINTLAST:'Current\:%8.2lf %s' \
GPRINTAVERAGE:'Average\:%8.2lf %s' \
GPRINTMAX:'Maximum\:%8.2lf %s\n'
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start='1603728000' \
--end='1603814389' \
--pango-markup \
--title='bsdhelmut - Apache Statistics - Bytes / Request' \
--vertical-label='bytes / hit' \
--slope-mode \
--base=1024 \
--height=120 \
--width=500 \
--tabwidth '30' \
--alt-autoscale-max \
--lower-limit='0' \
COMMENT:"From 2020/10/26 17\:00\:00 To 2020/10/27 16\:59\:49\c" \
COMMENT:" \n" \
--color BACK#F3F3F3 \
--color CANVAS#FDFDFD \
--color SHADEA#CBCBCB \
--color SHADEB#999999 \
--color FONT#000000 \
--color AXIS#2C4D43 \
--color ARROW#2C4D43 \
--color FRAME#2C4D43 \
--border 1 --font TITLE:11:'Arial' \
--font AXIS:8:'Arial' \
--font LEGEND:8:'Courier' \
--font UNIT:8:'Arial' \
--font WATERMARK:6:'Arial' \
--slope-mode \
--watermark 'Generated by Cacti®' \
DEF:a='/var/db/cacti/rra/bsdhelmut_threadg_151.rrd':'apache_total_kbytes':AVERAGE \
DEF:b='/var/db/cacti/rra/bsdhelmut_threadg_151.rrd':'apache_total_hits':AVERAGE \
CDEF:cdefa='a,UN,0,a,100000,GT,0,a,IF,IF' \
CDEF:cdefb='b,UN,0,b,100000,GT,0,b,IF,IF' \
CDEF:cdefc='cdefb,0,EQ,0,cdefa,1024,*,cdefb,/,IF,0,1000000,LIMIT' \
CDEF:cdefg='a,0,0,LIMIT' \
CDEF:cdefba='b,0,0,LIMIT' \
COMMENT:' ' \
COMMENT:' ' \
AREA:cdefc#4123A1FF:'Bytes / Request' \
GPRINT:cdefc:LAST:'Current\:%8.2lf %s' \
GPRINT:cdefc:AVERAGE:'Average\:%8.2lf %s' \
GPRINT:cdefc:MAX:'Maximum\:%8.2lf %s\n' \
LINE2:cdefg#FF0000FF:'kBytes ' \
GPRINTLAST:'Current\:%8.2lf %s' \
GPRINTAVERAGE:'Average\:%8.2lf %s' \
GPRINTMAX:'Maximum\:%8.2lf %s\n' \
LINE2:cdefba#00FF00FF:'Hits ' \
GPRINTLAST:'Current\:%8.2lf %s' \
GPRINTAVERAGE:'Average\:%8.2lf %s' \
GPRINTMAX:'Maximum\:%8.2lf %s\n'
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SOme graphs not showing up
I asked you to paste that to a command line and redirect the output to a png file. See what happens.
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?
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: SOme graphs not showing up
[helmut@BSDHelmut ~]$ sudo /usr/local/bin/rrdtool graph - \
> --imgformat=PNG \
> --start='1603887180' \
> --end='1603973580' \
[...] > ./test.png
[helmut@BSDHelmut ~]$
[helmut@BSDHelmut ~]$ file ./test.png
./test.png: PNG image data, 603 x 266, 8-bit/color RGB, non-interlaced
[helmut@BSDHelmut ~]$
[helmut@BSDHelmut ~]$ ls -la ./test.png
-rw-r--r-- 1 helmut helmut 21034 Oct 29 13:15 ./test.png
[helmut@BSDHelmut ~]$
> --imgformat=PNG \
> --start='1603887180' \
> --end='1603973580' \
[...] > ./test.png
[helmut@BSDHelmut ~]$
[helmut@BSDHelmut ~]$ file ./test.png
./test.png: PNG image data, 603 x 266, 8-bit/color RGB, non-interlaced
[helmut@BSDHelmut ~]$
[helmut@BSDHelmut ~]$ ls -la ./test.png
-rw-r--r-- 1 helmut helmut 21034 Oct 29 13:15 ./test.png
[helmut@BSDHelmut ~]$
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SOme graphs not showing up
Okay, that's interesting then. Best to open the debug console and watch for the error messages for the images that do not render. You can go to the Network tab and you will get a 200 result for images that rendered okay, and something other than that for images that fail to render. Most images pages will call graph_json.php these days. Look for the images that either don't come back with a 200 error, or whose results doe not come back as json. That'll give a better clue.
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?
-
- Cacti User
- Posts: 151
- Joined: Mon Feb 05, 2007 3:57 am
- Location: Munich, Germany
Re: Some graphs not showing up
Hm, I'm getting a lot of 401:
Oct 30 14:10:00 BSDHelmut httpd[54276]: cacti 192.168.124.200 - - [30/Oct/2020:14:10:00 +0100] "GET /graph_json.php?rra_id=39&local_graph_id=126&graph_start=1603976940&graph_end=1604063340&graph_height=120&graph_width=500&disable_cache=true HTTP/1.1" 401 1387 "https://cacti/graph_view.php?action=tre ... hyper=true" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36" TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384
but also 200 at the same time:
Oct 30 14:10:01 BSDHelmut httpd[54276]: cacti 192.168.124.200 - helmut [30/Oct/2020:14:10:00 +0100] "GET /graph_json.php?rra_id=39&local_graph_id=126&graph_start=1603976940&graph_end=1604063340&graph_height=120&graph_width=500&disable_cache=true HTTP/1.1" 200 38610 "https://cacti/graph_view.php?action=tre ... hyper=true" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36" TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384
I'm using Web Basic Authentication
Oct 30 14:10:00 BSDHelmut httpd[54276]: cacti 192.168.124.200 - - [30/Oct/2020:14:10:00 +0100] "GET /graph_json.php?rra_id=39&local_graph_id=126&graph_start=1603976940&graph_end=1604063340&graph_height=120&graph_width=500&disable_cache=true HTTP/1.1" 401 1387 "https://cacti/graph_view.php?action=tre ... hyper=true" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36" TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384
but also 200 at the same time:
Oct 30 14:10:01 BSDHelmut httpd[54276]: cacti 192.168.124.200 - helmut [30/Oct/2020:14:10:00 +0100] "GET /graph_json.php?rra_id=39&local_graph_id=126&graph_start=1603976940&graph_end=1604063340&graph_height=120&graph_width=500&disable_cache=true HTTP/1.1" 200 38610 "https://cacti/graph_view.php?action=tre ... hyper=true" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36" TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384
I'm using Web Basic Authentication
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: SOme graphs not showing up
Sounds like some issue with the web server. Can you compare the 401 headers to the 200 headers and see if the Cookie value between them is the same? Also, edit your php.ini file on the server and sess if session autostart is enabled. If it is, disable it and restart apache.
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 2 guests