THOLD - Disk Percentage calculations
Moderators: Developers, Moderators
The next version of thold will have built in percentage calculations. For instance you could create a thold for hdd_used. You then select "Percentage" on one of the dropdowns. A new drop down will appear with all the remaining Datasource items, in this case you would select hdd_total from that drop down. You can then set the HIGH threshold value to 90 (meaning 90%) and it will alert and display the data as that.
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
Woo Hoo!!!
That is the only thing stopping me from installing Thold in it's current state!!!
app
That is the only thing stopping me from installing Thold in it's current state!!!
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
This actually opens the possibilities to be expanded also. For instance, the drop down that allows percentage actually has 3 options
Exact Number
CDEF
Percentages
the first is ofcourse just the number. CDEF is if you want to apply a CDEF.
What I am thinking of adding is adding another option for "Normal", which would work the way it does in the graph. So for example, you could put
1M as the high threshold, and it would actually translate that into its numerical value 1000000 or 1048576 depending on its base. It would also display it in this form also, so if you are alerting on 1M but are not breached yet, the threshold display might currently show it at 292K instead of 292000. It would also know the difference between 10KB and 10Kb, etc...
Exact Number
CDEF
Percentages
the first is ofcourse just the number. CDEF is if you want to apply a CDEF.
What I am thinking of adding is adding another option for "Normal", which would work the way it does in the graph. So for example, you could put
1M as the high threshold, and it would actually translate that into its numerical value 1000000 or 1048576 depending on its base. It would also display it in this form also, so if you are alerting on 1M but are not breached yet, the threshold display might currently show it at 292K instead of 292000. It would also know the difference between 10KB and 10Kb, etc...
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Looking forward to this - sounds fantastic !cigamit wrote:Its ready, its just undergoing a bit of final testing before release. Its currently only in my private SVN, so I wouldn't bother searching for it just yet. I will move it over when its done.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
cigamit,
B
Will I be able to select a DS from a different Data Template? I have two data templates set up to use Get SNMP Data for Cisco router memory: one for memory used and one for memory free. I would like to be able to calculate the percentage of used memory. Currently, thold won't let me if the DS are from two separate data templates. I am anxiously awaiting the new THOLD! Thanks for your hard work!You then select "Percentage" on one of the dropdowns. A new drop down will appear with all the remaining Datasource items, in this case you would select hdd_total from that drop down.
B
thold action
Is the new version going to have the ability to take an action like run a script if a threshold is breached?
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
Hi Cigamit, i was wondering how the testing was going on the new version of THold. I just installed the old version so i can start setting up alerts on disk space, and then i remembered why i hadn't installed it before, no Percentages. I was wondering when we might be able to look for the new version. I am going to uninstall what i just did until we get the new version out.
thanks
app
thanks
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Re: thold action
This is currently slated for the version after this next one (don't want to introduce too many new features at once, makes it hard to figure what new feature broke functionality).westsyde wrote:Is the new version going to have the ability to take an action like run a script if a threshold is breached?
Current Version (these are the documented, lots of minor undocumented features)
Code: Select all
--- 0.4.0 ---
Bug: Fix for multiple poller intervals, use RRD Step of Data Source instead of Polling Interval
Feature: Add filtering to listthold.php
Feature: Use time periods instead of number of pollings when specifying Repeat Alerts and Fail Triggers
Feature: Time Based Threshold Checking
Feature: Percentage Calculation
Feature: Add Threshold Sub Tabs with Both Threshold and Host Status
Feature: Allow Naming of Threshold Templates and Thresholds
Feature: Allow Thresholds to be added in mass via a Data Sources dropdown
Feature: Allow Thresholds to be added in mass via a Graph Management dropdown
Feature: Added Background Color Legend for Multiple Interfaces
Feature: Add Threshold creation Wizard
Feature: Make Wizard Design Consistent
Feature: Add Filtering to User Threshold View and Host Status View
Feature: Allow Disable/Enable/Edit/View Graph Actions from Main Page
Feature: Allow Edit Host from Host Status
Feature: Enable Toggle VRULE On/Off to show breached Thresholds on the graph images
Feature: Allow Adding Thresholds from Graphs Page
Feature: Use Cacti User Permissions when viewing and editing Thresholds
Feature: Allow Weekend Exemptions per Threshold
Feature: Allow the disabling of the Restoration Email per Threshold
Feature: Allow logging of all Threshold Breaches to Cacti Log File
Feature: Allow logging of all Threshold creations / changing / deletions to Cacti Log File
Feature: Allow global disabling of all Thresholds
Feature: Allow setting of Syslog Facility for Syslog Logging
Re: thold action
Where can i download v 0.4.0??cigamit wrote:This is currently slated for the version after this next one (don't want to introduce too many new features at once, makes it hard to figure what new feature broke functionality).westsyde wrote:Is the new version going to have the ability to take an action like run a script if a threshold is breached?
Current Version (these are the documented, lots of minor undocumented features)Code: Select all
--- 0.4.0 ---
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
The current version of THOLD can be taken from either SVN, or from Cigamit's site at http://cactiusers.org
There should be a readme in the directory where you have THOLD installed which should show you the version number. If you have the latest PIA, the version will be shown under Plugin Management.
There should be a readme in the directory where you have THOLD installed which should show you the version number. If you have the latest PIA, the version will be shown under Plugin Management.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 0 guests