[PATCH] Hosts Up history and SMS sending support

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
vovan888
Posts: 2
Joined: Wed Sep 26, 2012 8:00 am

[PATCH] Hosts Up history and SMS sending support

Post by vovan888 »

Hello all!
I have slightly modified a patch from GhostOrchid (http://forums.cacti.net/viewtopic.php?f=17&t=46539) to make SMS notifications use phone numbers configured in Notification Lists, instead of one global setting. Works with gammu and smstools. SMS are currently sent only for host up/down events.

Also available on github: https://github.com/vovan888/cacti-plugin-thold
Attachments
thold-0.5.0.tar.gz.txt
(119.02 KiB) Downloaded 596 times
jibbomussi
Posts: 1
Joined: Thu Nov 01, 2012 12:21 am

Re: [PATCH] Hosts Up history and SMS sending support

Post by jibbomussi »

Thank you so much for these info.
adumthoredas
Posts: 2
Joined: Fri Sep 07, 2012 4:34 am

Re: [PATCH] Hosts Up history and SMS sending support

Post by adumthoredas »

Hi !!!

I'd install CactiEZ, that allready comes with the last varsion of Thold 0.5 that could send SMS. I succefully installed gnokki and all package dependencies. All worked fine. But only host up and down event's are able to process sms. So I want that every threshould created, could be able to send sms.

So i've search in the internet and find this modificated thold, that uses gammu or SMS 3.0. I installed both, via command line gammu and sms 3.0 send sms, but cacti with this version stopped to send e-mail for host up/dowb and sms don't work neather.

If I moved back to original thold that comes with cactiEZ, all works.

I have another cacti in production, installed on Ubuntu 10.04 and cacti's last version 0.8.8a. Tryed this modificated thold, but it don't work.

Anyone here have can help me ???

Sorry for any English error....

Att.
wanizaidi
Posts: 1
Joined: Thu Jun 26, 2014 1:11 am

Re: [PATCH] Hosts Up history and SMS sending support

Post by wanizaidi »

SMS sending support will suppoort in my s3 or not?
naven
Posts: 12
Joined: Tue Mar 31, 2015 4:54 pm

Re: [PATCH] Hosts Up history and SMS sending support

Post by naven »

wanizaidi wrote:SMS sending support will suppoort in my s3 or not?
This is not dependant on script. You have to check whether or not gammu or smstools support your device.
There is a list for gammu here: http://wammu.eu/phones/
User avatar
pizu
Posts: 42
Joined: Thu Nov 17, 2011 5:15 pm

Re: [PATCH] Hosts Up history and SMS sending support

Post by pizu »

Is this supported on Ver 0.8.8f ?
Regards,
Pizu
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests