Time difference between last seen and duration

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

Moderators: Developers, Moderators

Post Reply
nettle
Posts: 7
Joined: Fri May 31, 2024 3:50 am

Time difference between last seen and duration

Post by nettle »

Hello. I have the following timing problem. In the last seen column is the actual time when the given device was last seen, and in the length column in status does not match the actual. For example, the device that was lost at 10:42 shows that it has been missing for 1h and 20m, and now it is 12:16. The correct one is to show that it has been missing since 1h 34m. The difference is almost 20 minutes in less than 2 hours.

I have two different installations on separate machines. Time rushes to one, and lags behind to the other.
I am adding an attached screenshot. Image
Please help me to solve this problem.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Time difference between last seen and duration

Post by macan »

try to update monitor plugin
https://github.com/cacti/plugin_monitor
Let the Cacti grow!
nettle
Posts: 7
Joined: Fri May 31, 2024 3:50 am

Re: Time difference between last seen and duration

Post by nettle »

macan wrote: Mon Jun 03, 2024 6:25 am try to update monitor plugin
https://github.com/cacti/plugin_monitor
Ok. Now update on of the servers and wait for new device to going down and check the times :)
nettle
Posts: 7
Joined: Fri May 31, 2024 3:50 am

Re: Time difference between last seen and duration

Post by nettle »

macan wrote: Mon Jun 03, 2024 6:25 am try to update monitor plugin
https://github.com/cacti/plugin_monitor
Plugin is updated on two servers, but problem is still there. In server1 time is going slow, but in server2 time is going faster just like before update.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Time difference between last seen and duration

Post by macan »

Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Time difference between last seen and duration

Post by TheWitness »

Make sure time sync is enabled and you've configured the time zones on your pollers correctly.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests