View Issue Details

IDProjectCategoryView StatusLast Update
2073RackTablesdefaultpublic2023-03-21 22:35
Reportereric Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
OScentosOS Version7 
Product Version0.22.0 
Summary2073: Plugins - Cacti not working
DescriptionWhen I set up cacti, I can see the picture after clicking the link
But I can't see the picture on the racktables page

centos 7
php 7.3
nginx 1.20.1
maridb 5.5.68

by the way
Whenever I log out of my account, and then log in again, it will loop infinitely,
You can log in unless you remove the URL
EX:
http://172.31.4.60/index.php?logout ====>Cannot log in
http://172.31.4.60/index.php ====> can log in
TagsNo tags attached.

Activities

eric

eric

2022-11-08 11:41

reporter  

2022-11-08_18h29_50.png (30,555 bytes)   
2022-11-08_18h29_50.png (30,555 bytes)   
2022-11-08_18h30_15.png (75,831 bytes)   
2022-11-08_18h30_15.png (75,831 bytes)   
2022-11-08_18h30_40.png (25,125 bytes)   
2022-11-08_18h30_40.png (25,125 bytes)   
2022-11-08_18h31_03.png (26,140 bytes)   
2022-11-08_18h31_03.png (26,140 bytes)   
infrastation

infrastation

2022-11-08 22:27

administrator   ~0004449

Thank you for this bug report.

The poor design of the logout function is a separate existing bug report / feature request, let's keep it out of this scope for now.

For the Cacti image problem, please on the page with the broken images open one of the broken images in a new tab and tell what you see, also if there are any PHP warnings or errors in the nginx error log. Also please go to main page -> reports -> server configuration and confirm that both "gd" and "curl" modules are present.
eric

eric

2022-11-09 03:52

reporter   ~0004451

Opening one of the corrupted images will open a new tab of chrome to cacti and display the graphics ID screen I specified, this action does not have any nginx log in racktables?


In addition, I found that no matter whether the account password I entered in CACTI is correct or not,
Open the damaged image, after all, it is the login page of CACTI, you must log in first,
CACTI of racktables sets account information, does it not work?

how do i fix it ?
thank you
racktables_log.png (74,053 bytes)   
racktables_log.png (74,053 bytes)   
cacti_acces_log.png (162,815 bytes)   
cacti_acces_log.png (162,815 bytes)   
report.png (51,966 bytes)   
report.png (51,966 bytes)   
racktable_DB.png (84,440 bytes)   
racktable_DB.png (84,440 bytes)   
eric

eric

2022-11-09 03:55

reporter   ~0004453

nginx_error_log.png (34,984 bytes)   
nginx_error_log.png (34,984 bytes)   
infrastation

infrastation

2022-11-09 09:59

administrator   ~0004455

Thank you for the additional information. Please check that the username and the password are correct, as far as Cacti sees it. It is difficult to tell any other reasons for failure without further debugging.
eric

eric

2022-11-09 10:19

reporter   ~0004457

I am sure that the cacti user and password are correct, neither will the picture be displayed,
I tried racktables with docker version 0.21.3,
Also no picture shown
infrastation

infrastation

2022-11-10 09:39

administrator   ~0004459

At a glance everything looks fine, and the Cacti plugin has been in use for many years. It would require to look into detail with more attention to understand the reason for failure, but I am not sure when I will have time to do that, please have patience.
eric

eric

2022-11-10 10:21

reporter   ~0004461

ok thanks,
I put the url of the img ,
Accessing in the browser will be a cacti error message,
Not sure if this helps
img.png (71,841 bytes)   
img.png (71,841 bytes)   
error.png (13,480 bytes)   
error.png (13,480 bytes)   
infrastation

infrastation

2022-11-10 10:50

administrator   ~0004463

Thank you for providing the information I requested earlier. As it turns out, Cacti does not recognize the credentials RackTables is supposedly trying to provide.
eric

eric

2022-11-10 12:07

reporter   ~0004465

What settings am I missing?
infrastation

infrastation

2023-03-21 22:35

administrator   ~0004475

Please excuse me, but this seems to be a bug or a configuration issue of Cacti. If you can show this is a bug of RackTables, please reopen with detailed steps to reproduce.

Issue History

Date Modified Username Field Change
2022-11-08 11:41 eric New Issue
2022-11-08 11:41 eric File Added: 2022-11-08_18h29_50.png
2022-11-08 11:41 eric File Added: 2022-11-08_18h30_15.png
2022-11-08 11:41 eric File Added: 2022-11-08_18h30_40.png
2022-11-08 11:41 eric File Added: 2022-11-08_18h31_03.png
2022-11-08 22:27 infrastation Note Added: 0004449
2022-11-09 03:52 eric Note Added: 0004451
2022-11-09 03:52 eric File Added: racktables_log.png
2022-11-09 03:52 eric File Added: cacti_acces_log.png
2022-11-09 03:52 eric File Added: report.png
2022-11-09 03:52 eric File Added: racktable_DB.png
2022-11-09 03:55 eric Note Added: 0004453
2022-11-09 03:55 eric File Added: nginx_error_log.png
2022-11-09 09:59 infrastation Note Added: 0004455
2022-11-09 10:19 eric Note Added: 0004457
2022-11-10 09:39 infrastation Note Added: 0004459
2022-11-10 10:21 eric Note Added: 0004461
2022-11-10 10:21 eric File Added: img.png
2022-11-10 10:21 eric File Added: error.png
2022-11-10 10:50 infrastation Note Added: 0004463
2022-11-10 12:07 eric Note Added: 0004465
2023-03-21 22:35 infrastation Status new => closed
2023-03-21 22:35 infrastation Resolution open => unable to reproduce
2023-03-21 22:35 infrastation Note Added: 0004475