Monitor Plugin Down Host Time Offset after migration: Fixed!

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
battlecat
Posts: 2
Joined: Fri Feb 21, 2014 4:24 pm

Monitor Plugin Down Host Time Offset after migration: Fixed!

Post by battlecat »

Hi all.

I have recently migrated Cacti from and older CentOS 5 server, using Cacti 0.8.7g, to a CentOS6 server using Cacti 0.8.8b, and thanks to these forums have worked out a few issues I had, particularly with the thold plugin.

All is working properly, but I have one issue that I am unable to resolve. I apologize in advance if this problem has already been asked and answered, but I really did look first!

The problem I am having is with the Monitor plugin.

While it does work (and emails get sent via threshold for downed hosts) under the downed icon on the monitor page I am seeing a weird time offset.

For instance, if I down a monitored host, say 1hr and 26 mins and 20s ago, the downtime reported in red text will read (today) "735682d 1h 26m 20s"

In short, 735682 gets prepended to the down time, every time, for every host.

I have tried a few things like removing the monitor plugin, removing the "monitor" and "monitor_text" fields from the "host" table, then reinstalling the monitor plugin, but there is no change.

The monitor plugin version on the old system was 0.8.2 and the monitor plugin version on the new system is 1.3.

Any help would be greatly appreciated.

Cheers
Last edited by battlecat on Wed Feb 26, 2014 10:20 am, edited 1 time in total.
tonychipolla
Posts: 4
Joined: Mon Jan 13, 2014 9:43 am

Re: Monitor Plugin Down Host Time Offset after migration

Post by tonychipolla »

same problem here, i have cacti 0.8.8a and monitor 1.3. I am also having trouble with the refresh time for monitor, it takes to long to realize when a host is down. Any idea how can i change the time ?

Thanks
battlecat
Posts: 2
Joined: Fri Feb 21, 2014 4:24 pm

Re: Monitor Plugin Down Host Time Offset after migration: Fi

Post by battlecat »

Resolved.

This was a bug in the 8.8 version of Cacti:

http://bugs.cacti.net/view.php?id=2257

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest