Thold Host Up History implementation

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
GhostOrchid
Posts: 23
Joined: Tue Feb 14, 2012 1:24 am

Thold Host Up History implementation

Post by GhostOrchid »

My Company here now demand me to provide WAN link downtime every month
Since I already have cacti monitoring the link, why not ask cacti to log the downtime

so this is it, the patch to implement it,
sorry that it got cluttered with gammu sms integration too

http://anythingopensource.blogspot.com/ ... story.html
sukanta
Cacti User
Posts: 139
Joined: Tue Jan 26, 2010 6:12 am

Re: Thold Host Up History implementation

Post by sukanta »

GhostOrchid wrote:My Company here now demand me to provide WAN link downtime every month
Since I already have cacti monitoring the link, why not ask cacti to log the downtime

so this is it, the patch to implement it,
sorry that it got cluttered with gammu sms integration too

http://anythingopensource.blogspot.com/ ... story.html
=====================================================
The functionality almost matching with my requirement also:

I was looking for link downtime dashboard where NOC will able to put RFO & will get detail downtime report of link status & host downtime.

Also tried to implement the patch but failed. Can u pl attach the patch in this forum.

Sukanta
GhostOrchid
Posts: 23
Joined: Tue Feb 14, 2012 1:24 am

Re: Thold Host Up History implementation

Post by GhostOrchid »

Attached is my latest thold files that has been modified.
It is based from 0.4.9 of thold plugin
Attachments
thold.patch
(22.77 KiB) Downloaded 251 times
thold.zip
(43.96 KiB) Downloaded 260 times
GhostOrchid
Posts: 23
Joined: Tue Feb 14, 2012 1:24 am

Re: Thold Host Up History implementation

Post by GhostOrchid »

Cacti 0.8.8 break thold ability to get status fail date from host table
Simple workaround is to comment this 2 line from lib/functions.php
line 675 and 676
/* $hosts[$host_id]["status_fail_date"] = '0000-00-00 00:00:00';
$hosts[$host_id]["status_rec_date"] = '0000-00-00 00:00:00';
*/
Piratos
Posts: 28
Joined: Thu May 03, 2007 6:22 am

Re: Thold Host Up History implementation

Post by Piratos »

The thold ability to get status fail date from host table does work with Cacti 0.8.8a.
chanty
Posts: 6
Joined: Wed Jan 11, 2012 9:27 pm

Re: Thold Host Up History implementation

Post by chanty »

Hi GhostOrchid,

I have no knowledge in programming. Is it possible to post the step-by-step changing to make it work ?
I am using cacti 0.8.7d with thold 0.4.1.

Thanks in advanced,
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests