User Tools

Site Tools


thresholdmonitor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thresholdmonitor [2011/05/05 13:06]
kandal [Bulk update thresholds]
thresholdmonitor [2011/05/10 09:36] (current)
morten update text and link to the threshold manager, which is the user-interfacing part of this system
Line 1: Line 1:
 ====== The threshold monitor ====== ====== The threshold monitor ======
  
- +The threshold monitor is a simple ​cron job, which will monitor ​the RRD statistics that have threshold ​values ​set.  ​Threshold ​values can be managed individually ​and in bulk using the [[thresholdmanager|Threshold Manager]].
-The threshold monitor ​in NAV 3 uses data from NAV's RRD database, and the RRD files generated by Cricket, to check for and report interfaces with high load, high CPU and related events. At the moment there is no interface to easily adjust the threshold values. However, this is under development. +
- +
-===== Operation ===== +
-ThresholdMon runs as a cron job. At run-timeit fetches all the thresholds in the RRD database and compares them to the datasource in the corresponding RRD file. If the threshold ​has been exceeded, it sends an event containing relevant information. +
- +
-===== Filling thresholds ===== +
-Threshold manager can be used to set alert-thresholds for data +
-sources on specific interfaces, list all thresholds and bulk update +
-thresholds. +
- +
-It contains an advanced search for choosing netboxes and/or interfaces +
-for bulk update. +
- +
-It is possible to use both actual and percentage values,- and if an +
-alert should be triggered if traffic-load is less or greater than the +
-configured value.  ​Percentage ​values ​are is supplied by entering a trailing percent character. Percentage values are only legal when a max-value is defined +
- +
-==== List all thresholds ==== +
- +
-All threshold are listed by supplying the url /​threshold/​all/​. ​ Thresholds are grouped together by +
-netbox-names. +
- +
-{{:​threshold_all_collapsed.png|}} +
- +
-To take a look at configured thresholds, click the plus-icon. +
- +
-{{:​threshold_all_expanded.png|}} +
- +
-In this view all input-fields are editable,- and it is possible edit the values and save.  To hide the detailed view, click on the minus-icon. +
- +
-==== Set thresholds for interfaces ==== +
- +
-The interface is shown with all possible data-sources. +
- +
-{{:​threshold_set_interface_thresholds.png|}} +
- +
-As you will notice it is possible to supply percentage values for //​ifHCInOctets//​ and //​IfHCOutOctets//​ because a max-value is defined,- while the rest must be actual values. +
-==== Bulk update thresholds ==== +
- +
-Bulk update is started by first selecting data-source. ​ The reason for this is that some data-sources ​can only be applied to netboxes ​and some only to interfaces. +
- +
-{{:​threshold_choose_datasource.png|}} +
- +
-To set a threshold for cpu-load we could choose //cpu5min// and the corresponding netboxes that are able to supply this information are displayed. +
- +
-{{:​threshold_set_netbox_threshold.png|}} +
- +
-Further refinement for filtering out unwanted netboxes is possible by supplying systemname, category, vendor and type. +
- +
-{{:​threshold_set_netbox_threshold_sysname.png|}} +
- +
-If you choose a data-source that applies to interfaces you will get 2 search boxes,- both for netboxes and interfaces. +
- +
-{{:​threshold_setinterface_datasource.png|}} +
- +
-By chosing netbox on the left only those interfaces that belongs to the chosen netbox will be displayed ​in the search-box for interfaces. ​ In addition you are able to filter on interface-names and up- or down-links. +
- +
-When you are satisfied with the search, select netboxes or interfaces and press //​Continue//​. +
- +
-{{:​threshold_set_cpu5min_threshold.png|}} +
- +
-You are now able to to set threshold values for the given data-source on all the displayed netboxes or interfaces. You may select/​deselect all by clicking on the checkbox in the upper right corner of the table or choose individually. ​ Nothing is saved before you press //Save checked// or //Save all//​. ​ I believe you have got it now..;)+
thresholdmonitor.1304600771.txt.gz · Last modified: 2011/05/05 13:06 by kandal