Cacti doesn't create bandwidht graph.
Moderators: Developers, Moderators
Cacti doesn't create bandwidht graph.
Dears, my cacti doesn't work only for bandwidht graphs, when I try to generate the graph, cacti return the message:
The Operation was successful. Details are below.
NOTE: Graph not for Data Query SNMP - Interface Statistics and index 12 due to Data Source verification failure.
In this case, the 12 seen is the interface number. Can anyone have a suggestion to solve it? I Google, but there is no cases like this, at least I didn't found.
The Operation was successful. Details are below.
NOTE: Graph not for Data Query SNMP - Interface Statistics and index 12 due to Data Source verification failure.
In this case, the 12 seen is the interface number. Can anyone have a suggestion to solve it? I Google, but there is no cases like this, at least I didn't found.
Re: Cacti doesn't create bandwidht graph.
Sorry, I'm using the lastest version of cacti, on a Debian 4.9.168.
Re: Cacti doesn't create bandwidht graph.
It is fixed now. Try this version https://github.com/Cacti/cacti/archive/ ... evelop.zip
Let the Cacti grow!
Re: Cacti doesn't create bandwidht graph.
Thank you Macan! But with this version I'm getting error 500, and the apache log says: [Tue Jun 08 09:54:24.185445 2021] [:error] [pid 30796] [client 10.10.4.21:57273] PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /opt/cactidevelop/lib/functions.php on line 528
Re: Cacti doesn't create bandwidht graph.
sorry, wrong linkpichler wrote: ↑Tue Jun 08, 2021 7:54 am Thank you Macan! But with this version I'm getting error 500, and the apache log says: [Tue Jun 08 09:54:24.185445 2021] [:error] [pid 30796] [client 10.10.4.21:57273] PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /opt/cactidevelop/lib/functions.php on line 528
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Let the Cacti grow!
Re: Cacti doesn't create bandwidht graph.
You have php version 5.x?You sould update tu php 7.xpichler wrote: ↑Tue Jun 08, 2021 7:54 am Thank you Macan! But with this version I'm getting error 500, and the apache log says: [Tue Jun 08 09:54:24.185445 2021] [:error] [pid 30796] [client 10.10.4.21:57273] PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /opt/cactidevelop/lib/functions.php on line 528
Let the Cacti grow!
Re: Cacti doesn't create bandwidht graph.
Hi Macan, thank you again.
Take a look:
root@debnagios:~# php --version
PHP 7.0.33-0+deb9u10 (cli) (built: Oct 6 2020 17:08:28) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-0+deb9u10, Copyright (c) 1999-2017, by Zend Technologies
root@debnagios:~# php -v
PHP 7.0.33-0+deb9u10 (cli) (built: Oct 6 2020 17:08:28) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-0+deb9u10, Copyright (c) 1999-2017, by Zend Technologies
root@debnagios:~#
I'm not sure that I'm doing something wrong. How do you check your php version?
Take a look:
root@debnagios:~# php --version
PHP 7.0.33-0+deb9u10 (cli) (built: Oct 6 2020 17:08:28) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-0+deb9u10, Copyright (c) 1999-2017, by Zend Technologies
root@debnagios:~# php -v
PHP 7.0.33-0+deb9u10 (cli) (built: Oct 6 2020 17:08:28) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.33-0+deb9u10, Copyright (c) 1999-2017, by Zend Technologies
root@debnagios:~#
I'm not sure that I'm doing something wrong. How do you check your php version?
Re: Cacti doesn't create bandwidht graph.
Now that I seen this.... let me try and I'll let you know.macan wrote: ↑Wed Jun 09, 2021 6:36 amsorry, wrong linkpichler wrote: ↑Tue Jun 08, 2021 7:54 am Thank you Macan! But with this version I'm getting error 500, and the apache log says: [Tue Jun 08 09:54:24.185445 2021] [:error] [pid 30796] [client 10.10.4.21:57273] PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in /opt/cactidevelop/lib/functions.php on line 528
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Re: Cacti doesn't create bandwidht graph.
Macan, the new nagios's versions is running, but the problem still. Should I do shomething like a new install?
Thank you.
Thank you.
Re: Cacti doesn't create bandwidht graph.
Macan, even with a new installation doesn´t worked.
Re: Cacti doesn't create bandwidht graph.
Data source verification was fixed in last days. Please try
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Let the Cacti grow!
Re: Cacti doesn't create bandwidht graph.
Hi Macan, the problem stills. Thank you.
Re: Cacti doesn't create bandwidht graph.
If you have the latest functions.php with the fix in, you can uncomment the cacti_log line within the dsv_log function and it will give a breakdown of how things are being calculated for data source verification when you next create a file.
Filter your logs for DSV once you've done the above, and send it to developers@cacti.net referring to this issue.
Filter your logs for DSV once you've done the above, and send it to developers@cacti.net referring to this issue.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Cacti doesn't create bandwidht graph.
It looks like more a suggestion for a developer, I tried to find something related to DSV and didn't find it... I'll wait for next verstion.netniV wrote: ↑Tue Jun 15, 2021 9:28 pm If you have the latest functions.php with the fix in, you can uncomment the cacti_log line within the dsv_log function and it will give a breakdown of how things are being calculated for data source verification when you next create a file.
Filter your logs for DSV once you've done the above, and send it to developers@cacti.net referring to this issue.
Thank you.
Re: Cacti doesn't create bandwidht graph.
There has been another update to functions.php on the 1.2.x branch.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 0 guests