[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 988: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead
CactiUsers.org - View topic - Thold Plugin for Cacti


Cactiusers.org


It is currently Sat Feb 04, 2012 2:22 am




Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3, 4  Next
 Thold Plugin for Cacti 
Author Message
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 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.


Wed Aug 10, 2005 9:05 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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


Sun Jan 01, 2006 3:25 pm
New User

Joined: Wed Dec 14, 2005 10:41 pm
Posts: 23
Post 
Hi Jimmy,

Thats great. Do we need to uninstall thold tables or just replace the

code.

Thanks,

Farhan


Mon Jan 02, 2006 10:50 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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


Tue Jan 03, 2006 1:55 am
New User

Joined: Fri Mar 03, 2006 4:40 am
Posts: 3
Post 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. "


Fri Mar 03, 2006 4:49 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 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.


Fri Mar 03, 2006 9:19 am
New User

Joined: Fri Mar 03, 2006 4:40 am
Posts: 3
Post thanks for the fix.. in download links
hi!... jimmy

thanks for the help....
and fixing the links

Best regards
Manav


Sat Mar 04, 2006 12:17 am
New User

Joined: Thu Oct 19, 2006 11:19 pm
Posts: 1
Post 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


Attachments:
File comment: pic tresholds
thold.jpg [18.34 KiB]
Downloaded 870 times
Fri Oct 20, 2006 12:41 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 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


Fri Oct 20, 2006 11:30 pm
New User

Joined: Tue Dec 19, 2006 8:20 pm
Posts: 3
Post 
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!


Tue Dec 19, 2006 8:23 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Odd.... as both functions use the same exact function to send the mail. I will look into it further.


Tue Dec 19, 2006 8:35 pm
New User

Joined: Tue Dec 19, 2006 8:20 pm
Posts: 3
Post 
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!


Tue Dec 19, 2006 9:59 pm
New User

Joined: Tue Dec 19, 2006 8:20 pm
Posts: 3
Post 
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!


Fri Jan 12, 2007 3:15 am
New User

Joined: Mon May 21, 2007 8:53 pm
Posts: 3
Post 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


Mon May 21, 2007 9:08 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
I just added a fix for this to SVN, you should be able to set it to 0 in the next release.


Sat May 26, 2007 4:25 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3, 4  Next


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron