Cacti stop graphing for some minutes and the start again.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
rrestituyo
Posts: 35
Joined: Thu Aug 15, 2019 12:10 pm

Cacti stop graphing for some minutes and the start again.

Post by rrestituyo »

The issue happen for some graphs and some devices only and at the same time.

I do not know why. Can someone help?

Please see the photo attached.
Cacti.PNG
Cacti.PNG (88.82 KiB) Viewed 1677 times
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Cacti stop graphing for some minutes and the start again.

Post by camerabob »

Look into the underlying operating system to see if it is being taxed at that time. Sometimes a virus scan or other background process may be using CPU cycles and that will affect how quickly Cacti can get it's job done as well.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
rrestituyo
Posts: 35
Joined: Thu Aug 15, 2019 12:10 pm

Re: Cacti stop graphing for some minutes and the start again.

Post by rrestituyo »

I check for CPU usage and everything but I do not see anything wrong and the problem still there.
Attachments
cacti_.PNG
cacti_.PNG (174.1 KiB) Viewed 1650 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti stop graphing for some minutes and the start again.

Post by netniV »

That usually means one of a few things. The first is an overloaded resource on the Cacti server, check your CPU/RAM and running processes. I would suggest having 'top' running (though that too could be too resource intensive). The second is the device in question and could be that the device is being overwelmed by requests (whether from the cacti server or just its main function). The third is that the values being returned via SNMP are too high to be included in the RRD file (due to the maximum value setting normally associated to the template). To check the third, use the data source debugging tools in Cacti 1.2.x or the dsdebug plugin in 1.1.x
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
rrestituyo
Posts: 35
Joined: Thu Aug 15, 2019 12:10 pm

Re: Cacti stop graphing for some minutes and the start again.

Post by rrestituyo »

Hi,

I checked cpu and memory and top, but all looks good. The issue It is not to all the graphs.
Attachments
top.PNG
top.PNG (25.47 KiB) Viewed 1649 times
Resources.PNG
Resources.PNG (14.83 KiB) Viewed 1649 times
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Cacti stop graphing for some minutes and the start again.

Post by camerabob »

Look at that graph. If you dig deeper, something is occurring on a regular basis. Do you have an offsite backup software configured? Look carefully at the missing graph times, find the pattern and look when the next one is to hit. Also, looking again at the processor graph, I would second netniV. The device's processor usage is through the roof. I would bet a dozen donuts that it is being overwhelmed for that 5(?) minute stretch and simply cannot respond to polls. Also your statement
I checked cpu and memory and top, but all looks good. The issue It is not to all the graphs.
would point to the graphed device being the one causing the gaps.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
rrestituyo
Posts: 35
Joined: Thu Aug 15, 2019 12:10 pm

Re: Cacti stop graphing for some minutes and the start again.

Post by rrestituyo »

I followed the pattern and monitored my device when the next blank was suppose to happen but everything was okay there. Memory did not increased and CPU did not decreased as my graphs are showing. There is not backup software.
I'll keep looking.
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Cacti stop graphing for some minutes and the start again.

Post by camerabob »

Look at the far end device, not the Cacti server.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
rrestituyo
Posts: 35
Joined: Thu Aug 15, 2019 12:10 pm

Re: Cacti stop graphing for some minutes and the start again.

Post by rrestituyo »

Hi Guys,

Yesterday I checked the difference between devices with the problem and devices that did not have the problem. The only thing I saw was that the re-index method for the ones with graph issues was in uptime but the other were in index count. I changed to index count and today I do no see the problem. I left some devices in uptime to see if that was the issue and those still have bad graphs but the ones I changed are okay.

I will keep monitoring for a while to see if that was the permanent solution and let you know. Does someone have an idea of why in uptime this happens and not in index count?

Thanks!
Waterboy2020
Posts: 4
Joined: Wed Sep 11, 2019 8:18 am

Re: Cacti stop graphing for some minutes and the start again.

Post by Waterboy2020 »

I have the same thing, most day's about 3:00am.
I'm running Cacti on Windows, I checked the event log and found Symantec is running a scan about that time, I think I saw something about Cacti not being able to access the database in some log?....
Probably need to put exceptions in for Symantec to not scan some directories
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests