modificar_load_average_y_excluir_servicios_en_zabbix

This is an old revision of the document!


Modifying Threshold Values in Zabbix

Objective: To adjust threshold values for monitoring conditions in Zabbix templates.

Steps:

1. Access Zabbix Frontend:

  • Log in to your Zabbix frontend using your credentials.

2. Navigate to Templates:

  • Unordered List ItemGo to the “Configuration” tab and select “Templates” from the dropdown menu.

3. Select Template:

  • Locate the relevant template (e.g., Linux template for system monitoring) and click on it to open.

4. Modify Load Average Trigger:

  • Within the template, find the Load Average Trigger.
  • The trigger expression might resemble:
     min(/Linux by Zabbix agent/system.cpu.load[all,avg1],5m)/last(/Linux by Zabbix agent/system.cpu.num)>{$LOAD_AVG_PER_CPU.MAX.WARN} and last(/Linux by Zabbix agent/system.cpu.load[all,avg5])>0 and last(/Linux by Zabbix agent/system.cpu.load[all,avg15])>0
  • Unordered List ItemUpdate the time condition from “5m” to “20m”.

5. Exclude Specific Service:

  • Unordered List ItemAdd the condition '<> “edgeupdate”' to exclude the 'edgeupdate' service:
     min(/Windows by Zabbix agent/service.info["{#SERVICE.NAME}",state],#3)<>0 and {#SERVICE.NAME}<>"edgeupdate"

6. Apply Changes:

  • Click on the item containing the modified threshold values.
  • Hit the “Update” button to save the changes.
  • Confirm the modifications by clicking “Update” again.

Note:

  • Ensure accurate syntax while modifying trigger expressions.
  • Test the changes to verify their effectiveness in monitoring and alerting.
modificar_load_average_y_excluir_servicios_en_zabbix.1715042892.txt.gz · Last modified: 2024/10/17 21:42 (external edit)