-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: color_id / task_item when viewing graphs #969
Comments
Can you please provide some details, screen shows, cacti.log samples. Thanks. |
Hello,
the details are in the posting in the forum. I've created this issue on GitHub after a request from user 'Osiris'.
I do not have this installation up and running anymore as it did not work at all.
I'm now doing a fresh new install to 1.1.23.
Jan
…________________________________
Van: Jimmy Conner <notifications@github.com>
Verzonden: dinsdag 12 september 2017 13:04
Aan: Cacti/cacti
CC: janmaris; Author
Onderwerp: Re: [Cacti/cacti] PHP error msg: Undefined index: color_id / task_item - Cacti 1.1.19 (#969)
Can you please provide some details, screen shows, cacti.log samples. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#969 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AeZ1VCfX6LbjVOLM6GB7nkc_8zuMXQGRks5shmUwgaJpZM4PUOZr>.
|
I can also confirm that the problem still exists in version 1.1.23. -Jan |
Could possibly. Are you running the percona performance templates? If so, when you run the import scripts, it damages the Cacti database. |
No, I'm not using these templates. |
Please do. I think this is a duplicate of another issue that people have when they are not using templates. That issue was fixed in 1.1.23. |
Hi, I don't understand your comment. Do what? |
Okay, can you please create an animation of how you create things. Also, right after you create the graph, upload the errors in the cacti.log. Thanks! |
I need the full error message including what line in what file. Please provide those details we were asking for. |
Hi, I don't have the means to make an animation, but I think I can explain this good enough verbally: I have created a new Data Profile with 3 new RRAs for a polling interval of 10s. Finally, I try to create the graph referencing, but this is unsuccesful, i.e. the data source and the graph are not created, although the GUI pop-up claims the graph was created sucessfully.
The only error message I can find is the error.log from the Apache2 service, with many error messages about the missing RRD file:
But more importantly, there is also the one I already reported earlier:
I appreciate that it could be somewhat a jump in dark because of the quite new Debian 9, PHP 7, (still on MySQL 5.7), RRDtool 1.7.0, Cacti-spine 1.1.23. I have checked and doublechecked the entire config, but I may have made a mistake. Only I have no indications from any log files what this could be. When I run the poller.php script manually as user www-data, I get the following output:
The RRD files are then created, and finally also the graphs become visible. Thanks for any further advise. |
Check your Console > Settings > Poller and insure 1 minute cron, 10 second poller. Then, run the following two queries:
The GUI which is the one error that you reported is odd. It will be generated when viewing the graph setup when viewing either the Graph or the Graph Template from the Console. |
Hi,
what can we conclude from this output? |
Sorry, i've been quite busy for the last few weeks, and am only opening up my off hours today to catch up on things. The output tells me that you have 6 data sources polling at a 10 second polling interval, and the remainder at a 5 minute polling interval. Not as much as I had hoped. By animation, it's like a video. But there are some animated gif programs out there that allow you to perform a screen capture of your mouse clicks and then save that animated gif to this forum. I really need to know exactly how you created the graphs. |
No problem for the delay. I have limited time too and I only found out earlier this week why this set-up was not polling via the cron job: Furthermore, I also found out why I still had data sources with 5 min. polling interval while I thought I only used 10 sec data source templates, 10 sec graph template and 10s SNMP Data Input (data collection). So I can conclude that the error messages reported initially are not blocking over-all operation. |
Yes, this is acknowledged, and we have a feature request to make some fundamental changes in design when it comes to the interaction of Data Source Profiles and the Data Queries. So, with that said, are you still having this issue? |
I'm getting the same problem, but IMHO I think it's due because after creating the graph the poller needs to be executed one time to create the RRD of the Data Source. The thing it's the user sees the Graph in a disabled way (all fields gray and disabled) and one rrd image with the RRD not found error string. So the user thinks something went wrong. IMHO it's not very user friendly for the first time to see it, and mind me, I'm a very old cacti user My problem it's I'm a cacti old user, and I usually created manually the data sources and after that I created the Graph using the previous data source. Now it seems to be working always with templates (I set Advanced in Settings - Graph/Data Source Creation Method. If that's not the problem, the bug should be related with the PHP 7.0. I'm running as janmaris Debian 9 with PHP 7.0 and I upgraded recently to the debian package 1.1.30+ds1-1~bpo9+1 |
Undefined index: color_id / task_item when viewing graphs
Okay, this is resolved now. |
issue initially reported on Forum (Help: Linux/Unix Specific)
The text was updated successfully, but these errors were encountered: