Cacti doesn't create bandwidht graph.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Cacti doesn't create bandwidht graph.

Post by pichler »

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.
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

Sorry, I'm using the lastest version of cacti, on a Debian 4.9.168.
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti doesn't create bandwidht graph.

Post by macan »

pichler wrote: Mon Jun 07, 2021 11:57 am Sorry, I'm using the lastest version of cacti, on a Debian 4.9.168.
It is fixed now. Try this version https://github.com/Cacti/cacti/archive/ ... evelop.zip
Let the Cacti grow!
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

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
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti doesn't create bandwidht graph.

Post by macan »

pichler 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
sorry, wrong link
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Let the Cacti grow!
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti doesn't create bandwidht graph.

Post by macan »

pichler 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
You have php version 5.x?You sould update tu php 7.x
Let the Cacti grow!
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

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?
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

macan wrote: Wed Jun 09, 2021 6:36 am
pichler 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
sorry, wrong link
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Now that I seen this.... let me try and I'll let you know.
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

Macan, the new nagios's versions is running, but the problem still. Should I do shomething like a new install?


Thank you.
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

Macan, even with a new installation doesn´t worked.
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cacti doesn't create bandwidht graph.

Post by macan »

pichler wrote: Mon Jun 14, 2021 3:08 pm Macan, even with a new installation doesn´t worked.
Data source verification was fixed in last days. Please try
https://github.com/Cacti/cacti/archive/ ... /1.2.x.zip
Let the Cacti grow!
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

Hi Macan, the problem stills. Thank you.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti doesn't create bandwidht graph.

Post by netniV »

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.
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
pichler
Posts: 15
Joined: Mon Apr 24, 2006 1:57 pm

Re: Cacti doesn't create bandwidht graph.

Post by pichler »

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.
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.


Thank you.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti doesn't create bandwidht graph.

Post by netniV »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests