Thresholding / Alerting Plugin - Official Q/A Thread

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
tomate
Cacti User
Posts: 73
Joined: Mon Jun 05, 2006 5:45 am

Post by tomate »

hello,

i try to install the thold plugin but as soon as i enable it, it craches my apache2 server !!
i use last version of cacti and thold
apache2 is 2.2.8-3, mysql 5.0.51a-3 and php 5.2.5-3 (on a debian)

on apache2 error log file i have :
child pid exit signal Segmentation fault (11)

i saw some threads on google but it seems to be corrected ???

any idea ?

thanks
bsc
Posts: 8
Joined: Wed Jan 23, 2008 2:40 pm

Post by bsc »

I am wondering if you can define certain windows for thold not to send alerts if they happen. We put our blade center into a restricted state every night for a couple hours to perform backups on the iSeries side and I don't want to alert about the servers that are running on the blades going down and coming back every night between those hours.

I only see the weekend exception check box, but wouldn't it be a bit better if we could define our own schedule for exceptions?

Is there any plugin that can do this?

Thank you!
palbandoz
Posts: 12
Joined: Wed May 07, 2008 11:20 am

Post by palbandoz »

I'm wondering to create a threshold that is not a fixed value but another data field's value.

I explain it: i.e. I have a Data Template with two Data Fields: InputBytes and OutputBytes; I want to use InputBytes as the threshold, so if OutputBytes is over InputBytes the threshold is triggered. So this threshold would be "dynamic"... is this possible with THold plugin?
User avatar
cyrill
Cacti User
Posts: 271
Joined: Fri Jan 25, 2008 8:43 am
Location: California - USA

Post by cyrill »

Hello !

My thresholds work correctly and the mail alert are sending but the image in the mail appears as broken. Why ?

Please help me !
Cacti 0.8.7b

-> Architecture plugin
-> Thold plugin
-> Monitor plugin
-> Weathermap plugin
magzz69
Posts: 20
Joined: Thu Jul 24, 2008 3:22 am

Post by magzz69 »

Hi!

Is someone can give me a website where its explain how to configure mail for using threshold. Because its work fine but it can't send me e-mail.

Thanks a lot !
Atkatla
Cacti User
Posts: 69
Joined: Mon Apr 14, 2008 3:17 pm

Post by Atkatla »

magzz69 wrote:Hi!

Is someone can give me a website where its explain how to configure mail for using threshold. Because its work fine but it can't send me e-mail.

Thanks a lot !
Same happened to me. Test Mail worked, but not the alerting mails. The reason was that I forgot to enter my email-address at "user management" > "email address"

The email address in the thold settings seems not to be enough.
paul_psmith
Posts: 12
Joined: Tue Aug 05, 2008 11:38 am
Location: USA

mail alerts not working

Post by paul_psmith »

It looks like it's all configured correctly, and the thold trips, but I do not get an email. test email works. i do have the email address in the user admin, and it shows on the thold setting for thold i set.

I see the entries in the log file. Something that is odd is that when a thold is breached, that thold does not show in the log file.

Ah, just found something new. I put an explicit email in the thold setting for a device and that one came through, but the default Admin email does not work.

Anyone have any ideas? Same email address in both locations. Something about the mailer code?

Cacti 8.7b on FC8.
oldskoolgeek
Posts: 1
Joined: Wed Nov 12, 2008 1:32 pm
Location: Florida, USA

"A" Solution for email alerts not being sent

Post by oldskoolgeek »

I apologize if this is a bit long, but I spent a couple of days trying various solutions mentioned in this forum. It turns out there were a few things I needed to fix, but I have not seen any mention of the final step required to get alerts working. Hopefully I can help prevent some frustration for a few people here.

I have had the same issue with email alerts not being sent when a threshold is triggered, after upgrading to Cacti 0.8.7b with Thold 0.3.9.

I assigned an email address to the admin user in User Management, as suggested by others in this forum. Once I did that, the user name appeared in the list of "Notify Accounts" on the threshold settings page. It was blank before that.

Still did not work. Emails were sent if I added an email address to the "Extra Alert Emails" field, but still would not send to the global account.

I found that when I clicked on the user name (Administrator - Email) in the Notify Accounts field so it was highlighted, then save the settings, it fixed the problem.

Now all my threshold alerts work after highlighting the Notify Account and saving.
paul_psmith
Posts: 12
Joined: Tue Aug 05, 2008 11:38 am
Location: USA

Post by paul_psmith »

Thanks for the tip.

That seemed to help on the threshold breach alert, but i don't get another alert when the breach has cleared.

Anyone else have a suggestion?

Thanks!!
tomate
Cacti User
Posts: 73
Joined: Mon Jun 05, 2006 5:45 am

Post by tomate »

hello,

Is it normal my "Threshold Templates" is empty ?

When i try to auto-create threshold on a device, i got "No thresholds were created."

It seems i need Threshold Templates but i don't know where to find them :-?

I use debian cacti package 0.8.7b-2 and pluginarch patch file cacti-plugin-0.8.7b-PA-v2.1.diff
I installed thold-0.3.9

Thanks.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Thold 0.4.1 email settings?

Post by chadd »

I have been away from cacti for a while, so please excuse my possibly dump question.

I just installed the lastest cacti, latest plugin arch, and latest thold plugin.

I restored an old database, and followed the upgrade click through.

I seem to have the thold plugin working, but I can not find where I configure the email addresses that thold will send alerts to. Can someone help me out here? Thanks,

-chadd.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Re: Thold 0.4.1 email settings?

Post by chadd »

chadd wrote:I have been away from cacti for a while, so please excuse my possibly dump question.

I just installed the lastest cacti, latest plugin arch, and latest thold plugin.

I restored an old database, and followed the upgrade click through.

I seem to have the thold plugin working, but I can not find where I configure the email addresses that thold will send alerts to. Can someone help me out here? Thanks,

-chadd.

Ok, I think I have it figured out...mostly..

The problem I am having now is that I can't see where you assign what template you want the threshold to use. I went into the database and set the values manually, but how do I know that it is really working? I see no place within the threshold config where it says, "you are using threshold template X".. Am I missing something??
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Thold 0.4.1 email settings?

Post by cigamit »

chadd wrote:I have been away from cacti for a while, so please excuse my possibly dump question.

I just installed the lastest cacti, latest plugin arch, and latest thold plugin.

I restored an old database, and followed the upgrade click through.

I seem to have the thold plugin working, but I can not find where I configure the email addresses that thold will send alerts to. Can someone help me out here? Thanks,

-chadd.
There are 2 different places. 1 is in the threshold (or the threshold template). You can manually set Email addresses there ("Extra Alert Emails"). If you want to assign email addresses to you Cacti users, and then just select them in the dropdown ("Notify accounts"). Then go into the User Management, click on a user, and add the email address.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Thanks for the reply. I must be missing some things. These are my versions:

plugin arch: 2.4
cacti: 0.8.7d
thold: 0.4.1

The email thing I just started working.. Not sure what I did, but thanks.

The "Template Propagation Enabled" check box on the threshold I am creating is grayed out.
If I choose the "Apply Thresholds" drop-down on the device page, It will auto create thresholds for each interface, seemingly, based on the template I have - but what if I did not want to create thresholds for all the interfaces, or wanted to use different template(s)? Anyway, looks like I have a lot of catching up to do on this plugin ;-). Anyway help would be appreciated.

Also, there does not seem to be a way to see what template a particular threshold is using, or even to assign it to one. Is there an SVN version that has the options you are talking about, or did I just screw up the install some how? Thanks again for your help.
Last edited by chadd on Thu Mar 19, 2009 9:12 am, edited 3 times in total.
chadd
Cacti User
Posts: 382
Joined: Thu Mar 24, 2005 3:53 pm
Location: Ocoee, Florida

Post by chadd »

Oh, and do you still need the settings plugin as a prereq to thold? (I am using it, but not sure it is necessary..)
Last edited by chadd on Thu Mar 19, 2009 8:59 am, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest