| View previous topic :: View next topic |
| Author |
Message |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Wed Aug 10, 2005 9:05 am Post subject: Thold Plugin for Cacti |
|
|
| I have updated the Thold plugin to v0.2.2. This version adds the ability to disable a Threshold. This option was sorely lacking for people who need to work on a host, but don't want the host to alert every few minutes that it is down. Disabling the "host" will automatically disable all the thresholds for that host, and vice-versa.
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Sun Jan 01, 2006 3:25 pm Post subject: |
|
|
I have now released v0.2.7 of the Thold Plugin. Here is the changelog.
* Fixes for "are you sure you meant month 899" errors
* Fixes for table tholdset being empty causes poller to not function
* Resolved issue with Base URL auto generation pointing to the plugin directory
* Code Cleanup of Threshold Management Page
* "Instructions" rewording on Threshold Management Page
* Can now select multiple Thresholds to delete
* Orphan thresholds are now cleaned up automatically
* Fixed Guest account access to View Thresholds
|
|
| Back to top |
|
 |
farhan New User
Joined: 14 Dec 2005 Posts: 23
|
Posted: Mon Jan 02, 2006 10:50 pm Post subject: |
|
|
Hi Jimmy,
Thats great. Do we need to uninstall thold tables or just replace the
code.
Thanks,
Farhan
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Tue Jan 03, 2006 1:55 am Post subject: |
|
|
| farhan wrote: | Hi Jimmy,
Thats great. Do we need to uninstall thold tables or just replace the code.
Thanks,
Farhan |
Just replace the file as there have been no database changes.
Jimmy
|
|
| Back to top |
|
 |
manav.sah@gmail.com New User
Joined: 03 Mar 2006 Posts: 3
|
Posted: Fri Mar 03, 2006 4:49 am Post subject: where to find the latest versio of thold & PluginArchite |
|
|
the link is not working...
http://cactiusers.org/downloads/patches/
http://download.cactiusers.org/downloads/tools.tar.gz
and above is also not working...
both url reply was "No input file specified. "
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Fri Mar 03, 2006 9:19 am Post subject: Re: where to find the latest versio of thold & PluginArc |
|
|
| manav.sah@gmail.com wrote: | the link is not working...
http://cactiusers.org/downloads/patches/
http://download.cactiusers.org/downloads/tools.tar.gz
and above is also not working...
both url reply was "No input file specified. " |
I fixed the issue, sortof. Try the new links (just remove the download. subdomain) and it should work now.
|
|
| Back to top |
|
 |
manav.sah@gmail.com New User
Joined: 03 Mar 2006 Posts: 3
|
Posted: Sat Mar 04, 2006 12:17 am Post subject: thanks for the fix.. in download links |
|
|
hi!... jimmy
thanks for the help....
and fixing the links
Best regards
Manav
|
|
| Back to top |
|
 |
whyou New User
Joined: 19 Oct 2006 Posts: 1
|
Posted: Fri Oct 20, 2006 12:41 am Post subject: thold 0.3.0 |
|
|
dear jimmy,
i was update my thold with version 0.3.0, but why View Thresholds is disable.
what should i do to enable that feature ??
rgds
whyou
| Description: |
|
 Download |
| Filename: |
thold.jpg |
| Filesize: |
18.34 KB |
| Downloaded: |
663 Time(s) |
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Fri Oct 20, 2006 11:30 pm Post subject: Re: thold 0.3.0 |
|
|
| whyou wrote: | dear jimmy,
i was update my thold with version 0.3.0, but why View Thresholds is disable.
what should i do to enable that feature ??
rgds
whyou |
If I had to take a guess, I would say that you either don't have any thresholds setup (unlikely) or you checked this box in the Settings.
| Quote: | Display Alerts Only
If checked, only hosts and data sources that have an alert active will be displayed |
|
|
| Back to top |
|
 |
djmerlyn New User
Joined: 19 Dec 2006 Posts: 3
|
Posted: Tue Dec 19, 2006 8:23 pm Post subject: |
|
|
So, I installed this plugin back in August, and just now am getting around to this ;) It works that good ;)
The problem is with emailing alerts from thold...
I use SMTP... The reason is...
If I use phpmail() or sendmail, only host down errors will show up in my mail box. If I use SMPT I no longer get host down notices from cacti, but now I get thold device over/under thresh-hold messages.
I'm trying to figure out what do I need to do to get messages for host down and from thold device above/below thresh-hold messages?
Thanks!
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Tue Dec 19, 2006 8:35 pm Post subject: |
|
|
| Odd.... as both functions use the same exact function to send the mail. I will look into it further.
|
|
| Back to top |
|
 |
djmerlyn New User
Joined: 19 Dec 2006 Posts: 3
|
Posted: Tue Dec 19, 2006 9:59 pm Post subject: |
|
|
Just FYI ;)
On a whim, I thought maybe it would have been corrected with some upgrades... So I moved up to the "i" release, re-installed the plugins arch. and plugins...
Now it works flawlessly... Go figure ;)
Thanks anyhow, you've made a great product, and our company looks forward to donating to this and cacti's causes.
Thanks!
|
|
| Back to top |
|
 |
djmerlyn New User
Joined: 19 Dec 2006 Posts: 3
|
Posted: Fri Jan 12, 2007 3:15 am Post subject: |
|
|
Well, good news is that I figured out what the root cause of this issue was...
When using phpmail/sendmail, spamassassin is picking up the emails as spam for the following reasons:
| Quote: | Content analysis details: (4.9 points, 4.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.8 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
-0.0 NO_RELAYS Informational: message was not relayed via SMTP
0.0 HTML_MESSAGE BODY: HTML included in message
1.2 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines
2.9 HTML_IMAGE_ONLY_04 BODY: HTML: images with 0-400 bytes of words |
This could of course be resolved at the code level of the thold script, I'm just not sure where to look and don't really care to. Instead I whitelisted myself ;)
But, if you should be so inspired to fix them, or even point me in the right direction and I'll fix them and send you the patch ;)
If:
0.8 EXTRA_MPART_TYPE Header has extraneous Content-type:...type= entry
and
1.2 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines
Is fixed, problem will be resolved. Adjusting those image names is not really worth it.
Cheers!
|
|
| Back to top |
|
 |
bostonkiwi New User
Joined: 21 May 2007 Posts: 3
|
Posted: Mon May 21, 2007 9:08 pm Post subject: Thold re-alert status |
|
|
Hi,
We have just implemented the Thold plugin within Cacti. The issue we have is we are using this to monitor printer toners for various printers.
We can get this working exactly how we want it with one exception. Every polling cycle (5 minutes) it polls the printer and detects the level of the toner is below our threshold. It then emails our vendor to advise. We have changed the re-alert setting from 12 - 999 however this means every 3 days or so they get an email and then send toner even though they have just sent it 3 days earlier. We have set this setting to "0" as well hoping this will not re-alert at all.
My questions is this:
How do we set this up so it alerts one time and then ignores the rest?
Thanks.
How can we set the
|
|
| Back to top |
|
 |
jimmy Site Admin
Joined: 11 Nov 2004 Posts: 1533
|
Posted: Sat May 26, 2007 4:25 pm Post subject: |
|
|
| I just added a fix for this to SVN, you should be able to set it to 0 in the next release.
|
|
| Back to top |
|
 |
|