Graphs are not updating

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
jayarathna
Posts: 32
Joined: Mon Oct 29, 2018 1:55 am

Graphs are not updating

Post by jayarathna »

Dear All,

I have installed new cacti server Version 1.1.38 on centos 7. i have added new devices on it but graphs are not updating.
There is a error on /var/log/httpd/error_log.

ERROR: opening '/usr/share/cacti/rra/tr-2_agr-3_traffic_out_3.rrd': No such file or directory.

Please let me know the issue on here.

Also, is there any Patches for this version which needs to be updated?

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

Re: Graphs are not updating

Post by netniV »

Check that your poller is running. You can also use the debug plugin if you are running 1.0.x or 1.1.x to verify your data sources. From 1.2 we integrated that plugin.
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
jayarathna
Posts: 32
Joined: Mon Oct 29, 2018 1:55 am

Re: Graphs are not updating

Post by jayarathna »

Dear Team,

im not clear about it, can you please elaborate ? commands

Thanks.
jayarathna
Posts: 32
Joined: Mon Oct 29, 2018 1:55 am

Re: Graphs are not updating

Post by jayarathna »

Further i receive errors as below,

[Mon Nov 05 05:23:30.550317 2018] [suexec:notice] [pid 1339] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00557: httpd: apr_sockaddr_info_get() failed for DBill-Monitor
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Mon Nov 05 05:23:30.579808 2018] [auth_digest:notice] [pid 1339] AH01757: generating secret for digest authentication ...
[Mon Nov 05 05:23:30.580352 2018] [lbmethod_heartbeat:notice] [pid 1339] AH02282: No slotmem from mod_heartmonitor
[Mon Nov 05 05:23:31.683337 2018] [mpm_prefork:notice] [pid 1339] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Mon Nov 05 05:23:31.683371 2018] [core:notice] [pid 1339] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Nov 05 06:49:48.562973 2018] [:error] [pid 2887] [client X.X.X.X:52235] PHP Notice: Undefined index: host_template_id in /usr/share/cacti/graphs_new.php on line 1035, referer: http://Y.Y.Y.Y/cacti/host.php?action=edit&id=2
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graphs are not updating

Post by netniV »

What version of cacti is this again? The current 1.2 version only has 854 lines.
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
jayarathna
Posts: 32
Joined: Mon Oct 29, 2018 1:55 am

Re: Graphs are not updating

Post by jayarathna »

My cacti version is Version 1.1.38
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graphs are not updating

Post by netniV »

This is a problem I think when creating new graphs that are not associated to a host?

The problem would still exist currently in 1.2 so can you open a new issue on GitHub for this? It comes because the $host field is not properly populated with a value for 'host_template_id' thus when attempting to later use that key, it's not found.
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
jayarathna
Posts: 32
Joined: Mon Oct 29, 2018 1:55 am

Re: Graphs are not updating

Post by jayarathna »

Dear Guru,

im not clear about it what u have said, can you please explain how can i resolve this by commands?

Thanks in advanced.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Graphs are not updating

Post by netniV »

Goto https://github.com/cacti/cacti/issues and open a new issue about this so it can be fixed properly. There are no commands to fix it at the moment.
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 2 guests