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
Thold Host Up History implementation
Moderators: Developers, Moderators
Re: Thold Host Up History implementation
=====================================================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
-
- Posts: 23
- Joined: Tue Feb 14, 2012 1:24 am
Re: Thold Host Up History implementation
Attached is my latest thold files that has been modified.
It is based from 0.4.9 of thold plugin
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
-
- Posts: 23
- Joined: Tue Feb 14, 2012 1:24 am
Re: Thold Host Up History implementation
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';
*/
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';
*/
Re: Thold Host Up History implementation
The thold ability to get status fail date from host table does work with Cacti 0.8.8a.
Re: Thold Host Up History implementation
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,
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,
Who is online
Users browsing this forum: No registered users and 2 guests