Monitor plugin not refreshing

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
pleo
Posts: 1
Joined: Fri Oct 25, 2013 8:56 am

Monitor plugin not refreshing

Post by pleo »

I've used Cacti for a couple years now, but I haven't really played with it. Out of the box was basically all that I needed. However, since I upgraded to version 0.8.8a, I've noticed that the monitor plugin no longer refreshes automatically based on the value placed in the Refresh interval field in Misc Settings. Is there something I have to do in order to make the refresh work again? The only way now that I can see to refresh is to do it manually or to navigate away from the page and back into it.
tonychipolla
Posts: 4
Joined: Mon Jan 13, 2014 9:43 am

Re: Monitor plugin not refreshing

Post by tonychipolla »

Same problem here, please if anyone know something it would be great.
tr911
Posts: 7
Joined: Sun Nov 09, 2014 12:15 pm

Re: Monitor plugin not refreshing

Post by tr911 »

Same here no refresh no matter how long or short I set the rate.
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Monitor plugin not refreshing

Post by Atreides »

Yep, got the same problem with 0.8.8.c. Any device that fails, the plugin returns "Never" on "Last fail" box.
Pretty annoying since it doesnt update the time it pass since the device failed :(.
As you can see in the pic, the device "failed" 736003 days ago.

Using Monitor 1.3 and Cacti 0.8.8.c.
Attachments
monitor refresh.jpg
monitor refresh.jpg (20.43 KiB) Viewed 5939 times
wmunguiam
Posts: 16
Joined: Fri Jan 19, 2007 7:05 pm

Re: Monitor plugin not refreshing

Post by wmunguiam »

Dear friends, Does any one found a solution?
ChandlerHsieh
Posts: 1
Joined: Tue Feb 24, 2015 4:08 pm

Re: Monitor plugin not refreshing

Post by ChandlerHsieh »

Workaround:
Go to Plug-in Management-->disable and uninstall monitor plug-in.
Then install and enable monitor plug-in.
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: Monitor plugin not refreshing

Post by Atreides »

Nah...tried that already and its not working.
rheiam
Posts: 1
Joined: Wed Mar 25, 2015 2:28 am

Re: Monitor plugin not refreshing

Post by rheiam »

Hi all, has anyone found a way to solve this issue?
zambara
Posts: 2
Joined: Thu May 31, 2007 7:23 am

Re: Monitor plugin not refreshing

Post by zambara »

Hi all,

Solution:
Edit ~path-to-cacti/lib/functions.php
Comment lines: 673 674
ORIGINAL:

Code: Select all

       $hosts[$host_id]["status_fail_date"] = '0000-00-00 00:00:00';
       $hosts[$host_id]["status_rec_date"] = '0000-00-00 00:00:00';
FIXED:

Code: Select all

/*      $hosts[$host_id]["status_fail_date"] = '0000-00-00 00:00:00'; */
/*      $hosts[$host_id]["status_rec_date"] = '0000-00-00 00:00:00'; */

ATENTION: It will work only for future events. The past events are not updated by this fix.

Hope will help you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest