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
Last revision Both sides next revision
thresholdmonitor [2007/10/01 17:07]
faltin
thresholdmonitor [2011/05/05 13:07]
kandal [Bulk update thresholds]
Line 8: Line 8:
  
 ===== Filling thresholds ===== ===== Filling thresholds =====
-As mentioned above, there is no easy way to edit a threshold value. ​ A script exists ​to set each data source'​s threshold value to a default valueunless one has already been set. This script is located in ''​$NAVINSTALL/​bin''​ with the name ''​fillthresholds.py''​. ​ To change the predefined threshold value, edit the config file for this script. It is located in ''​$NAVINSTALL/​etc''​ with the name ''​fillthresholds.conf''​. ​ Enter a percentage value here, which will be set on every data source when ''​fillthresholds.py''​ is run.+Threshold manager can be used to set alert-thresholds for data 
 +sources on specific interfaceslist 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 left 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.txt · Last modified: 2011/05/10 09:36 by morten