{% extends "base.html" %} {% load crispy_forms_tags %} {% block base_header_additional_head %} {% endblock %} {% block base_content %}

{{ heading }}

Back to thresholds

Help
{% crispy form %}

How to create a threshold rule

Finding the target

To create a threshold rule you need to find the target of the threshold. The target is the value you want to create a threshold for, for instance memory and cpu usage, response time and so on.

To find the target, start typing in the target field. All devices in NAV are located under 'nav.devices'. Use that as a starting point. Then use a dot (.) to list the devices we collect statistics from. A star (*) indicates a wildcard.

Continue searching until you find the target you are looking for. When you select a valid target, a graph will be displayed showing the last values for the selected target. Examples:

Setting the threshold

When you have found the target you must set a threshold. We also recommend setting a clear-value. The clear-value determines when a value is considered 'back to normal'.

Example: The graph shows us that the cpu usage of a switch is normally between 5-10%. We set a threshold of >30%. We will then get an alert when this threshold is surpassed. We set a clear-value of <20%. This means that when the cpu usage goes below 20% a clear alert is sent and the value is considered back to normal. If we do not set a clear-value it will automatically be set to the negation of the threshold, in this case <30%.

{% endblock %}