From 24236a893e0037d71eefe61e621486433ab81c20 Mon Sep 17 00:00:00 2001 From: Andrew Biba Date: Tue, 7 Jun 2022 23:32:37 +0300 Subject: .........T [ZBXNEXT-7596] updated templates for 6.2 version (template_groups and host_groups properties) --- templates/app/activemq_jmx/README.md | 2 +- .../activemq_jmx/template_app_activemq_jmx.yaml | 6 +- templates/app/apache_agent/README.md | 2 +- .../apache_agent/template_app_apache_agent.yaml | 16 +- templates/app/apache_http/README.md | 2 +- .../app/apache_http/template_app_apache_http.yaml | 16 +- .../app/aranet_http/template_app_aranet_http.yaml | 4 +- .../app/ceph_agent2/template_app_ceph_agent2.yaml | 4 +- .../template_app_certificate_agent2.yaml | 4 +- .../template_app_cloudflare_http.yaml | 18 +- .../consul/template_consul_node_http.yaml | 5 +- .../template_consul_cluster_http.yaml | 10 +- templates/app/docker/template_app_docker.yaml | 14 +- .../template_app_elasticsearch_http.yaml | 4 +- .../template_app_envoy_proxy_http.yaml | 4 +- .../app/etcd_http/template_app_etcd_http.yaml | 4 +- templates/app/exchange/template_app_exchange.yaml | 4 +- .../template_app_exchange_active.yaml | 4 +- .../app/ftp_service/template_app_ftp_service.yaml | 6 +- .../template_app_generic_java_jmx.yaml | 4 +- .../app/gitlab_http/template_app_gitlab_http.yaml | 4 +- templates/app/hadoop_http/README.md | 8 +- .../app/hadoop_http/template_app_hadoop_http.yaml | 12 +- .../haproxy_agent/template_app_haproxy_agent.yaml | 46 +- .../haproxy_http/template_app_haproxy_http.yaml | 46 +- .../http_service/template_app_http_service.yaml | 4 +- .../https_service/template_app_https_service.yaml | 4 +- templates/app/iis_agent/README.md | 4 +- .../app/iis_agent/template_app_iis_agent.yaml | 10 +- .../template_app_iis_agent_active.yaml | 4 +- .../imap_service/template_app_imap_service.yaml | 4 +- templates/app/jenkins/README.md | 2 +- templates/app/jenkins/template_app_jenkins.yaml | 6 +- templates/app/kafka_jmx/README.md | 2 +- .../app/kafka_jmx/template_app_kafka_jmx.yaml | 6 +- .../template_kubernetes_api_servers.yaml | 4 +- .../template_kubernetes_controller_manager.yaml | 4 +- .../template_kubernetes_kubelet.yaml | 4 +- .../template_kubernetes_nodes.yaml | 16 +- .../template_kubernetes_scheduler.yaml | 4 +- .../template_kubernetes_state.yaml | 34 +- .../ldap_service/template_app_ldap_service.yaml | 4 +- templates/app/memcached/README.md | 2 +- .../app/memcached/template_app_memcached.yaml | 6 +- .../app/nginx_agent/template_app_nginx_agent.yaml | 10 +- .../app/nginx_http/template_app_nginx_http.yaml | 10 +- templates/app/nginx_plus_http/README.md | 2 +- .../template_app_nginx_plus_http.yaml | 6 +- .../nntp_service/template_app_nntp_service.yaml | 4 +- .../app/ntp_service/template_app_ntp_service.yaml | 4 +- templates/app/openweathermap_http/README.md | 4 +- .../template_app_openweathermap_http.yaml | 21 +- templates/app/pfsense_snmp/README.md | 2 +- .../pfsense_snmp/template_app_pfsense_snmp.yaml | 6 +- templates/app/php-fpm_agent/README.md | 2 +- .../php-fpm_agent/template_app_php-fpm_agent.yaml | 6 +- templates/app/php-fpm_http/README.md | 2 +- .../php-fpm_http/template_app_php-fpm_http.yaml | 6 +- .../app/pop_service/template_app_pop_service.yaml | 4 +- templates/app/rabbitmq_agent/README.md | 85 +- .../template_app_rabbitmq_agent.yaml | 62 +- templates/app/rabbitmq_http/README.md | 73 +- .../rabbitmq_http/template_app_rabbitmq_http.yaml | 50 +- .../template_app_sharepoint_http.yaml | 10 +- .../smtp_service/template_app_smtp_service.yaml | 4 +- templates/app/squid_snmp/README.md | 2 +- .../app/squid_snmp/template_app_squid_snmp.yaml | 6 +- .../app/ssh_service/template_app_ssh_service.yaml | 4 +- templates/app/systemd/README.md | 2 +- templates/app/systemd/template_app_systemd.yaml | 6 +- .../template_app_telnet_service.yaml | 4 +- .../app/tomcat_jmx/template_app_tomcat_jmx.yaml | 4 +- .../template_app_travis_ci_http.yaml | 4 +- .../truenas_snmp/template_app_truenas_snmp.yaml | 4 +- templates/app/vault_http/README.md | 2 +- .../app/vault_http/template_app_vault_http.yaml | 6 +- templates/app/vmware/README.md | 4 +- templates/app/vmware/template_app_vmware.yaml | 18 +- templates/app/vmware_fqdn/README.md | 4 +- .../app/vmware_fqdn/template_app_vmware_fqdn.yaml | 18 +- templates/app/wildfly_domain_jmx/README.md | 2 +- .../template_app_wildfly_domain_jmx.yaml | 6 +- templates/app/wildfly_server_jmx/README.md | 2 +- .../template_app_wildfly_server_jmx.yaml | 6 +- templates/app/zabbix_proxy/README.md | 2 +- .../zabbix_proxy/template_app_zabbix_proxy.yaml | 14 +- templates/app/zabbix_proxy_remote/README.md | 2 +- .../template_app_zabbix_proxy_remote.yaml | 14 +- .../zabbix_server/template_app_zabbix_server.yaml | 24 +- .../template_app_zabbix_server_remote.yaml | 24 +- templates/app/zookeeper_http/README.md | 2 +- .../template_app_zookeeper_http.yaml | 6 +- templates/cctv/hikvision/README.md | 2 +- .../cctv/hikvision/template_cctv_hikvision.yaml | 6 +- .../cassandra_jmx/template_db_cassandra_jmx.yaml | 4 +- templates/db/clickhouse_http/README.md | 2 +- .../template_db_clickhouse_http.yaml | 6 +- .../template_db_cockroachdb_http.yaml | 84 +- templates/db/gridgain_jmx/README.md | 2 +- .../db/gridgain_jmx/template_db_gridgain_jmx.yaml | 6 +- templates/db/ignite_jmx/README.md | 2 +- .../db/ignite_jmx/template_db_ignite_jmx.yaml | 6 +- templates/db/influxdb_http/README.md | 2 +- .../influxdb_http/template_db_influxdb_http.yaml | 6 +- templates/db/mongodb/template_db_mongodb.yaml | 4 +- .../template_db_mongodb_cluster.xml | 2168 ++++++++++++++++++++ .../template_db_mongodb_cluster.yaml | 12 +- .../db/mssql_odbc/template_db_mssql_odbc.yaml | 4 +- .../db/mysql_agent/template_db_mysql_agent.yaml | 16 +- .../db/mysql_agent2/template_db_mysql_agent2.yaml | 16 +- .../db/mysql_odbc/template_db_mysql_odbc.yaml | 16 +- templates/db/oracle_agent2/README.md | 2 +- .../oracle_agent2/template_db_oracle_agent2.yaml | 6 +- templates/db/oracle_odbc/README.md | 2 +- .../db/oracle_odbc/template_db_oracle_odbc.yaml | 6 +- .../db/postgresql/template_db_postgresql.yaml | 36 +- .../template_db_postgresql_agent2.yaml | 16 +- templates/db/redis/README.md | 2 +- templates/db/redis/template_db_redis.yaml | 32 +- templates/db/tidb_http/tidb_pd_http/README.md | 2 +- .../tidb_pd_http/template_db_tidb_pd_http.yaml | 6 +- templates/db/tidb_http/tidb_tidb_http/README.md | 2 +- .../tidb_tidb_http/template_db_tidb_tidb_http.yaml | 6 +- templates/db/tidb_http/tidb_tikv_http/README.md | 2 +- .../tidb_tikv_http/template_db_tidb_tikv_http.yaml | 6 +- templates/media/opsgenie/media_opsgenie.yaml | 2 +- templates/media/pagerduty/media_pagerduty.yaml | 2 +- templates/media/topdesk/media_topdesk.yaml | 2 +- .../brocade_snmp/template_module_brocade_snmp.yaml | 4 +- templates/module/cisco_snmp/README.md | 2 +- .../cisco_snmp/template_module_cisco_snmp.yaml | 6 +- .../template_module_ether_like_snmp.yaml | 4 +- templates/module/generic_snmp_snmp/README.md | 2 +- .../template_module_generic_snmp_snmp.yaml | 6 +- .../template_module_host_resources_snmp.yaml | 18 +- .../icmp_ping/template_module_icmp_ping.yaml | 4 +- .../template_module_interfaces_simple_snmp.yaml | 6 +- .../template_module_interfaces_snmp.yaml | 6 +- .../template_module_interfaces_win_snmp.yaml | 6 +- templates/module/linux/template_module_linux.yaml | 10 +- .../linux_active/template_module_linux_active.yaml | 10 +- .../template_module_linux_snmp_snmp.yaml | 4 +- .../smart_agent2/template_module_smart_agent2.yaml | 4 +- .../template_module_smart_agent2_active.yaml | 4 +- .../template_module_windows_agent.yaml | 6 +- .../template_module_windows_agent_active.yaml | 6 +- .../zabbix_agent/template_module_zabbix_agent.yaml | 4 +- .../template_net_alcatel_timetra_snmp.yaml | 6 +- .../net/arista_snmp/template_net_arista_snmp.yaml | 12 +- .../template_net_brocade_fc_sw_snmp.yaml | 6 +- .../template_net_brocade_foundry_sw_snmp.yaml | 8 +- templates/net/cisco/cisco_asav_snmp/README.md | 4 +- .../template_net_cisco_asav_snmp.yaml | 8 +- ...template_net_cisco_catalyst_3750_24fs_snmp.yaml | 4 +- ...template_net_cisco_catalyst_3750_24ps_snmp.yaml | 4 +- ...template_net_cisco_catalyst_3750_24ts_snmp.yaml | 4 +- ...template_net_cisco_catalyst_3750_48ps_snmp.yaml | 4 +- ...template_net_cisco_catalyst_3750_48ts_snmp.yaml | 4 +- templates/net/cisco/cisco_snmp/README.md | 12 +- .../cisco/cisco_snmp/template_net_cisco_snmp.yaml | 20 +- .../template_net_dell_force_s_series_snmp.yaml | 6 +- .../template_net_dlink_des7200_snmp.yaml | 6 +- .../template_net_dlink_des_snmp.yaml | 6 +- .../extreme_snmp/template_net_extreme_snmp.yaml | 6 +- templates/net/f5_bigip_snmp/README.md | 2 +- .../f5_bigip_snmp/template_net_f5_bigip_snmp.yaml | 6 +- templates/net/generic_snmp/README.md | 2 +- .../generic_snmp/template_net_generic_snmp.yaml | 8 +- .../hp_hh3c_snmp/template_net_hp_hh3c_snmp.yaml | 6 +- .../net/hp_hpn_snmp/template_net_hp_hpn_snmp.yaml | 6 +- .../net/huawei_snmp/template_net_huawei_snmp.yaml | 6 +- .../template_net_intel_qlogic_infiniband_snmp.yaml | 6 +- .../juniper_snmp/template_net_juniper_snmp.yaml | 6 +- .../mellanox_snmp/template_net_mellanox_snmp.yaml | 12 +- .../mikrotik_CCR1009-7G-1C-1S+PC_snmp/README.md | 8 +- ...late_net_mikrotik_CCR1009-7G-1C-1S+PC_snmp.yaml | 20 +- .../mikrotik_CCR1009-7G-1C-1S+_snmp/README.md | 8 +- ...mplate_net_mikrotik_CCR1009-7G-1C-1S+_snmp.yaml | 20 +- .../mikrotik_CCR1009-7G-1C-PC_snmp/README.md | 8 +- ...emplate_net_mikrotik_CCR1009-7G-1C-PC_snmp.yaml | 20 +- .../mikrotik/mikrotik_CCR1016-12G_snmp/README.md | 8 +- .../template_net_mikrotik_CCR1016-12G_snmp.yaml | 20 +- .../mikrotik_CCR1016-12S-1S+_snmp/README.md | 8 +- ...template_net_mikrotik_CCR1016-12S-1S+_snmp.yaml | 20 +- .../mikrotik_CCR1036-12G-4S-EM_snmp/README.md | 8 +- ...mplate_net_mikrotik_CCR1036-12G-4S-EM_snmp.yaml | 20 +- .../mikrotik_CCR1036-12G-4S_snmp/README.md | 8 +- .../template_net_mikrotik_CCR1036-12G-4S_snmp.yaml | 20 +- .../mikrotik_CCR1036-8G-2S+EM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CCR1036-8G-2S+EM_snmp.yaml | 20 +- .../mikrotik_CCR1036-8G-2S+_snmp/README.md | 8 +- .../template_net_mikrotik_CCR1036-8G-2S+_snmp.yaml | 20 +- .../mikrotik_CCR1072-1G-8S+_snmp/README.md | 8 +- .../template_net_mikrotik_CCR1072-1G-8S+_snmp.yaml | 20 +- .../mikrotik_CCR2004-16G-2S+_snmp/README.md | 8 +- ...template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml | 20 +- .../mikrotik_CCR2004-1G-12S+2XS_snmp/README.md | 8 +- ...plate_net_mikrotik_CCR2004-1G-12S+2XS_snmp.yaml | 20 +- .../mikrotik/mikrotik_CRS106-1C-5S_snmp/README.md | 8 +- .../template_net_mikrotik_CRS106-1C-5S_snmp.yaml | 20 +- .../mikrotik_CRS109-8G-1S-2HnD-IN_snmp/README.md | 8 +- ...ate_net_mikrotik_CRS109-8G-1S-2HnD-IN_snmp.yaml | 20 +- .../mikrotik_CRS112-8G-4S-IN_snmp/README.md | 8 +- ...template_net_mikrotik_CRS112-8G-4S-IN_snmp.yaml | 20 +- .../mikrotik_CRS112-8P-4S-IN_snmp/README.md | 8 +- ...template_net_mikrotik_CRS112-8P-4S-IN_snmp.yaml | 20 +- .../mikrotik_CRS125-24G-1S-2HnD-IN_snmp/README.md | 8 +- ...te_net_mikrotik_CRS125-24G-1S-2HnD-IN_snmp.yaml | 20 +- .../mikrotik_CRS212-1G-10S-1S+IN_snmp/README.md | 8 +- ...late_net_mikrotik_CRS212-1G-10S-1S+IN_snmp.yaml | 20 +- .../mikrotik_CRS305-1G-4S+IN_snmp/README.md | 8 +- ...template_net_mikrotik_CRS305-1G-4S+IN_snmp.yaml | 20 +- .../mikrotik_CRS309-1G-8S+IN_snmp/README.md | 8 +- ...template_net_mikrotik_CRS309-1G-8S+IN_snmp.yaml | 20 +- .../mikrotik_CRS312-4C+8XG-RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS312-4C+8XG-RM_snmp.yaml | 20 +- .../mikrotik_CRS317-1G-16S+RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS317-1G-16S+RM_snmp.yaml | 20 +- .../mikrotik_CRS326-24G-2S+IN_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS326-24G-2S+IN_snmp.yaml | 20 +- .../mikrotik_CRS326-24G-2S+RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS326-24G-2S+RM_snmp.yaml | 20 +- .../mikrotik_CRS326-24S+2Q+RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS326-24S+2Q+RM_snmp.yaml | 20 +- .../mikrotik_CRS328-24P-4S+RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CRS328-24P-4S+RM_snmp.yaml | 20 +- .../mikrotik_CRS328-4C-20S-4S+RM_snmp/README.md | 8 +- ...late_net_mikrotik_CRS328-4C-20S-4S+RM_snmp.yaml | 20 +- .../mikrotik_CRS354-48G-4S+2Q+RM_snmp/README.md | 8 +- ...late_net_mikrotik_CRS354-48G-4S+2Q+RM_snmp.yaml | 20 +- .../mikrotik_CRS354-48P-4S+2Q+RM_snmp/README.md | 8 +- ...late_net_mikrotik_CRS354-48P-4S+2Q+RM_snmp.yaml | 20 +- .../mikrotik_CSS326-24G-2S+RM_snmp/README.md | 8 +- ...emplate_net_mikrotik_CSS326-24G-2S+RM_snmp.yaml | 20 +- .../mikrotik_CSS610-8G-2S+IN_snmp/README.md | 8 +- ...template_net_mikrotik_CSS610-8G-2S+IN_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_FiberBox_snmp/README.md | 8 +- .../template_net_mikrotik_FiberBox_snmp.yaml | 20 +- .../mikrotik/mikrotik_PowerBox_Pro_snmp/README.md | 8 +- .../template_net_mikrotik_PowerBox_Pro_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_PowerBox_snmp/README.md | 8 +- .../template_net_mikrotik_PowerBox_snmp.yaml | 20 +- .../README.md | 8 +- ..._net_mikrotik_RB1100AHx4_Dude_Edition_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB1100AHx4_snmp/README.md | 8 +- .../template_net_mikrotik_RB1100AHx4_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB2011UiAS-IN_snmp/README.md | 8 +- .../template_net_mikrotik_RB2011UiAS-IN_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB2011UiAS-RM_snmp/README.md | 8 +- .../template_net_mikrotik_RB2011UiAS-RM_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB2011iL-IN_snmp/README.md | 8 +- .../template_net_mikrotik_RB2011iL-IN_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB2011iL-RM_snmp/README.md | 8 +- .../template_net_mikrotik_RB2011iL-RM_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB2011iLS-IN_snmp/README.md | 8 +- .../template_net_mikrotik_RB2011iLS-IN_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_RB260GSP_snmp/README.md | 8 +- .../template_net_mikrotik_RB260GSP_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_RB260GS_snmp/README.md | 8 +- .../template_net_mikrotik_RB260GS_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB3011UiAS-RM_snmp/README.md | 8 +- .../template_net_mikrotik_RB3011UiAS-RM_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB4011iGS+RM_snmp/README.md | 8 +- .../template_net_mikrotik_RB4011iGS+RM_snmp.yaml | 20 +- .../mikrotik/mikrotik_RB5009UG+S+IN_snmp/README.md | 8 +- .../template_net_mikrotik_RB5009UG+S+IN_snmp.yaml | 20 +- .../mikrotik/mikrotik_hEX_PoE_lite_snmp/README.md | 8 +- .../template_net_mikrotik_hEX_PoE_lite_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_hEX_PoE_snmp/README.md | 8 +- .../template_net_mikrotik_hEX_PoE_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_hEX_S_snmp/README.md | 8 +- .../template_net_mikrotik_hEX_S_snmp.yaml | 20 +- .../net/mikrotik/mikrotik_hEX_lite_snmp/README.md | 8 +- .../template_net_mikrotik_hEX_lite_snmp.yaml | 20 +- templates/net/mikrotik/mikrotik_hEX_snmp/README.md | 8 +- .../template_net_mikrotik_hEX_snmp.yaml | 20 +- .../mikrotik/mikrotik_netPower_15FR_snmp/README.md | 8 +- .../template_net_mikrotik_netPower_15FR_snmp.yaml | 20 +- .../mikrotik/mikrotik_netPower_16P_snmp/README.md | 8 +- .../template_net_mikrotik_netPower_16P_snmp.yaml | 20 +- .../mikrotik_netPower_Lite_7R_snmp/README.md | 8 +- ...emplate_net_mikrotik_netPower_Lite_7R_snmp.yaml | 20 +- templates/net/mikrotik/mikrotik_snmp/README.md | 8 +- .../mikrotik_snmp/template_net_mikrotik_snmp.yaml | 20 +- ...template_net_morningstar_prostar_mppt_snmp.yaml | 4 +- .../template_net_morningstar_prostar_pwm_snmp.yaml | 4 +- ...emplate_net_morningstar_sunsaver_mppt_snmp.yaml | 4 +- .../template_net_morningstar_suresine_snmp.yaml | 4 +- ...ate_net_morningstar_tristar_mppt_600V_snmp.yaml | 4 +- ...template_net_morningstar_tristar_mppt_snmp.yaml | 4 +- .../template_net_morningstar_tristar_pwm_snmp.yaml | 4 +- .../netgear_snmp/template_net_netgear_snmp.yaml | 6 +- .../net/qtech_snmp/template_net_qtech_snmp.yaml | 6 +- templates/net/tplink_snmp/README.md | 2 +- .../net/tplink_snmp/template_net_tplink_snmp.yaml | 8 +- templates/net/ubiquiti_airos_snmp/README.md | 10 +- .../template_net_ubiquiti_airos_snmp.yaml | 16 +- .../template_net_velocloud_http.yaml | 4 +- .../net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md | 2 +- .../template_net_zyxel_aam1212-51_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md | 2 +- .../template_net_zyxel_es3500-8pd_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_gs4012f_snmp/README.md | 2 +- .../template_net_zyxel_gs4012f_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_ies-500x_snmp/README.md | 2 +- .../template_net_zyxel_ies-500x_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_ies-6000_snmp/README.md | 2 +- .../template_net_zyxel_ies-6000_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md | 2 +- .../template_net_zyxel_ies1248-51_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_mes-3528_snmp/README.md | 2 +- .../template_net_zyxel_mes-3528_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md | 2 +- .../template_net_zyxel_mes3500-10_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md | 2 +- .../template_net_zyxel_mes3500-24_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md | 2 +- .../template_net_zyxel_mgs-3712_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md | 2 +- .../template_net_zyxel_mgs-3712f_snmp.yaml | 6 +- .../zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md | 2 +- .../template_net_zyxel_mgs3500-24s_snmp.yaml | 6 +- .../zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md | 2 +- .../template_net_zyxel_mgs3520-28x_snmp.yaml | 6 +- .../net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md | 2 +- .../template_net_zyxel_xgs-4728f_snmp.yaml | 6 +- templates/os/aix/template_os_aix.yaml | 12 +- templates/os/freebsd/template_os_freebsd.yaml | 12 +- templates/os/hp-ux/template_os_hp-ux.yaml | 10 +- templates/os/linux/template_os_linux.yaml | 41 +- .../os/linux_active/template_os_linux_active.yaml | 34 +- .../os/linux_prom/template_os_linux_prom.yaml | 24 +- .../template_os_linux_snmp_snmp.yaml | 22 +- templates/os/macos/template_os_macos.yaml | 8 +- templates/os/openbsd/template_os_openbsd.yaml | 12 +- templates/os/solaris/template_os_solaris.yaml | 16 +- .../windows_agent/template_os_windows_agent.yaml | 35 +- .../template_os_windows_agent_active.yaml | 28 +- .../os/windows_snmp/template_os_windows_snmp.yaml | 12 +- .../power/apc/apc_ups_galaxy_3500_snmp/README.md | 2 +- .../template_power_apc_ups_galaxy_3500_snmp.yaml | 178 +- .../power/apc/apc_ups_smart_2200_rm_snmp/README.md | 2 +- .../template_power_apc_ups_smart_2200_rm_snmp.yaml | 178 +- .../apc/apc_ups_smart_3000_xlm_snmp/README.md | 2 +- ...template_power_apc_ups_smart_3000_xlm_snmp.yaml | 178 +- .../apc/apc_ups_smart_rt_1000_rm_xl_snmp/README.md | 2 +- ...ate_power_apc_ups_smart_rt_1000_rm_xl_snmp.yaml | 178 +- .../apc/apc_ups_smart_rt_1000_xl_snmp/README.md | 2 +- ...mplate_power_apc_ups_smart_rt_1000_xl_snmp.yaml | 178 +- .../apc/apc_ups_smart_srt_5000_snmp/README.md | 2 +- ...template_power_apc_ups_smart_srt_5000_snmp.yaml | 178 +- .../apc/apc_ups_smart_srt_8000_snmp/README.md | 2 +- ...template_power_apc_ups_smart_srt_8000_snmp.yaml | 178 +- templates/power/apc/apc_ups_snmp/README.md | 2 +- .../apc_ups_snmp/template_power_apc_ups_snmp.yaml | 178 +- .../power/apc/apc_ups_symmetra_lx_snmp/README.md | 2 +- .../template_power_apc_ups_symmetra_lx_snmp.yaml | 178 +- .../power/apc/apc_ups_symmetra_rm_snmp/README.md | 2 +- .../template_power_apc_ups_symmetra_rm_snmp.yaml | 178 +- .../power/apc/apc_ups_symmetra_rx_snmp/README.md | 2 +- .../template_power_apc_ups_symmetra_rx_snmp.yaml | 178 +- .../template_san_hpe_msa2040_http.yaml | 4 +- .../template_san_hpe_msa2060_http.yaml | 4 +- templates/san/hpe_primera_http/README.md | 2 +- .../template_san_hpe_primera_http.yaml | 8 +- .../template_san_huawei_5300v5_snmp.yaml | 4 +- templates/san/netapp_aff_a700_http/README.md | 2 +- .../template_san_netapp_aff_a700_http.yaml | 6 +- templates/san/netapp_fas3220_snmp/README.md | 4 +- .../template_san_netapp_fas3220_snmp.yaml | 8 +- .../chassis_ipmi/template_server_chassis_ipmi.yaml | 38 +- templates/server/cisco_ucs_manager_snmp/README.md | 2 +- .../template_server_cisco_ucs_manager_snmp.yaml | 8 +- templates/server/cisco_ucs_snmp/README.md | 2 +- .../template_server_cisco_ucs_snmp.yaml | 6 +- .../template_server_dell_r720_http.yaml | 4 +- templates/server/dell/dell_r720_snmp/README.md | 2 +- .../template_server_dell_r720_snmp.yaml | 6 +- .../template_server_dell_r740_http.yaml | 4 +- templates/server/dell/dell_r740_snmp/README.md | 2 +- .../template_server_dell_r740_snmp.yaml | 6 +- .../template_server_dell_r820_http.yaml | 4 +- templates/server/dell/dell_r820_snmp/README.md | 2 +- .../template_server_dell_r820_snmp.yaml | 6 +- .../template_server_dell_r840_http.yaml | 4 +- templates/server/dell/dell_r840_snmp/README.md | 2 +- .../template_server_dell_r840_snmp.yaml | 6 +- templates/server/dell_idrac_snmp/README.md | 2 +- .../template_server_dell_idrac_snmp.yaml | 6 +- templates/server/hp/hp_bl460_snmp/README.md | 2 +- .../template_server_hp_bl460_snmp.yaml | 6 +- templates/server/hp/hp_bl920_snmp/README.md | 2 +- .../template_server_hp_bl920_snmp.yaml | 6 +- templates/server/hp/hp_dl360_snmp/README.md | 2 +- .../template_server_hp_dl360_snmp.yaml | 6 +- templates/server/hp/hp_dl380_snmp/README.md | 2 +- .../template_server_hp_dl380_snmp.yaml | 6 +- templates/server/hp_ilo_snmp/README.md | 2 +- .../hp_ilo_snmp/template_server_hp_ilo_snmp.yaml | 6 +- .../ibm_imm_snmp/template_server_ibm_imm_snmp.yaml | 4 +- .../template_server_intel_sr1530_ipmi.yaml | 4 +- .../template_server_intel_sr1630_ipmi.yaml | 4 +- .../template_server_supermicro_aten_snmp.yaml | 4 +- templates/tel/asterisk_http/README.md | 4 +- .../asterisk_http/template_tel_asterisk_http.yaml | 8 +- 405 files changed, 4110 insertions(+), 3816 deletions(-) create mode 100644 templates/db/mongodb_cluster/template_db_mongodb_cluster.xml (limited to 'templates') diff --git a/templates/app/activemq_jmx/README.md b/templates/app/activemq_jmx/README.md index e89f244c1f4..fe859888a73 100644 --- a/templates/app/activemq_jmx/README.md +++ b/templates/app/activemq_jmx/README.md @@ -104,7 +104,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |Broker {#JMXBROKERNAME}: Version has been changed |

Broker {#JMXBROKERNAME} version has changed. Ack to close.

|`last(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},BrokerVersion],#1)<>last(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},BrokerVersion],#2) and length(last(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},BrokerVersion]))>0` |INFO |

Manual close: YES

| -|Broker {#JMXBROKERNAME}: Broker has been restarted |

Uptime is less than 10 minutes

|`last(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},UptimeMillis])<10m` |INFO |

Manual close: YES

| +|Broker {#JMXBROKERNAME}: Broker has been restarted |

Uptime is less than 10 minutes.

|`last(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},UptimeMillis])<10m` |INFO |

Manual close: YES

| |Broker {#JMXBROKERNAME}: Memory usage is too high |

-

|`min(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ}, MemoryPercentUsage],{$ACTIVEMQ.MEM.TIME:"{#JMXBROKERNAME}"})>{$ACTIVEMQ.MEM.MAX.WARN:"{#JMXBROKERNAME}"}` |AVERAGE |

**Depends on**:

- Broker {#JMXBROKERNAME}: Memory usage is too high

| |Broker {#JMXBROKERNAME}: Memory usage is too high |

-

|`min(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ}, MemoryPercentUsage],{$ACTIVEMQ.MEM.TIME:"{#JMXBROKERNAME}"})>{$ACTIVEMQ.MEM.MAX.HIGH:"{#JMXBROKERNAME}"}` |HIGH | | |Broker {#JMXBROKERNAME}: Storage usage is too high |

-

|`min(/Apache ActiveMQ by JMX/jmx[{#JMXOBJ},StorePercentUsage],{$ACTIVEMQ.STORE.TIME:"{#JMXBROKERNAME}"})>{$ACTIVEMQ.STORE.MAX.WARN:"{#JMXBROKERNAME}"}` |AVERAGE |

**Depends on**:

- Broker {#JMXBROKERNAME}: Storage usage is too high

| diff --git a/templates/app/activemq_jmx/template_app_activemq_jmx.yaml b/templates/app/activemq_jmx/template_app_activemq_jmx.yaml index 6ce54b83a8e..1c8a2f6d020 100644 --- a/templates/app/activemq_jmx/template_app_activemq_jmx.yaml +++ b/templates/app/activemq_jmx/template_app_activemq_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:53:56Z' - groups: + date: '2022-06-07T19:32:59Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -389,7 +389,7 @@ zabbix_export: name: 'Broker {#JMXBROKERNAME}: Broker has been restarted' event_name: 'Broker {#JMXBROKERNAME}: Broker has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/apache_agent/README.md b/templates/app/apache_agent/README.md index 76f7b366411..202c567df25 100644 --- a/templates/app/apache_agent/README.md +++ b/templates/app/apache_agent/README.md @@ -146,7 +146,7 @@ There are no template links in this template. |----|-----------|----|----|----| |Apache: Service is down |

-

|`last(/Apache by Zabbix agent/net.tcp.service[http,"{$APACHE.STATUS.HOST}","{$APACHE.STATUS.PORT}"])=0` |AVERAGE |

Manual close: YES

**Depends on**:

- Apache: Process is not running

| |Apache: Service response time is too high |

-

|`min(/Apache by Zabbix agent/net.tcp.service.perf[http,"{$APACHE.STATUS.HOST}","{$APACHE.STATUS.PORT}"],5m)>{$APACHE.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- Apache: Process is not running

- Apache: Service is down

| -|Apache: has been restarted |

Uptime is less than 10 minutes

|`last(/Apache by Zabbix agent/apache.uptime)<10m` |INFO |

Manual close: YES

| +|Apache: has been restarted |

Uptime is less than 10 minutes.

|`last(/Apache by Zabbix agent/apache.uptime)<10m` |INFO |

Manual close: YES

| |Apache: Version has changed |

Apache version has changed. Ack to close.

|`last(/Apache by Zabbix agent/apache.version,#1)<>last(/Apache by Zabbix agent/apache.version,#2) and length(last(/Apache by Zabbix agent/apache.version))>0` |INFO |

Manual close: YES

| |Apache: Process is not running |

-

|`last(/Apache by Zabbix agent/proc.num["{$APACHE.PROCESS_NAME}"])=0` |HIGH | | |Apache: Failed to fetch status page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Apache by Zabbix agent/web.page.get["{$APACHE.STATUS.SCHEME}://{$APACHE.STATUS.HOST}:{$APACHE.STATUS.PORT}/{$APACHE.STATUS.PATH}"],30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- Apache: Process is not running

- Apache: Service is down

| diff --git a/templates/app/apache_agent/template_app_apache_agent.yaml b/templates/app/apache_agent/template_app_apache_agent.yaml index 16a9e7b9da8..ee0ce481ffb 100644 --- a/templates/app/apache_agent/template_app_apache_agent.yaml +++ b/templates/app/apache_agent/template_app_apache_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:53:58Z' - groups: + date: '2022-06-07T19:33:00Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -149,7 +149,7 @@ zabbix_export: name: 'Apache: has been restarted' event_name: 'Apache: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -871,8 +871,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Requests per second' host: 'Apache by Zabbix agent' + name: 'Apache: Requests per second' - type: GRAPH_CLASSIC x: '12' @@ -887,8 +887,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Workers total' host: 'Apache by Zabbix agent' + name: 'Apache: Workers total' - type: GRAPH_PROTOTYPE 'y': '5' @@ -911,8 +911,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Apache: Current async connections{#SINGLETON}' host: 'Apache by Zabbix agent' + name: 'Apache: Current async connections{#SINGLETON}' - type: GRAPH_PROTOTYPE x: '12' @@ -936,8 +936,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Apache: Current async processes{#SINGLETON}' host: 'Apache by Zabbix agent' + name: 'Apache: Current async processes{#SINGLETON}' - type: GRAPH_CLASSIC 'y': '10' @@ -952,8 +952,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Worker states' host: 'Apache by Zabbix agent' + name: 'Apache: Worker states' valuemaps: - uuid: 452297e814a84b08a72730a7b777e378 diff --git a/templates/app/apache_http/README.md b/templates/app/apache_http/README.md index 0ee237abafc..77a73dedda4 100644 --- a/templates/app/apache_http/README.md +++ b/templates/app/apache_http/README.md @@ -137,7 +137,7 @@ There are no template links in this template. |----|-----------|----|----|----| |Apache: Service is down |

-

|`last(/Apache by HTTP/net.tcp.service[http,"{HOST.CONN}","{$APACHE.STATUS.PORT}"])=0` |AVERAGE |

Manual close: YES

| |Apache: Service response time is too high |

-

|`min(/Apache by HTTP/net.tcp.service.perf[http,"{HOST.CONN}","{$APACHE.STATUS.PORT}"],5m)>{$APACHE.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- Apache: Service is down

| -|Apache: has been restarted |

Uptime is less than 10 minutes

|`last(/Apache by HTTP/apache.uptime)<10m` |INFO |

Manual close: YES

| +|Apache: has been restarted |

Uptime is less than 10 minutes.

|`last(/Apache by HTTP/apache.uptime)<10m` |INFO |

Manual close: YES

| |Apache: Version has changed |

Apache version has changed. Ack to close.

|`last(/Apache by HTTP/apache.version,#1)<>last(/Apache by HTTP/apache.version,#2) and length(last(/Apache by HTTP/apache.version))>0` |INFO |

Manual close: YES

| |Apache: Failed to fetch status page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Apache by HTTP/apache.get_status,30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- Apache: Service is down

| diff --git a/templates/app/apache_http/template_app_apache_http.yaml b/templates/app/apache_http/template_app_apache_http.yaml index 136ee9c78a5..a340f3a26d6 100644 --- a/templates/app/apache_http/template_app_apache_http.yaml +++ b/templates/app/apache_http/template_app_apache_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:53:59Z' - groups: + date: '2022-06-07T19:33:01Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -229,7 +229,7 @@ zabbix_export: name: 'Apache: has been restarted' event_name: 'Apache: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -805,8 +805,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Requests per second' host: 'Apache by HTTP' + name: 'Apache: Requests per second' - type: GRAPH_CLASSIC x: '12' @@ -821,8 +821,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Workers total' host: 'Apache by HTTP' + name: 'Apache: Workers total' - type: GRAPH_PROTOTYPE 'y': '5' @@ -845,8 +845,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Apache: Current async connections{#SINGLETON}' host: 'Apache by HTTP' + name: 'Apache: Current async connections{#SINGLETON}' - type: GRAPH_PROTOTYPE x: '12' @@ -870,8 +870,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Apache: Current async processes{#SINGLETON}' host: 'Apache by HTTP' + name: 'Apache: Current async processes{#SINGLETON}' - type: GRAPH_CLASSIC 'y': '10' @@ -886,8 +886,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Apache: Worker states' host: 'Apache by HTTP' + name: 'Apache: Worker states' valuemaps: - uuid: a5d1f911fb264bd4bc087ea582626d7f diff --git a/templates/app/aranet_http/template_app_aranet_http.yaml b/templates/app/aranet_http/template_app_aranet_http.yaml index fdff2ff96d8..06bdb6dec91 100644 --- a/templates/app/aranet_http/template_app_aranet_http.yaml +++ b/templates/app/aranet_http/template_app_aranet_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:53:59Z' - groups: + date: '2022-06-07T19:33:02Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/ceph_agent2/template_app_ceph_agent2.yaml b/templates/app/ceph_agent2/template_app_ceph_agent2.yaml index 08a5310d20a..26efd948cc3 100644 --- a/templates/app/ceph_agent2/template_app_ceph_agent2.yaml +++ b/templates/app/ceph_agent2/template_app_ceph_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:02Z' - groups: + date: '2022-06-07T19:33:04Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/certificate_agent2/template_app_certificate_agent2.yaml b/templates/app/certificate_agent2/template_app_certificate_agent2.yaml index 856a7f649bd..f4c51dd58d8 100644 --- a/templates/app/certificate_agent2/template_app_certificate_agent2.yaml +++ b/templates/app/certificate_agent2/template_app_certificate_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:03Z' - groups: + date: '2022-06-07T19:33:04Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/cloudflare_http/template_app_cloudflare_http.yaml b/templates/app/cloudflare_http/template_app_cloudflare_http.yaml index 4a413303256..9fdb3c2614f 100644 --- a/templates/app/cloudflare_http/template_app_cloudflare_http.yaml +++ b/templates/app/cloudflare_http/template_app_cloudflare_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:13Z' - groups: + date: '2022-06-07T19:33:11Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -836,8 +836,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: Bandwidth' host: 'Cloudflare by HTTP' + name: 'Cloudflare: Bandwidth' - type: GRAPH_CLASSIC x: '12' @@ -852,8 +852,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: Web requests' host: 'Cloudflare by HTTP' + name: 'Cloudflare: Web requests' - type: GRAPH_CLASSIC 'y': '5' @@ -868,8 +868,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: DNS requests' host: 'Cloudflare by HTTP' + name: 'Cloudflare: DNS requests' - type: GRAPH_CLASSIC x: '12' @@ -885,8 +885,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: Caching' host: 'Cloudflare by HTTP' + name: 'Cloudflare: Caching' - type: GRAPH_CLASSIC 'y': '10' @@ -901,8 +901,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: HTTP responses ratio over time' host: 'Cloudflare by HTTP' + name: 'Cloudflare: HTTP responses ratio over time' - type: GRAPH_CLASSIC x: '12' @@ -918,8 +918,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: IPs and threats' host: 'Cloudflare by HTTP' + name: 'Cloudflare: IPs and threats' - type: GRAPH_CLASSIC 'y': '15' @@ -934,8 +934,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Cloudflare: HTTP response codes over time' host: 'Cloudflare by HTTP' + name: 'Cloudflare: HTTP response codes over time' graphs: - uuid: 09e113216680490c9dd15805474bcac7 diff --git a/templates/app/consul_http/consul/template_consul_node_http.yaml b/templates/app/consul_http/consul/template_consul_node_http.yaml index 4e677eac56f..6ac06e33e7b 100644 --- a/templates/app/consul_http/consul/template_consul_node_http.yaml +++ b/templates/app/consul_http/consul/template_consul_node_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-17T15:36:35Z' - groups: + date: '2022-06-07T20:23:06Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -1525,6 +1525,7 @@ zabbix_export: uuid: fa78d269c01548a083085a3a98e5a59b expression: 'last(/HashiCorp Consul Node by HTTP/consul.version,#1)<>last(/HashiCorp Consul Node by HTTP/consul.version,#2) and length(last(/HashiCorp Consul Node by HTTP/consul.version))>0' name: 'Consul: Version has been changed' + event_name: 'Consul: Version has changed (new version: {ITEM.VALUE})' priority: INFO description: 'Consul version has changed. Ack to close.' manual_close: 'YES' diff --git a/templates/app/consul_http/consul_cluster/template_consul_cluster_http.yaml b/templates/app/consul_http/consul_cluster/template_consul_cluster_http.yaml index 76f0295587b..0406a6ece61 100644 --- a/templates/app/consul_http/consul_cluster/template_consul_cluster_http.yaml +++ b/templates/app/consul_http/consul_cluster/template_consul_cluster_http.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-05-17T15:36:33Z' - groups: + date: '2022-06-07T20:23:01Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications + host_groups: + - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 + name: Applications templates: - uuid: 3db29bb6b2b14fa289ba7915264efcdf @@ -373,7 +377,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Consul cluster/{#NODE_DATACENTER}' diff --git a/templates/app/docker/template_app_docker.yaml b/templates/app/docker/template_app_docker.yaml index 2434e7daffb..05a12f1dd4e 100644 --- a/templates/app/docker/template_app_docker.yaml +++ b/templates/app/docker/template_app_docker.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:21Z' - groups: + date: '2022-06-07T19:33:17Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -2253,8 +2253,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Docker: Containers' host: 'Docker by Zabbix agent 2' + name: 'Docker: Containers' - type: GRAPH_CLASSIC x: '12' @@ -2269,8 +2269,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Docker: Size' host: 'Docker by Zabbix agent 2' + name: 'Docker: Size' - type: GRAPH_CLASSIC 'y': '5' @@ -2285,8 +2285,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Docker: Memory total' host: 'Docker by Zabbix agent 2' + name: 'Docker: Memory total' - type: GRAPH_CLASSIC x: '12' @@ -2302,8 +2302,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Docker: Goroutines' host: 'Docker by Zabbix agent 2' + name: 'Docker: Goroutines' - type: GRAPH_CLASSIC 'y': '10' @@ -2318,8 +2318,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Docker: Images' host: 'Docker by Zabbix agent 2' + name: 'Docker: Images' valuemaps: - uuid: c289195aa4dc47ab883fa95c9cb6fd07 diff --git a/templates/app/elasticsearch_http/template_app_elasticsearch_http.yaml b/templates/app/elasticsearch_http/template_app_elasticsearch_http.yaml index 16c7f1f56f5..6aebcd0455c 100644 --- a/templates/app/elasticsearch_http/template_app_elasticsearch_http.yaml +++ b/templates/app/elasticsearch_http/template_app_elasticsearch_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:03:37Z' - groups: + date: '2022-06-07T19:33:18Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/envoy_proxy_http/template_app_envoy_proxy_http.yaml b/templates/app/envoy_proxy_http/template_app_envoy_proxy_http.yaml index 1267ac1e56c..63c626555d1 100644 --- a/templates/app/envoy_proxy_http/template_app_envoy_proxy_http.yaml +++ b/templates/app/envoy_proxy_http/template_app_envoy_proxy_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-06T10:55:49Z' - groups: + date: '2022-06-07T19:33:18Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/etcd_http/template_app_etcd_http.yaml b/templates/app/etcd_http/template_app_etcd_http.yaml index 71804e3e8a4..7bf8ceeaa70 100644 --- a/templates/app/etcd_http/template_app_etcd_http.yaml +++ b/templates/app/etcd_http/template_app_etcd_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-13T21:49:37Z' - groups: + date: '2022-06-07T19:33:19Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/exchange/template_app_exchange.yaml b/templates/app/exchange/template_app_exchange.yaml index 5ef384c079a..be51648ef10 100644 --- a/templates/app/exchange/template_app_exchange.yaml +++ b/templates/app/exchange/template_app_exchange.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:24Z' - groups: + date: '2022-06-07T19:33:19Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/exchange_active/template_app_exchange_active.yaml b/templates/app/exchange_active/template_app_exchange_active.yaml index f5a5499d3e9..91ee6f14596 100644 --- a/templates/app/exchange_active/template_app_exchange_active.yaml +++ b/templates/app/exchange_active/template_app_exchange_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-18T22:40:30Z' - groups: + date: '2022-06-07T19:33:20Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/ftp_service/template_app_ftp_service.yaml b/templates/app/ftp_service/template_app_ftp_service.yaml index d90df54ab97..d17ed3ffeb9 100644 --- a/templates/app/ftp_service/template_app_ftp_service.yaml +++ b/templates/app/ftp_service/template_app_ftp_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:29Z' - groups: + date: '2022-06-07T19:36:41Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -32,7 +32,7 @@ zabbix_export: value: network triggers: - - uuid: aee485c125f94e37ac97c3ce1a654757 + uuid: b299d73cebcd430c8bfc54cf9b84e853 expression: 'max(/FTP Service/net.tcp.service[ftp],#3)=0' name: 'FTP service is down on {HOST.NAME}' priority: AVERAGE diff --git a/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml b/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml index bbd57665996..fe665d441ec 100644 --- a/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml +++ b/templates/app/generic_java_jmx/template_app_generic_java_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:46Z' - groups: + date: '2022-06-07T19:33:36Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/gitlab_http/template_app_gitlab_http.yaml b/templates/app/gitlab_http/template_app_gitlab_http.yaml index ec171dc4bd0..f220fa185bd 100644 --- a/templates/app/gitlab_http/template_app_gitlab_http.yaml +++ b/templates/app/gitlab_http/template_app_gitlab_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:27Z' - groups: + date: '2022-06-07T19:33:21Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/hadoop_http/README.md b/templates/app/hadoop_http/README.md index dd52627bf8e..638eefc55d2 100644 --- a/templates/app/hadoop_http/README.md +++ b/templates/app/hadoop_http/README.md @@ -115,22 +115,22 @@ There are no template links in this template. |----|-----------|----|----|----| |ResourceManager: Service is unavailable |

-

|`last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"])=0` |AVERAGE |

Manual close: YES

| |ResourceManager: Service response time is too high |

-

|`min(/Hadoop by HTTP/net.tcp.service.perf["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"],5m)>{$HADOOP.RESOURCEMANAGER.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- ResourceManager: Service is unavailable

| -|ResourceManager: Service has been restarted |

Uptime is less than 10 minutes

|`last(/Hadoop by HTTP/hadoop.resourcemanager.uptime)<10m` |INFO |

Manual close: YES

| +|ResourceManager: Service has been restarted |

Uptime is less than 10 minutes.

|`last(/Hadoop by HTTP/hadoop.resourcemanager.uptime)<10m` |INFO |

Manual close: YES

| |ResourceManager: Failed to fetch ResourceManager API page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Hadoop by HTTP/hadoop.resourcemanager.uptime,30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- ResourceManager: Service is unavailable

| |ResourceManager: Cluster has no active NodeManagers |

Cluster is unable to execute any jobs without at least one NodeManager.

|`max(/Hadoop by HTTP/hadoop.resourcemanager.num_active_nm,5m)=0` |HIGH | | |ResourceManager: Cluster has unhealthy NodeManagers |

YARN considers any node with disk utilization exceeding the value specified under the property yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage (in yarn-site.xml) to be unhealthy. Ample disk space is critical to ensure uninterrupted operation of a Hadoop cluster, and large numbers of unhealthyNodes (the number to alert on depends on the size of your cluster) should be quickly investigated and resolved.

|`min(/Hadoop by HTTP/hadoop.resourcemanager.num_unhealthy_nm,15m)>0` |AVERAGE | | |NameNode: Service is unavailable |

-

|`last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"])=0` |AVERAGE |

Manual close: YES

| |NameNode: Service response time is too high |

-

|`min(/Hadoop by HTTP/net.tcp.service.perf["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"],5m)>{$HADOOP.NAMENODE.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- NameNode: Service is unavailable

| -|NameNode: Service has been restarted |

Uptime is less than 10 minutes

|`last(/Hadoop by HTTP/hadoop.namenode.uptime)<10m` |INFO |

Manual close: YES

| +|NameNode: Service has been restarted |

Uptime is less than 10 minutes.

|`last(/Hadoop by HTTP/hadoop.namenode.uptime)<10m` |INFO |

Manual close: YES

| |NameNode: Failed to fetch NameNode API page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Hadoop by HTTP/hadoop.namenode.uptime,30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- NameNode: Service is unavailable

| |NameNode: Cluster capacity remaining is low |

A good practice is to ensure that disk use never exceeds 80 percent capacity.

|`max(/Hadoop by HTTP/hadoop.namenode.percent_remaining,15m)<{$HADOOP.CAPACITY_REMAINING.MIN.WARN}` |WARNING | | |NameNode: Cluster has missing blocks |

A missing block is far worse than a corrupt block, because a missing block cannot be recovered by copying a replica.

|`min(/Hadoop by HTTP/hadoop.namenode.missing_blocks,15m)>0` |AVERAGE | | |NameNode: Cluster has volume failures |

HDFS now allows for disks to fail in place, without affecting DataNode operations, until a threshold value is reached. This is set on each DataNode via the dfs.datanode.failed.volumes.tolerated property; it defaults to 0, meaning that any volume failure will shut down the DataNode; on a production cluster where DataNodes typically have 6, 8, or 12 disks, setting this parameter to 1 or 2 is typically the best practice.

|`min(/Hadoop by HTTP/hadoop.namenode.volume_failures_total,15m)>0` |AVERAGE | | |NameNode: Cluster has DataNodes in Dead state |

The death of a DataNode causes a flurry of network activity, as the NameNode initiates replication of blocks lost on the dead nodes.

|`min(/Hadoop by HTTP/hadoop.namenode.num_dead_data_nodes,5m)>0` |AVERAGE | | -|{#HOSTNAME}: Service has been restarted |

Uptime is less than 10 minutes

|`last(/Hadoop by HTTP/hadoop.nodemanager.uptime[{#HOSTNAME}])<10m` |INFO |

Manual close: YES

| +|{#HOSTNAME}: Service has been restarted |

Uptime is less than 10 minutes.

|`last(/Hadoop by HTTP/hadoop.nodemanager.uptime[{#HOSTNAME}])<10m` |INFO |

Manual close: YES

| |{#HOSTNAME}: Failed to fetch NodeManager API page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Hadoop by HTTP/hadoop.nodemanager.uptime[{#HOSTNAME}],30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- {#HOSTNAME}: NodeManager has state {ITEM.VALUE}.

| |{#HOSTNAME}: NodeManager has state {ITEM.VALUE}. |

The state is different from normal.

|`last(/Hadoop by HTTP/hadoop.nodemanager.state[{#HOSTNAME}])<>"RUNNING"` |AVERAGE | | -|{#HOSTNAME}: Service has been restarted |

Uptime is less than 10 minutes

|`last(/Hadoop by HTTP/hadoop.datanode.uptime[{#HOSTNAME}])<10m` |INFO |

Manual close: YES

| +|{#HOSTNAME}: Service has been restarted |

Uptime is less than 10 minutes.

|`last(/Hadoop by HTTP/hadoop.datanode.uptime[{#HOSTNAME}])<10m` |INFO |

Manual close: YES

| |{#HOSTNAME}: Failed to fetch DataNode API page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Hadoop by HTTP/hadoop.datanode.uptime[{#HOSTNAME}],30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- {#HOSTNAME}: DataNode has state {ITEM.VALUE}.

| |{#HOSTNAME}: DataNode has state {ITEM.VALUE}. |

The state is different from normal.

|`last(/Hadoop by HTTP/hadoop.datanode.oper_state[{#HOSTNAME}])<>"Live"` |AVERAGE | | diff --git a/templates/app/hadoop_http/template_app_hadoop_http.yaml b/templates/app/hadoop_http/template_app_hadoop_http.yaml index 02aa0ce74db..164e9b913c6 100644 --- a/templates/app/hadoop_http/template_app_hadoop_http.yaml +++ b/templates/app/hadoop_http/template_app_hadoop_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:29Z' - groups: + date: '2022-06-07T19:33:23Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -463,7 +463,7 @@ zabbix_export: name: 'NameNode: Service has been restarted' event_name: 'NameNode: Service has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -765,7 +765,7 @@ zabbix_export: name: 'ResourceManager: Service has been restarted' event_name: 'ResourceManager: Service has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1141,7 +1141,7 @@ zabbix_export: name: '{#HOSTNAME}: Service has been restarted' event_name: '{#HOSTNAME}: Service has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1461,7 +1461,7 @@ zabbix_export: name: '{#HOSTNAME}: Service has been restarted' event_name: '{#HOSTNAME}: Service has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/haproxy_agent/template_app_haproxy_agent.yaml b/templates/app/haproxy_agent/template_app_haproxy_agent.yaml index 17d52849a8e..33d4ca37b4f 100644 --- a/templates/app/haproxy_agent/template_app_haproxy_agent.yaml +++ b/templates/app/haproxy_agent/template_app_haproxy_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:30Z' - groups: + date: '2022-06-07T19:33:23Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -722,8 +722,6 @@ zabbix_export: MAINT - The server has been disabled or put into maintenance mode. DRAIN - The server has been put into drain mode. no check - Health checks are not enabled for this server. - valuemap: - name: 'Service state' preprocessing: - type: JSONPATH @@ -931,15 +929,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -1489,15 +1487,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -2179,8 +2177,6 @@ zabbix_export: history: 7d trends: '0' value_type: CHAR - valuemap: - name: 'Service state' preprocessing: - type: JSONPATH @@ -2403,15 +2399,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -2525,8 +2521,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2549,8 +2545,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} Responses by HTTP code' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Backend {#PXNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2573,8 +2569,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} In/Out traffic' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Backend {#PXNAME} In/Out traffic' - uuid: 7c4decb2fefc4cfe9c4a3f8717d710ca name: 'HAProxy Frontend performance' @@ -2602,8 +2598,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Requests and sessions per second' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Frontend {#PXNAME} Requests and sessions per second' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2626,8 +2622,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Errors and denials per second' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Frontend {#PXNAME} Errors and denials per second' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2650,8 +2646,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Responses by HTTP code' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Frontend {#PXNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2674,8 +2670,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' - uuid: ebc5a517fa544fada42550059c014c5b name: 'HAProxy Server performance' @@ -2703,8 +2699,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} Response time and time in queue' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: {#PXNAME} {#SVNAME} Response time and time in queue' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2727,8 +2723,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} Responses by HTTP code' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: {#PXNAME} {#SVNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2751,8 +2747,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} In/Out traffic' host: 'HAProxy by Zabbix agent' + name: 'HAProxy: {#PXNAME} {#SVNAME} In/Out traffic' valuemaps: - uuid: bf2e9463450d4f4899abcac85cde0a92 diff --git a/templates/app/haproxy_http/template_app_haproxy_http.yaml b/templates/app/haproxy_http/template_app_haproxy_http.yaml index 4d204369fe8..d3cf9aefda0 100644 --- a/templates/app/haproxy_http/template_app_haproxy_http.yaml +++ b/templates/app/haproxy_http/template_app_haproxy_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:31Z' - groups: + date: '2022-06-07T19:33:24Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -735,8 +735,6 @@ zabbix_export: MAINT - The server has been disabled or put into maintenance mode. DRAIN - The server has been put into drain mode. no check - Health checks are not enabled for this server. - valuemap: - name: 'Service state' preprocessing: - type: JSONPATH @@ -944,15 +942,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -1502,15 +1500,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -2192,8 +2190,6 @@ zabbix_export: history: 7d trends: '0' value_type: CHAR - valuemap: - name: 'Service state' preprocessing: - type: JSONPATH @@ -2416,15 +2412,15 @@ zabbix_export: master_item: key: haproxy.get.nodes lld_macro_paths: + - + lld_macro: '{#MODE}' + path: $.mode - lld_macro: '{#PXNAME}' path: $.pxname - lld_macro: '{#SVNAME}' path: $.svname - - - lld_macro: '{#MODE}' - path: $.mode overrides: - name: 'Discard HTTP status codes' @@ -2544,8 +2540,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' host: 'HAProxy by HTTP' + name: 'HAProxy: Backend {#PXNAME} Redispatched requests and retried connections per second' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2568,8 +2564,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} Responses by HTTP code' host: 'HAProxy by HTTP' + name: 'HAProxy: Backend {#PXNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2592,8 +2588,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Backend {#PXNAME} In/Out traffic' host: 'HAProxy by HTTP' + name: 'HAProxy: Backend {#PXNAME} In/Out traffic' - uuid: d6ba5079de1c49bb9e0e5c47112b3ff9 name: 'HAProxy Frontend performance' @@ -2621,8 +2617,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Requests and sessions per second' host: 'HAProxy by HTTP' + name: 'HAProxy: Frontend {#PXNAME} Requests and sessions per second' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2645,8 +2641,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Errors and denials per second' host: 'HAProxy by HTTP' + name: 'HAProxy: Frontend {#PXNAME} Errors and denials per second' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2669,8 +2665,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} Responses by HTTP code' host: 'HAProxy by HTTP' + name: 'HAProxy: Frontend {#PXNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2693,8 +2689,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' host: 'HAProxy by HTTP' + name: 'HAProxy: Frontend {#PXNAME} In/Out traffic' - uuid: f41c3a3976dc483d98a386273ab5678f name: 'HAProxy Server performance' @@ -2722,8 +2718,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} Response time and time in queue' host: 'HAProxy by HTTP' + name: 'HAProxy: {#PXNAME} {#SVNAME} Response time and time in queue' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2746,8 +2742,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} Responses by HTTP code' host: 'HAProxy by HTTP' + name: 'HAProxy: {#PXNAME} {#SVNAME} Responses by HTTP code' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2770,8 +2766,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'HAProxy: {#PXNAME} {#SVNAME} In/Out traffic' host: 'HAProxy by HTTP' + name: 'HAProxy: {#PXNAME} {#SVNAME} In/Out traffic' valuemaps: - uuid: 450c1b2c6d58432b8a5b34dd3b5e8870 diff --git a/templates/app/http_service/template_app_http_service.yaml b/templates/app/http_service/template_app_http_service.yaml index 5c2198c920a..e62a42c986d 100644 --- a/templates/app/http_service/template_app_http_service.yaml +++ b/templates/app/http_service/template_app_http_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:30Z' - groups: + date: '2022-06-07T19:36:41Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/https_service/template_app_https_service.yaml b/templates/app/https_service/template_app_https_service.yaml index e428ffa584d..cd9a6b410bf 100644 --- a/templates/app/https_service/template_app_https_service.yaml +++ b/templates/app/https_service/template_app_https_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:30Z' - groups: + date: '2022-06-07T19:36:41Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/iis_agent/README.md b/templates/app/iis_agent/README.md index e02332289e9..9bb9f04151d 100644 --- a/templates/app/iis_agent/README.md +++ b/templates/app/iis_agent/README.md @@ -108,8 +108,8 @@ There are no template links in this template. |IIS: The World Wide Web Publishing Service (W3SVC) is not running |

The World Wide Web Publishing Service (W3SVC) is not in running state. IIS cannot start.

|`last(/IIS by Zabbix agent/service_state[W3SVC])<>0` |HIGH |

**Depends on**:

- IIS: Windows process Activation Service (WAS) is not the running

| |IIS: Windows process Activation Service (WAS) is not the running |

Windows Process Activation Service (WAS) is not in the running state. IIS cannot start.

|`last(/IIS by Zabbix agent/service_state[WAS])<>0` |HIGH | | |IIS: Port {$IIS.PORT} is down |

-

|`last(/IIS by Zabbix agent/net.tcp.service[{$IIS.SERVICE},,{$IIS.PORT}])=0` |AVERAGE |

Manual close: YES

**Depends on**:

- IIS: The World Wide Web Publishing Service (W3SVC) is not running

| -|IIS: has been restarted |

Uptime is less than 10 minutes

|`last(/IIS by Zabbix agent/perf_counter_en["\Web Service(_Total)\Service Uptime"])<10m` |INFO |

Manual close: YES

| -|IIS: {#APPPOOL} has been restarted |

Uptime is less than 10 minutes

|`last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool Uptime"])<10m` |INFO |

Manual close: YES

| +|IIS: has been restarted |

Uptime is less than 10 minutes.

|`last(/IIS by Zabbix agent/perf_counter_en["\Web Service(_Total)\Service Uptime"])<10m` |INFO |

Manual close: YES

| +|IIS: {#APPPOOL} has been restarted |

Uptime is less than 10 minutes.

|`last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool Uptime"])<10m` |INFO |

Manual close: YES

| |IIS: Application pool {#APPPOOL} is not in Running state |

-

|`last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"])<>3 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1` |HIGH |

**Depends on**:

- IIS: The World Wide Web Publishing Service (W3SVC) is not running

| |IIS: Application pool {#APPPOOL} has been recycled |

-

|`last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"],#1)<>last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"],#2) and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1` |INFO | | |IIS: Request queue of {#APPPOOL} is too large |

-

|`min(/IIS by Zabbix agent/perf_counter_en["\HTTP Service Request Queues({#APPPOOL})\CurrentQueueSize"],{$IIS.QUEUE.MAX.TIME})>{$IIS.QUEUE.MAX.WARN}` |WARNING |

**Depends on**:

- IIS: Application pool {#APPPOOL} is not in Running state

| diff --git a/templates/app/iis_agent/template_app_iis_agent.yaml b/templates/app/iis_agent/template_app_iis_agent.yaml index ec66f87e7fa..711e61fbb5e 100644 --- a/templates/app/iis_agent/template_app_iis_agent.yaml +++ b/templates/app/iis_agent/template_app_iis_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:41Z' - groups: + date: '2022-06-07T19:33:33Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -448,7 +448,7 @@ zabbix_export: name: 'IIS: has been restarted' event_name: 'IIS: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -723,7 +723,7 @@ zabbix_export: name: 'IIS: {#APPPOOL} has been restarted' event_name: 'IIS: {#APPPOOL} has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -829,7 +829,7 @@ zabbix_export: - macro: '{$IIS.SERVICE}' value: http - description: 'The service (http/https/etc) for port check. See "net.tcp.service" documentation page for more information: https://www.zabbix.com/documentation/6.0/manual/config/items/itemtypes/simple_checks' + description: 'The service (http/https/etc) for port check. See "net.tcp.service" documentation page for more information: https://www.zabbix.com/documentation/6.2/manual/config/items/itemtypes/simple_checks' valuemaps: - uuid: 63d1ad6b4cf643da870b14c53da6c52f diff --git a/templates/app/iis_agent_active/template_app_iis_agent_active.yaml b/templates/app/iis_agent_active/template_app_iis_agent_active.yaml index bbbf08c17cc..5379ad268b4 100644 --- a/templates/app/iis_agent_active/template_app_iis_agent_active.yaml +++ b/templates/app/iis_agent_active/template_app_iis_agent_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-18T22:41:10Z' - groups: + date: '2022-06-07T19:33:33Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/imap_service/template_app_imap_service.yaml b/templates/app/imap_service/template_app_imap_service.yaml index eaa49a4ab1a..9f94e2afd03 100644 --- a/templates/app/imap_service/template_app_imap_service.yaml +++ b/templates/app/imap_service/template_app_imap_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:31Z' - groups: + date: '2022-06-07T19:36:42Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/jenkins/README.md b/templates/app/jenkins/README.md index b2cd65a8f56..95cffe00ffe 100644 --- a/templates/app/jenkins/README.md +++ b/templates/app/jenkins/README.md @@ -166,7 +166,7 @@ There are no template links in this template. |Jenkins: There are deadlocked threads in Jenkins master JVM |

There are any deadlocked threads in the Jenkins master JVM.

Health check message: {{ITEM.LASTVALUE2}.regsub('(.*)',\1)}

|`last(/Jenkins by HTTP/jenkins.thread_deadlock)=0 and length(last(/Jenkins by HTTP/jenkins.thread_deadlock.message))>0` |WARNING | | |Jenkins: Service has no online nodes |

-

|`last(/Jenkins by HTTP/jenkins.node.online)=0` |AVERAGE | | |Jenkins: Version has changed |

Jenkins version has changed. Ack to close.

|`last(/Jenkins by HTTP/jenkins.version,#1)<>last(/Jenkins by HTTP/jenkins.version,#2) and length(last(/Jenkins by HTTP/jenkins.version))>0` |INFO |

Manual close: YES

| -|Jenkins: has been restarted |

Uptime is less than 10 minutes

|`last(/Jenkins by HTTP/jenkins.system.uptime)<10m` |INFO |

Manual close: YES

| +|Jenkins: has been restarted |

Uptime is less than 10 minutes.

|`last(/Jenkins by HTTP/jenkins.system.uptime)<10m` |INFO |

Manual close: YES

| |Jenkins: Current number of used files is too high |

-

|`min(/Jenkins by HTTP/jenkins.descriptor.ratio,5m)>{$JENKINS.FILE_DESCRIPTORS.MAX.WARN}` |WARNING | | |Jenkins: Service is down |

-

|`last(/Jenkins by HTTP/jenkins.ping)=0` |AVERAGE |

Manual close: YES

| |Jenkins job [{#NAME}]: Job is unhealthy |

-

|`last(/Jenkins by HTTP/jenkins.build.health[{#NAME}])<{$JENKINS.JOB.HEALTH.SCORE.MIN.WARN}` |WARNING |

Manual close: YES

| diff --git a/templates/app/jenkins/template_app_jenkins.yaml b/templates/app/jenkins/template_app_jenkins.yaml index a643f4b56fa..a678f532d10 100644 --- a/templates/app/jenkins/template_app_jenkins.yaml +++ b/templates/app/jenkins/template_app_jenkins.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:45Z' - groups: + date: '2022-06-07T19:33:35Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -1627,7 +1627,7 @@ zabbix_export: name: 'Jenkins: has been restarted' event_name: 'Jenkins: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/kafka_jmx/README.md b/templates/app/kafka_jmx/README.md index 24cd9497a90..5aab3a5bc91 100644 --- a/templates/app/kafka_jmx/README.md +++ b/templates/app/kafka_jmx/README.md @@ -132,7 +132,7 @@ There are no template links in this template. |Kafka: There are partitions under the min ISR |

The Under min ISR partitions metric displays the number of partitions, where the number of In-Sync Replicas (ISR) is less than the minimum number of in-sync replicas specified. The two most common causes of under-min ISR partitions are that one or more brokers is unresponsive, or the cluster is experiencing performance issues and one or more brokers are falling behind.

|`last(/Apache Kafka by JMX/jmx["kafka.server:type=ReplicaManager,name=UnderMinIsrPartitionCount","Value"])>0` |AVERAGE | | |Kafka: There are under replicated partitions |

The Under replicated partitions metric displays the number of partitions that do not have enough replicas to meet the desired replication factor. A partition will also be considered under-replicated if the correct number of replicas exist, but one or more of the replicas have fallen significantly behind the partition leader. The two most common causes of under-replicated partitions are that one or more brokers is unresponsive, or the cluster is experiencing performance issues and one or more brokers have fallen behind.

|`last(/Apache Kafka by JMX/jmx["kafka.server:type=ReplicaManager,name=UnderReplicatedPartitions","Value"])>0` |AVERAGE | | |Kafka: Version has changed |

Kafka version has changed. Ack to close.

|`last(/Apache Kafka by JMX/jmx["kafka.server:type=app-info","version"],#1)<>last(/Apache Kafka by JMX/jmx["kafka.server:type=app-info","version"],#2) and length(last(/Apache Kafka by JMX/jmx["kafka.server:type=app-info","version"]))>0` |INFO |

Manual close: YES

| -|Kafka: has been restarted |

Uptime is less than 10 minutes

|`last(/Apache Kafka by JMX/jmx["kafka.server:type=app-info","start-time-ms"])<10m` |INFO |

Manual close: YES

| +|Kafka: has been restarted |

Uptime is less than 10 minutes.

|`last(/Apache Kafka by JMX/jmx["kafka.server:type=app-info","start-time-ms"])<10m` |INFO |

Manual close: YES

| |Kafka: Broker is not connected to ZooKeeper |

-

|`find(/Apache Kafka by JMX/jmx["kafka.server:type=SessionExpireListener,name=SessionState","Value"],,"regexp","CONNECTED")=0` |AVERAGE | | ## Feedback diff --git a/templates/app/kafka_jmx/template_app_kafka_jmx.yaml b/templates/app/kafka_jmx/template_app_kafka_jmx.yaml index 72b9f42bc56..c832fffed89 100644 --- a/templates/app/kafka_jmx/template_app_kafka_jmx.yaml +++ b/templates/app/kafka_jmx/template_app_kafka_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:47Z' - groups: + date: '2022-06-07T19:33:36Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -693,7 +693,7 @@ zabbix_export: name: 'Kafka: has been restarted' event_name: 'Kafka: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/kubernetes_http/kubernetes_api_server_http/template_kubernetes_api_servers.yaml b/templates/app/kubernetes_http/kubernetes_api_server_http/template_kubernetes_api_servers.yaml index af95139c857..61d39afa3da 100644 --- a/templates/app/kubernetes_http/kubernetes_api_server_http/template_kubernetes_api_servers.yaml +++ b/templates/app/kubernetes_http/kubernetes_api_server_http/template_kubernetes_api_servers.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:48Z' - groups: + date: '2022-06-07T19:33:37Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/kubernetes_http/kubernetes_controller_manager_http/template_kubernetes_controller_manager.yaml b/templates/app/kubernetes_http/kubernetes_controller_manager_http/template_kubernetes_controller_manager.yaml index ee547c35baa..141fd5d5625 100644 --- a/templates/app/kubernetes_http/kubernetes_controller_manager_http/template_kubernetes_controller_manager.yaml +++ b/templates/app/kubernetes_http/kubernetes_controller_manager_http/template_kubernetes_controller_manager.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:49Z' - groups: + date: '2022-06-07T19:33:37Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/kubernetes_http/kubernetes_kubelet_http/template_kubernetes_kubelet.yaml b/templates/app/kubernetes_http/kubernetes_kubelet_http/template_kubernetes_kubelet.yaml index 4c95929fa54..71308f66177 100644 --- a/templates/app/kubernetes_http/kubernetes_kubelet_http/template_kubernetes_kubelet.yaml +++ b/templates/app/kubernetes_http/kubernetes_kubelet_http/template_kubernetes_kubelet.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:49Z' - groups: + date: '2022-06-07T19:33:38Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/kubernetes_http/kubernetes_nodes_http/template_kubernetes_nodes.yaml b/templates/app/kubernetes_http/kubernetes_nodes_http/template_kubernetes_nodes.yaml index 18d3851dbab..6a860a9b59f 100644 --- a/templates/app/kubernetes_http/kubernetes_nodes_http/template_kubernetes_nodes.yaml +++ b/templates/app/kubernetes_http/kubernetes_nodes_http/template_kubernetes_nodes.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:11:32Z' - groups: + date: '2022-06-07T19:33:38Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications + host_groups: + - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 + name: Applications templates: - uuid: f397be2340734d24bc666102fbe184a5 @@ -280,12 +284,12 @@ zabbix_export: - name: api_endpoint value: '{$KUBE.API.ENDPOINT.URL}' - - - name: token - value: '{$KUBE.API.TOKEN}' - name: endpoint_name value: '{$KUBE.NODES.ENDPOINT.NAME}' + - + name: token + value: '{$KUBE.API.TOKEN}' tags: - tag: component @@ -1445,7 +1449,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Kubernetes/Nodes/Role: {#ROLES}' diff --git a/templates/app/kubernetes_http/kubernetes_scheduler_http/template_kubernetes_scheduler.yaml b/templates/app/kubernetes_http/kubernetes_scheduler_http/template_kubernetes_scheduler.yaml index d8e2458f69e..fe14871290b 100644 --- a/templates/app/kubernetes_http/kubernetes_scheduler_http/template_kubernetes_scheduler.yaml +++ b/templates/app/kubernetes_http/kubernetes_scheduler_http/template_kubernetes_scheduler.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:51Z' - groups: + date: '2022-06-07T19:33:39Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/kubernetes_http/kubernetes_state_http/template_kubernetes_state.yaml b/templates/app/kubernetes_http/kubernetes_state_http/template_kubernetes_state.yaml index b71cd5b08df..27858f03759 100644 --- a/templates/app/kubernetes_http/kubernetes_state_http/template_kubernetes_state.yaml +++ b/templates/app/kubernetes_http/kubernetes_state_http/template_kubernetes_state.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:53Z' - groups: + date: '2022-06-07T19:33:39Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications + host_groups: + - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 + name: Applications templates: - uuid: 07695028a2ba4b66a5414797bec791df @@ -165,6 +169,9 @@ zabbix_export: - 3h timeout: 10s parameters: + - + name: api_endpoint + value: '{$KUBE.API.URL}/api' - name: token value: '{$KUBE.API.TOKEN}' @@ -186,9 +193,6 @@ zabbix_export: - name: scheduler_port value: '{$KUBE.SCHEDULER.PORT}' - - - name: api_endpoint - value: '{$KUBE.API.URL}/api' tags: - tag: component @@ -470,6 +474,9 @@ zabbix_export: - 3h timeout: 10s parameters: + - + name: api_endpoint + value: '{$KUBE.API.URL}/api' - name: token value: '{$KUBE.API.TOKEN}' @@ -479,9 +486,6 @@ zabbix_export: - name: kubelet_port value: '{$KUBE.KUBELET.PORT}' - - - name: api_endpoint - value: '{$KUBE.API.URL}/api' tags: - tag: component @@ -681,15 +685,15 @@ zabbix_export: description: 'Collecting Kubernetes metrics from kube-state-metrics.' timeout: 10s parameters: + - + name: api_endpoint + value: '{$KUBE.API.URL}/api' - name: state_endpoint_name value: '{$KUBE.STATE.ENDPOINT.NAME}' - name: token value: '{$KUBE.API.TOKEN}' - - - name: api_endpoint - value: '{$KUBE.API.URL}/api' tags: - tag: component @@ -731,7 +735,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Kubernetes/Components: {#COMPONENT.API}' @@ -832,7 +836,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Kubernetes/Components: {#COMPONENT.CONTROLLER}' @@ -1928,7 +1932,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Kubernetes/Components: {#COMPONENT}' @@ -3671,7 +3675,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: 'Kubernetes/Components: {#COMPONENT.SCHEDULER}' diff --git a/templates/app/ldap_service/template_app_ldap_service.yaml b/templates/app/ldap_service/template_app_ldap_service.yaml index e7ecc96bb38..90205629b89 100644 --- a/templates/app/ldap_service/template_app_ldap_service.yaml +++ b/templates/app/ldap_service/template_app_ldap_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:31Z' - groups: + date: '2022-06-07T19:36:42Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/memcached/README.md b/templates/app/memcached/README.md index fbe1aead785..15105fb3ab7 100644 --- a/templates/app/memcached/README.md +++ b/templates/app/memcached/README.md @@ -86,7 +86,7 @@ There are no template links in this template. |Memcached: Too many throttled connections |

Number of times a client connection was throttled is too high.

When sending GETs in batch mode and the connection contains too many requests (limited by -R parameter) the connection might be throttled to prevent starvation.

|`min(/Memcached by Zabbix agent 2/memcached.connections.throttled.rate,5m)>{$MEMCACHED.CONN.THROTTLED.MAX.WARN}` |WARNING | | |Memcached: Total number of connected clients is too high |

When the number of connections reaches the value of the "max_connections" parameter, new connections will be rejected.

|`min(/Memcached by Zabbix agent 2/memcached.connections.current,5m)/last(/Memcached by Zabbix agent 2/memcached.connections.max)*100>{$MEMCACHED.CONN.PRC.MAX.WARN}` |WARNING | | |Memcached: Version has changed |

Memcached version has changed. Ack to close.

|`last(/Memcached by Zabbix agent 2/memcached.version,#1)<>last(/Memcached by Zabbix agent 2/memcached.version,#2) and length(last(/Memcached by Zabbix agent 2/memcached.version))>0` |INFO |

Manual close: YES

| -|Memcached: has been restarted |

Uptime is less than 10 minutes

|`last(/Memcached by Zabbix agent 2/memcached.uptime)<10m` |INFO |

Manual close: YES

| +|Memcached: has been restarted |

Uptime is less than 10 minutes.

|`last(/Memcached by Zabbix agent 2/memcached.uptime)<10m` |INFO |

Manual close: YES

| |Memcached: Memory usage is too high |

-

|`min(/Memcached by Zabbix agent 2/memcached.stats.bytes,5m)/last(/Memcached by Zabbix agent 2/memcached.config.limit_maxbytes)*100>{$MEMCACHED.MEM.PUSED.MAX.WARN}` |WARNING | | ## Feedback diff --git a/templates/app/memcached/template_app_memcached.yaml b/templates/app/memcached/template_app_memcached.yaml index 5640e99c92b..ed803a36455 100644 --- a/templates/app/memcached/template_app_memcached.yaml +++ b/templates/app/memcached/template_app_memcached.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:02Z' - groups: + date: '2022-06-07T19:33:46Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -626,7 +626,7 @@ zabbix_export: name: 'Memcached: has been restarted' event_name: 'Memcached: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/nginx_agent/template_app_nginx_agent.yaml b/templates/app/nginx_agent/template_app_nginx_agent.yaml index 87d6b272e8f..928710c7db9 100644 --- a/templates/app/nginx_agent/template_app_nginx_agent.yaml +++ b/templates/app/nginx_agent/template_app_nginx_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:15Z' - groups: + date: '2022-06-07T19:36:32Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -498,8 +498,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Connections by state' host: 'Nginx by Zabbix agent' + name: 'Nginx: Connections by state' - type: GRAPH_CLASSIC x: '12' @@ -514,8 +514,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Requests per second' host: 'Nginx by Zabbix agent' + name: 'Nginx: Requests per second' - type: GRAPH_CLASSIC 'y': '5' @@ -530,8 +530,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Connections per second' host: 'Nginx by Zabbix agent' + name: 'Nginx: Connections per second' valuemaps: - uuid: 53c8528c18814f30a45d1540ab9e5c00 diff --git a/templates/app/nginx_http/template_app_nginx_http.yaml b/templates/app/nginx_http/template_app_nginx_http.yaml index 70cda1ca1c0..e151dfce3ad 100644 --- a/templates/app/nginx_http/template_app_nginx_http.yaml +++ b/templates/app/nginx_http/template_app_nginx_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:16Z' - groups: + date: '2022-06-07T19:36:32Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -436,8 +436,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Connections by state' host: 'Nginx by HTTP' + name: 'Nginx: Connections by state' - type: GRAPH_CLASSIC x: '12' @@ -452,8 +452,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Requests per second' host: 'Nginx by HTTP' + name: 'Nginx: Requests per second' - type: GRAPH_CLASSIC 'y': '5' @@ -468,8 +468,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Nginx: Connections per second' host: 'Nginx by HTTP' + name: 'Nginx: Connections per second' valuemaps: - uuid: 5c0883d194e8494498474106c22be2ca diff --git a/templates/app/nginx_plus_http/README.md b/templates/app/nginx_plus_http/README.md index 0172863f804..ca4abde89b1 100644 --- a/templates/app/nginx_plus_http/README.md +++ b/templates/app/nginx_plus_http/README.md @@ -195,7 +195,7 @@ There are no template links in this template. |----|-----------|----|----|----| |Nginx: Server response error |

-

|`length(last(/Nginx Plus by HTTP/nginx.info.error))>0` |HIGH | | |Nginx: Version has changed |

Nginx version has changed. Ack to close.

|`last(/Nginx Plus by HTTP/nginx.info.version,#1)<>last(/Nginx Plus by HTTP/nginx.info.version,#2) and length(last(/Nginx Plus by HTTP/nginx.info.version))>0` |INFO |

Manual close: YES

| -|Nginx: has been restarted |

Uptime is less than 10 minutes

|`last(/Nginx Plus by HTTP/nginx.info.uptime)<10m` |INFO |

Manual close: YES

| +|Nginx: has been restarted |

Uptime is less than 10 minutes.

|`last(/Nginx Plus by HTTP/nginx.info.uptime)<10m` |INFO |

Manual close: YES

| |Nginx: Failed to fetch info data |

Zabbix has not received data for metrics for the last 30 minutes

|`nodata(/Nginx Plus by HTTP/nginx.info.uptime,30m)=1` |WARNING |

Manual close: YES

| |Nginx: High connections drop rate |

The dropping rate connections is greater than {$NGINX.DROP_RATE.MAX.WARN} for the last 5 minutes.

|`min(/Nginx Plus by HTTP/nginx.connections.dropped,5m) > {$NGINX.DROP_RATE.MAX.WARN}` |WARNING | | |Nginx: HTTP upstream server is not in UP or DOWN state. |

-

|`find(/Nginx Plus by HTTP/nginx.http.upstream.peer.state[{#UPSTREAM},{#PEER}],,"like","up")=0 and find(/Nginx Plus by HTTP/nginx.http.upstream.peer.state[{#UPSTREAM},{#PEER}],,"like","down")=0` |WARNING | | diff --git a/templates/app/nginx_plus_http/template_app_nginx_plus_http.yaml b/templates/app/nginx_plus_http/template_app_nginx_plus_http.yaml index 9378e6cb25d..d1b05d8b330 100644 --- a/templates/app/nginx_plus_http/template_app_nginx_plus_http.yaml +++ b/templates/app/nginx_plus_http/template_app_nginx_plus_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:17Z' - groups: + date: '2022-06-07T19:36:33Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -336,7 +336,7 @@ zabbix_export: name: 'Nginx: has been restarted' event_name: 'Nginx: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/nntp_service/template_app_nntp_service.yaml b/templates/app/nntp_service/template_app_nntp_service.yaml index ed1ca77fd8c..dd58a1cc391 100644 --- a/templates/app/nntp_service/template_app_nntp_service.yaml +++ b/templates/app/nntp_service/template_app_nntp_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:32Z' - groups: + date: '2022-06-07T19:36:42Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/ntp_service/template_app_ntp_service.yaml b/templates/app/ntp_service/template_app_ntp_service.yaml index 478fe639ce2..f87ae950764 100644 --- a/templates/app/ntp_service/template_app_ntp_service.yaml +++ b/templates/app/ntp_service/template_app_ntp_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-07T09:59:15Z' - groups: + date: '2022-06-07T19:36:43Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/openweathermap_http/README.md b/templates/app/openweathermap_http/README.md index f8f35125691..eb24610f43e 100644 --- a/templates/app/openweathermap_http/README.md +++ b/templates/app/openweathermap_http/README.md @@ -22,7 +22,7 @@ It works without any external scripts and uses the Script item. - by location name (for example: Riga) - by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz - by zip/post code with a country code (for example: 94040,us) - A few locations can be added to the macro at the same time by `|` delimiter. + A few locations can be added to the macro at the same time by `|` delimiter. For example: `43.81821,7.76115|Riga|2643743|94040,us`. Please note that API requests by city name, zip-codes and city id will be deprecated soon. @@ -39,7 +39,7 @@ No specific Zabbix configuration is required. |Name|Description|Default| |----|-----------|-------| |{$LANG} |

List of available languages https://openweathermap.org/current#multi.

|`en` | -|{$LOCATION} |

Locations can be set by few ways:

1. by geo coordinates (for example: 56.95,24.0833)

2. by location name (for example: Riga)

3. by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz

4. by zip/post code with a country code (for example: 94040,us)

A few locations can be added to the macro at the same time by \| delimiter.

For example: 43.81821,7.76115\|Riga\|2643743\|94040,us.

Please note that API requests by city name, zip-codes and city id will be deprecated soon.

|`Riga` | +|{$LOCATION} |

Locations can be set by few ways:

1. by geo coordinates (for example: 56.95,24.0833)

2. by location name (for example: Riga)

3. by location ID. Link to the list of city ID: http://bulk.openweathermap.org/sample/city.list.json.gz

4. by zip/post code with a country code (for example: 94040,us)

A few locations can be added to the macro at the same time by `|` delimiter.

For example: `43.81821,7.76115|Riga|2643743|94040,us`.

Please note that API requests by city name, zip-codes and city id will be deprecated soon.

|`Riga` | |{$OPENWEATHERMAP.API.ENDPOINT} |

OpenWeatherMap API endpoint.

|`api.openweathermap.org/data/2.5/weather?` | |{$OPENWEATHERMAP.API.TOKEN} |

Specify openweathermap API key.

|`` | |{$OPENWEATHERMAP.DATA.TIMEOUT} |

Response timeout for OpenWeatherMap API.

|`3s` | diff --git a/templates/app/openweathermap_http/template_app_openweathermap_http.yaml b/templates/app/openweathermap_http/template_app_openweathermap_http.yaml index 0a3ea61de41..943fd82de9b 100644 --- a/templates/app/openweathermap_http/template_app_openweathermap_http.yaml +++ b/templates/app/openweathermap_http/template_app_openweathermap_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-13T22:09:00Z' - groups: + date: '2022-06-07T19:36:34Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -738,70 +738,53 @@ zabbix_export: name: 'Wind direction' mappings: - - type: IN_RANGE value: '0 - 11.24' newvalue: 'N' - - type: IN_RANGE value: '11.25 - 33.74' newvalue: NNE - - type: IN_RANGE value: '33.75 - 56.24' newvalue: NE - - type: IN_RANGE value: '56.25 - 78.74' newvalue: ENE - - type: IN_RANGE value: '78.75 - 101.24' newvalue: E - - type: IN_RANGE value: '101.25 - 123.74' newvalue: ESE - - type: IN_RANGE value: '123.75 - 146.24' newvalue: SE - - type: IN_RANGE value: '146.25 - 168.74' newvalue: SSE - - type: IN_RANGE value: '168.75 - 191.24' newvalue: S - - type: IN_RANGE value: '191.25 - 213.74' newvalue: SSW - - type: IN_RANGE value: '213.75 - 236.24' newvalue: SW - - type: IN_RANGE value: '236.25 - 258.74' newvalue: WSW - - type: IN_RANGE value: '258.75 - 281.24' newvalue: W - - type: IN_RANGE value: '281.25 - 303.74' newvalue: WNW - - type: IN_RANGE value: '303.75 - 326.24' newvalue: NW - - type: IN_RANGE value: '326.25 - 348.74' newvalue: NNW - - type: IN_RANGE value: '348.75 - 379.99' newvalue: 'N' diff --git a/templates/app/pfsense_snmp/README.md b/templates/app/pfsense_snmp/README.md index ab74e4393c4..f80bf89f75b 100644 --- a/templates/app/pfsense_snmp/README.md +++ b/templates/app/pfsense_snmp/README.md @@ -55,7 +55,7 @@ There are no template links in this template. |Name|Description|Type|Key and additional info| |----|-----------|----|----| -|Network interfaces discovery |

Discovering interfaces from IF-MIB.

|SNMP |pfsense.net.if.discovery

**Filter**:

AND

- {#IFADMINSTATUS} MATCHES_REGEX `{$NET.IF.IFADMINSTATUS.MATCHES}`

- {#IFADMINSTATUS} NOT_MATCHES_REGEX `{$NET.IF.IFADMINSTATUS.NOT_MATCHES}`

- {#IFOPERSTATUS} MATCHES_REGEX `{$NET.IF.IFOPERSTATUS.MATCHES}`

- {#IFOPERSTATUS} NOT_MATCHES_REGEX `{$NET.IF.IFOPERSTATUS.NOT_MATCHES}`

- {#IFNAME} MATCHES_REGEX `{$NET.IF.IFNAME.MATCHES}`

- {#IFNAME} NOT_MATCHES_REGEX `{$NET.IF.IFNAME.NOT_MATCHES}`

- {#IFDESCR} MATCHES_REGEX `{$NET.IF.IFDESCR.MATCHES}`

- {#IFDESCR} NOT_MATCHES_REGEX `{$NET.IF.IFDESCR.NOT_MATCHES}`

- {#IFALIAS} MATCHES_REGEX `{$NET.IF.IFALIAS.MATCHES}`

- {#IFALIAS} NOT_MATCHES_REGEX `{$NET.IF.IFALIAS.NOT_MATCHES}`

- {#IFTYPE} MATCHES_REGEX `{$NET.IF.IFTYPE.MATCHES}`

- {#IFTYPE} NOT_MATCHES_REGEX `{$NET.IF.IFTYPE.NOT_MATCHES}`

| +|Network interfaces discovery |

Discovering interfaces from IF-MIB.

|SNMP |net.if.discovery

**Filter**:

AND

- {#IFADMINSTATUS} MATCHES_REGEX `{$NET.IF.IFADMINSTATUS.MATCHES}`

- {#IFADMINSTATUS} NOT_MATCHES_REGEX `{$NET.IF.IFADMINSTATUS.NOT_MATCHES}`

- {#IFOPERSTATUS} MATCHES_REGEX `{$NET.IF.IFOPERSTATUS.MATCHES}`

- {#IFOPERSTATUS} NOT_MATCHES_REGEX `{$NET.IF.IFOPERSTATUS.NOT_MATCHES}`

- {#IFNAME} MATCHES_REGEX `{$NET.IF.IFNAME.MATCHES}`

- {#IFNAME} NOT_MATCHES_REGEX `{$NET.IF.IFNAME.NOT_MATCHES}`

- {#IFDESCR} MATCHES_REGEX `{$NET.IF.IFDESCR.MATCHES}`

- {#IFDESCR} NOT_MATCHES_REGEX `{$NET.IF.IFDESCR.NOT_MATCHES}`

- {#IFALIAS} MATCHES_REGEX `{$NET.IF.IFALIAS.MATCHES}`

- {#IFALIAS} NOT_MATCHES_REGEX `{$NET.IF.IFALIAS.NOT_MATCHES}`

- {#IFTYPE} MATCHES_REGEX `{$NET.IF.IFTYPE.MATCHES}`

- {#IFTYPE} NOT_MATCHES_REGEX `{$NET.IF.IFTYPE.NOT_MATCHES}`

| ## Items collected diff --git a/templates/app/pfsense_snmp/template_app_pfsense_snmp.yaml b/templates/app/pfsense_snmp/template_app_pfsense_snmp.yaml index b1e9e142561..dba8f007306 100644 --- a/templates/app/pfsense_snmp/template_app_pfsense_snmp.yaml +++ b/templates/app/pfsense_snmp/template_app_pfsense_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-06T12:23:02Z' - groups: + date: '2022-06-07T19:36:36Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -452,7 +452,7 @@ zabbix_export: name: 'Network interfaces discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]' - key: pfsense.net.if.discovery + key: net.if.discovery delay: 1h filter: evaltype: AND diff --git a/templates/app/php-fpm_agent/README.md b/templates/app/php-fpm_agent/README.md index b8971204c8f..e1bebc3f7a4 100644 --- a/templates/app/php-fpm_agent/README.md +++ b/templates/app/php-fpm_agent/README.md @@ -133,7 +133,7 @@ There are no template links in this template. |PHP-FPM: Service is down |

-

|`last(/PHP-FPM by Zabbix agent/php-fpm.ping)=0 or nodata(/PHP-FPM by Zabbix agent/php-fpm.ping,3m)=1` |HIGH |

Manual close: YES

**Depends on**:

- PHP-FPM: Process is not running

| |PHP-FPM: Version has changed |

PHP-FPM version has changed. Ack to close.

|`last(/PHP-FPM by Zabbix agent/php-fpm.version,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.version,#2) and length(last(/PHP-FPM by Zabbix agent/php-fpm.version))>0` |INFO |

Manual close: YES

| |PHP-FPM: Failed to fetch info data |

Zabbix has not received data for items for the last 30 minutes

|`nodata(/PHP-FPM by Zabbix agent/php-fpm.uptime,30m)=1` |INFO |

Manual close: YES

**Depends on**:

- PHP-FPM: Process is not running

| -|PHP-FPM: has been restarted |

Uptime is less than 10 minutes

|`last(/PHP-FPM by Zabbix agent/php-fpm.uptime)<10m` |INFO |

Manual close: YES

| +|PHP-FPM: has been restarted |

Uptime is less than 10 minutes.

|`last(/PHP-FPM by Zabbix agent/php-fpm.uptime)<10m` |INFO |

Manual close: YES

| |PHP-FPM: Queue utilization is high |

The queue for this pool reached {$PHP_FPM.QUEUE.WARN.MAX}% of its maximum capacity. Items in queue represent the current number of connections that have been initiated on this pool, but not yet accepted.

|`min(/PHP-FPM by Zabbix agent/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}` |WARNING | | |PHP-FPM: Manager changed |

PHP-FPM manager changed. Ack to close.

|`last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#1)<>last(/PHP-FPM by Zabbix agent/php-fpm.process_manager,#2)` |INFO |

Manual close: YES

| |PHP-FPM: Detected slow requests |

PHP-FPM detected slow request. A slow request means that it took more time to execute than expected (defined in the configuration of your pool).

|`min(/PHP-FPM by Zabbix agent/php-fpm.slow_requests,#3)>0` |WARNING | | diff --git a/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml b/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml index 85eff9dd3c7..91edfc66488 100644 --- a/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml +++ b/templates/app/php-fpm_agent/template_app_php-fpm_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:22Z' - groups: + date: '2022-06-07T19:36:36Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -422,7 +422,7 @@ zabbix_export: name: 'PHP-FPM: has been restarted' event_name: 'PHP-FPM: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/php-fpm_http/README.md b/templates/app/php-fpm_http/README.md index 0a002b432ce..a03f0c374fb 100644 --- a/templates/app/php-fpm_http/README.md +++ b/templates/app/php-fpm_http/README.md @@ -124,7 +124,7 @@ There are no template links in this template. |PHP-FPM: Service is down |

-

|`last(/PHP-FPM by HTTP/php-fpm.ping)=0 or nodata(/PHP-FPM by HTTP/php-fpm.ping,3m)=1` |HIGH |

Manual close: YES

| |PHP-FPM: Version has changed |

PHP-FPM version has changed. Ack to close.

|`last(/PHP-FPM by HTTP/php-fpm.version,#1)<>last(/PHP-FPM by HTTP/php-fpm.version,#2) and length(last(/PHP-FPM by HTTP/php-fpm.version))>0` |INFO |

Manual close: YES

| |PHP-FPM: Failed to fetch info data |

Zabbix has not received data for items for the last 30 minutes

|`nodata(/PHP-FPM by HTTP/php-fpm.uptime,30m)=1` |INFO |

Manual close: YES

**Depends on**:

- PHP-FPM: Service is down

| -|PHP-FPM: has been restarted |

Uptime is less than 10 minutes

|`last(/PHP-FPM by HTTP/php-fpm.uptime)<10m` |INFO |

Manual close: YES

| +|PHP-FPM: has been restarted |

Uptime is less than 10 minutes.

|`last(/PHP-FPM by HTTP/php-fpm.uptime)<10m` |INFO |

Manual close: YES

| |PHP-FPM: Manager changed |

PHP-FPM manager changed. Ack to close.

|`last(/PHP-FPM by HTTP/php-fpm.process_manager,#1)<>last(/PHP-FPM by HTTP/php-fpm.process_manager,#2)` |INFO |

Manual close: YES

| |PHP-FPM: Detected slow requests |

PHP-FPM detected slow request. A slow request means that it took more time to execute than expected (defined in the configuration of your pool).

|`min(/PHP-FPM by HTTP/php-fpm.slow_requests,#3)>0` |WARNING | | |PHP-FPM: Queue utilization is high |

The queue for this pool reached {$PHP_FPM.QUEUE.WARN.MAX}% of its maximum capacity. Items in queue represent the current number of connections that have been initiated on this pool, but not yet accepted.

|`min(/PHP-FPM by HTTP/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}` |WARNING | | diff --git a/templates/app/php-fpm_http/template_app_php-fpm_http.yaml b/templates/app/php-fpm_http/template_app_php-fpm_http.yaml index 958ce1cb5ef..88e11cb0468 100644 --- a/templates/app/php-fpm_http/template_app_php-fpm_http.yaml +++ b/templates/app/php-fpm_http/template_app_php-fpm_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:23Z' - groups: + date: '2022-06-07T19:36:37Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -445,7 +445,7 @@ zabbix_export: name: 'PHP-FPM: has been restarted' event_name: 'PHP-FPM: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/pop_service/template_app_pop_service.yaml b/templates/app/pop_service/template_app_pop_service.yaml index 2ca572a9dcc..faf2cd1e633 100644 --- a/templates/app/pop_service/template_app_pop_service.yaml +++ b/templates/app/pop_service/template_app_pop_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:32Z' - groups: + date: '2022-06-07T19:36:43Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/rabbitmq_agent/README.md b/templates/app/rabbitmq_agent/README.md index e9d6580e34e..2ab55883829 100644 --- a/templates/app/rabbitmq_agent/README.md +++ b/templates/app/rabbitmq_agent/README.md @@ -7,40 +7,42 @@ For Zabbix version: 6.2 and higher The template to monitor RabbitMQ by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. -Template `RabbitMQ Cluster` — collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with Zabbix agent. + Template `RabbitMQ Cluster` — collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with Zabbix agent. +_setup: | + Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + Create a user to monitor the service: -This template was tested on: - -- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 + ```bash + rabbitmqctl add_user zbx_monitor + rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" + rabbitmqctl set_user_tags zbx_monitor monitoring + ``` -## Setup + Login and password are also set in macros: -> See [Zabbix template operation](https://www.zabbix.com/documentation/6.2/manual/config/templates_out_of_the_box/zabbix_agent) for basic instructions. + - {$RABBITMQ.API.USER} + - {$RABBITMQ.API.PASSWORD} -Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + If your cluster consists of several nodes, it is recommended to assign the `cluster` template to a separate balancing host. + In the case of a single-node installation, you can assign the `cluster` template to one host with a `node` template. -Create a user to monitor the service: + If you use another API endpoint, then don't forget to change `{$RABBITMQ.API.CLUSTER_HOST}` macro. -```bash -rabbitmqctl add_user zbx_monitor -rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" -rabbitmqctl set_user_tags zbx_monitor monitoring -``` + Install and setup [Zabbix agent](https://www.zabbix.com/documentation/6.2/manual/installation/install_from_packages). -Login and password are also set in macros: +_zabbix_forum_url: https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq +_template_type: AGENT -- {$RABBITMQ.API.USER} -- {$RABBITMQ.API.PASSWORD} -If your cluster consists of several nodes, it is recommended to assign the `cluster` template to a separate balancing host. -In the case of a single-node installation, you can assign the `cluster` template to one host with a `node` template. +This template was tested on: -If you use another API endpoint, then don't forget to change `{$RABBITMQ.API.CLUSTER_HOST}` macro. +- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 -Install and setup [Zabbix agent](https://www.zabbix.com/documentation/6.2/manual/installation/install_from_packages). +## Setup +Refer to the vendor documentation. ## Zabbix configuration @@ -128,8 +130,6 @@ There are no template links in this template. Please report any issues with the template at https://support.zabbix.com -You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq). - # RabbitMQ node by Zabbix agent ## Overview @@ -138,36 +138,39 @@ For Zabbix version: 6.2 and higher The template to monitor RabbitMQ by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. -Template `RabbitMQ Node` — (Zabbix version >= 4.2) collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with Zabbix agent. + Template `RabbitMQ Node` — (Zabbix version >= 4.2) collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with Zabbix agent. -It also uses Zabbix agent to collect `RabbitMQ` Linux process stats like CPU usage, memory usage and whether process is running or not. + It also uses Zabbix agent to collect `RabbitMQ` Linux process stats like CPU usage, memory usage and whether process is running or not. +_setup: | + Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + Create a user to monitor the service: -This template was tested on: + ```bash + rabbitmqctl add_user zbx_monitor + rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" + rabbitmqctl set_user_tags zbx_monitor monitoring + ``` -- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 + Login and password are also set in macros: -## Setup + - {$RABBITMQ.API.USER} + - {$RABBITMQ.API.PASSWORD} -Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + If you use another API endpoint, then don't forget to change `{$RABBITMQ.API.HOST}` macro. + Install and setup [Zabbix agent](https://www.zabbix.com/documentation/6.2/manual/installation/install_from_packages). -Create a user to monitor the service: +_zabbix_forum_url: https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq -```bash -rabbitmqctl add_user zbx_monitor -rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" -rabbitmqctl set_user_tags zbx_monitor monitoring -``` -Login and password are also set in macros: +This template was tested on: -- {$RABBITMQ.API.USER} -- {$RABBITMQ.API.PASSWORD} +- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 -If you use another API endpoint, then don't forget to change `{$RABBITMQ.API.HOST}` macro. -Install and setup [Zabbix agent](https://www.zabbix.com/documentation/6.2/manual/installation/install_from_packages). +## Setup +Refer to the vendor documentation. ## Zabbix configuration @@ -263,7 +266,7 @@ There are no template links in this template. |RabbitMQ: Node is not running |

RabbitMQ node is not running

|`max(/RabbitMQ node by Zabbix agent/rabbitmq.node.running,5m)=0` |AVERAGE |

**Depends on**:

- RabbitMQ: Process is not running

- RabbitMQ: Service is down

| |RabbitMQ: Memory alarm |

https://www.rabbitmq.com/memory.html

|`last(/RabbitMQ node by Zabbix agent/rabbitmq.node.mem_alarm)=1` |AVERAGE | | |RabbitMQ: Free disk space alarm |

https://www.rabbitmq.com/disk-alarms.html

|`last(/RabbitMQ node by Zabbix agent/rabbitmq.node.disk_free_alarm)=1` |AVERAGE | | -|RabbitMQ: has been restarted |

Uptime is less than 10 minutes

|`last(/RabbitMQ node by Zabbix agent/rabbitmq.node.uptime)<10m` |INFO |

Manual close: YES

| +|RabbitMQ: has been restarted |

Uptime is less than 10 minutes.

|`last(/RabbitMQ node by Zabbix agent/rabbitmq.node.uptime)<10m` |INFO |

Manual close: YES

| |RabbitMQ: Process is not running |

-

|`last(/RabbitMQ node by Zabbix agent/proc.num["{$RABBITMQ.PROCESS_NAME}"])=0` |HIGH | | |RabbitMQ: Service is down |

-

|`last(/RabbitMQ node by Zabbix agent/net.tcp.service["{$RABBITMQ.API.SCHEME}","{$RABBITMQ.API.HOST}","{$RABBITMQ.API.PORT}"])=0` |AVERAGE |

Manual close: YES

**Depends on**:

- RabbitMQ: Process is not running

| |RabbitMQ: Service response time is too high |

-

|`min(/RabbitMQ node by Zabbix agent/net.tcp.service.perf["{$RABBITMQ.API.SCHEME}","{$RABBITMQ.API.HOST}","{$RABBITMQ.API.PORT}"],5m)>{$RABBITMQ.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- RabbitMQ: Process is not running

- RabbitMQ: Service is down

| @@ -280,5 +283,3 @@ There are no template links in this template. Please report any issues with the template at https://support.zabbix.com -You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq). - diff --git a/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml b/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml index 879e25ee456..a6576e76ec5 100644 --- a/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml +++ b/templates/app/rabbitmq_agent/template_app_rabbitmq_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:26Z' - groups: + date: '2022-06-07T19:36:39Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -13,8 +13,6 @@ zabbix_export: description: | Get cluster metrics from RabbitMQ management plugin provided an HTTP-based API using Zabbix agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1099,7 +1097,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: alarms in effect in the cluster{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.CLUSTER_HOST}:{$RABBITMQ.API.PORT}/api/health/checks/alarms{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Responds a 200 OK if there are no alarms in effect in the cluster, otherwise responds with a 503 Service Unavailable.' @@ -1157,8 +1155,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); tags: - @@ -1214,8 +1212,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages' host: 'RabbitMQ cluster by Zabbix agent' + name: 'RabbitMQ: Messages' - type: GRAPH_CLASSIC x: '12' @@ -1230,8 +1228,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Connections' host: 'RabbitMQ cluster by Zabbix agent' + name: 'RabbitMQ: Connections' - type: GRAPH_CLASSIC 'y': '5' @@ -1246,8 +1244,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages status' host: 'RabbitMQ cluster by Zabbix agent' + name: 'RabbitMQ: Messages status' - type: GRAPH_CLASSIC x: '12' @@ -1263,8 +1261,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Queues' host: 'RabbitMQ cluster by Zabbix agent' + name: 'RabbitMQ: Queues' - type: GRAPH_CLASSIC 'y': '10' @@ -1279,8 +1277,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages per second' host: 'RabbitMQ cluster by Zabbix agent' + name: 'RabbitMQ: Messages per second' valuemaps: - uuid: 78275d6daacf42b4b97e3d806dfe81fe @@ -1302,8 +1300,6 @@ zabbix_export: description: | Get node metrics from RabbitMQ management plugin provided an HTTP-based API using Zabbix agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1833,7 +1829,7 @@ zabbix_export: name: 'RabbitMQ: has been restarted' event_name: 'RabbitMQ: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1977,8 +1973,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version < 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: 3c0021a3e57142eb806deb5b47b6700a @@ -1993,7 +1989,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: expiration date on the certificates{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/certificate-expiration/1/months{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Checks the expiration date on the certificates for every listener configured to use TLS. Responds a 200 OK if all certificates are valid (have not expired), otherwise responds with a 503 Service Unavailable.' @@ -2043,7 +2039,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: local alarms in effect on this node{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/local-alarms{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Responds a 200 OK if there are no local alarms in effect on the target node, otherwise responds with a 503 Service Unavailable.' @@ -2093,7 +2089,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: classic mirrored queues without synchronized mirrors online{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/node-is-mirror-sync-critical{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Checks if there are classic mirrored queues without synchronized mirrors online (queues that would potentially lose data if the target node is shut down). Responds a 200 OK if there are no such classic mirrored queues, otherwise responds with a 503 Service Unavailable.' @@ -2143,7 +2139,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: queues with minimum online quorum{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/node-is-quorum-critical{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Checks if there are quorum queues with minimum online quorum (queues that would lose their quorum and availability if the target node is shut down). Responds a 200 OK if there are no such quorum queues, otherwise responds with a 503 Service Unavailable.' @@ -2193,7 +2189,7 @@ zabbix_export: name: 'RabbitMQ: Healthcheck: virtual hosts on this node{#SINGLETON}' key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/health/checks/virtual-hosts{#SINGLETON}"]' history: 7d - authtype: NONE + authtype: BASIC username: '{$RABBITMQ.API.USER}' password: '{$RABBITMQ.API.PASSWORD}' description: 'Responds a 200 OK if all virtual hosts and running on the target node, otherwise responds with a 503 Service Unavailable.' @@ -2250,8 +2246,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: d1d32fc6ae1f445a98144a31214ca825 @@ -2874,15 +2870,15 @@ zabbix_export: master_item: key: 'web.page.get["{$RABBITMQ.API.SCHEME}://{$RABBITMQ.API.USER}:{$RABBITMQ.API.PASSWORD}@{$RABBITMQ.API.HOST}:{$RABBITMQ.API.PORT}/api/queues"]' lld_macro_paths: + - + lld_macro: '{#NODE}' + path: $.node - lld_macro: '{#QUEUE}' path: $.name - lld_macro: '{#VHOST}' path: $.vhost - - - lld_macro: '{#NODE}' - path: $.node tags: - tag: class @@ -2953,8 +2949,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Node status' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: Node status' - type: GRAPH_CLASSIC x: '12' @@ -2969,8 +2965,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Uptime' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: Uptime' - type: GRAPH_CLASSIC 'y': '5' @@ -2985,8 +2981,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Disk free' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: Disk free' - type: GRAPH_CLASSIC x: '12' @@ -3002,8 +2998,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Memory used' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: Memory used' - type: GRAPH_CLASSIC 'y': '10' @@ -3018,8 +3014,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: File descriptors' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: File descriptors' - type: GRAPH_CLASSIC x: '12' @@ -3035,8 +3031,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Sockets' host: 'RabbitMQ node by Zabbix agent' + name: 'RabbitMQ: Sockets' valuemaps: - uuid: ce579def20ac488dbce1ff69baaa8c50 diff --git a/templates/app/rabbitmq_http/README.md b/templates/app/rabbitmq_http/README.md index d2202fda60b..3d206d8c020 100644 --- a/templates/app/rabbitmq_http/README.md +++ b/templates/app/rabbitmq_http/README.md @@ -7,33 +7,34 @@ For Zabbix version: 6.2 and higher The template to monitor RabbitMQ by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. -Template `RabbitMQ Cluster` — collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with HTTP agent remotely. + Template `RabbitMQ Cluster` — collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with HTTP agent remotely. +_setup: | + Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + Create a user to monitor the service: -This template was tested on: - -- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 - -## Setup + ```bash + rabbitmqctl add_user zbx_monitor + rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" + rabbitmqctl set_user_tags zbx_monitor monitoring + ``` -> See [Zabbix template operation](https://www.zabbix.com/documentation/6.2/manual/config/templates_out_of_the_box/http) for basic instructions. + Login and password are also set in macros: -Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + - {$RABBITMQ.API.USER} + - {$RABBITMQ.API.PASSWORD} +_zabbix_forum_url: https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq +_template_type: HTTP -Create a user to monitor the service: -```bash -rabbitmqctl add_user zbx_monitor -rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" -rabbitmqctl set_user_tags zbx_monitor monitoring -``` +This template was tested on: -Login and password are also set in macros: +- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 -- {$RABBITMQ.API.USER} -- {$RABBITMQ.API.PASSWORD} +## Setup +Refer to the vendor documentation. ## Zabbix configuration @@ -120,8 +121,6 @@ There are no template links in this template. Please report any issues with the template at https://support.zabbix.com -You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq). - # RabbitMQ node by HTTP ## Overview @@ -130,31 +129,33 @@ For Zabbix version: 6.2 and higher The template to monitor RabbitMQ by Zabbix that work without any external scripts. Most of the metrics are collected in one go, thanks to Zabbix bulk data collection. -Template `RabbitMQ Node` — (Zabbix version >= 4.2) collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with HTTP agent remotely. + Template `RabbitMQ Node` — (Zabbix version >= 4.2) collects metrics by polling [RabbitMQ management plugin](https://www.rabbitmq.com/management.html) with HTTP agent remotely. +_setup: | + Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + Create a user to monitor the service: -This template was tested on: - -- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 + ```bash + rabbitmqctl add_user zbx_monitor + rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" + rabbitmqctl set_user_tags zbx_monitor monitoring + ``` -## Setup + Login and password are also set in macros: -Enable the RabbitMQ management plugin. See [RabbitMQ's documentation](https://www.rabbitmq.com/management.html) to enable it. + - {$RABBITMQ.API.USER} + - {$RABBITMQ.API.PASSWORD} +_zabbix_forum_url: https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq -Create a user to monitor the service: -```bash -rabbitmqctl add_user zbx_monitor -rabbitmqctl set_permissions -p / zbx_monitor "" "" ".*" -rabbitmqctl set_user_tags zbx_monitor monitoring -``` +This template was tested on: -Login and password are also set in macros: +- RabbitMQ, version 3.5.7, 3.7.17, 3.7.18, 3.7.7, 3.8.5, 3.8.12 -- {$RABBITMQ.API.USER} -- {$RABBITMQ.API.PASSWORD} +## Setup +Refer to the vendor documentation. ## Zabbix configuration @@ -244,7 +245,7 @@ There are no template links in this template. |RabbitMQ: Node is not running |

RabbitMQ node is not running

|`max(/RabbitMQ node by HTTP/rabbitmq.node.running,5m)=0` |AVERAGE |

**Depends on**:

- RabbitMQ: Service is down

| |RabbitMQ: Memory alarm |

https://www.rabbitmq.com/memory.html

|`last(/RabbitMQ node by HTTP/rabbitmq.node.mem_alarm)=1` |AVERAGE | | |RabbitMQ: Free disk space alarm |

https://www.rabbitmq.com/disk-alarms.html

|`last(/RabbitMQ node by HTTP/rabbitmq.node.disk_free_alarm)=1` |AVERAGE | | -|RabbitMQ: has been restarted |

Uptime is less than 10 minutes

|`last(/RabbitMQ node by HTTP/rabbitmq.node.uptime)<10m` |INFO |

Manual close: YES

| +|RabbitMQ: has been restarted |

Uptime is less than 10 minutes.

|`last(/RabbitMQ node by HTTP/rabbitmq.node.uptime)<10m` |INFO |

Manual close: YES

| |RabbitMQ: Service is down |

-

|`last(/RabbitMQ node by HTTP/net.tcp.service["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"])=0` |AVERAGE |

Manual close: YES

| |RabbitMQ: Service response time is too high |

-

|`min(/RabbitMQ node by HTTP/net.tcp.service.perf["{$RABBITMQ.API.SCHEME}","{HOST.CONN}","{$RABBITMQ.API.PORT}"],5m)>{$RABBITMQ.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- RabbitMQ: Service is down

| |RabbitMQ: There are active alarms in the node |

http://{HOST.CONN}:{$RABBITMQ.API.PORT}/api/index.html

|`last(/RabbitMQ node by HTTP/rabbitmq.healthcheck.local_alarms[{#SINGLETON}])=0` |AVERAGE | | @@ -260,5 +261,3 @@ There are no template links in this template. Please report any issues with the template at https://support.zabbix.com -You can also provide feedback, discuss the template or ask for help with it at [ZABBIX forums](https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq). - diff --git a/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml b/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml index 21ca1a1ffc9..2301f7a8f15 100644 --- a/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml +++ b/templates/app/rabbitmq_http/template_app_rabbitmq_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:27Z' - groups: + date: '2022-06-07T19:36:40Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -13,8 +13,6 @@ zabbix_export: description: | Get cluster metrics from RabbitMQ management plugin provided an HTTP-based API using HTTP agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1156,8 +1154,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); tags: - @@ -1209,8 +1207,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages' - type: GRAPH_CLASSIC x: '12' @@ -1225,8 +1223,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Connections' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Connections' - type: GRAPH_CLASSIC 'y': '5' @@ -1241,8 +1239,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages status' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages status' - type: GRAPH_CLASSIC x: '12' @@ -1258,8 +1256,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Queues' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Queues' - type: GRAPH_CLASSIC 'y': '10' @@ -1274,8 +1272,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Messages per second' host: 'RabbitMQ cluster by HTTP' + name: 'RabbitMQ: Messages per second' valuemaps: - uuid: 3380e05a15774dad92e77c983448698b @@ -1297,8 +1295,6 @@ zabbix_export: description: | Get node metrics from RabbitMQ management plugin provided an HTTP-based API using HTTP agent. - You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/387226-discussion-thread-for-official-zabbix-template-rabbitmq - Template tooling version used: 0.41 groups: - @@ -1835,7 +1831,7 @@ zabbix_export: name: 'RabbitMQ: has been restarted' event_name: 'RabbitMQ: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1905,8 +1901,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version < 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: ab89d103c015400fbbeecaaf9bf01400 @@ -2188,8 +2184,8 @@ zabbix_export: parameters: - | var rabbit_version = parseInt(value.split('.')[0]) * 10000 + - parseInt(value.split('.')[1]) * 100 + - parseInt(value.split('.')[2]) + parseInt(value.split('.')[1]) * 100 + + parseInt(value.split('.')[2]) return JSON.stringify(rabbit_version >= 30810 ? [{'{#SINGLETON}': ''}] : []); - uuid: cc1d85b6045b44b38f588cd9a4c6c62d @@ -2812,15 +2808,15 @@ zabbix_export: master_item: key: rabbitmq.get_queues lld_macro_paths: + - + lld_macro: '{#NODE}' + path: $.node - lld_macro: '{#QUEUE}' path: $.name - lld_macro: '{#VHOST}' path: $.vhost - - - lld_macro: '{#NODE}' - path: $.node tags: - tag: class @@ -2883,8 +2879,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Node status' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Node status' - type: GRAPH_CLASSIC x: '12' @@ -2899,8 +2895,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Uptime' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Uptime' - type: GRAPH_CLASSIC 'y': '5' @@ -2915,8 +2911,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Disk free' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Disk free' - type: GRAPH_CLASSIC x: '12' @@ -2932,8 +2928,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Memory used' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Memory used' - type: GRAPH_CLASSIC 'y': '10' @@ -2948,8 +2944,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: File descriptors' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: File descriptors' - type: GRAPH_CLASSIC x: '12' @@ -2965,8 +2961,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'RabbitMQ: Sockets' host: 'RabbitMQ node by HTTP' + name: 'RabbitMQ: Sockets' valuemaps: - uuid: e65c3d3e8ea443a281b37c51ca461c26 diff --git a/templates/app/sharepoint_http/template_app_sharepoint_http.yaml b/templates/app/sharepoint_http/template_app_sharepoint_http.yaml index e06c6c04021..5fd8188bcac 100644 --- a/templates/app/sharepoint_http/template_app_sharepoint_http.yaml +++ b/templates/app/sharepoint_http/template_app_sharepoint_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:10Z' - groups: + date: '2022-06-07T19:36:28Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -143,15 +143,15 @@ zabbix_export: - name: root value: '{$SHAREPOINT.ROOT}' - - - name: password - value: '{$SHAREPOINT.PASSWORD}' - name: url value: '{$SHAREPOINT.URL}' - name: user value: '{$SHAREPOINT.USER}' + - + name: password + value: '{$SHAREPOINT.PASSWORD}' tags: - tag: component diff --git a/templates/app/smtp_service/template_app_smtp_service.yaml b/templates/app/smtp_service/template_app_smtp_service.yaml index e49c50d0802..ce9eab54a2f 100644 --- a/templates/app/smtp_service/template_app_smtp_service.yaml +++ b/templates/app/smtp_service/template_app_smtp_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:33Z' - groups: + date: '2022-06-07T19:36:43Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/squid_snmp/README.md b/templates/app/squid_snmp/README.md index 89f955f8352..83c1699cbaf 100644 --- a/templates/app/squid_snmp/README.md +++ b/templates/app/squid_snmp/README.md @@ -117,7 +117,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |Squid: Port {$SQUID.HTTP.PORT} is down |

-

|`last(/Squid SNMP/net.tcp.service[tcp,,{$SQUID.HTTP.PORT}])=0` |AVERAGE |

Manual close: YES

| -|Squid: Squid has been restarted |

Uptime is less than 10 minutes

|`last(/Squid SNMP/squid[cacheUptime])<10m` |INFO |

Manual close: YES

| +|Squid: Squid has been restarted |

Uptime is less than 10 minutes.

|`last(/Squid SNMP/squid[cacheUptime])<10m` |INFO |

Manual close: YES

| |Squid: Squid version has been changed |

Squid version has changed. Ack to close.

|`last(/Squid SNMP/squid[cacheVersionId],#1)<>last(/Squid SNMP/squid[cacheVersionId],#2) and length(last(/Squid SNMP/squid[cacheVersionId]))>0` |INFO |

Manual close: YES

| |Squid: Swap usage is more than low watermark |

-

|`last(/Squid SNMP/squid[cacheCurrentSwapSize])>last(/Squid SNMP/squid[cacheSwapLowWM])*last(/Squid SNMP/squid[cacheSwapMaxSize])/100` |WARNING | | |Squid: Swap usage is more than high watermark |

-

|`last(/Squid SNMP/squid[cacheCurrentSwapSize])>last(/Squid SNMP/squid[cacheSwapHighWM])*last(/Squid SNMP/squid[cacheSwapMaxSize])/100` |HIGH | | diff --git a/templates/app/squid_snmp/template_app_squid_snmp.yaml b/templates/app/squid_snmp/template_app_squid_snmp.yaml index d0cd5ed21f7..38c1bee2cdd 100644 --- a/templates/app/squid_snmp/template_app_squid_snmp.yaml +++ b/templates/app/squid_snmp/template_app_squid_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:36Z' - groups: + date: '2022-06-07T19:36:45Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -1057,7 +1057,7 @@ zabbix_export: name: 'Squid: Squid has been restarted' event_name: 'Squid: Squid has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/ssh_service/template_app_ssh_service.yaml b/templates/app/ssh_service/template_app_ssh_service.yaml index 6a91d597b04..d478b23f987 100644 --- a/templates/app/ssh_service/template_app_ssh_service.yaml +++ b/templates/app/ssh_service/template_app_ssh_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:34Z' - groups: + date: '2022-06-07T19:36:43Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/systemd/README.md b/templates/app/systemd/README.md index 16aa29eadbd..2e534c2c4ec 100644 --- a/templates/app/systemd/README.md +++ b/templates/app/systemd/README.md @@ -73,7 +73,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |{#UNIT.NAME}: Service is not running |

-

|`last(/Systemd by Zabbix agent 2/systemd.service.active_state["{#UNIT.NAME}"])<>1` |WARNING |

Manual close: YES

| -|{#UNIT.NAME}: has been restarted |

Uptime is less than 10 minutes

|`last(/Systemd by Zabbix agent 2/systemd.service.uptime["{#UNIT.NAME}"])<10m` |INFO |

Manual close: YES

| +|{#UNIT.NAME}: has been restarted |

Uptime is less than 10 minutes.

|`last(/Systemd by Zabbix agent 2/systemd.service.uptime["{#UNIT.NAME}"])<10m` |INFO |

Manual close: YES

| ## Feedback diff --git a/templates/app/systemd/template_app_systemd.yaml b/templates/app/systemd/template_app_systemd.yaml index 618fb52733a..9c37bfea8c9 100644 --- a/templates/app/systemd/template_app_systemd.yaml +++ b/templates/app/systemd/template_app_systemd.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:37Z' - groups: + date: '2022-06-07T19:36:45Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -178,7 +178,7 @@ zabbix_export: name: '{#UNIT.NAME}: has been restarted' event_name: '{#UNIT.NAME}: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/telnet_service/template_app_telnet_service.yaml b/templates/app/telnet_service/template_app_telnet_service.yaml index 69b00736102..d3a181dca9c 100644 --- a/templates/app/telnet_service/template_app_telnet_service.yaml +++ b/templates/app/telnet_service/template_app_telnet_service.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:34Z' - groups: + date: '2022-06-07T19:36:44Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/app/tomcat_jmx/template_app_tomcat_jmx.yaml b/templates/app/tomcat_jmx/template_app_tomcat_jmx.yaml index 519e2eac807..4002648a1bf 100644 --- a/templates/app/tomcat_jmx/template_app_tomcat_jmx.yaml +++ b/templates/app/tomcat_jmx/template_app_tomcat_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:19Z' - groups: + date: '2022-06-07T19:37:42Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/travis_ci_http/template_app_travis_ci_http.yaml b/templates/app/travis_ci_http/template_app_travis_ci_http.yaml index 41c89b20e4d..c666672f630 100644 --- a/templates/app/travis_ci_http/template_app_travis_ci_http.yaml +++ b/templates/app/travis_ci_http/template_app_travis_ci_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:20Z' - groups: + date: '2022-06-07T19:37:43Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/truenas_snmp/template_app_truenas_snmp.yaml b/templates/app/truenas_snmp/template_app_truenas_snmp.yaml index 1e56d445a81..c4cf549481c 100644 --- a/templates/app/truenas_snmp/template_app_truenas_snmp.yaml +++ b/templates/app/truenas_snmp/template_app_truenas_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-13T22:05:41Z' - groups: + date: '2022-06-07T19:37:43Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications diff --git a/templates/app/vault_http/README.md b/templates/app/vault_http/README.md index ec270b87370..72ac9a10294 100644 --- a/templates/app/vault_http/README.md +++ b/templates/app/vault_http/README.md @@ -178,7 +178,7 @@ There are no template links in this template. |Vault: Vault server is not responding |

-

|`last(/HashiCorp Vault by HTTP/vault.health.check)=0` |HIGH | | |Vault: Failed to get metrics |

-

|`length(last(/HashiCorp Vault by HTTP/vault.get_metrics.error))>0` |WARNING |

**Depends on**:

- Vault: Vault server is sealed

| |Vault: Current number of open files is too high |

-

|`min(/HashiCorp Vault by HTTP/vault.metrics.process.open.fds,5m)/last(/HashiCorp Vault by HTTP/vault.metrics.process.max.fds)*100>{$VAULT.OPEN.FDS.MAX.WARN}` |WARNING | | -|Vault: has been restarted |

Uptime is less than 10 minutes

|`last(/HashiCorp Vault by HTTP/vault.metrics.process.uptime)<10m` |INFO |

Manual close: YES

| +|Vault: has been restarted |

Uptime is less than 10 minutes.

|`last(/HashiCorp Vault by HTTP/vault.metrics.process.uptime)<10m` |INFO |

Manual close: YES

| |Vault: High frequency of leadership setup failures |

There have been more than {$VAULT.LEADERSHIP.SETUP.FAILED.MAX.WARN} Vault leadership setup failures in the past 1h.

|`(max(/HashiCorp Vault by HTTP/vault.metrics.core.leadership.setup_failed,1h)-min(/HashiCorp Vault by HTTP/vault.metrics.core.leadership.setup_failed,1h))>{$VAULT.LEADERSHIP.SETUP.FAILED.MAX.WARN}` |AVERAGE | | |Vault: High frequency of leadership losses |

There have been more than {$VAULT.LEADERSHIP.LOSSES.MAX.WARN} Vault leadership losses in the past 1h.

|`(max(/HashiCorp Vault by HTTP/vault.metrics.core.leadership_lost,1h)-min(/HashiCorp Vault by HTTP/vault.metrics.core.leadership_lost,1h))>{$VAULT.LEADERSHIP.LOSSES.MAX.WARN}` |AVERAGE | | |Vault: High frequency of leadership step downs |

There have been more than {$VAULT.LEADERSHIP.STEPDOWNS.MAX.WARN} Vault leadership step downs in the past 1h.

|`(max(/HashiCorp Vault by HTTP/vault.metrics.core.step_down,1h)-min(/HashiCorp Vault by HTTP/vault.metrics.core.step_down,1h))>{$VAULT.LEADERSHIP.STEPDOWNS.MAX.WARN}` |AVERAGE | | diff --git a/templates/app/vault_http/template_app_vault_http.yaml b/templates/app/vault_http/template_app_vault_http.yaml index 558670f3d26..f8120d2adc1 100644 --- a/templates/app/vault_http/template_app_vault_http.yaml +++ b/templates/app/vault_http/template_app_vault_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:35Z' - groups: + date: '2022-06-07T19:37:52Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -1829,7 +1829,7 @@ zabbix_export: name: 'Vault: has been restarted' event_name: 'Vault: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/vmware/README.md b/templates/app/vmware/README.md index 8b6b59e411d..6d857f3be81 100644 --- a/templates/app/vmware/README.md +++ b/templates/app/vmware/README.md @@ -159,7 +159,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| -|VMware: VM has been restarted |

Uptime is less than 10 minutes

|`last(/VMware Guest/vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}])<10m` |WARNING |

Manual close: YES

| +|VMware: VM has been restarted |

Uptime is less than 10 minutes.

|`last(/VMware Guest/vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}])<10m` |WARNING |

Manual close: YES

| ## Feedback @@ -242,7 +242,7 @@ There are no template links in this template. |VMware: Hypervisor is down |

The service is unavailable or does not accept ICMP ping.

|`last(/VMware Hypervisor/icmpping[])=0` |AVERAGE |

Manual close: YES

| |VMware: The {$VMWARE.HV.UUID} health is Red |

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

|`last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3` |HIGH | | |VMware: The {$VMWARE.HV.UUID} health is Yellow |

One or more components in the appliance might become overloaded soon.

|`last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2` |AVERAGE |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

| -|VMware: Hypervisor has been restarted |

Uptime is less than 10 minutes

|`last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m` |WARNING |

Manual close: YES

| +|VMware: Hypervisor has been restarted |

Uptime is less than 10 minutes.

|`last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m` |WARNING |

Manual close: YES

| |VMware: The multipath count has been changed |

The number of available datastore paths less than registered ({#MULTIPATH.COUNT}).

|`last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#1)<>last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#2) and last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}])<{#MULTIPATH.COUNT}` |AVERAGE |

Manual close: YES

| |VMware: The {$VMWARE.HV.UUID} health is Red |

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

|`last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Red"` |HIGH |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

| |VMware: The {$VMWARE.HV.UUID} health is Yellow |

One or more components in the appliance might become overloaded soon.

|`last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Yellow"` |AVERAGE |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

- VMware: The {$VMWARE.HV.UUID} health is Red

- VMware: The {$VMWARE.HV.UUID} health is Yellow

| diff --git a/templates/app/vmware/template_app_vmware.yaml b/templates/app/vmware/template_app_vmware.yaml index 67b23dc90ad..504168f3b98 100644 --- a/templates/app/vmware/template_app_vmware.yaml +++ b/templates/app/vmware/template_app_vmware.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:38Z' - groups: + date: '2022-06-07T19:37:53Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications + host_groups: + - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 + name: Applications templates: - uuid: 56079badd056419383cc26e6a4fcc7e0 @@ -28,7 +32,7 @@ zabbix_export: value_type: LOG username: '{$VMWARE.USERNAME}' password: '{$VMWARE.PASSWORD}' - description: 'Collect VMware event log. See also: https://www.zabbix.com/documentation/6.0/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records' + description: 'Collect VMware event log. See also: https://www.zabbix.com/documentation/6.2/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records' tags: - tag: component @@ -199,7 +203,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: '{#CLUSTER.NAME}' @@ -234,7 +238,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: '{#CLUSTER.NAME} (vm)' @@ -480,7 +484,7 @@ zabbix_export: name: 'VMware: VM has been restarted' event_name: 'VMware: VM has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1537,7 +1541,7 @@ zabbix_export: name: 'VMware: Hypervisor has been restarted' event_name: 'VMware: Hypervisor has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/vmware_fqdn/README.md b/templates/app/vmware_fqdn/README.md index 9b8cd0e1f3c..217af6d60a2 100644 --- a/templates/app/vmware_fqdn/README.md +++ b/templates/app/vmware_fqdn/README.md @@ -159,7 +159,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| -|VMware: VM has been restarted |

Uptime is less than 10 minutes

|`last(/VMware Guest/vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}])<10m` |WARNING |

Manual close: YES

| +|VMware: VM has been restarted |

Uptime is less than 10 minutes.

|`last(/VMware Guest/vmware.vm.guest.osuptime[{$VMWARE.URL},{$VMWARE.VM.UUID}])<10m` |WARNING |

Manual close: YES

| ## Feedback @@ -242,7 +242,7 @@ There are no template links in this template. |VMware: Hypervisor is down |

The service is unavailable or does not accept ICMP ping.

|`last(/VMware Hypervisor/icmpping[])=0` |AVERAGE |

Manual close: YES

| |VMware: The {$VMWARE.HV.UUID} health is Red |

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

|`last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=3` |HIGH | | |VMware: The {$VMWARE.HV.UUID} health is Yellow |

One or more components in the appliance might become overloaded soon.

|`last(/VMware Hypervisor/vmware.hv.status[{$VMWARE.URL},{$VMWARE.HV.UUID}])=2` |AVERAGE |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

| -|VMware: Hypervisor has been restarted |

Uptime is less than 10 minutes

|`last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m` |WARNING |

Manual close: YES

| +|VMware: Hypervisor has been restarted |

Uptime is less than 10 minutes.

|`last(/VMware Hypervisor/vmware.hv.uptime[{$VMWARE.URL},{$VMWARE.HV.UUID}])<10m` |WARNING |

Manual close: YES

| |VMware: The multipath count has been changed |

The number of available datastore paths less than registered ({#MULTIPATH.COUNT}).

|`last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#1)<>last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}],#2) and last(/VMware Hypervisor/vmware.hv.datastore.multipath[{$VMWARE.URL},{$VMWARE.HV.UUID},{#DATASTORE}])<{#MULTIPATH.COUNT}` |AVERAGE |

Manual close: YES

| |VMware: The {$VMWARE.HV.UUID} health is Red |

One or more components in the appliance might be in an unusable status and the appliance might become unresponsive soon. Security patches might be available.

|`last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Red"` |HIGH |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

| |VMware: The {$VMWARE.HV.UUID} health is Yellow |

One or more components in the appliance might become overloaded soon.

|`last(/VMware Hypervisor/vmware.hv.sensor.health.state[{#SINGLETON}])="Yellow"` |AVERAGE |

**Depends on**:

- VMware: The {$VMWARE.HV.UUID} health is Red

- VMware: The {$VMWARE.HV.UUID} health is Red

- VMware: The {$VMWARE.HV.UUID} health is Yellow

| diff --git a/templates/app/vmware_fqdn/template_app_vmware_fqdn.yaml b/templates/app/vmware_fqdn/template_app_vmware_fqdn.yaml index 96472f24b0c..91ad7da76eb 100644 --- a/templates/app/vmware_fqdn/template_app_vmware_fqdn.yaml +++ b/templates/app/vmware_fqdn/template_app_vmware_fqdn.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:39Z' - groups: + date: '2022-06-07T19:37:54Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications + host_groups: + - + uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 + name: Applications templates: - uuid: ca02e82e6c414d0aa7aedc8d78468a49 @@ -28,7 +32,7 @@ zabbix_export: value_type: LOG username: '{$VMWARE.USERNAME}' password: '{$VMWARE.PASSWORD}' - description: 'Collect VMware event log. See also: https://www.zabbix.com/documentation/6.0/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records' + description: 'Collect VMware event log. See also: https://www.zabbix.com/documentation/6.2/manual/config/items/preprocessing/examples#filtering_vmware_event_log_records' tags: - tag: component @@ -199,7 +203,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: '{#CLUSTER.NAME}' @@ -242,7 +246,7 @@ zabbix_export: group_links: - group: - name: Templates/Applications + name: Applications group_prototypes: - name: '{#CLUSTER.NAME} (vm)' @@ -491,7 +495,7 @@ zabbix_export: name: 'VMware: VM has been restarted' event_name: 'VMware: VM has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1548,7 +1552,7 @@ zabbix_export: name: 'VMware: Hypervisor has been restarted' event_name: 'VMware: Hypervisor has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/wildfly_domain_jmx/README.md b/templates/app/wildfly_domain_jmx/README.md index 99cc3002455..508d1e52ef6 100644 --- a/templates/app/wildfly_domain_jmx/README.md +++ b/templates/app/wildfly_domain_jmx/README.md @@ -73,7 +73,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |WildFly: Version has changed |

WildFly version has changed. Ack to close.

|`last(/WildFly Domain by JMX/jmx["jboss.as:management-root=server","productVersion"],#1)<>last(/WildFly Domain by JMX/jmx["jboss.as:management-root=server","productVersion"],#2) and length(last(/WildFly Domain by JMX/jmx["jboss.as:management-root=server","productVersion"]))>0` |INFO |

Manual close: YES

| -|WildFly: has been restarted |

Uptime is less than 10 minutes

|`last(/WildFly Domain by JMX/jmx["java.lang:type=Runtime","Uptime"])<10m` |INFO |

Manual close: YES

| +|WildFly: has been restarted |

Uptime is less than 10 minutes.

|`last(/WildFly Domain by JMX/jmx["java.lang:type=Runtime","Uptime"])<10m` |INFO |

Manual close: YES

| |WildFly domain: Server {#SERVER}: Server status has changed |

Server status has changed. Ack to close.

|`last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",status],#1)<>last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",status],#2) and length(last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",status]))>0` |WARNING |

Manual close: YES

| |WildFly domain: Server {#SERVER}: Server group has changed |

Server group has changed. Ack to close.

|`last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",group],#1)<>last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",group],#2) and length(last(/WildFly Domain by JMX/jmx["{#JMXOBJ}",group]))>0` |INFO |

Manual close: YES

| diff --git a/templates/app/wildfly_domain_jmx/template_app_wildfly_domain_jmx.yaml b/templates/app/wildfly_domain_jmx/template_app_wildfly_domain_jmx.yaml index aadf93cae24..825e6ba4bdd 100644 --- a/templates/app/wildfly_domain_jmx/template_app_wildfly_domain_jmx.yaml +++ b/templates/app/wildfly_domain_jmx/template_app_wildfly_domain_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:39Z' - groups: + date: '2022-06-07T19:37:54Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -50,7 +50,7 @@ zabbix_export: name: 'WildFly: has been restarted' event_name: 'WildFly: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/wildfly_server_jmx/README.md b/templates/app/wildfly_server_jmx/README.md index 4ab6d9ad514..05f3170bd91 100644 --- a/templates/app/wildfly_server_jmx/README.md +++ b/templates/app/wildfly_server_jmx/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |WildFly: Server needs to restart for configuration change. |

-

|`find(/WildFly Server by JMX/jmx["jboss.as:management-root=server","runtimeConfigurationState"],,"like","ok")=0` |WARNING | | |WildFly: Server controller is not in RUNNING state |

-

|`find(/WildFly Server by JMX/jmx["jboss.as:management-root=server","serverState"],,"like","running")=0` |WARNING |

**Depends on**:

- WildFly: Server needs to restart for configuration change.

| |WildFly: Version has changed |

WildFly version has changed. Ack to close.

|`last(/WildFly Server by JMX/jmx["jboss.as:management-root=server","productVersion"],#1)<>last(/WildFly Server by JMX/jmx["jboss.as:management-root=server","productVersion"],#2) and length(last(/WildFly Server by JMX/jmx["jboss.as:management-root=server","productVersion"]))>0` |INFO |

Manual close: YES

| -|WildFly: has been restarted |

Uptime is less than 10 minutes

|`last(/WildFly Server by JMX/jmx["java.lang:type=Runtime","Uptime"])<10m` |INFO |

Manual close: YES

| +|WildFly: has been restarted |

Uptime is less than 10 minutes.

|`last(/WildFly Server by JMX/jmx["java.lang:type=Runtime","Uptime"])<10m` |INFO |

Manual close: YES

| |WildFly: Failed to fetch info data |

Zabbix has not received data for items for the last 15 minutes

|`nodata(/WildFly Server by JMX/jmx["java.lang:type=Runtime","Uptime"],15m)=1` |WARNING | | |WildFly deployment [{#DEPLOYMENT}]: Deployment status has changed |

Deployment status has changed. Ack to close.

|`last(/WildFly Server by JMX/jmx["{#JMXOBJ}",status],#1)<>last(/WildFly Server by JMX/jmx["{#JMXOBJ}",status],#2) and length(last(/WildFly Server by JMX/jmx["{#JMXOBJ}",status]))>0` |WARNING |

Manual close: YES

| |WildFly {#JMX_DATA_SOURCE}: JDBC monitoring statistic is not enabled |

-

|`last(/WildFly Server by JMX/jmx["{#JMXOBJ}",statisticsEnabled])=0` |INFO | | diff --git a/templates/app/wildfly_server_jmx/template_app_wildfly_server_jmx.yaml b/templates/app/wildfly_server_jmx/template_app_wildfly_server_jmx.yaml index 7dbd0bce7ad..d914f2db55e 100644 --- a/templates/app/wildfly_server_jmx/template_app_wildfly_server_jmx.yaml +++ b/templates/app/wildfly_server_jmx/template_app_wildfly_server_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:40Z' - groups: + date: '2022-06-07T19:37:55Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -61,7 +61,7 @@ zabbix_export: name: 'WildFly: has been restarted' event_name: 'WildFly: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/app/zabbix_proxy/README.md b/templates/app/zabbix_proxy/README.md index c6838b5f118..5ccc17e5623 100644 --- a/templates/app/zabbix_proxy/README.md +++ b/templates/app/zabbix_proxy/README.md @@ -106,7 +106,7 @@ There are no template links in this template. |Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the vmware cache |

Consider increasing VMwareCacheSize in the zabbix_proxy.conf configuration file.

|`max(/Zabbix proxy health/zabbix[vmware,buffer,pused],10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | |Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the history cache |

Consider increasing HistoryCacheSize in the zabbix_proxy.conf configuration file.

|`max(/Zabbix proxy health/zabbix[wcache,history,pused],10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | |Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the history index cache |

Consider increasing HistoryIndexCacheSize in the zabbix_proxy.conf configuration file.

|`max(/Zabbix proxy health/zabbix[wcache,index,pused],10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | -|Zabbix proxy: has been restarted |

Uptime is less than 10 minutes

|`last(/Zabbix proxy health/zabbix[uptime])<10m` |INFO |

Manual close: YES

| +|Zabbix proxy: has been restarted |

Uptime is less than 10 minutes.

|`last(/Zabbix proxy health/zabbix[uptime])<10m` |INFO |

Manual close: YES

| ## Feedback diff --git a/templates/app/zabbix_proxy/template_app_zabbix_proxy.yaml b/templates/app/zabbix_proxy/template_app_zabbix_proxy.yaml index df641d34ddd..6ed5b8dc1ba 100644 --- a/templates/app/zabbix_proxy/template_app_zabbix_proxy.yaml +++ b/templates/app/zabbix_proxy/template_app_zabbix_proxy.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:48Z' - groups: + date: '2022-06-07T19:37:59Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -726,7 +726,7 @@ zabbix_export: name: 'Zabbix proxy: has been restarted' event_name: 'Zabbix proxy: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1020,8 +1020,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix proxy: Zabbix proxy performance' host: 'Zabbix proxy health' + name: 'Zabbix proxy: Zabbix proxy performance' - type: GRAPH_CLASSIC x: '12' @@ -1036,8 +1036,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix proxy: Zabbix data gathering process busy %' host: 'Zabbix proxy health' + name: 'Zabbix proxy: Zabbix data gathering process busy %' - type: GRAPH_CLASSIC 'y': '5' @@ -1052,8 +1052,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix proxy: Zabbix internal process busy %' host: 'Zabbix proxy health' + name: 'Zabbix proxy: Zabbix internal process busy %' - type: GRAPH_CLASSIC x: '12' @@ -1069,8 +1069,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix proxy: Zabbix cache usage, % used' host: 'Zabbix proxy health' + name: 'Zabbix proxy: Zabbix cache usage, % used' graphs: - uuid: 40b649050cb8420888abcae129eafe27 diff --git a/templates/app/zabbix_proxy_remote/README.md b/templates/app/zabbix_proxy_remote/README.md index 989812a170b..3506d3f91c5 100644 --- a/templates/app/zabbix_proxy_remote/README.md +++ b/templates/app/zabbix_proxy_remote/README.md @@ -108,7 +108,7 @@ There are no template links in this template. |Remote Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the vmware cache |

Consider increasing VMwareCacheSize in the zabbix_server.conf configuration file.

|`max(/Remote Zabbix proxy health/vmware.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | |Remote Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the history cache |

Consider increasing HistoryCacheSize in the zabbix_server.conf configuration file.

|`max(/Remote Zabbix proxy health/wcache.history.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | |Remote Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX}% used in the history index cache |

Consider increasing HistoryIndexCacheSize in the zabbix_server.conf configuration file.

|`max(/Remote Zabbix proxy health/wcache.index.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX}` |AVERAGE | | -|Remote Zabbix proxy: has been restarted |

Uptime is less than 10 minutes

|`last(/Remote Zabbix proxy health/uptime)<10m` |INFO |

Manual close: YES

| +|Remote Zabbix proxy: has been restarted |

Uptime is less than 10 minutes.

|`last(/Remote Zabbix proxy health/uptime)<10m` |INFO |

Manual close: YES

| ## Feedback diff --git a/templates/app/zabbix_proxy_remote/template_app_zabbix_proxy_remote.yaml b/templates/app/zabbix_proxy_remote/template_app_zabbix_proxy_remote.yaml index 9764c471998..440bc166670 100644 --- a/templates/app/zabbix_proxy_remote/template_app_zabbix_proxy_remote.yaml +++ b/templates/app/zabbix_proxy_remote/template_app_zabbix_proxy_remote.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:49Z' - groups: + date: '2022-06-07T19:38:00Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -942,7 +942,7 @@ zabbix_export: name: 'Remote Zabbix proxy: has been restarted' event_name: 'Remote Zabbix proxy: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -1382,8 +1382,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix proxy: Zabbix proxy performance' host: 'Remote Zabbix proxy health' + name: 'Remote Zabbix proxy: Zabbix proxy performance' - type: GRAPH_CLASSIC x: '12' @@ -1398,8 +1398,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix proxy: Zabbix data gathering process busy %' host: 'Remote Zabbix proxy health' + name: 'Remote Zabbix proxy: Zabbix data gathering process busy %' - type: GRAPH_CLASSIC 'y': '5' @@ -1414,8 +1414,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix proxy: Zabbix internal process busy %' host: 'Remote Zabbix proxy health' + name: 'Remote Zabbix proxy: Zabbix internal process busy %' - type: GRAPH_CLASSIC x: '12' @@ -1431,8 +1431,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix proxy: Zabbix cache usage, % used' host: 'Remote Zabbix proxy health' + name: 'Remote Zabbix proxy: Zabbix cache usage, % used' graphs: - uuid: 4cc55dd64cab48cc92fbde98135d7f7f diff --git a/templates/app/zabbix_server/template_app_zabbix_server.yaml b/templates/app/zabbix_server/template_app_zabbix_server.yaml index c975a02c341..51b7140fb22 100644 --- a/templates/app/zabbix_server/template_app_zabbix_server.yaml +++ b/templates/app/zabbix_server/template_app_zabbix_server.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:50Z' - groups: + date: '2022-06-07T19:38:01Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -1537,8 +1537,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Zabbix server performance' host: 'Zabbix server health' + name: 'Zabbix server: Zabbix server performance' - type: GRAPH_CLASSIC x: '12' @@ -1553,8 +1553,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Zabbix data gathering process busy %' host: 'Zabbix server health' + name: 'Zabbix server: Zabbix data gathering process busy %' - type: GRAPH_CLASSIC 'y': '5' @@ -1569,8 +1569,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Zabbix internal process busy %' host: 'Zabbix server health' + name: 'Zabbix server: Zabbix internal process busy %' - type: GRAPH_CLASSIC x: '12' @@ -1586,8 +1586,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Zabbix cache usage, % free' host: 'Zabbix server health' + name: 'Zabbix server: Zabbix cache usage, % free' - type: GRAPH_CLASSIC 'y': '10' @@ -1602,8 +1602,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Value cache effectiveness' host: 'Zabbix server health' + name: 'Zabbix server: Value cache effectiveness' - type: GRAPH_CLASSIC x: '12' @@ -1619,8 +1619,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Zabbix internal queues' host: 'Zabbix server health' + name: 'Zabbix server: Zabbix internal queues' - uuid: 32994a87287449eab12bed911880ef13 name: 'Zabbix server processes' @@ -1640,8 +1640,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Data handling processes' host: 'Zabbix server health' + name: 'Zabbix server: Data handling processes' - type: GRAPH_CLASSIC x: '12' @@ -1656,8 +1656,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Reporting processes' host: 'Zabbix server health' + name: 'Zabbix server: Reporting processes' - type: GRAPH_CLASSIC 'y': '5' @@ -1672,8 +1672,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Internal processes' host: 'Zabbix server health' + name: 'Zabbix server: Internal processes' - type: GRAPH_CLASSIC x: '12' @@ -1689,8 +1689,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Zabbix server: Data gathering processes' host: 'Zabbix server health' + name: 'Zabbix server: Data gathering processes' valuemaps: - uuid: cee1681b12ff49b6b7d442a851e870b4 diff --git a/templates/app/zabbix_server_remote/template_app_zabbix_server_remote.yaml b/templates/app/zabbix_server_remote/template_app_zabbix_server_remote.yaml index 3723d36b713..da2da03d809 100644 --- a/templates/app/zabbix_server_remote/template_app_zabbix_server_remote.yaml +++ b/templates/app/zabbix_server_remote/template_app_zabbix_server_remote.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:51Z' - groups: + date: '2022-06-07T19:38:01Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -2058,8 +2058,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Zabbix server performance' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Zabbix server performance' - type: GRAPH_CLASSIC x: '12' @@ -2074,8 +2074,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Zabbix data gathering process busy %' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Zabbix data gathering process busy %' - type: GRAPH_CLASSIC 'y': '5' @@ -2090,8 +2090,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Zabbix internal process busy %' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Zabbix internal process busy %' - type: GRAPH_CLASSIC x: '12' @@ -2107,8 +2107,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Zabbix cache usage, % free' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Zabbix cache usage, % free' - type: GRAPH_CLASSIC 'y': '10' @@ -2123,8 +2123,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Value cache effectiveness' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Value cache effectiveness' - type: GRAPH_CLASSIC x: '12' @@ -2140,8 +2140,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Zabbix internal queues' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Zabbix internal queues' - uuid: 6b2f06c17f804d97b3ff5a2fb4cae3a0 name: 'Zabbix server processes' @@ -2161,8 +2161,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Data handling processes' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Data handling processes' - type: GRAPH_CLASSIC x: '12' @@ -2177,8 +2177,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Reporting processes' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Reporting processes' - type: GRAPH_CLASSIC 'y': '5' @@ -2193,8 +2193,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Internal processes' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Internal processes' - type: GRAPH_CLASSIC x: '12' @@ -2210,8 +2210,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Remote Zabbix server: Data gathering processes' host: 'Remote Zabbix server health' + name: 'Remote Zabbix server: Data gathering processes' valuemaps: - uuid: 25ab0f5c570b4a7e9d15bd41db79fe25 diff --git a/templates/app/zookeeper_http/README.md b/templates/app/zookeeper_http/README.md index 5b39d960f97..c86dff03b8f 100644 --- a/templates/app/zookeeper_http/README.md +++ b/templates/app/zookeeper_http/README.md @@ -106,7 +106,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |Zookeeper: Server mode has changed |

Zookeeper node state has changed. Ack to close.

|`last(/Zookeeper by HTTP/zookeeper.server_state,#1)<>last(/Zookeeper by HTTP/zookeeper.server_state,#2) and length(last(/Zookeeper by HTTP/zookeeper.server_state))>0` |INFO |

Manual close: YES

| -|Zookeeper: has been restarted |

Uptime is less than 10 minutes

|`last(/Zookeeper by HTTP/zookeeper.uptime)<10m` |INFO |

Manual close: YES

| +|Zookeeper: has been restarted |

Uptime is less than 10 minutes.

|`last(/Zookeeper by HTTP/zookeeper.uptime)<10m` |INFO |

Manual close: YES

| |Zookeeper: Failed to fetch info data |

Zabbix has not received data for items for the last 10 minutes

|`nodata(/Zookeeper by HTTP/zookeeper.uptime,10m)=1` |WARNING |

Manual close: YES

| |Zookeeper: Version has changed |

Zookeeper version has changed. Ack to close.

|`last(/Zookeeper by HTTP/zookeeper.version,#1)<>last(/Zookeeper by HTTP/zookeeper.version,#2) and length(last(/Zookeeper by HTTP/zookeeper.version))>0` |INFO |

Manual close: YES

| |Zookeeper: Too many file descriptors used |

Number of file descriptors used more than {$ZOOKEEPER.FILE_DESCRIPTORS.MAX.WARN}% of the available number of file descriptors.

|`min(/Zookeeper by HTTP/zookeeper.open_file_descriptor_count,5m) * 100 / last(/Zookeeper by HTTP/zookeeper.max_file_descriptor_count) > {$ZOOKEEPER.FILE_DESCRIPTORS.MAX.WARN}` |WARNING | | diff --git a/templates/app/zookeeper_http/template_app_zookeeper_http.yaml b/templates/app/zookeeper_http/template_app_zookeeper_http.yaml index e622cf48b59..8f16369da16 100644 --- a/templates/app/zookeeper_http/template_app_zookeeper_http.yaml +++ b/templates/app/zookeeper_http/template_app_zookeeper_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:52Z' - groups: + date: '2022-06-07T19:38:02Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -780,7 +780,7 @@ zabbix_export: name: 'Zookeeper: has been restarted' event_name: 'Zookeeper: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/cctv/hikvision/README.md b/templates/cctv/hikvision/README.md index 25d6b667e9a..b89f4cdcdf5 100644 --- a/templates/cctv/hikvision/README.md +++ b/templates/cctv/hikvision/README.md @@ -128,7 +128,7 @@ There are no template links in this template. |Channel "{#PTZ_CHANNEL_ID}": PTZ position changed |

The direction of the camera has changed

|`last(/Hikvision camera by HTTP/hikvision_cam.ptz.absolute_zoom[{#PTZ_CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.ptz.absolute_zoom[{#PTZ_CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.ptz.azimuth[{#PTZ_CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.ptz.azimuth[{#PTZ_CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.ptz.elevation[{#PTZ_CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.ptz.elevation[{#PTZ_CHANNEL_ID}],#2) ` |INFO |

Manual close: YES

| |Hikvision camera: Authorisation error |

Check the correctness of the authorization data

|`last(/Hikvision camera by HTTP/hikvision_cam.get_info.login_status)=1 or last(/Hikvision camera by HTTP/hikvision_cam.get_streaming.login_status)=1 or last(/Hikvision camera by HTTP/hikvision_cam.get_status.login_status)=1 ` |WARNING |

Manual close: YES

| |Hikvision camera: Error receiving data |

Check the availability of the HTTP port

|`last(/Hikvision camera by HTTP/hikvision_cam.get_info.login_status)=2 or last(/Hikvision camera by HTTP/hikvision_cam.get_streaming.login_status)=2 or last(/Hikvision camera by HTTP/hikvision_cam.get_status.login_status)=2 ` |WARNING |

Manual close: YES

| -|Hikvision camera: has been restarted |

Uptime is less than 10 minutes

|`last(/Hikvision camera by HTTP/hikvision_cam.uptime)<10m` |INFO |

Manual close: YES

| +|Hikvision camera: has been restarted |

Uptime is less than 10 minutes.

|`last(/Hikvision camera by HTTP/hikvision_cam.uptime)<10m` |INFO |

Manual close: YES

| |Channel "{#CHANNEL_ID}": Invalid video stream resolution parameters |

expected: {$HIKVISION_STREAM_WIDTH} px x {$HIKVISION_STREAM_HEIGHT} px

received: {ITEM.LASTVALUE2} x {ITEM.LASTVALUE1}

|`last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_height[{#CHANNEL_ID}])<>{$HIKVISION_STREAM_HEIGHT} or last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_width[{#CHANNEL_ID}])<>{$HIKVISION_STREAM_WIDTH} ` |WARNING |

Manual close: YES

| |Channel "{#CHANNEL_ID}": Parameters of video stream are changed |

-

|`last(/Hikvision camera by HTTP/hikvision_cam.fixed_quality[{#CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.fixed_quality[{#CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.constant_bit_rate[{#CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.constant_bit_rate[{#CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.video_quality_control_type[{#CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.video_quality_control_type[{#CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_width[{#CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_width[{#CHANNEL_ID}],#2) or last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_height[{#CHANNEL_ID}],#1)<>last(/Hikvision camera by HTTP/hikvision_cam.video_resolution_height[{#CHANNEL_ID}],#2) ` |INFO |

Manual close: YES

| |Hikvision camera: Authorisation error on get PTZ channels |

Check the correctness of the authorization data

|`last(/Hikvision camera by HTTP/hikvision_cam.get_ptz.login_status[{#PTZ_CHANNEL_ID}])=1` |WARNING |

Manual close: YES

**Depends on**:

- Hikvision camera: Authorisation error

| diff --git a/templates/cctv/hikvision/template_cctv_hikvision.yaml b/templates/cctv/hikvision/template_cctv_hikvision.yaml index 9bfb7ee8add..e1152a95536 100644 --- a/templates/cctv/hikvision/template_cctv_hikvision.yaml +++ b/templates/cctv/hikvision/template_cctv_hikvision.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:32Z' - groups: + date: '2022-06-07T19:33:24Z' + template_groups: - uuid: d37f71c7e3f7469bab645852a69a2018 name: 'Templates/Video surveillance' @@ -848,7 +848,7 @@ zabbix_export: name: 'Hikvision camera: has been restarted' event_name: 'Hikvision camera: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/cassandra_jmx/template_db_cassandra_jmx.yaml b/templates/db/cassandra_jmx/template_db_cassandra_jmx.yaml index 5f01d7c9646..81a0bb20a13 100644 --- a/templates/db/cassandra_jmx/template_db_cassandra_jmx.yaml +++ b/templates/db/cassandra_jmx/template_db_cassandra_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:01Z' - groups: + date: '2022-06-07T19:33:03Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases diff --git a/templates/db/clickhouse_http/README.md b/templates/db/clickhouse_http/README.md index 0bd9c75055b..db8acdb6601 100644 --- a/templates/db/clickhouse_http/README.md +++ b/templates/db/clickhouse_http/README.md @@ -167,7 +167,7 @@ There are no template links in this template. |ClickHouse: Port {$CLICKHOUSE.PORT} is unavailable |

-

|`last(/ClickHouse by HTTP/net.tcp.service[{$CLICKHOUSE.SCHEME},"{HOST.CONN}","{$CLICKHOUSE.PORT}"])=0` |AVERAGE |

Manual close: YES

| |ClickHouse: Service is down |

-

|`last(/ClickHouse by HTTP/clickhouse.ping)=0 or last(/ClickHouse by HTTP/net.tcp.service[{$CLICKHOUSE.SCHEME},"{HOST.CONN}","{$CLICKHOUSE.PORT}"]) = 0` |AVERAGE |

Manual close: YES

**Depends on**:

- ClickHouse: Port {$CLICKHOUSE.PORT} is unavailable

| |ClickHouse: Version has changed |

ClickHouse version has changed. Ack to close.

|`last(/ClickHouse by HTTP/clickhouse.version,#1)<>last(/ClickHouse by HTTP/clickhouse.version,#2) and length(last(/ClickHouse by HTTP/clickhouse.version))>0` |INFO |

Manual close: YES

| -|ClickHouse: has been restarted |

Uptime is less than 10 minutes

|`last(/ClickHouse by HTTP/clickhouse.uptime)<10m` |INFO |

Manual close: YES

| +|ClickHouse: has been restarted |

Uptime is less than 10 minutes.

|`last(/ClickHouse by HTTP/clickhouse.uptime)<10m` |INFO |

Manual close: YES

| |ClickHouse: Failed to fetch info data |

Zabbix has not received data for items for the last 30 minutes

|`nodata(/ClickHouse by HTTP/clickhouse.uptime,30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- ClickHouse: Service is down

| |ClickHouse: Too many throttled insert queries |

Clickhouse have INSERT queries that are throttled due to high number of active data parts for partition in a MergeTree, please decrease INSERT frequency

|`min(/ClickHouse by HTTP/clickhouse.insert.delay,5m)>{$CLICKHOUSE.DELAYED.INSERTS.MAX.WARN}` |WARNING |

Manual close: YES

| |ClickHouse: Too many MergeTree parts |

Descease INSERT queries frequency.

Clickhouse MergeTree table engine split each INSERT query to partitions (PARTITION BY expression)

and add one or more PARTS per INSERT inside each partition,

after that background merge process run, and when you have too much unmerged parts inside partition,

SELECT queries performance can significate degrade, so clickhouse try delay insert, or abort it.

|`min(/ClickHouse by HTTP/clickhouse.max.part.count.for.partition,5m)>{$CLICKHOUSE.PARTS.PER.PARTITION.WARN} * 0.9` |WARNING |

Manual close: YES

| diff --git a/templates/db/clickhouse_http/template_db_clickhouse_http.yaml b/templates/db/clickhouse_http/template_db_clickhouse_http.yaml index 95bfdd9146f..713bf9421d2 100644 --- a/templates/db/clickhouse_http/template_db_clickhouse_http.yaml +++ b/templates/db/clickhouse_http/template_db_clickhouse_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:13Z' - groups: + date: '2022-06-07T19:33:11Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1202,7 +1202,7 @@ zabbix_export: name: 'ClickHouse: has been restarted' event_name: 'ClickHouse: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/cockroachdb_http/template_db_cockroachdb_http.yaml b/templates/db/cockroachdb_http/template_db_cockroachdb_http.yaml index a2691d2e8c1..496f1746f3b 100644 --- a/templates/db/cockroachdb_http/template_db_cockroachdb_http.yaml +++ b/templates/db/cockroachdb_http/template_db_cockroachdb_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T13:17:29Z' - groups: + date: '2022-06-07T19:33:12Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -2555,8 +2555,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.cpu.util host: 'CockroachDB by HTTP' + key: cockroachdb.cpu.util - type: GRAPH_CLASSIC 'y': '5' @@ -2571,8 +2571,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Memory usage' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Memory usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2595,8 +2595,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CockroachDB: Storage [{#STORE}]: Capacity' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Storage [{#STORE}]: Capacity' - type: GRAPH_CLASSIC 'y': '15' @@ -2611,8 +2611,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Disk: r/w, rate' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Disk: r/w, rate' - type: GRAPH_CLASSIC 'y': '20' @@ -2627,8 +2627,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Disk: r/w IOPS, rate' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Disk: r/w IOPS, rate' - type: GRAPH_CLASSIC 'y': '25' @@ -2643,8 +2643,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.disk.iops.in_progress.rate host: 'CockroachDB by HTTP' + key: cockroachdb.disk.iops.in_progress.rate - type: GRAPH_CLASSIC 'y': '30' @@ -2659,8 +2659,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Network traffic' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Network traffic' - uuid: 41dce007bcf54762ad321ac944a8b63e name: Replication @@ -2688,8 +2688,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CockroachDB: Storage [{#STORE}]: Ranges' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Storage [{#STORE}]: Ranges' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2712,8 +2712,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.replication.[{#STORE},lease_holders]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.replication.[{#STORE},lease_holders]' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2736,8 +2736,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.rebalancing.queries.average.[{#STORE},rate]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.rebalancing.queries.average.[{#STORE},rate]' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2760,8 +2760,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CockroachDB: Storage [{#STORE}]: Replica quiescence' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Storage [{#STORE}]: Replica quiescence' - uuid: 0d9a3feb76ad403dac7379dbe04298f0 name: Runtime @@ -2781,8 +2781,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.live_count host: 'CockroachDB by HTTP' + key: cockroachdb.live_count - type: GRAPH_CLASSIC 'y': '5' @@ -2797,8 +2797,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Memory usage' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Memory usage' - type: GRAPH_CLASSIC 'y': '10' @@ -2813,8 +2813,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.go.goroutines.count host: 'CockroachDB by HTTP' + key: cockroachdb.go.goroutines.count - type: GRAPH_CLASSIC 'y': '15' @@ -2829,8 +2829,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.gc.runs.rate host: 'CockroachDB by HTTP' + key: cockroachdb.gc.runs.rate - type: GRAPH_CLASSIC 'y': '20' @@ -2845,8 +2845,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.gc.pause_time host: 'CockroachDB by HTTP' + key: cockroachdb.gc.pause_time - type: GRAPH_CLASSIC 'y': '25' @@ -2861,8 +2861,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: CPU Time' host: 'CockroachDB by HTTP' + name: 'CockroachDB: CPU Time' - type: GRAPH_CLASSIC 'y': '30' @@ -2877,8 +2877,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.clock.offset host: 'CockroachDB by HTTP' + key: cockroachdb.clock.offset - uuid: ac89b176f2c34fc1b885ee1ed43df590 name: 'Slow requests' @@ -2906,8 +2906,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.slow_requests.[{#STORE},raft_proposals]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.slow_requests.[{#STORE},raft_proposals]' - type: GRAPH_CLASSIC 'y': '5' @@ -2922,8 +2922,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.slow_requests.rpc host: 'CockroachDB by HTTP' + key: cockroachdb.slow_requests.rpc - type: GRAPH_PROTOTYPE 'y': '10' @@ -2946,8 +2946,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.slow_requests.[{#STORE},lease_acquisitions]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.slow_requests.[{#STORE},lease_acquisitions]' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2970,8 +2970,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.slow_requests.[{#STORE},latch_acquisitions]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.slow_requests.[{#STORE},latch_acquisitions]' - uuid: b1086a92f1b54c45be99efd996b33457 name: SQL @@ -2991,8 +2991,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.sessions host: 'CockroachDB by HTTP' + key: cockroachdb.sql.sessions - type: GRAPH_CLASSIC x: '12' @@ -3007,8 +3007,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.transactions.open host: 'CockroachDB by HTTP' + key: cockroachdb.sql.transactions.open - type: GRAPH_CLASSIC 'y': '5' @@ -3023,8 +3023,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.statements.active host: 'CockroachDB by HTTP' + key: cockroachdb.sql.statements.active - type: GRAPH_CLASSIC x: '12' @@ -3040,8 +3040,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: SQL: Traffic' host: 'CockroachDB by HTTP' + name: 'CockroachDB: SQL: Traffic' - type: GRAPH_CLASSIC 'y': '10' @@ -3056,8 +3056,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: SQL statements' host: 'CockroachDB by HTTP' + name: 'CockroachDB: SQL statements' - type: GRAPH_CLASSIC x: '12' @@ -3073,8 +3073,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.statements.errors.rate host: 'CockroachDB by HTTP' + key: cockroachdb.sql.statements.errors.rate - type: GRAPH_CLASSIC 'y': '15' @@ -3089,8 +3089,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.statements.contention.rate host: 'CockroachDB by HTTP' + key: cockroachdb.sql.statements.contention.rate - type: GRAPH_CLASSIC x: '12' @@ -3106,8 +3106,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.statements.flows.active.rate host: 'CockroachDB by HTTP' + key: cockroachdb.sql.statements.flows.active.rate - type: GRAPH_CLASSIC 'y': '20' @@ -3122,8 +3122,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: SQL transactions' host: 'CockroachDB by HTTP' + name: 'CockroachDB: SQL transactions' - type: GRAPH_CLASSIC 'y': '25' @@ -3138,8 +3138,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.memory.sql host: 'CockroachDB by HTTP' + key: cockroachdb.memory.sql - type: GRAPH_CLASSIC x: '12' @@ -3155,8 +3155,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.schema_changes.rate host: 'CockroachDB by HTTP' + key: cockroachdb.sql.schema_changes.rate - type: GRAPH_CLASSIC 'y': '30' @@ -3171,8 +3171,8 @@ zabbix_export: type: ITEM name: itemid value: - key: cockroachdb.sql.statements.denials.rate host: 'CockroachDB by HTTP' + key: cockroachdb.sql.statements.denials.rate - uuid: aa41ca45023c4d0eb126596f89f20f98 name: Storage @@ -3200,8 +3200,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CockroachDB: Storage [{#STORE}]: Capacity' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Storage [{#STORE}]: Capacity' - type: GRAPH_PROTOTYPE x: '12' @@ -3224,8 +3224,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CockroachDB: Storage [{#STORE}]: Bytes' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Storage [{#STORE}]: Bytes' - type: GRAPH_PROTOTYPE 'y': '5' @@ -3248,8 +3248,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.rocksdb.[{#STORE},read_amp]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.rocksdb.[{#STORE},read_amp]' - type: GRAPH_PROTOTYPE x: '12' @@ -3273,8 +3273,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'cockroachdb.rocksdb.[{#STORE},sstables]' host: 'CockroachDB by HTTP' + key: 'cockroachdb.rocksdb.[{#STORE},sstables]' - type: GRAPH_CLASSIC 'y': '10' @@ -3289,8 +3289,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: File descriptors' host: 'CockroachDB by HTTP' + name: 'CockroachDB: File descriptors' - type: GRAPH_CLASSIC x: '12' @@ -3306,8 +3306,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CockroachDB: Time series' host: 'CockroachDB by HTTP' + name: 'CockroachDB: Time series' valuemaps: - uuid: 2e7ddaadebce4b1089dcf01a91d01293 diff --git a/templates/db/gridgain_jmx/README.md b/templates/db/gridgain_jmx/README.md index 167b124c5f2..59b46efcac4 100644 --- a/templates/db/gridgain_jmx/README.md +++ b/templates/db/gridgain_jmx/README.md @@ -143,7 +143,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| -|GridGain [{#JMXIGNITEINSTANCENAME}]: has been restarted |

Uptime is less than 10 minutes

|`last(/GridGain by JMX/jmx["{#JMXOBJ}",UpTime])<10m` |INFO |

Manual close: YES

| +|GridGain [{#JMXIGNITEINSTANCENAME}]: has been restarted |

Uptime is less than 10 minutes.

|`last(/GridGain by JMX/jmx["{#JMXOBJ}",UpTime])<10m` |INFO |

Manual close: YES

| |GridGain [{#JMXIGNITEINSTANCENAME}]: Failed to fetch info data |

Zabbix has not received data for items for the last 10 minutes.

|`nodata(/GridGain by JMX/jmx["{#JMXOBJ}",UpTime],10m)=1` |WARNING |

Manual close: YES

| |GridGain [{#JMXIGNITEINSTANCENAME}]: Version has changed |

GridGain [{#JMXIGNITEINSTANCENAME}] version has changed. Ack to close.

|`last(/GridGain by JMX/jmx["{#JMXOBJ}",FullVersion],#1)<>last(/GridGain by JMX/jmx["{#JMXOBJ}",FullVersion],#2) and length(last(/GridGain by JMX/jmx["{#JMXOBJ}",FullVersion]))>0` |INFO |

Manual close: YES

| |GridGain [{#JMXIGNITEINSTANCENAME}]: Server node left the topology |

One or more server node left the topology. Ack to close.

|`change(/GridGain by JMX/jmx["{#JMXOBJ}",TotalServerNodes])<0` |WARNING |

Manual close: YES

| diff --git a/templates/db/gridgain_jmx/template_db_gridgain_jmx.yaml b/templates/db/gridgain_jmx/template_db_gridgain_jmx.yaml index ff3fe2c2740..3cb59358413 100644 --- a/templates/db/gridgain_jmx/template_db_gridgain_jmx.yaml +++ b/templates/db/gridgain_jmx/template_db_gridgain_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:28Z' - groups: + date: '2022-06-07T19:33:22Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -931,7 +931,7 @@ zabbix_export: name: 'GridGain [{#JMXIGNITEINSTANCENAME}]: has been restarted' event_name: 'GridGain [{#JMXIGNITEINSTANCENAME}]: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/ignite_jmx/README.md b/templates/db/ignite_jmx/README.md index 52532393c33..3b0c420c4de 100644 --- a/templates/db/ignite_jmx/README.md +++ b/templates/db/ignite_jmx/README.md @@ -142,7 +142,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| -|Ignite [{#JMXIGNITEINSTANCENAME}]: has been restarted |

Uptime is less than 10 minutes

|`last(/Ignite by JMX/jmx["{#JMXOBJ}",UpTime])<10m` |INFO |

Manual close: YES

| +|Ignite [{#JMXIGNITEINSTANCENAME}]: has been restarted |

Uptime is less than 10 minutes.

|`last(/Ignite by JMX/jmx["{#JMXOBJ}",UpTime])<10m` |INFO |

Manual close: YES

| |Ignite [{#JMXIGNITEINSTANCENAME}]: Failed to fetch info data |

Zabbix has not received data for items for the last 10 minutes.

|`nodata(/Ignite by JMX/jmx["{#JMXOBJ}",UpTime],10m)=1` |WARNING |

Manual close: YES

| |Ignite [{#JMXIGNITEINSTANCENAME}]: Version has changed |

Ignite [{#JMXIGNITEINSTANCENAME}] version has changed. Ack to close.

|`last(/Ignite by JMX/jmx["{#JMXOBJ}",FullVersion],#1)<>last(/Ignite by JMX/jmx["{#JMXOBJ}",FullVersion],#2) and length(last(/Ignite by JMX/jmx["{#JMXOBJ}",FullVersion]))>0` |INFO |

Manual close: YES

| |Ignite [{#JMXIGNITEINSTANCENAME}]: Server node left the topology |

One or more server node left the topology. Ack to close.

|`change(/Ignite by JMX/jmx["{#JMXOBJ}",TotalServerNodes])<0` |WARNING |

Manual close: YES

| diff --git a/templates/db/ignite_jmx/template_db_ignite_jmx.yaml b/templates/db/ignite_jmx/template_db_ignite_jmx.yaml index 78bdadfc40e..6a4c1956648 100644 --- a/templates/db/ignite_jmx/template_db_ignite_jmx.yaml +++ b/templates/db/ignite_jmx/template_db_ignite_jmx.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:40Z' - groups: + date: '2022-06-07T19:33:32Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1036,7 +1036,7 @@ zabbix_export: name: 'Ignite [{#JMXIGNITEINSTANCENAME}]: has been restarted' event_name: 'Ignite [{#JMXIGNITEINSTANCENAME}]: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/influxdb_http/README.md b/templates/db/influxdb_http/README.md index acac1b11d3e..a0fcf6f3ed4 100644 --- a/templates/db/influxdb_http/README.md +++ b/templates/db/influxdb_http/README.md @@ -88,7 +88,7 @@ There are no template links in this template. |----|-----------|----|----|----| |InfluxDB: Health check was failed |

The InfluxDB instance is not available or unhealthy.

|`last(/InfluxDB by HTTP/influx.healthcheck)=0` |HIGH | | |InfluxDB: Version has changed |

InfluxDB version has changed. Ack to close.

|`last(/InfluxDB by HTTP/influxdb.version,#1)<>last(/InfluxDB by HTTP/influxdb.version,#2) and length(last(/InfluxDB by HTTP/influxdb.version))>0` |INFO |

Manual close: YES

| -|InfluxDB: has been restarted |

Uptime is less than 10 minutes

|`last(/InfluxDB by HTTP/influxdb.uptime)<10m` |INFO |

Manual close: YES

| +|InfluxDB: has been restarted |

Uptime is less than 10 minutes.

|`last(/InfluxDB by HTTP/influxdb.uptime)<10m` |INFO |

Manual close: YES

| |InfluxDB: Too many tasks failure runs |

"Number of failure runs completed across all tasks is too high."

|`min(/InfluxDB by HTTP/influxdb.task_executor_complete.failed.rate,5m)>{$INFLUXDB.TASK.RUN.FAIL.MAX.WARN}` |WARNING | | |InfluxDB: [{#ORG_NAME}]: Too many requests failures |

Too many query requests failed.

|`min(/InfluxDB by HTTP/influxdb.org.query_request.failed.rate["{#ORG_NAME}"],5m)>{$INFLUXDB.REQ.FAIL.MAX.WARN}` |WARNING | | diff --git a/templates/db/influxdb_http/template_db_influxdb_http.yaml b/templates/db/influxdb_http/template_db_influxdb_http.yaml index cab2fa0600d..7bba4becdee 100644 --- a/templates/db/influxdb_http/template_db_influxdb_http.yaml +++ b/templates/db/influxdb_http/template_db_influxdb_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:42Z' - groups: + date: '2022-06-07T19:33:34Z' + template_groups: - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6 name: Templates/Applications @@ -433,7 +433,7 @@ zabbix_export: name: 'InfluxDB: has been restarted' event_name: 'InfluxDB: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/mongodb/template_db_mongodb.yaml b/templates/db/mongodb/template_db_mongodb.yaml index 163dbe1b2a4..1e9bffead0f 100644 --- a/templates/db/mongodb/template_db_mongodb.yaml +++ b/templates/db/mongodb/template_db_mongodb.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-06T14:09:10Z' - groups: + date: '2022-06-07T19:36:23Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases diff --git a/templates/db/mongodb_cluster/template_db_mongodb_cluster.xml b/templates/db/mongodb_cluster/template_db_mongodb_cluster.xml new file mode 100644 index 00000000000..115d5734a0e --- /dev/null +++ b/templates/db/mongodb_cluster/template_db_mongodb_cluster.xml @@ -0,0 +1,2168 @@ + + + 6.2 + 2022-06-07T17:16:12Z + + + 748ad4d098d447d492bb935c907f652f + Templates/Databases + + + + + 748ad4d098d447d492bb935c907f652f + Databases + + + + + + + + 311d33ada96e4910a350e62abc6d5321 + MongoDB cluster: Connection pool + + + 1A7C11 + + MongoDB cluster by Zabbix agent 2 + mongodb.connection_pool.available + + + + 1 + 2774A4 + + MongoDB cluster by Zabbix agent 2 + mongodb.connection_pool.refreshing + + + + 2 + F63100 + + MongoDB cluster by Zabbix agent 2 + mongodb.connection_pool.in_use + + + + 3 + A54F10 + + MongoDB cluster by Zabbix agent 2 + mongodb.connection_pool.scoped + + + + 4 + FC6EA3 + + MongoDB cluster by Zabbix agent 2 + mongodb.connection_pool.client + + + + + + 71a5a2d563d64bceacd564fe25b4d49e + MongoDB cluster: Connections + + + 1A7C11 + + MongoDB cluster by Zabbix agent 2 + mongodb.connections.available + + + + 1 + 2774A4 + + MongoDB cluster by Zabbix agent 2 + mongodb.connections.active + + + + 2 + F63100 + + MongoDB cluster by Zabbix agent 2 + mongodb.connections.current + + + + 3 + BOLD_LINE + A54F10 + RIGHT + + MongoDB cluster by Zabbix agent 2 + mongodb.connections.rate + + + + + + b4277ddaf3c5486cacba0f9b7208c5b2 + MongoDB cluster: Cursors + + + 1A7C11 + + MongoDB cluster by Zabbix agent 2 + mongodb.cursor.open.total + + + + 1 + 2774A4 + + MongoDB cluster by Zabbix agent 2 + mongodb.cursor.open.pinned + + + + 2 + F63100 + + MongoDB cluster by Zabbix agent 2 + mongodb.metrics.cursor.open.no_timeout + + + + + + d612246739784b9b9403dee6024493ce + MongoDB cluster: Network + + + 1A7C11 + + MongoDB cluster by Zabbix agent 2 + mongodb.network.bytes_out.rate + + + + 1 + 2774A4 + + MongoDB cluster by Zabbix agent 2 + mongodb.network.bytes_in.rate + + + + + + 4228deefccae4cd2959b183ba3e36295 + MongoDB cluster: Operations rate + + + BOLD_LINE + 1A7C11 + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.query.rate + + + + 1 + BOLD_LINE + 2774A4 + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.insert.rate + + + + 2 + BOLD_LINE + F63100 + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.getmore.rate + + + + 3 + BOLD_LINE + A54F10 + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.update.rate + + + + 4 + BOLD_LINE + FC6EA3 + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.delete.rate + + + + 5 + BOLD_LINE + 6C59DC + + MongoDB cluster by Zabbix agent 2 + mongodb.opcounters.command.rate + + + + + + diff --git a/templates/db/mongodb_cluster/template_db_mongodb_cluster.yaml b/templates/db/mongodb_cluster/template_db_mongodb_cluster.yaml index bccdf2e192e..4d054b352b7 100644 --- a/templates/db/mongodb_cluster/template_db_mongodb_cluster.yaml +++ b/templates/db/mongodb_cluster/template_db_mongodb_cluster.yaml @@ -1,10 +1,14 @@ zabbix_export: version: '6.2' - date: '2022-05-06T14:17:41Z' - groups: + date: '2022-06-07T19:36:23Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases + host_groups: + - + uuid: 748ad4d098d447d492bb935c907f652f + name: Databases templates: - uuid: d38b271797bd41f2ad8c79d83b9d8d9c @@ -854,7 +858,7 @@ zabbix_export: group_links: - group: - name: Templates/Databases + name: Databases group_prototypes: - name: 'MongoDB sharded cluster/{#REPLICASET}' @@ -1378,7 +1382,7 @@ zabbix_export: group_links: - group: - name: Templates/Databases + name: Databases group_prototypes: - name: 'MongoDB sharded cluster/{#ID}' diff --git a/templates/db/mssql_odbc/template_db_mssql_odbc.yaml b/templates/db/mssql_odbc/template_db_mssql_odbc.yaml index d77d61794a6..2344880d056 100644 --- a/templates/db/mssql_odbc/template_db_mssql_odbc.yaml +++ b/templates/db/mssql_odbc/template_db_mssql_odbc.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-07T10:51:02Z' - groups: + date: '2022-06-07T19:36:28Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases diff --git a/templates/db/mysql_agent/template_db_mysql_agent.yaml b/templates/db/mysql_agent/template_db_mysql_agent.yaml index 6f273d9be98..c64f24a130d 100644 --- a/templates/db/mysql_agent/template_db_mysql_agent.yaml +++ b/templates/db/mysql_agent/template_db_mysql_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:10Z' - groups: + date: '2022-06-07T19:36:29Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1734,8 +1734,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Operations' host: 'MySQL by Zabbix agent' + name: 'MySQL: Operations' - type: GRAPH_CLASSIC x: '12' @@ -1750,8 +1750,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Queries' host: 'MySQL by Zabbix agent' + name: 'MySQL: Queries' - type: GRAPH_CLASSIC 'y': '5' @@ -1766,8 +1766,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Connections' host: 'MySQL by Zabbix agent' + name: 'MySQL: Connections' - type: GRAPH_CLASSIC x: '12' @@ -1783,8 +1783,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Bandwidth' host: 'MySQL by Zabbix agent' + name: 'MySQL: Bandwidth' - type: GRAPH_CLASSIC 'y': '10' @@ -1799,8 +1799,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: InnoDB buffer pool' host: 'MySQL by Zabbix agent' + name: 'MySQL: InnoDB buffer pool' - type: GRAPH_CLASSIC x: '12' @@ -1816,8 +1816,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Threads' host: 'MySQL by Zabbix agent' + name: 'MySQL: Threads' valuemaps: - uuid: 4f2d7ca3c89246c6b691557447230031 diff --git a/templates/db/mysql_agent2/template_db_mysql_agent2.yaml b/templates/db/mysql_agent2/template_db_mysql_agent2.yaml index e176bd1ecd1..7e9c0fa85cd 100644 --- a/templates/db/mysql_agent2/template_db_mysql_agent2.yaml +++ b/templates/db/mysql_agent2/template_db_mysql_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:11Z' - groups: + date: '2022-06-07T19:36:29Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1722,8 +1722,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Operations' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: Operations' - type: GRAPH_CLASSIC x: '12' @@ -1738,8 +1738,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Queries' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: Queries' - type: GRAPH_CLASSIC 'y': '5' @@ -1754,8 +1754,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Connections' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: Connections' - type: GRAPH_CLASSIC x: '12' @@ -1771,8 +1771,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Bandwidth' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: Bandwidth' - type: GRAPH_CLASSIC 'y': '10' @@ -1787,8 +1787,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: InnoDB buffer pool' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: InnoDB buffer pool' - type: GRAPH_CLASSIC x: '12' @@ -1804,8 +1804,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Threads' host: 'MySQL by Zabbix agent 2' + name: 'MySQL: Threads' valuemaps: - uuid: f2e8233fcf0a4dd2b53a82ca48436a88 diff --git a/templates/db/mysql_odbc/template_db_mysql_odbc.yaml b/templates/db/mysql_odbc/template_db_mysql_odbc.yaml index 1ca6db31d2f..fa136fb1bb1 100644 --- a/templates/db/mysql_odbc/template_db_mysql_odbc.yaml +++ b/templates/db/mysql_odbc/template_db_mysql_odbc.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:12Z' - groups: + date: '2022-06-07T19:36:30Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1739,8 +1739,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Operations' host: 'MySQL by ODBC' + name: 'MySQL: Operations' - type: GRAPH_CLASSIC x: '12' @@ -1755,8 +1755,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Queries' host: 'MySQL by ODBC' + name: 'MySQL: Queries' - type: GRAPH_CLASSIC 'y': '5' @@ -1771,8 +1771,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Connections' host: 'MySQL by ODBC' + name: 'MySQL: Connections' - type: GRAPH_CLASSIC x: '12' @@ -1788,8 +1788,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Bandwidth' host: 'MySQL by ODBC' + name: 'MySQL: Bandwidth' - type: GRAPH_CLASSIC 'y': '10' @@ -1804,8 +1804,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: InnoDB buffer pool' host: 'MySQL by ODBC' + name: 'MySQL: InnoDB buffer pool' - type: GRAPH_CLASSIC x: '12' @@ -1821,8 +1821,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'MySQL: Threads' host: 'MySQL by ODBC' + name: 'MySQL: Threads' valuemaps: - uuid: 622c38d0af2a4b6ea7a640a5d1a22b93 diff --git a/templates/db/oracle_agent2/README.md b/templates/db/oracle_agent2/README.md index bd5b75e95b3..cb05c13a2cc 100644 --- a/templates/db/oracle_agent2/README.md +++ b/templates/db/oracle_agent2/README.md @@ -177,7 +177,7 @@ There are no template links in this template. |Oracle: Connection to database is unavailable |

Connection to Oracle Database is currently unavailable.

|`last(/Oracle by Zabbix agent 2/oracle.ping["{$ORACLE.CONNSTRING}","{$ORACLE.USER}","{$ORACLE.PASSWORD}","{$ORACLE.SERVICE}"])=0` |DISASTER | | |Oracle: Version has changed |

Oracle DB version has changed. Ack to close.

|`last(/Oracle by Zabbix agent 2/oracle.version,#1)<>last(/Oracle by Zabbix agent 2/oracle.version,#2) and length(last(/Oracle by Zabbix agent 2/oracle.version))>0` |INFO |

Manual close: YES

| |Oracle: Failed to fetch info data |

Zabbix has not received data for items for the last 5 minutes. The database might be unavailable for connecting.

|`nodata(/Oracle by Zabbix agent 2/oracle.uptime,30m)=1` |INFO | | -|Oracle: has been restarted |

Uptime is less than 10 minutes

|`last(/Oracle by Zabbix agent 2/oracle.uptime)<10m` |INFO |

Manual close: YES

| +|Oracle: has been restarted |

Uptime is less than 10 minutes.

|`last(/Oracle by Zabbix agent 2/oracle.uptime)<10m` |INFO |

Manual close: YES

| |Oracle: Instance name has changed |

Oracle DB Instance name has changed. Ack to close.

|`last(/Oracle by Zabbix agent 2/oracle.instance_name,#1)<>last(/Oracle by Zabbix agent 2/oracle.instance_name,#2) and length(last(/Oracle by Zabbix agent 2/oracle.instance_name))>0` |INFO |

Manual close: YES

| |Oracle: Instance hostname has changed |

Oracle DB Instance hostname has changed. Ack to close.

|`last(/Oracle by Zabbix agent 2/oracle.instance_hostname,#1)<>last(/Oracle by Zabbix agent 2/oracle.instance_hostname,#2) and length(last(/Oracle by Zabbix agent 2/oracle.instance_hostname))>0` |INFO |

Manual close: YES

| |Oracle: Shared pool free is too low |

The shared pool free memory percent has been less than {$ORACLE.SHARED.FREE.MIN.WARN}% in the last 5 minutes.

|`max(/Oracle by Zabbix agent 2/oracle.shared_pool_free,5m)<{$ORACLE.SHARED.FREE.MIN.WARN}` |WARNING | | diff --git a/templates/db/oracle_agent2/template_db_oracle_agent2.yaml b/templates/db/oracle_agent2/template_db_oracle_agent2.yaml index 0edfd1019be..22e94534971 100644 --- a/templates/db/oracle_agent2/template_db_oracle_agent2.yaml +++ b/templates/db/oracle_agent2/template_db_oracle_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:19Z' - groups: + date: '2022-06-07T19:36:34Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1579,7 +1579,7 @@ zabbix_export: name: 'Oracle: has been restarted' event_name: 'Oracle: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/oracle_odbc/README.md b/templates/db/oracle_odbc/README.md index e962b4322af..ef6a53c05a4 100644 --- a/templates/db/oracle_odbc/README.md +++ b/templates/db/oracle_odbc/README.md @@ -222,7 +222,7 @@ There are no template links in this template. |Oracle: Port {$ORACLE.PORT} is unavailable |

The TCP port of the Oracle Server service is currently unavailable.

|`max(/Oracle by ODBC/net.tcp.service[tcp,{HOST.CONN},{$ORACLE.PORT}],#3)=0 and max(/Oracle by ODBC/proc.num[,,,"tnslsnr LISTENER"],#3)>0` |DISASTER | | |Oracle: LISTENER process is not running |

-

|`max(/Oracle by ODBC/proc.num[,,,"tnslsnr LISTENER"],#3)=0` |DISASTER | | |Oracle: Version has changed |

Oracle DB version has changed. Ack to close.

|`last(/Oracle by ODBC/oracle.version,#1)<>last(/Oracle by ODBC/oracle.version,#2) and length(last(/Oracle by ODBC/oracle.version))>0` |INFO |

Manual close: YES

| -|Oracle: has been restarted |

Uptime is less than 10 minutes

|`last(/Oracle by ODBC/oracle.uptime)<10m` |INFO |

Manual close: YES

| +|Oracle: has been restarted |

Uptime is less than 10 minutes.

|`last(/Oracle by ODBC/oracle.uptime)<10m` |INFO |

Manual close: YES

| |Oracle: Failed to fetch info data |

Zabbix has not received data for items for the last 5 minutes. The database might be unavailable for connecting.

|`nodata(/Oracle by ODBC/oracle.uptime,5m)=1` |WARNING |

**Depends on**:

- Oracle: Port {$ORACLE.PORT} is unavailable

| |Oracle: Instance name has changed |

Oracle DB Instance name has changed. Ack to close.

|`last(/Oracle by ODBC/oracle.instance_name,#1)<>last(/Oracle by ODBC/oracle.instance_name,#2) and length(last(/Oracle by ODBC/oracle.instance_name))>0` |INFO |

Manual close: YES

| |Oracle: Instance hostname has changed |

Oracle DB Instance hostname has changed. Ack to close.

|`last(/Oracle by ODBC/oracle.instance_hostname,#1)<>last(/Oracle by ODBC/oracle.instance_hostname,#2) and length(last(/Oracle by ODBC/oracle.instance_hostname))>0` |INFO |

Manual close: YES

| diff --git a/templates/db/oracle_odbc/template_db_oracle_odbc.yaml b/templates/db/oracle_odbc/template_db_oracle_odbc.yaml index 29f8eb71b3d..5e8cbe1d006 100644 --- a/templates/db/oracle_odbc/template_db_oracle_odbc.yaml +++ b/templates/db/oracle_odbc/template_db_oracle_odbc.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:20Z' - groups: + date: '2022-06-07T19:36:35Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1737,7 +1737,7 @@ zabbix_export: name: 'Oracle: has been restarted' event_name: 'Oracle: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/postgresql/template_db_postgresql.yaml b/templates/db/postgresql/template_db_postgresql.yaml index 740a4a8a83b..6967ac859be 100644 --- a/templates/db/postgresql/template_db_postgresql.yaml +++ b/templates/db/postgresql/template_db_postgresql.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:25Z' - groups: + date: '2022-06-07T19:36:38Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -2001,8 +2001,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Tuples' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Tuples' - type: GRAPH_PROTOTYPE x: '12' @@ -2025,8 +2025,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Events' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Events' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2049,8 +2049,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Block hit/read' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Block hit/read' - type: GRAPH_PROTOTYPE x: '12' @@ -2074,8 +2074,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Temp files' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Temp files' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2098,8 +2098,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Locks' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Locks' - type: GRAPH_PROTOTYPE x: '12' @@ -2123,8 +2123,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Database size' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Database size' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2147,8 +2147,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Queries' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Queries' - type: GRAPH_PROTOTYPE x: '12' @@ -2172,8 +2172,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Slow queries' host: 'PostgreSQL by Zabbix agent' + name: 'DB {#DBNAME}: Slow queries' - uuid: f2ceabf59fd64ca9828ea55e9b9668bd name: 'PostgreSQL stat' @@ -2193,8 +2193,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL connections' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL connections' - type: GRAPH_CLASSIC x: '12' @@ -2209,8 +2209,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL transactions' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL transactions' - type: GRAPH_CLASSIC 'y': '5' @@ -2225,8 +2225,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL ping' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL ping' - type: GRAPH_CLASSIC x: '12' @@ -2242,8 +2242,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL uptime' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL uptime' - type: GRAPH_CLASSIC 'y': '10' @@ -2258,8 +2258,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL replication lag' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL replication lag' - type: GRAPH_CLASSIC x: '12' @@ -2275,8 +2275,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL WAL' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL WAL' - type: GRAPH_CLASSIC 'y': '15' @@ -2291,8 +2291,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL bgwriter' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL bgwriter' - type: GRAPH_CLASSIC x: '12' @@ -2308,8 +2308,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'PostgreSQL checkpoints' host: 'PostgreSQL by Zabbix agent' + name: 'PostgreSQL checkpoints' valuemaps: - uuid: 2e376ee568d04e7bbe98cbae4181f313 diff --git a/templates/db/postgresql_agent2/template_db_postgresql_agent2.yaml b/templates/db/postgresql_agent2/template_db_postgresql_agent2.yaml index 0dbe94d0980..4c95722cad9 100644 --- a/templates/db/postgresql_agent2/template_db_postgresql_agent2.yaml +++ b/templates/db/postgresql_agent2/template_db_postgresql_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:24Z' - groups: + date: '2022-06-07T19:36:37Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -2688,8 +2688,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: pg_stat_database metrics' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: pg_stat_database metrics' - type: GRAPH_PROTOTYPE x: '12' @@ -2712,8 +2712,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Locks' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: Locks' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2736,8 +2736,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Size' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: Size' - type: GRAPH_PROTOTYPE x: '12' @@ -2761,8 +2761,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Number of bloating tables' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: Number of bloating tables' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2785,8 +2785,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Queries' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: Queries' - type: GRAPH_PROTOTYPE x: '12' @@ -2810,8 +2810,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'DB {#DBNAME}: Slow queries' host: 'PostgreSQL by Zabbix agent 2' + name: 'DB {#DBNAME}: Slow queries' valuemaps: - uuid: 9f38c01c325248d4b538c0582432b541 diff --git a/templates/db/redis/README.md b/templates/db/redis/README.md index 3a126ef5770..c0259818890 100644 --- a/templates/db/redis/README.md +++ b/templates/db/redis/README.md @@ -202,7 +202,7 @@ There are no template links in this template. |Redis: Number of slaves has changed |

Redis number of slaves has changed. Ack to close.

|`last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#1)<>last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#2)` |INFO |

Manual close: YES

| |Redis: Replication role has changed |

Redis replication role has changed. Ack to close.

|`last(/Redis by Zabbix agent 2/redis.replication.role,#1)<>last(/Redis by Zabbix agent 2/redis.replication.role,#2) and length(last(/Redis by Zabbix agent 2/redis.replication.role))>0` |WARNING |

Manual close: YES

| |Redis: Version has changed |

Redis version has changed. Ack to close.

|`last(/Redis by Zabbix agent 2/redis.server.redis_version,#1)<>last(/Redis by Zabbix agent 2/redis.server.redis_version,#2) and length(last(/Redis by Zabbix agent 2/redis.server.redis_version))>0` |INFO |

Manual close: YES

| -|Redis: has been restarted |

Uptime is less than 10 minutes

|`last(/Redis by Zabbix agent 2/redis.server.uptime)<10m` |INFO |

Manual close: YES

| +|Redis: has been restarted |

Uptime is less than 10 minutes.

|`last(/Redis by Zabbix agent 2/redis.server.uptime)<10m` |INFO |

Manual close: YES

| |Redis: Connections are rejected |

The number of connections has reached the value of "maxclients".

https://redis.io/topics/clients

|`last(/Redis by Zabbix agent 2/redis.stats.rejected_connections)>0` |HIGH | | |Redis: Replication lag with master is too high |

-

|`min(/Redis by Zabbix agent 2/redis.replication.master_last_io_seconds_ago[{#SINGLETON}],5m)>{$REDIS.REPL.LAG.MAX.WARN}` |WARNING | | |Redis: Process is not running |

-

|`last(/Redis by Zabbix agent 2/proc.num["{$REDIS.PROCESS_NAME}{#SINGLETON}"])=0` |HIGH | | diff --git a/templates/db/redis/template_db_redis.yaml b/templates/db/redis/template_db_redis.yaml index cb92f827f36..35c12737602 100644 --- a/templates/db/redis/template_db_redis.yaml +++ b/templates/db/redis/template_db_redis.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:29Z' - groups: + date: '2022-06-07T19:36:40Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -1078,7 +1078,7 @@ zabbix_export: name: 'Redis: has been restarted' event_name: 'Redis: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -3013,8 +3013,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Clients' host: 'Redis by Zabbix agent 2' + name: 'Redis: Clients' - type: GRAPH_CLASSIC x: '12' @@ -3029,8 +3029,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Keyspace' host: 'Redis by Zabbix agent 2' + name: 'Redis: Keyspace' - type: GRAPH_CLASSIC 'y': '5' @@ -3045,8 +3045,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Commands' host: 'Redis by Zabbix agent 2' + name: 'Redis: Commands' - type: GRAPH_CLASSIC x: '12' @@ -3062,8 +3062,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Expired keys' host: 'Redis by Zabbix agent 2' + name: 'Redis: Expired keys' - type: GRAPH_CLASSIC 'y': '10' @@ -3078,8 +3078,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Persistence' host: 'Redis by Zabbix agent 2' + name: 'Redis: Persistence' - type: GRAPH_CLASSIC x: '12' @@ -3095,8 +3095,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Slaves' host: 'Redis by Zabbix agent 2' + name: 'Redis: Slaves' - type: GRAPH_CLASSIC 'y': '15' @@ -3111,8 +3111,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Slowlog' host: 'Redis by Zabbix agent 2' + name: 'Redis: Slowlog' - type: GRAPH_CLASSIC x: '12' @@ -3128,8 +3128,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Uptime' host: 'Redis by Zabbix agent 2' + name: 'Redis: Uptime' - type: GRAPH_PROTOTYPE 'y': '20' @@ -3152,8 +3152,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Redis: Replication lag time{#SINGLETON}' host: 'Redis by Zabbix agent 2' + name: 'Redis: Replication lag time{#SINGLETON}' - uuid: ee4c29eb7a0f443fafb7e7d3b9df7b24 name: 'Redis performance' @@ -3173,8 +3173,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: CPU' host: 'Redis by Zabbix agent 2' + name: 'Redis: CPU' - type: GRAPH_CLASSIC x: '12' @@ -3189,8 +3189,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Network' host: 'Redis by Zabbix agent 2' + name: 'Redis: Network' - type: GRAPH_CLASSIC 'y': '5' @@ -3205,8 +3205,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Memory' host: 'Redis by Zabbix agent 2' + name: 'Redis: Memory' - type: GRAPH_CLASSIC x: '12' @@ -3222,8 +3222,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Redis: Memory fragmentation' host: 'Redis by Zabbix agent 2' + name: 'Redis: Memory fragmentation' valuemaps: - uuid: 82f4dc4ef0c9471d82dbe3605f4f31d0 diff --git a/templates/db/tidb_http/tidb_pd_http/README.md b/templates/db/tidb_http/tidb_pd_http/README.md index b4df2c8ea01..7e464359d5b 100644 --- a/templates/db/tidb_http/tidb_pd_http/README.md +++ b/templates/db/tidb_http/tidb_pd_http/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |----|-----------|----|----|----| |PD: Instance is not responding |

-

|`last(/TiDB PD by HTTP/pd.status)=0` |AVERAGE | | |PD: Version has changed |

PD version has changed. Ack to close.

|`last(/TiDB PD by HTTP/pd.version,#1)<>last(/TiDB PD by HTTP/pd.version,#2) and length(last(/TiDB PD by HTTP/pd.version))>0` |INFO |

Manual close: YES

| -|PD: has been restarted |

Uptime is less than 10 minutes

|`last(/TiDB PD by HTTP/pd.uptime)<10m` |INFO |

Manual close: YES

| +|PD: has been restarted |

Uptime is less than 10 minutes.

|`last(/TiDB PD by HTTP/pd.uptime)<10m` |INFO |

Manual close: YES

| |TiDB cluster: There are offline TiKV nodes |

PD has not received a TiKV heartbeat for a long time.

|`last(/TiDB PD by HTTP/pd.cluster_status.store_down[{#SINGLETON}])>0` |AVERAGE | | |TiDB cluster: There are low space TiKV nodes |

Indicates that there is no sufficient space on the TiKV node.

|`last(/TiDB PD by HTTP/pd.cluster_status.store_low_space[{#SINGLETON}])>0` |AVERAGE | | |TiDB cluster: There are disconnected TiKV nodes |

PD does not receive a TiKV heartbeat within 20 seconds. Normally a TiKV heartbeat comes in every 10 seconds.

|`last(/TiDB PD by HTTP/pd.cluster_status.store_disconnected[{#SINGLETON}])>0` |WARNING | | diff --git a/templates/db/tidb_http/tidb_pd_http/template_db_tidb_pd_http.yaml b/templates/db/tidb_http/tidb_pd_http/template_db_tidb_pd_http.yaml index 01512e840da..2a33e730fa8 100644 --- a/templates/db/tidb_http/tidb_pd_http/template_db_tidb_pd_http.yaml +++ b/templates/db/tidb_http/tidb_pd_http/template_db_tidb_pd_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:17Z' - groups: + date: '2022-06-07T19:37:41Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -169,7 +169,7 @@ zabbix_export: name: 'PD: has been restarted' event_name: 'PD: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/tidb_http/tidb_tidb_http/README.md b/templates/db/tidb_http/tidb_tidb_http/README.md index 4d75e22191a..a050ff588e3 100644 --- a/templates/db/tidb_http/tidb_tidb_http/README.md +++ b/templates/db/tidb_http/tidb_tidb_http/README.md @@ -116,7 +116,7 @@ There are no template links in this template. |TiDB: Too few keep alive operations |

Indicates whether the TiDB process still exists. If the number of times for tidb_monitor_keep_alive_total increases less than 10 per minute, the TiDB process might already exit and an alert is triggered.

|`max(/TiDB by HTTP/tidb.monitor_keep_alive.rate,5m)<{$TIDB.MONITOR_KEEP_ALIVE.MAX.WARN}` |AVERAGE | | |TiDB: Heap memory usage is too high |

-

|`min(/TiDB by HTTP/tidb.heap_bytes,5m)>{$TIDB.HEAP.USAGE.MAX.WARN}` |WARNING | | |TiDB: Current number of open files is too high |

Heavy file descriptor usage (i.e., near the process's file descriptor limit) indicates a potential file descriptor exhaustion issue.

|`min(/TiDB by HTTP/tidb.process_open_fds,5m)/last(/TiDB by HTTP/tidb.process_max_fds)*100>{$TIDB.OPEN.FDS.MAX.WARN}` |WARNING | | -|TiDB: has been restarted |

Uptime is less than 10 minutes

|`last(/TiDB by HTTP/tidb.uptime)<10m` |INFO |

Manual close: YES

| +|TiDB: has been restarted |

Uptime is less than 10 minutes.

|`last(/TiDB by HTTP/tidb.uptime)<10m` |INFO |

Manual close: YES

| |TiDB: Version has changed |

TiDB version has changed. Ack to close.

|`last(/TiDB by HTTP/tidb.version,#1)<>last(/TiDB by HTTP/tidb.version,#2) and length(last(/TiDB by HTTP/tidb.version))>0` |INFO |

Manual close: YES

| |TiDB: Too many time jump backs |

-

|`min(/TiDB by HTTP/tidb.monitor_time_jump_back.rate,5m)>{$TIDB.TIME_JUMP_BACK.MAX.WARN}` |WARNING | | |TiDB: There are panicked TiDB threads |

When a panic occurs, an alert is triggered. The thread is often recovered, otherwise, TiDB will frequently restart.

|`last(/TiDB by HTTP/tidb.tidb_server_panic_total.rate)>0` |AVERAGE | | diff --git a/templates/db/tidb_http/tidb_tidb_http/template_db_tidb_tidb_http.yaml b/templates/db/tidb_http/tidb_tidb_http/template_db_tidb_tidb_http.yaml index 6be05500c17..bab39373ebb 100644 --- a/templates/db/tidb_http/tidb_tidb_http/template_db_tidb_tidb_http.yaml +++ b/templates/db/tidb_http/tidb_tidb_http/template_db_tidb_tidb_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:18Z' - groups: + date: '2022-06-07T19:37:41Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -881,7 +881,7 @@ zabbix_export: name: 'TiDB: has been restarted' event_name: 'TiDB: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/db/tidb_http/tidb_tikv_http/README.md b/templates/db/tidb_http/tidb_tikv_http/README.md index 9aefcbecf6a..df3a2bd16a3 100644 --- a/templates/db/tidb_http/tidb_tikv_http/README.md +++ b/templates/db/tidb_http/tidb_tikv_http/README.md @@ -101,7 +101,7 @@ There are no template links in this template. |TiKV: Too many coprocessor request error |

-

|`min(/TiDB TiKV by HTTP/tikv.coprocessor_request_error.rate,5m)>{$TIKV.COPOCESSOR.ERRORS.MAX.WARN}` |WARNING | | |TiKV: Too many pending commands |

-

|`min(/TiDB TiKV by HTTP/tikv.scheduler_contex,5m)>{$TIKV.PENDING_COMMANDS.MAX.WARN}` |AVERAGE | | |TiKV: Too many pending tasks |

-

|`min(/TiDB TiKV by HTTP/tikv.worker_pending_task,5m)>{$TIKV.PENDING_TASKS.MAX.WARN}` |AVERAGE | | -|TiKV: has been restarted |

Uptime is less than 10 minutes

|`last(/TiDB TiKV by HTTP/tikv.uptime)<10m` |INFO |

Manual close: YES

| +|TiKV: has been restarted |

Uptime is less than 10 minutes.

|`last(/TiDB TiKV by HTTP/tikv.uptime)<10m` |INFO |

Manual close: YES

| |TiKV: Store_id {#STORE_ID}: Too many failure messages "{#TYPE}" |

Indicates that the remote TiKV cannot be connected.

|`min(/TiDB TiKV by HTTP/tikv.messages.failure.rate[{#STORE_ID},{#TYPE}],5m)>{$TIKV.STORE.ERRORS.MAX.WARN}` |WARNING | | ## Feedback diff --git a/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml b/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml index 979a644b7b3..06e3777400b 100644 --- a/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml +++ b/templates/db/tidb_http/tidb_tikv_http/template_db_tidb_tikv_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:19Z' - groups: + date: '2022-06-07T19:37:42Z' + template_groups: - uuid: 748ad4d098d447d492bb935c907f652f name: Templates/Databases @@ -721,7 +721,7 @@ zabbix_export: name: 'TiKV: has been restarted' event_name: 'TiKV: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/media/opsgenie/media_opsgenie.yaml b/templates/media/opsgenie/media_opsgenie.yaml index 4f1a96a6ef7..569d95669fe 100644 --- a/templates/media/opsgenie/media_opsgenie.yaml +++ b/templates/media/opsgenie/media_opsgenie.yaml @@ -386,7 +386,7 @@ zabbix_export: event_menu_url: '{EVENT.TAGS.__zbx_ops_issuelink}' event_menu_name: 'Opsgenie: {EVENT.TAGS.__zbx_ops_issuekey}' description: | - Please refer to https://docs.opsgenie.com/docs/alert-api and https://www.zabbix.com/documentation/6.0/manual/config/notifications/media/webhook#example_scripts. + Please refer to https://docs.opsgenie.com/docs/alert-api and https://www.zabbix.com/documentation/6.2/manual/config/notifications/media/webhook#example_scripts. Set global macro {$ZABBIX.URL} with your Zabbix server URL. Add dedicated user with media type "Opsgenie". diff --git a/templates/media/pagerduty/media_pagerduty.yaml b/templates/media/pagerduty/media_pagerduty.yaml index c0ad9edbdb7..4b0a9b5eadf 100644 --- a/templates/media/pagerduty/media_pagerduty.yaml +++ b/templates/media/pagerduty/media_pagerduty.yaml @@ -199,7 +199,7 @@ zabbix_export: throw 'PagerDuty notification failed : ' + error; } description: | - Please refer to https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2 and https://www.zabbix.com/documentation/6.0/manual/config/notifications/media/webhook#example_scripts. + Please refer to https://v2.developer.pagerduty.com/docs/send-an-event-events-api-v2 and https://www.zabbix.com/documentation/6.2/manual/config/notifications/media/webhook#example_scripts. Set global macro {$ZABBIX.URL} with your Zabbix server URL. Add a dedicated user with the media type "PagerDuty" and place the integration key in the "token" parameter to integrate into the service. diff --git a/templates/media/topdesk/media_topdesk.yaml b/templates/media/topdesk/media_topdesk.yaml index 4f38ad18d8a..de36dfc6c02 100644 --- a/templates/media/topdesk/media_topdesk.yaml +++ b/templates/media/topdesk/media_topdesk.yaml @@ -311,7 +311,7 @@ zabbix_export: event_menu_url: '{EVENT.TAGS.__zbx_tpd_issuelink}' event_menu_name: 'TOPdesk: {EVENT.TAGS.__zbx_tpd_issuekey}' description: | - Please refer to https://developers.topdesk.com/documentation/index.html and https://www.zabbix.com/documentation/6.0/manual/config/notifications/media/webhook#example_scripts. + Please refer to https://developers.topdesk.com/documentation/index.html and https://www.zabbix.com/documentation/6.2/manual/config/notifications/media/webhook#example_scripts. Set global macro {$ZABBIX.URL} with your Zabbix server URL. Add a dedicated user with the media type "TOPdesk". diff --git a/templates/module/brocade_snmp/template_module_brocade_snmp.yaml b/templates/module/brocade_snmp/template_module_brocade_snmp.yaml index 68f0eb35f8e..b29fdc3bb19 100644 --- a/templates/module/brocade_snmp/template_module_brocade_snmp.yaml +++ b/templates/module/brocade_snmp/template_module_brocade_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:38Z' - groups: + date: '2022-06-07T19:36:45Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/cisco_snmp/README.md b/templates/module/cisco_snmp/README.md index b03ec825513..0e74c24a500 100644 --- a/templates/module/cisco_snmp/README.md +++ b/templates/module/cisco_snmp/README.md @@ -35,7 +35,7 @@ There are no template links in this template. |-----|----|-----------|----|---------------------| |Memory |{#SNMPVALUE}: Used memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}] | |Memory |{#SNMPVALUE}: Free memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}] | -|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | +|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | ## Triggers diff --git a/templates/module/cisco_snmp/template_module_cisco_snmp.yaml b/templates/module/cisco_snmp/template_module_cisco_snmp.yaml index 53af2d647a3..f1b11e0ebee 100644 --- a/templates/module/cisco_snmp/template_module_cisco_snmp.yaml +++ b/templates/module/cisco_snmp/template_module_cisco_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:38Z' - groups: + date: '2022-06-07T19:36:46Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -391,7 +391,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component diff --git a/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml b/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml index 86c2dd7c927..f3df57ed1fd 100644 --- a/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml +++ b/templates/module/ether_like_snmp/template_module_ether_like_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:40Z' - groups: + date: '2022-06-07T19:36:46Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/generic_snmp_snmp/README.md b/templates/module/generic_snmp_snmp/README.md index 8616066f86e..149b746bb65 100644 --- a/templates/module/generic_snmp_snmp/README.md +++ b/templates/module/generic_snmp_snmp/README.md @@ -49,7 +49,7 @@ There are no template links in this template. |Name|Description|Expression|Severity|Dependencies and additional info| |----|-----------|----|----|----| |System name has changed |

System name has changed. Ack to close.

|`last(/Generic SNMP/system.name,#1)<>last(/Generic SNMP/system.name,#2) and length(last(/Generic SNMP/system.name))>0` |INFO |

Manual close: YES

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Generic SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Generic SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Generic SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Generic SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Generic SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Generic SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml b/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml index 5282be169f6..ca665e90c38 100644 --- a/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml +++ b/templates/module/generic_snmp_snmp/template_module_generic_snmp_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:40Z' - groups: + date: '2022-06-07T19:36:47Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -290,7 +290,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - diff --git a/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml b/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml index e03e07c7976..bc4dc86889a 100644 --- a/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml +++ b/templates/module/host_resources_snmp/template_module_host_resources_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-13T22:25:50Z' - groups: + date: '2022-06-07T19:36:47Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -616,8 +616,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'HOST-RESOURCES-MIB SNMP' + name: 'CPU utilization' - type: GRAPH_PROTOTYPE 'y': '5' @@ -640,8 +640,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#MEMNAME}: Memory utilization' host: 'HOST-RESOURCES-MIB SNMP' + name: '{#MEMNAME}: Memory utilization' - type: GRAPH_PROTOTYPE 'y': '10' @@ -664,8 +664,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'HOST-RESOURCES-MIB SNMP' + name: '{#FSNAME}: Disk space usage' - uuid: f6572ac29240452596e9f7b2a7ebb408 template: 'HOST-RESOURCES-MIB storage SNMP' @@ -881,7 +881,7 @@ zabbix_export: value: '80' graphs: - - uuid: f55018667c2242c5a9bb969bbcaf4770 + uuid: fe501ac6688d4165a645ef804644cf93 name: 'CPU utilization' ymin_type_1: FIXED ymax_type_1: FIXED @@ -890,10 +890,10 @@ zabbix_export: drawtype: GRADIENT_LINE color: 1A7C11 item: - host: 'HOST-RESOURCES-MIB SNMP' + host: 'HOST-RESOURCES-MIB CPU SNMP' key: system.cpu.util - - uuid: fe501ac6688d4165a645ef804644cf93 + uuid: f55018667c2242c5a9bb969bbcaf4770 name: 'CPU utilization' ymin_type_1: FIXED ymax_type_1: FIXED @@ -902,5 +902,5 @@ zabbix_export: drawtype: GRADIENT_LINE color: 1A7C11 item: - host: 'HOST-RESOURCES-MIB CPU SNMP' + host: 'HOST-RESOURCES-MIB SNMP' key: system.cpu.util diff --git a/templates/module/icmp_ping/template_module_icmp_ping.yaml b/templates/module/icmp_ping/template_module_icmp_ping.yaml index fdca92687b4..24b6927741e 100644 --- a/templates/module/icmp_ping/template_module_icmp_ping.yaml +++ b/templates/module/icmp_ping/template_module_icmp_ping.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:42Z' - groups: + date: '2022-06-07T19:36:48Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml b/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml index 87cd54ffd4c..5e35e957a89 100644 --- a/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml +++ b/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:45Z' - groups: + date: '2022-06-07T19:36:49Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -565,8 +565,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFDESCR}: Network traffic' host: 'Interfaces Simple SNMP' + name: 'Interface {#IFDESCR}: Network traffic' valuemaps: - uuid: 4578589110ec40e19297e1d35d17c82f diff --git a/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml b/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml index 1a325cb04f3..e162a1b0f87 100644 --- a/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml +++ b/templates/module/interfaces_snmp/template_module_interfaces_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:44Z' - groups: + date: '2022-06-07T19:36:49Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -583,8 +583,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Interfaces SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 692e46f1836c4e2682a0dc882fec89a0 diff --git a/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml b/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml index 9153497555b..00c939ccf5e 100644 --- a/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml +++ b/templates/module/interfaces_win_snmp/template_module_interfaces_win_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:46Z' - groups: + date: '2022-06-07T19:36:50Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -583,8 +583,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Interfaces Windows SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 4b84f531e2df454a8824070608bfbf49 diff --git a/templates/module/linux/template_module_linux.yaml b/templates/module/linux/template_module_linux.yaml index 00bb7587b01..0cc65e2d21a 100644 --- a/templates/module/linux/template_module_linux.yaml +++ b/templates/module/linux/template_module_linux.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:20:08Z' - groups: + date: '2022-06-07T19:36:51Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -30,12 +30,12 @@ zabbix_export: - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.MATCHES}' - formulaid: B + formulaid: A - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.NOT_MATCHES}' operator: NOT_MATCHES_REGEX - formulaid: A + formulaid: B item_prototypes: - uuid: 7d0ed5b91e844c5ba5bd31860f4eaee5 @@ -1759,8 +1759,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux network interfaces by Zabbix agent' + name: 'Interface {#IFNAME}: Network traffic' valuemaps: - uuid: 8513cf23b8d34952b92a31bbd82a31d3 diff --git a/templates/module/linux_active/template_module_linux_active.yaml b/templates/module/linux_active/template_module_linux_active.yaml index 6fcec660542..dca1b751d99 100644 --- a/templates/module/linux_active/template_module_linux_active.yaml +++ b/templates/module/linux_active/template_module_linux_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:19:55Z' - groups: + date: '2022-06-07T19:36:52Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -31,12 +31,12 @@ zabbix_export: - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.MATCHES}' - formulaid: B + formulaid: A - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.NOT_MATCHES}' operator: NOT_MATCHES_REGEX - formulaid: A + formulaid: B item_prototypes: - uuid: 5a9fb5097fb1425aafc718018ebd95f8 @@ -1813,8 +1813,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux network interfaces by Zabbix agent active' + name: 'Interface {#IFNAME}: Network traffic' valuemaps: - uuid: 9bc9524635a349409e244ad5215c80c1 diff --git a/templates/module/linux_snmp_snmp/template_module_linux_snmp_snmp.yaml b/templates/module/linux_snmp_snmp/template_module_linux_snmp_snmp.yaml index 5fe34453934..cf729effb92 100644 --- a/templates/module/linux_snmp_snmp/template_module_linux_snmp_snmp.yaml +++ b/templates/module/linux_snmp_snmp/template_module_linux_snmp_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:21:27Z' - groups: + date: '2022-06-07T19:36:52Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/smart_agent2/template_module_smart_agent2.yaml b/templates/module/smart_agent2/template_module_smart_agent2.yaml index c89cb30490e..f778b8ab540 100644 --- a/templates/module/smart_agent2/template_module_smart_agent2.yaml +++ b/templates/module/smart_agent2/template_module_smart_agent2.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:51Z' - groups: + date: '2022-06-07T19:36:53Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml b/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml index d5243626ba7..b65cf67d94d 100644 --- a/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml +++ b/templates/module/smart_agent2_active/template_module_smart_agent2_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:52Z' - groups: + date: '2022-06-07T19:36:53Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/module/windows_agent/template_module_windows_agent.yaml b/templates/module/windows_agent/template_module_windows_agent.yaml index 5965612c18a..ee81b024cff 100644 --- a/templates/module/windows_agent/template_module_windows_agent.yaml +++ b/templates/module/windows_agent/template_module_windows_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T14:33:06Z' - groups: + date: '2022-06-07T19:36:54Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -1326,8 +1326,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows network by Zabbix agent' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: dd37c51d4ded48ceb449fa633dd707e2 diff --git a/templates/module/windows_agent_active/template_module_windows_agent_active.yaml b/templates/module/windows_agent_active/template_module_windows_agent_active.yaml index 7d85d15ca48..a5cf230b4c3 100644 --- a/templates/module/windows_agent_active/template_module_windows_agent_active.yaml +++ b/templates/module/windows_agent_active/template_module_windows_agent_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T14:33:12Z' - groups: + date: '2022-06-07T19:36:55Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules @@ -1361,8 +1361,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows network by Zabbix agent active' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 7300d3f66dec4f90bcd6889d206db89f diff --git a/templates/module/zabbix_agent/template_module_zabbix_agent.yaml b/templates/module/zabbix_agent/template_module_zabbix_agent.yaml index d3a08f313a3..7bf3ce1d33c 100644 --- a/templates/module/zabbix_agent/template_module_zabbix_agent.yaml +++ b/templates/module/zabbix_agent/template_module_zabbix_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-18T22:41:50Z' - groups: + date: '2022-06-07T19:37:59Z' + template_groups: - uuid: 57b7ae836ca64446ba2c296389c009b7 name: Templates/Modules diff --git a/templates/net/alcatel_timetra_snmp/template_net_alcatel_timetra_snmp.yaml b/templates/net/alcatel_timetra_snmp/template_net_alcatel_timetra_snmp.yaml index 840c1e3091b..fe79501e48b 100644 --- a/templates/net/alcatel_timetra_snmp/template_net_alcatel_timetra_snmp.yaml +++ b/templates/net/alcatel_timetra_snmp/template_net_alcatel_timetra_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T09:48:29Z' - groups: + date: '2022-06-07T19:36:57Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1481,8 +1481,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Alcatel Timetra TiMOS SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: b31f48e2216f441daa0b05561ac2ab6a diff --git a/templates/net/arista_snmp/template_net_arista_snmp.yaml b/templates/net/arista_snmp/template_net_arista_snmp.yaml index e5f5523a33d..6690e84870a 100644 --- a/templates/net/arista_snmp/template_net_arista_snmp.yaml +++ b/templates/net/arista_snmp/template_net_arista_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:33:50Z' - groups: + date: '2022-06-07T19:36:59Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -2081,8 +2081,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Arista SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 1e995dbde06f4d869f2cc4314117c397 name: 'System performance' @@ -2102,8 +2102,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'Arista SNMP' + name: 'CPU utilization' - type: GRAPH_PROTOTYPE 'y': '5' @@ -2126,8 +2126,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#MEMNAME}: Memory utilization' host: 'Arista SNMP' + name: '{#MEMNAME}: Memory utilization' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2150,8 +2150,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Arista SNMP' + name: '{#FSNAME}: Disk space usage' valuemaps: - uuid: 318f3041aea04848a223de86e589c232 diff --git a/templates/net/brocade_fc_sw_snmp/template_net_brocade_fc_sw_snmp.yaml b/templates/net/brocade_fc_sw_snmp/template_net_brocade_fc_sw_snmp.yaml index 1a797ced1e9..f43606343a5 100644 --- a/templates/net/brocade_fc_sw_snmp/template_net_brocade_fc_sw_snmp.yaml +++ b/templates/net/brocade_fc_sw_snmp/template_net_brocade_fc_sw_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T09:55:37Z' - groups: + date: '2022-06-07T19:37:02Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1392,8 +1392,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Brocade FC SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: c8b95f7ce9e44b5ea09273fb6c3c9a28 diff --git a/templates/net/brocade_foundry_sw_snmp/template_net_brocade_foundry_sw_snmp.yaml b/templates/net/brocade_foundry_sw_snmp/template_net_brocade_foundry_sw_snmp.yaml index 8a841731d31..4c04d2b4257 100644 --- a/templates/net/brocade_foundry_sw_snmp/template_net_brocade_foundry_sw_snmp.yaml +++ b/templates/net/brocade_foundry_sw_snmp/template_net_brocade_foundry_sw_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T09:55:12Z' - groups: + date: '2022-06-07T19:37:04Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1363,8 +1363,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Brocade_Foundry Nonstackable SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: d457efd8cee74f168bd88f4fb2376142 @@ -3616,8 +3616,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Brocade_Foundry Stackable SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 41fadae69fa64af4a21c853fc00f23c0 diff --git a/templates/net/cisco/cisco_asav_snmp/README.md b/templates/net/cisco/cisco_asav_snmp/README.md index a645425486d..c4b54b1bb61 100644 --- a/templates/net/cisco/cisco_asav_snmp/README.md +++ b/templates/net/cisco/cisco_asav_snmp/README.md @@ -70,7 +70,7 @@ There are no template links in this template. |Inventory |Cisco ASAv: {#CISCO.ASAV.PHYS.NAME} Model name |

MIB: ENTITY-MIB

The vendor-specific model name identifier string associated

with this physical component. The preferred value is the

customer-visible part number, which may be printed on the

component itself.

If the model name string associated with the physical

component is unknown to the agent, then this object will

contain a zero-length string.

|SNMP |cisco.asav.phys.model[{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

| |Memory |Cisco ASAv: {#SNMPVALUE} Used memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |cisco.asav.memory.used[{#SNMPINDEX}] | |Memory |Cisco ASAv: {#SNMPVALUE} Free memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |cisco.asav.memory.free[{#SNMPINDEX}] | -|Memory |Cisco ASAv: {#SNMPVALUE} Memory utilization |

Memory utilization in %

|CALCULATED |cisco.asav.memory.util[{#SNMPINDEX}]

**Expression**:

`last(//cisco.asav.memory.used[{#SNMPINDEX}])/(last(//cisco.asav.memory.free[{#SNMPINDEX}])+last(//cisco.asav.memory.used[{#SNMPINDEX}]))*100` | +|Memory |Cisco ASAv: {#SNMPVALUE} Memory utilization |

Memory utilization in %.

|CALCULATED |cisco.asav.memory.util[{#SNMPINDEX}]

**Expression**:

`last(//cisco.asav.memory.used[{#SNMPINDEX}])/(last(//cisco.asav.memory.free[{#SNMPINDEX}])+last(//cisco.asav.memory.used[{#SNMPINDEX}]))*100` | |Network interfaces |Cisco ASAv: {#CISCO.IF.NAME} Interface name |

MIB: CISCO-PORT-MIB

Descriptive name that identifies this port.

|SNMP |cisco.asav.net.if.name[{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

| |Network interfaces |Cisco ASAv: {#CISCO.IF.NAME} Interface description |

MIB: IF-MIB

A textual string containing information about the interface

|SNMP |cisco.asav.net.if.descr[{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

| |Network interfaces |Cisco ASAv: {#CISCO.IF.NAME} Operational status |

MIB: IF-MIB

The current operational state of the interface.

The testing(3) state indicates that no operational

packets can be passed.

|SNMP |cisco.asav.net.if.operstatus[{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

| @@ -108,7 +108,7 @@ There are no template links in this template. |Cisco ASAv: High memory utilization |

The system is running out of free memory.

|`min(/Cisco ASAv SNMP/cisco.asav.memory.util[{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}` |AVERAGE | | |Cisco ASAv: {#CISCO.IF.NAME} Link down |

This trigger expression works as follows:

1. Can be triggered if operations status is down.

2. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)

WARNING: if closed manually - won't fire again on next poll, because of .diff.

|`last(/Cisco ASAv SNMP/cisco.asav.net.if.operstatus[{#SNMPINDEX}])=2 and last(/Cisco ASAv SNMP/cisco.asav.net.if.operstatus[{#SNMPINDEX}],#1)<>last(/Cisco ASAv SNMP/cisco.asav.net.if.operstatus[{#SNMPINDEX}],#2)`

Recovery expression:

`last(/Cisco ASAv SNMP/cisco.asav.net.if.operstatus[{#SNMPINDEX}])<>2` |AVERAGE |

Manual close: YES

| |Cisco ASAv: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco ASAv SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|Cisco ASAv: has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco ASAv SNMP/cisco.asav.uptime)<10m` |INFO |

Manual close: YES

| +|Cisco ASAv: has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco ASAv SNMP/cisco.asav.uptime)<10m` |INFO |

Manual close: YES

| ## Feedback diff --git a/templates/net/cisco/cisco_asav_snmp/template_net_cisco_asav_snmp.yaml b/templates/net/cisco/cisco_asav_snmp/template_net_cisco_asav_snmp.yaml index 5405046755d..a8ba01fd08a 100644 --- a/templates/net/cisco/cisco_asav_snmp/template_net_cisco_asav_snmp.yaml +++ b/templates/net/cisco/cisco_asav_snmp/template_net_cisco_asav_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:04Z' - groups: + date: '2022-06-07T19:33:05Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -163,7 +163,7 @@ zabbix_export: name: 'Cisco ASAv: has been restarted' event_name: 'Cisco ASAv: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -302,7 +302,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//cisco.asav.memory.used[{#SNMPINDEX}])/(last(//cisco.asav.memory.free[{#SNMPINDEX}])+last(//cisco.asav.memory.used[{#SNMPINDEX}]))*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component diff --git a/templates/net/cisco/cisco_catalyst_3750_24fs_snmp/template_net_cisco_catalyst_3750_24fs_snmp.yaml b/templates/net/cisco/cisco_catalyst_3750_24fs_snmp/template_net_cisco_catalyst_3750_24fs_snmp.yaml index d5f819b0ead..6872415f13e 100644 --- a/templates/net/cisco/cisco_catalyst_3750_24fs_snmp/template_net_cisco_catalyst_3750_24fs_snmp.yaml +++ b/templates/net/cisco/cisco_catalyst_3750_24fs_snmp/template_net_cisco_catalyst_3750_24fs_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:17:44Z' - groups: + date: '2022-06-07T19:33:06Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/cisco/cisco_catalyst_3750_24ps_snmp/template_net_cisco_catalyst_3750_24ps_snmp.yaml b/templates/net/cisco/cisco_catalyst_3750_24ps_snmp/template_net_cisco_catalyst_3750_24ps_snmp.yaml index c109f6603fd..44ff51c4777 100644 --- a/templates/net/cisco/cisco_catalyst_3750_24ps_snmp/template_net_cisco_catalyst_3750_24ps_snmp.yaml +++ b/templates/net/cisco/cisco_catalyst_3750_24ps_snmp/template_net_cisco_catalyst_3750_24ps_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:18:35Z' - groups: + date: '2022-06-07T19:33:07Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/cisco/cisco_catalyst_3750_24ts_snmp/template_net_cisco_catalyst_3750_24ts_snmp.yaml b/templates/net/cisco/cisco_catalyst_3750_24ts_snmp/template_net_cisco_catalyst_3750_24ts_snmp.yaml index 933e69f96cd..f1dd6ec750e 100644 --- a/templates/net/cisco/cisco_catalyst_3750_24ts_snmp/template_net_cisco_catalyst_3750_24ts_snmp.yaml +++ b/templates/net/cisco/cisco_catalyst_3750_24ts_snmp/template_net_cisco_catalyst_3750_24ts_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:18:22Z' - groups: + date: '2022-06-07T19:33:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/cisco/cisco_catalyst_3750_48ps_snmp/template_net_cisco_catalyst_3750_48ps_snmp.yaml b/templates/net/cisco/cisco_catalyst_3750_48ps_snmp/template_net_cisco_catalyst_3750_48ps_snmp.yaml index 3099aa3f1b3..4dc8821946c 100644 --- a/templates/net/cisco/cisco_catalyst_3750_48ps_snmp/template_net_cisco_catalyst_3750_48ps_snmp.yaml +++ b/templates/net/cisco/cisco_catalyst_3750_48ps_snmp/template_net_cisco_catalyst_3750_48ps_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:17:57Z' - groups: + date: '2022-06-07T19:33:09Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/cisco/cisco_catalyst_3750_48ts_snmp/template_net_cisco_catalyst_3750_48ts_snmp.yaml b/templates/net/cisco/cisco_catalyst_3750_48ts_snmp/template_net_cisco_catalyst_3750_48ts_snmp.yaml index 0a24be2cc1d..de769d25141 100644 --- a/templates/net/cisco/cisco_catalyst_3750_48ts_snmp/template_net_cisco_catalyst_3750_48ts_snmp.yaml +++ b/templates/net/cisco/cisco_catalyst_3750_48ts_snmp/template_net_cisco_catalyst_3750_48ts_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-15T08:18:09Z' - groups: + date: '2022-06-07T19:33:10Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/cisco/cisco_snmp/README.md b/templates/net/cisco/cisco_snmp/README.md index 870a5bdb321..b1d2afde8fd 100644 --- a/templates/net/cisco/cisco_snmp/README.md +++ b/templates/net/cisco/cisco_snmp/README.md @@ -89,7 +89,7 @@ There are no template links in this template. |Inventory |{#ENT_NAME}: Hardware serial number |

MIB: ENTITY-MIB

|SNMP |system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |{#SNMPVALUE}: Used memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}] | |Memory |{#SNMPVALUE}: Free memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}] | -|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | +|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Duplex status |

MIB: EtherLike-MIB

The current mode of operation of the MAC

entity. 'unknown' indicates that the current

duplex mode could not be determined.

Management control of the duplex mode is

accomplished through the MAU MIB. When

an interface does not support autonegotiation,

or when autonegotiation is not enabled, the

duplex mode is controlled using

ifMauDefaultType. When autonegotiation is

supported and enabled, duplex mode is controlled

using ifMauAutoNegAdvertisedBits. In either

case, the currently operating duplex mode is

reflected both in this object and in ifMauType.

Note that this object provides redundant

information with ifMauType. Normally, redundant

objects are discouraged. However, in this

instance, it allows a management application to

determine the duplex status of an interface

without having to know every possible value of

ifMauType. This was felt to be sufficiently

valuable to justify the redundancy.

Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.

|SNMP |net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -128,7 +128,7 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/Cisco IOS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Cisco IOS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/Cisco IOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/Cisco IOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/Cisco IOS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Cisco IOS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/Cisco IOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |{#SENSOR_INFO}: Power supply is in critical state |

Please check the power supply unit for errors

|`count(/Cisco IOS SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1` |AVERAGE | | |{#SENSOR_INFO}: Power supply is in warning state |

Please check the power supply unit for errors

|`count(/Cisco IOS SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1` |WARNING |

**Depends on**:

- {#SENSOR_INFO}: Power supply is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco IOS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco IOS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco IOS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Cisco IOS SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Cisco IOS SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| @@ -236,7 +236,7 @@ There are no template links in this template. |Inventory |{#ENT_NAME}: Hardware serial number |

MIB: ENTITY-MIB

|SNMP |system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |{#SNMPVALUE}: Used memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}] | |Memory |{#SNMPVALUE}: Free memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}] | -|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | +|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -273,7 +273,7 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |{#SENSOR_INFO}: Power supply is in critical state |

Please check the power supply unit for errors

|`count(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1` |AVERAGE | | |{#SENSOR_INFO}: Power supply is in warning state |

Please check the power supply unit for errors

|`count(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1` |WARNING |

**Depends on**:

- {#SENSOR_INFO}: Power supply is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| @@ -358,7 +358,7 @@ There are no template links in this template. |Inventory |{#ENT_NAME}: Hardware serial number |

MIB: ENTITY-MIB

|SNMP |system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |{#SNMPVALUE}: Used memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}] | |Memory |{#SNMPVALUE}: Free memory |

MIB: CISCO-MEMORY-POOL-MIB

Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool

Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html

|SNMP |vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}] | -|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | +|Memory |{#SNMPVALUE}: Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[vm.memory.util.{#SNMPINDEX}]

**Expression**:

`last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100` | |Power supply |{#SENSOR_INFO}: Power supply status |

MIB: CISCO-ENVMON-MIB

|SNMP |sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}] | |Status |Uptime |

MIB: SNMPv2-MIB

The time (in hundredths of a second) since the network management portion of the system was last re-initialized.

|SNMP |system.uptime[sysUpTime.0]

**Preprocessing**:

- MULTIPLIER: `0.01`

| |Status |SNMP agent availability |

Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.

Possible value:

0 - not available

1 - available

2 - unknown

|INTERNAL |zabbix[host,snmp,available] | @@ -382,7 +382,7 @@ There are no template links in this template. |{#SNMPVALUE}: High memory utilization |

The system is running out of free memory.

|`min(/Cisco IOS prior to 12.0_3_T SNMP/vm.memory.util[vm.memory.util.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}` |AVERAGE | | |{#SENSOR_INFO}: Power supply is in critical state |

Please check the power supply unit for errors

|`count(/Cisco IOS prior to 12.0_3_T SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS prior to 12.0_3_T SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1` |AVERAGE | | |{#SENSOR_INFO}: Power supply is in warning state |

Please check the power supply unit for errors

|`count(/Cisco IOS prior to 12.0_3_T SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS prior to 12.0_3_T SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1` |WARNING |

**Depends on**:

- {#SENSOR_INFO}: Power supply is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco IOS prior to 12.0_3_T SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco IOS prior to 12.0_3_T SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco IOS prior to 12.0_3_T SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Cisco IOS prior to 12.0_3_T SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Cisco IOS prior to 12.0_3_T SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS prior to 12.0_3_T SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/net/cisco/cisco_snmp/template_net_cisco_snmp.yaml b/templates/net/cisco/cisco_snmp/template_net_cisco_snmp.yaml index 1f39d4f66be..68ce3cdb8d5 100644 --- a/templates/net/cisco/cisco_snmp/template_net_cisco_snmp.yaml +++ b/templates/net/cisco/cisco_snmp/template_net_cisco_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:00:16Z' - groups: + date: '2022-06-07T19:37:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -422,7 +422,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -632,7 +632,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1354,7 +1354,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1622,7 +1622,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -2558,8 +2558,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Cisco IOS SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: fb67666002524322b1b9ae9ed1611be5 @@ -3889,7 +3889,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -4161,7 +4161,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -5005,8 +5005,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: d811f4c78e8246f6a3ed1e903ade574d diff --git a/templates/net/dell_force_s_series_snmp/template_net_dell_force_s_series_snmp.yaml b/templates/net/dell_force_s_series_snmp/template_net_dell_force_s_series_snmp.yaml index a45760054b9..517ee00a0b6 100644 --- a/templates/net/dell_force_s_series_snmp/template_net_dell_force_s_series_snmp.yaml +++ b/templates/net/dell_force_s_series_snmp/template_net_dell_force_s_series_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:01:48Z' - groups: + date: '2022-06-07T19:37:10Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1447,8 +1447,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Dell Force S-Series SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 1962bc26a6064ee6868371f86d44dbeb diff --git a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml index 147b0c1effa..03db85aa7ca 100644 --- a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml +++ b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:16:34Z' - groups: + date: '2022-06-07T19:37:14Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1300,8 +1300,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'D-Link DES 7200 SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 538fac0622da44f6983715e4ab5174d8 diff --git a/templates/net/dlink_des_snmp/template_net_dlink_des_snmp.yaml b/templates/net/dlink_des_snmp/template_net_dlink_des_snmp.yaml index 3e6d7275189..95e6069ca90 100644 --- a/templates/net/dlink_des_snmp/template_net_dlink_des_snmp.yaml +++ b/templates/net/dlink_des_snmp/template_net_dlink_des_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:16:09Z' - groups: + date: '2022-06-07T19:37:12Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1427,8 +1427,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'D-Link DES_DGS Switch SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: e7ab460cf1bf4fca8afc22566257fc3a diff --git a/templates/net/extreme_snmp/template_net_extreme_snmp.yaml b/templates/net/extreme_snmp/template_net_extreme_snmp.yaml index 711c89bd747..e0d35e959f4 100644 --- a/templates/net/extreme_snmp/template_net_extreme_snmp.yaml +++ b/templates/net/extreme_snmp/template_net_extreme_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:42:35Z' - groups: + date: '2022-06-07T19:37:16Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1503,8 +1503,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Extreme EXOS SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 60e2bd909e284621a8a21810623b0e94 diff --git a/templates/net/f5_bigip_snmp/README.md b/templates/net/f5_bigip_snmp/README.md index a7795721a4a..37a4cefa049 100644 --- a/templates/net/f5_bigip_snmp/README.md +++ b/templates/net/f5_bigip_snmp/README.md @@ -200,7 +200,7 @@ There are no template links in this template. |F5 BIG-IP: Power supply [{#POWER.INDEX}] is not present |

Please check the power supply unit

|`last(/F5 Big-IP SNMP/bigip.chassis.power.status[{#POWER.INDEX}])=2` |INFO | | |F5 BIG-IP: Certificate expires ({#CERT.NAME}) |

Please check certificate

|`last(/F5 Big-IP SNMP/bigip.cert.expiration.date[{#CERT.NAME}]) - 86400 * {$BIGIP.CERT.MIN} < now()` |WARNING | | |F5 BIG-IP: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/F5 Big-IP SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|F5 BIG-IP: has been restarted |

Uptime is less than 10 minutes

|`last(/F5 Big-IP SNMP/bigip.uptime)<10m` |INFO |

Manual close: YES

| +|F5 BIG-IP: has been restarted |

Uptime is less than 10 minutes.

|`last(/F5 Big-IP SNMP/bigip.uptime)<10m` |INFO |

Manual close: YES

| |F5 BIG-IP: Chassis temperature |

-

|`last(/F5 Big-IP SNMP/bigip.chassis.temp.value[{#TEMP.INDEX}])>{$BIGIP.TEMP.HIGH}` |HIGH | | |F5 BIG-IP: Chassis temperature |

-

|`last(/F5 Big-IP SNMP/bigip.chassis.temp.value[{#TEMP.INDEX}])>{$BIGIP.TEMP.WARN}` |WARNING |

**Depends on**:

- F5 BIG-IP: Chassis temperature

| diff --git a/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml b/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml index b52f426b885..8a4e71f926f 100644 --- a/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml +++ b/templates/net/f5_bigip_snmp/template_net_f5_bigip_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:25Z' - groups: + date: '2022-06-07T19:33:20Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -469,7 +469,7 @@ zabbix_export: name: 'F5 BIG-IP: has been restarted' event_name: 'F5 BIG-IP: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/generic_snmp/README.md b/templates/net/generic_snmp/README.md index 8c0833baead..87dbb1555c1 100644 --- a/templates/net/generic_snmp/README.md +++ b/templates/net/generic_snmp/README.md @@ -82,7 +82,7 @@ There are no template links in this template. |Interface {#IFDESCR}: High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/Network Generic Device SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) or avg(/Network Generic Device SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])) and last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/Network Generic Device SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) and avg(/Network Generic Device SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/Network Generic Device SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/Network Generic Device SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/Network Generic Device SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/Network Generic Device SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])<0 and last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and ( last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/Network Generic Device SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/Network Generic Device SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2) `

Recovery expression:

`(change(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and last(/Network Generic Device SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}],#2)>0) or (last(/Network Generic Device SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2) ` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Network Generic Device SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Network Generic Device SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Network Generic Device SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Network Generic Device SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Network Generic Device SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Network Generic Device SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/net/generic_snmp/template_net_generic_snmp.yaml b/templates/net/generic_snmp/template_net_generic_snmp.yaml index 2e359c06864..5d958a93947 100644 --- a/templates/net/generic_snmp/template_net_generic_snmp.yaml +++ b/templates/net/generic_snmp/template_net_generic_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:00:34Z' - groups: + date: '2022-06-07T19:37:18Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -292,7 +292,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -991,8 +991,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFDESCR}: Network traffic' host: 'Network Generic Device SNMP' + name: 'Interface {#IFDESCR}: Network traffic' valuemaps: - uuid: df2e3dab72d94efba9a85bfd7d1c3148 diff --git a/templates/net/hp_hh3c_snmp/template_net_hp_hh3c_snmp.yaml b/templates/net/hp_hh3c_snmp/template_net_hp_hh3c_snmp.yaml index debc18bc361..ba72f6d12c4 100644 --- a/templates/net/hp_hh3c_snmp/template_net_hp_hh3c_snmp.yaml +++ b/templates/net/hp_hh3c_snmp/template_net_hp_hh3c_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:46:14Z' - groups: + date: '2022-06-07T19:37:20Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1513,8 +1513,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'HP Comware HH3C SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: ec3b9adaa2ad448db5a613cfb6e02fd3 diff --git a/templates/net/hp_hpn_snmp/template_net_hp_hpn_snmp.yaml b/templates/net/hp_hpn_snmp/template_net_hp_hpn_snmp.yaml index ef0aa406740..996ddde9ca9 100644 --- a/templates/net/hp_hpn_snmp/template_net_hp_hpn_snmp.yaml +++ b/templates/net/hp_hpn_snmp/template_net_hp_hpn_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T10:56:24Z' - groups: + date: '2022-06-07T19:37:22Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1594,8 +1594,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'HP Enterprise Switch SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 846197beea984cc783b84822437bbace diff --git a/templates/net/huawei_snmp/template_net_huawei_snmp.yaml b/templates/net/huawei_snmp/template_net_huawei_snmp.yaml index 54bfc59d875..533996c47e1 100644 --- a/templates/net/huawei_snmp/template_net_huawei_snmp.yaml +++ b/templates/net/huawei_snmp/template_net_huawei_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:00:43Z' - groups: + date: '2022-06-07T19:37:24Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1372,8 +1372,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Huawei VRP SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 64bf3ebd444c4c4ca472b0846790b107 diff --git a/templates/net/intel_qlogic_infiniband_snmp/template_net_intel_qlogic_infiniband_snmp.yaml b/templates/net/intel_qlogic_infiniband_snmp/template_net_intel_qlogic_infiniband_snmp.yaml index 5fef2f76e00..af4d2dbcae8 100644 --- a/templates/net/intel_qlogic_infiniband_snmp/template_net_intel_qlogic_infiniband_snmp.yaml +++ b/templates/net/intel_qlogic_infiniband_snmp/template_net_intel_qlogic_infiniband_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:02:59Z' - groups: + date: '2022-06-07T19:37:26Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1284,8 +1284,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Intel_Qlogic Infiniband SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 39299506ad14445fa7b7a9e78cc54619 diff --git a/templates/net/juniper_snmp/template_net_juniper_snmp.yaml b/templates/net/juniper_snmp/template_net_juniper_snmp.yaml index 2bd8d71c083..96c5137b5df 100644 --- a/templates/net/juniper_snmp/template_net_juniper_snmp.yaml +++ b/templates/net/juniper_snmp/template_net_juniper_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:04:56Z' - groups: + date: '2022-06-07T19:37:28Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1463,8 +1463,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Juniper SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 69625f8a027542638c3ca9b64522602d diff --git a/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml b/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml index 244ebc94487..79049dfca19 100644 --- a/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml +++ b/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:41:37Z' - groups: + date: '2022-06-07T19:37:29Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1677,8 +1677,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Mellanox SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: e41382f2a3394e52b885bb6a70df35ff name: 'System performance' @@ -1698,8 +1698,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'Mellanox SNMP' + name: 'CPU utilization' - type: GRAPH_PROTOTYPE 'y': '5' @@ -1722,8 +1722,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#MEMNAME}: Memory utilization' host: 'Mellanox SNMP' + name: '{#MEMNAME}: Memory utilization' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1746,8 +1746,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Mellanox SNMP' + name: '{#FSNAME}: Disk space usage' valuemaps: - uuid: d42214398aea4362b4fc61a090f188e1 diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/README.md index b4a7cc20068..ba96bb561ba 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1009-7G-1C-1SPC SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1009-7G-1C-1SPC SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1009-7G-1C-1SPC SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1009-7G-1C-1SPC SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1009-7G-1C-1SPC SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1009-7G-1C-1SPC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+PC_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+PC_snmp.yaml index 85fe0b1415a..e3d1cc9bf9b 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+PC_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+PC_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+PC_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:13Z' - groups: + date: '2022-06-07T19:33:54Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 93eaacd1543d440c93faa4b7c4fcd02d expression: | last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 70397fb0b0754a42a9c97c77c2037d2a expression: | last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1SPC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1009-7G-1C-1SPC SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 2c87030228374ab0a2f1051f5fdd1c48 diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/README.md index 89401823265..692d9114d3d 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1009-7G-1C-1S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1009-7G-1C-1S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1009-7G-1C-1S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1009-7G-1C-1S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1009-7G-1C-1S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1009-7G-1C-1S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1009-7G-1C-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+_snmp.yaml index 42d5412fe29..2e074eca8c7 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-1S+_snmp/template_net_mikrotik_CCR1009-7G-1C-1S+_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:09Z' - groups: + date: '2022-06-07T19:33:51Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: e6500e2d99fa46dea445d9cc469df81e expression: | last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 33a9e94bff174f31978be450df1f3c40 expression: | last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1009-7G-1C-1S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 3a94c6ec55bb4acea2aff228712bc4f2 diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/README.md index bc5fde63326..d6e92cd6faf 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1009-7G-1C-PC SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1009-7G-1C-PC SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1009-7G-1C-PC SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1009-7G-1C-PC SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1009-7G-1C-PC SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1009-7G-1C-PC SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1009-7G-1C-PC SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/template_net_mikrotik_CCR1009-7G-1C-PC_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/template_net_mikrotik_CCR1009-7G-1C-PC_snmp.yaml index 1bda3d0e628..5e0e8a76e86 100644 --- a/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/template_net_mikrotik_CCR1009-7G-1C-PC_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1009-7G-1C-PC_snmp/template_net_mikrotik_CCR1009-7G-1C-PC_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:16Z' - groups: + date: '2022-06-07T19:33:57Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: fc93929bd60542d3896fbcdd590479be expression: | last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 6aa796b2784848a7ab26a7e6da8993a9 expression: | last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1009-7G-1C-PC SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1009-7G-1C-PC SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: fc286c3054704db2bc3b0e8b88ff74c0 diff --git a/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/README.md index 71cfe00e0f6..ff53809d4e3 100644 --- a/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1016-12G SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1016-12G SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1016-12G SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1016-12G SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1016-12G SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1016-12G SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1016-12G SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1016-12G SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1016-12G SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1016-12G SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1016-12G SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1016-12G SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1016-12G SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1016-12G SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1016-12G SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1016-12G SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1016-12G SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1016-12G SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1016-12G SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1016-12G SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/template_net_mikrotik_CCR1016-12G_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/template_net_mikrotik_CCR1016-12G_snmp.yaml index c8b4a96e51a..bc1f0a3a399 100644 --- a/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/template_net_mikrotik_CCR1016-12G_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1016-12G_snmp/template_net_mikrotik_CCR1016-12G_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:19Z' - groups: + date: '2022-06-07T19:34:00Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 79b2a705172743a88de436aa62be33ad expression: | last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 8c8e59c2079d4bfcbd775b0c38bbf253 expression: | last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12G SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12G SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12G SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1016-12G SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 22f415a6b99d4266adc34008f74b8273 diff --git a/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/README.md index 94e55836dc4..d8f5a95b8f4 100644 --- a/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1016-12S-1S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1016-12S-1S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1016-12S-1S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1016-12S-1S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1016-12S-1S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1016-12S-1S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1016-12S-1S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1016-12S-1S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1016-12S-1S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1016-12S-1S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1016-12S-1S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1016-12S-1S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1016-12S-1S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1016-12S-1S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1016-12S-1S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1016-12S-1S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1016-12S-1S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1016-12S-1S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1016-12S-1S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1016-12S-1S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/template_net_mikrotik_CCR1016-12S-1S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/template_net_mikrotik_CCR1016-12S-1S+_snmp.yaml index 50a06d2a7ef..48d885c52b6 100644 --- a/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/template_net_mikrotik_CCR1016-12S-1S+_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1016-12S-1S+_snmp/template_net_mikrotik_CCR1016-12S-1S+_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:23Z' - groups: + date: '2022-06-07T19:34:02Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 7e201487d2ed496492eb2dbb1a169021 expression: | last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: fcc24d6aa85a4ae4b104d9523afe073d expression: | last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1016-12S-1S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1016-12S-1S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 1fd54fd1f5b245aa92674432cac9455d diff --git a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/README.md index 5c9ee63334c..180b1810316 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1036-12G-4S-EM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1036-12G-4S-EM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1036-12G-4S-EM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1036-12G-4S-EM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1036-12G-4S-EM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1036-12G-4S-EM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1036-12G-4S-EM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/template_net_mikrotik_CCR1036-12G-4S-EM_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/template_net_mikrotik_CCR1036-12G-4S-EM_snmp.yaml index 58a260fa5c5..0ee3714594f 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/template_net_mikrotik_CCR1036-12G-4S-EM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S-EM_snmp/template_net_mikrotik_CCR1036-12G-4S-EM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:27Z' - groups: + date: '2022-06-07T19:34:05Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 07a38ca5caf7408fa0e61ec5bb2d2c9a expression: | last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 313ea923495e4a0289519b8c228f018a expression: | last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S-EM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1036-12G-4S-EM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 91555b102b4344ecabb9ffba5cefdfd2 diff --git a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/README.md index a1550b38d7c..0b14677a9fa 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1036-12G-4S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1036-12G-4S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1036-12G-4S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1036-12G-4S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1036-12G-4S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1036-12G-4S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1036-12G-4S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1036-12G-4S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1036-12G-4S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1036-12G-4S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1036-12G-4S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1036-12G-4S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1036-12G-4S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1036-12G-4S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1036-12G-4S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1036-12G-4S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1036-12G-4S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1036-12G-4S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1036-12G-4S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/template_net_mikrotik_CCR1036-12G-4S_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/template_net_mikrotik_CCR1036-12G-4S_snmp.yaml index 5bbf080541d..c780259fa81 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/template_net_mikrotik_CCR1036-12G-4S_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1036-12G-4S_snmp/template_net_mikrotik_CCR1036-12G-4S_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:30Z' - groups: + date: '2022-06-07T19:34:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 73127568919e45ca9df89ab08285a3b5 expression: | last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 954903eaecf54c26874d9e5ce47e044b expression: | last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-12G-4S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1036-12G-4S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 584f260e2200488084f41fbe709dd0ab diff --git a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/README.md index b26a3a8b98c..e7a61da6406 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1036-8G-2SEM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1036-8G-2SEM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1036-8G-2SEM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1036-8G-2SEM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1036-8G-2SEM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1036-8G-2SEM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2SEM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1036-8G-2SEM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1036-8G-2SEM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1036-8G-2SEM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1036-8G-2SEM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1036-8G-2SEM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1036-8G-2SEM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1036-8G-2SEM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1036-8G-2SEM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1036-8G-2SEM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1036-8G-2SEM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/template_net_mikrotik_CCR1036-8G-2S+EM_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/template_net_mikrotik_CCR1036-8G-2S+EM_snmp.yaml index 073a1618dcc..477711c5954 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/template_net_mikrotik_CCR1036-8G-2S+EM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+EM_snmp/template_net_mikrotik_CCR1036-8G-2S+EM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:38Z' - groups: + date: '2022-06-07T19:34:14Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 768953b43aab47d0bfcf9eeef75625ad expression: | last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 74b9590a3e2448bc926fdd29bc6ec153 expression: | last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2SEM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1036-8G-2SEM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 33859113b37a4ed7b36e31ec6d016fd5 diff --git a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/README.md index a66089593ce..0398934918f 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1036-8G-2S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1036-8G-2S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1036-8G-2S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1036-8G-2S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1036-8G-2S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1036-8G-2S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1036-8G-2S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1036-8G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1036-8G-2S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1036-8G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1036-8G-2S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1036-8G-2S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1036-8G-2S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1036-8G-2S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1036-8G-2S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1036-8G-2S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1036-8G-2S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1036-8G-2S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1036-8G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/template_net_mikrotik_CCR1036-8G-2S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/template_net_mikrotik_CCR1036-8G-2S+_snmp.yaml index edf41bbd6bc..b5389e64adb 100644 --- a/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/template_net_mikrotik_CCR1036-8G-2S+_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1036-8G-2S+_snmp/template_net_mikrotik_CCR1036-8G-2S+_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:34Z' - groups: + date: '2022-06-07T19:34:11Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 72a2fc862c354ab0a3d8fb491aaed9e1 expression: | last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: d66a941be43a440fb13386d9a319a5b3 expression: | last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1036-8G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1036-8G-2S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 6e4c66c16e274c5f8caa1617020884cc diff --git a/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/README.md index ce9c2f815b4..ca9cc76058d 100644 --- a/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR1072-1G-8S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR1072-1G-8S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR1072-1G-8S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR1072-1G-8S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR1072-1G-8S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR1072-1G-8S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR1072-1G-8S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR1072-1G-8S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR1072-1G-8S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR1072-1G-8S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR1072-1G-8S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR1072-1G-8S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR1072-1G-8S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR1072-1G-8S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR1072-1G-8S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR1072-1G-8S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR1072-1G-8S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR1072-1G-8S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR1072-1G-8S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR1072-1G-8S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/template_net_mikrotik_CCR1072-1G-8S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/template_net_mikrotik_CCR1072-1G-8S+_snmp.yaml index 696fb62b4b6..50a00e359a5 100644 --- a/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/template_net_mikrotik_CCR1072-1G-8S+_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR1072-1G-8S+_snmp/template_net_mikrotik_CCR1072-1G-8S+_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:42Z' - groups: + date: '2022-06-07T19:34:17Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 044aabf4d95c4c9ba7ccec76446f50af expression: | last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 3a5a7043d1b64fe5a7fdefc341fcc22a expression: | last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR1072-1G-8S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR1072-1G-8S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 766be8ef402c431995ab5c5e70970cf4 diff --git a/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/README.md index a86bbc43697..3c342ba6700 100644 --- a/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR2004-16G-2S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR2004-16G-2S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR2004-16G-2S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR2004-16G-2S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR2004-16G-2S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR2004-16G-2S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR2004-16G-2S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR2004-16G-2S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR2004-16G-2S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR2004-16G-2S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR2004-16G-2S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR2004-16G-2S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR2004-16G-2S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR2004-16G-2S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR2004-16G-2S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR2004-16G-2S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR2004-16G-2S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR2004-16G-2S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR2004-16G-2S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR2004-16G-2S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml index 7f04c63956d..c26f6e4c965 100644 --- a/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR2004-16G-2S+_snmp/template_net_mikrotik_CCR2004-16G-2S+_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:46Z' - groups: + date: '2022-06-07T19:34:20Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 8ddf161b19eb4716b1ec7cb270970703 expression: | last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 0a19983ae1d443bbb4224a61d46b62de expression: | last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-16G-2S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR2004-16G-2S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 39905ed60f834c78836e3fe8b4cf34fe diff --git a/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/README.md b/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/README.md index 9952ac6b3d9..3a85865d47f 100644 --- a/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CCR2004-1G-12S2XS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CCR2004-1G-12S2XS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CCR2004-1G-12S2XS SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CCR2004-1G-12S2XS SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CCR2004-1G-12S2XS SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CCR2004-1G-12S2XS SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CCR2004-1G-12S2XS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/template_net_mikrotik_CCR2004-1G-12S+2XS_snmp.yaml b/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/template_net_mikrotik_CCR2004-1G-12S+2XS_snmp.yaml index b45524257c5..41561701d7f 100644 --- a/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/template_net_mikrotik_CCR2004-1G-12S+2XS_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CCR2004-1G-12S+2XS_snmp/template_net_mikrotik_CCR2004-1G-12S+2XS_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:50Z' - groups: + date: '2022-06-07T19:34:23Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: dfcf03d83fb147b18be991b65d2298d6 expression: | last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 95f44fd2b533449593e2095edda00fc9 expression: | last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CCR2004-1G-12S2XS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CCR2004-1G-12S2XS SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: d58e77f172d14ec5ab67d03296c7d38c diff --git a/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/README.md index cbdfd201ba8..1b3798bb040 100644 --- a/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS106-1C-5S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS106-1C-5S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS106-1C-5S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS106-1C-5S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS106-1C-5S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS106-1C-5S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS106-1C-5S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS106-1C-5S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS106-1C-5S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS106-1C-5S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS106-1C-5S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS106-1C-5S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS106-1C-5S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS106-1C-5S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS106-1C-5S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS106-1C-5S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS106-1C-5S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS106-1C-5S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS106-1C-5S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS106-1C-5S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/template_net_mikrotik_CRS106-1C-5S_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/template_net_mikrotik_CRS106-1C-5S_snmp.yaml index d132f43765f..e6c72c3572f 100644 --- a/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/template_net_mikrotik_CRS106-1C-5S_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS106-1C-5S_snmp/template_net_mikrotik_CRS106-1C-5S_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:54Z' - groups: + date: '2022-06-07T19:34:25Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 6a2a5c6ce51b4f6b912a01e45d1a5409 expression: | last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 0df7d927286d47998fcf15c41bce944f expression: | last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS106-1C-5S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS106-1C-5S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS106-1C-5S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: ce35f7985cc545bb821b0d0603ddcdd5 diff --git a/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/README.md index 57d56bba6b6..7f777c99987 100644 --- a/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS109-8G-1S-2HnD-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS109-8G-1S-2HnD-IN_snmp.yaml index acf729d574b..51636d200a2 100644 --- a/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS109-8G-1S-2HnD-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS109-8G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS109-8G-1S-2HnD-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:58Z' - groups: + date: '2022-06-07T19:34:28Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 463c460bdff441ce9af1ea170ea4dbc2 expression: | last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: a758c3e0841e4fff93ff4bcaa41505eb expression: | last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS109-8G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS109-8G-1S-2HnD-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 10ff85e100864e88910e26efd34896d3 diff --git a/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/README.md index 2fa382ef4f5..711e4eec0d7 100644 --- a/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS112-8G-4S-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS112-8G-4S-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS112-8G-4S-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS112-8G-4S-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS112-8G-4S-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS112-8G-4S-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS112-8G-4S-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS112-8G-4S-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS112-8G-4S-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS112-8G-4S-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS112-8G-4S-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS112-8G-4S-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS112-8G-4S-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS112-8G-4S-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS112-8G-4S-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS112-8G-4S-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS112-8G-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/template_net_mikrotik_CRS112-8G-4S-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/template_net_mikrotik_CRS112-8G-4S-IN_snmp.yaml index 8575c70d5f3..ac8ffc59dfb 100644 --- a/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/template_net_mikrotik_CRS112-8G-4S-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS112-8G-4S-IN_snmp/template_net_mikrotik_CRS112-8G-4S-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:02Z' - groups: + date: '2022-06-07T19:34:31Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 572cb48de9bd4010b907cff6efa9f3a8 expression: | last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 10639cc4b8de4879a99c70061d5d48ea expression: | last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8G-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS112-8G-4S-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 554abaed99124d0eb787506c0cb1b56a diff --git a/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/README.md index 91c7c945d94..deca385dd21 100644 --- a/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS112-8P-4S-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS112-8P-4S-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS112-8P-4S-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS112-8P-4S-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS112-8P-4S-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS112-8P-4S-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS112-8P-4S-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS112-8P-4S-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS112-8P-4S-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS112-8P-4S-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS112-8P-4S-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS112-8P-4S-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS112-8P-4S-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS112-8P-4S-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS112-8P-4S-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS112-8P-4S-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS112-8P-4S-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/template_net_mikrotik_CRS112-8P-4S-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/template_net_mikrotik_CRS112-8P-4S-IN_snmp.yaml index f9a432c4c56..b9de67b01ea 100644 --- a/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/template_net_mikrotik_CRS112-8P-4S-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS112-8P-4S-IN_snmp/template_net_mikrotik_CRS112-8P-4S-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:05Z' - groups: + date: '2022-06-07T19:34:34Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 2e7f4f0eaf384c68acaf1bafadc6296a expression: | last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 380f830e3e714a99b9c7b30c1fbce14b expression: | last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS112-8P-4S-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS112-8P-4S-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 844451a575b14c3abccb52db6637c57c diff --git a/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/README.md index d2d8e5f8b03..518f556c9e5 100644 --- a/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS125-24G-1S-2HnD-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS125-24G-1S-2HnD-IN_snmp.yaml index 979ad31ddb0..df649b1f5df 100644 --- a/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS125-24G-1S-2HnD-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS125-24G-1S-2HnD-IN_snmp/template_net_mikrotik_CRS125-24G-1S-2HnD-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:10Z' - groups: + date: '2022-06-07T19:34:37Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: e5df295edd2848329708aaf765a8e8be expression: | last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 31ff4cd8ae95435193ecc37238327c4c expression: | last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS125-24G-1S-2HnD-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS125-24G-1S-2HnD-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 88ab84cb938a40a3918f884efd188d15 diff --git a/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/README.md index fe3c3b2827b..3436b23431a 100644 --- a/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS212-1G-10S-1SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS212-1G-10S-1SIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS212-1G-10S-1SIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS212-1G-10S-1SIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS212-1G-10S-1SIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS212-1G-10S-1SIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS212-1G-10S-1SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/template_net_mikrotik_CRS212-1G-10S-1S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/template_net_mikrotik_CRS212-1G-10S-1S+IN_snmp.yaml index e7e3246deff..40285fd27d3 100644 --- a/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/template_net_mikrotik_CRS212-1G-10S-1S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS212-1G-10S-1S+IN_snmp/template_net_mikrotik_CRS212-1G-10S-1S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:14Z' - groups: + date: '2022-06-07T19:34:40Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 2e330eb1ac0a4427ab150c2f1c3949b0 expression: | last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: ba3b9fe3bb7041c5a2e7d9fec8bed517 expression: | last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS212-1G-10S-1SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS212-1G-10S-1SIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 9a2a53f5b1ee4cfd8128d6fd3ee94f19 diff --git a/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/README.md index 3b097311288..9c52a72dff6 100644 --- a/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS305-1G-4SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS305-1G-4SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS305-1G-4SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS305-1G-4SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS305-1G-4SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS305-1G-4SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS305-1G-4SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS305-1G-4SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS305-1G-4SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS305-1G-4SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS305-1G-4SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS305-1G-4SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS305-1G-4SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS305-1G-4SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS305-1G-4SIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS305-1G-4SIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS305-1G-4SIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS305-1G-4SIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS305-1G-4SIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS305-1G-4SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/template_net_mikrotik_CRS305-1G-4S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/template_net_mikrotik_CRS305-1G-4S+IN_snmp.yaml index b49ced4e364..1b6faca438f 100644 --- a/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/template_net_mikrotik_CRS305-1G-4S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS305-1G-4S+IN_snmp/template_net_mikrotik_CRS305-1G-4S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:18Z' - groups: + date: '2022-06-07T19:34:42Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 7589fe3f0e3e4c26ac21cd314b1c07e7 expression: | last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 30977d9643d6482c89fe5a08030c559a expression: | last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS305-1G-4SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS305-1G-4SIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 741d15ef55334ec9b017e355a1ed958b diff --git a/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/README.md index 4a1860eb7e5..28be4a4f723 100644 --- a/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS309-1G-8SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS309-1G-8SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS309-1G-8SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS309-1G-8SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS309-1G-8SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS309-1G-8SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS309-1G-8SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS309-1G-8SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS309-1G-8SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS309-1G-8SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS309-1G-8SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS309-1G-8SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS309-1G-8SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS309-1G-8SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS309-1G-8SIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS309-1G-8SIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS309-1G-8SIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS309-1G-8SIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS309-1G-8SIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS309-1G-8SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/template_net_mikrotik_CRS309-1G-8S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/template_net_mikrotik_CRS309-1G-8S+IN_snmp.yaml index 7fa9f6d0e75..0942ea5a19e 100644 --- a/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/template_net_mikrotik_CRS309-1G-8S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS309-1G-8S+IN_snmp/template_net_mikrotik_CRS309-1G-8S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:22Z' - groups: + date: '2022-06-07T19:34:45Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 2d873bbec47d4b3281b1aa33c87c60a0 expression: | last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 6bab52e75f8e4286a7c4ec7336a4d417 expression: | last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS309-1G-8SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS309-1G-8SIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: eb2dc24843604c1b8ef9169ce65e570c diff --git a/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/README.md index e423c77bd4d..1e1a016e864 100644 --- a/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS312-4C8XG-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS312-4C8XG-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS312-4C8XG-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS312-4C8XG-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS312-4C8XG-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS312-4C8XG-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS312-4C8XG-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS312-4C8XG-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS312-4C8XG-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS312-4C8XG-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS312-4C8XG-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS312-4C8XG-RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS312-4C8XG-RM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS312-4C8XG-RM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS312-4C8XG-RM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS312-4C8XG-RM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS312-4C8XG-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/template_net_mikrotik_CRS312-4C+8XG-RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/template_net_mikrotik_CRS312-4C+8XG-RM_snmp.yaml index dce0d2b403a..8cacb4e5223 100644 --- a/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/template_net_mikrotik_CRS312-4C+8XG-RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS312-4C+8XG-RM_snmp/template_net_mikrotik_CRS312-4C+8XG-RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:26Z' - groups: + date: '2022-06-07T19:34:48Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 49a1cefb001c47bbae541e71673d5eb5 expression: | last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 5145ea5e4fb04f9c9dfc90d61ca65d1b expression: | last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS312-4C8XG-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS312-4C8XG-RM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 09f1738eab3c4fc381b22b1d82a8d192 diff --git a/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/README.md index c16ebdb9f24..0891c8a8b8f 100644 --- a/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS317-1G-16SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS317-1G-16SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS317-1G-16SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS317-1G-16SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS317-1G-16SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS317-1G-16SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS317-1G-16SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS317-1G-16SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS317-1G-16SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS317-1G-16SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS317-1G-16SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS317-1G-16SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS317-1G-16SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS317-1G-16SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS317-1G-16SRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS317-1G-16SRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS317-1G-16SRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS317-1G-16SRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS317-1G-16SRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS317-1G-16SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/template_net_mikrotik_CRS317-1G-16S+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/template_net_mikrotik_CRS317-1G-16S+RM_snmp.yaml index 9db15f9c05a..8351adfe381 100644 --- a/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/template_net_mikrotik_CRS317-1G-16S+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS317-1G-16S+RM_snmp/template_net_mikrotik_CRS317-1G-16S+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:30Z' - groups: + date: '2022-06-07T19:34:51Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: ee1e3d1444c947d2898cf120dc3fc53f expression: | last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: a6f92ac3ee824ef486a82f441fb60a67 expression: | last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS317-1G-16SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS317-1G-16SRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 898bfaed08a44954897385e63d854c0f diff --git a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/README.md index 6ae4944daae..6f2b5309660 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS326-24G-2SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS326-24G-2SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS326-24G-2SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS326-24G-2SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS326-24G-2SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS326-24G-2SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS326-24G-2SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS326-24G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS326-24G-2SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS326-24G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS326-24G-2SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS326-24G-2SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS326-24G-2SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS326-24G-2SIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS326-24G-2SIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS326-24G-2SIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS326-24G-2SIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS326-24G-2SIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS326-24G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/template_net_mikrotik_CRS326-24G-2S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/template_net_mikrotik_CRS326-24G-2S+IN_snmp.yaml index b1609b388f8..785d9a6178a 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/template_net_mikrotik_CRS326-24G-2S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+IN_snmp/template_net_mikrotik_CRS326-24G-2S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:34Z' - groups: + date: '2022-06-07T19:34:54Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 3e07aa63774040ef9369b3280cae156d expression: | last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: caae865a278946958a38fa40a41f180f expression: | last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS326-24G-2SIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: a47c7db9e85a42f6807209393d5be773 diff --git a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/README.md index e66a190b058..f0cc7ef263d 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS326-24G-2SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS326-24G-2SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS326-24G-2SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS326-24G-2SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS326-24G-2SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS326-24G-2SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS326-24G-2SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS326-24G-2SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS326-24G-2SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS326-24G-2SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS326-24G-2SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS326-24G-2SRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS326-24G-2SRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS326-24G-2SRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS326-24G-2SRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS326-24G-2SRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/template_net_mikrotik_CRS326-24G-2S+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/template_net_mikrotik_CRS326-24G-2S+RM_snmp.yaml index a5d14863c3e..4b73d91997c 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/template_net_mikrotik_CRS326-24G-2S+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS326-24G-2S+RM_snmp/template_net_mikrotik_CRS326-24G-2S+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:38Z' - groups: + date: '2022-06-07T19:34:56Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: c01561923734478abc70b7c02d2d9add expression: | last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: e53a74871f2b4fadb8ff206f348fc90c expression: | last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS326-24G-2SRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 8c73c67d22c343c5a37d23afe2fbe98b diff --git a/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/README.md index 47abd7c342b..44ba0bac4e3 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS326-24S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS326-24S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS326-24S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS326-24S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS326-24S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS326-24S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS326-24S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS326-24S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS326-24S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS326-24S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS326-24S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS326-24S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS326-24S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS326-24S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS326-24S2QRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS326-24S2QRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS326-24S2QRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS326-24S2QRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS326-24S2QRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS326-24S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/template_net_mikrotik_CRS326-24S+2Q+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/template_net_mikrotik_CRS326-24S+2Q+RM_snmp.yaml index 6c94956d9ee..5711bd09d19 100644 --- a/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/template_net_mikrotik_CRS326-24S+2Q+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS326-24S+2Q+RM_snmp/template_net_mikrotik_CRS326-24S+2Q+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:43Z' - groups: + date: '2022-06-07T19:34:59Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: e6c0c2401c0940ef8edae9aa38aa49e3 expression: | last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: d72e1d5537ec498788f6e7e57e18f65d expression: | last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS326-24S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS326-24S2QRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: d9450045bbb64855ae135a53308f3a22 diff --git a/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/README.md index c9ec8e38a88..35ebad1380f 100644 --- a/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS328-24P-4SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS328-24P-4SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS328-24P-4SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS328-24P-4SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS328-24P-4SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS328-24P-4SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS328-24P-4SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS328-24P-4SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS328-24P-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS328-24P-4SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS328-24P-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS328-24P-4SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS328-24P-4SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS328-24P-4SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS328-24P-4SRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS328-24P-4SRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS328-24P-4SRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS328-24P-4SRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS328-24P-4SRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS328-24P-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/template_net_mikrotik_CRS328-24P-4S+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/template_net_mikrotik_CRS328-24P-4S+RM_snmp.yaml index 2ba2baf8a6a..49a3c9170ef 100644 --- a/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/template_net_mikrotik_CRS328-24P-4S+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS328-24P-4S+RM_snmp/template_net_mikrotik_CRS328-24P-4S+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:47Z' - groups: + date: '2022-06-07T19:35:02Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: e9f77bfbd9e64dc0a9549c0e54da0582 expression: | last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: ff9b2a577fc64bdeb0c8e1feaac80862 expression: | last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-24P-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS328-24P-4SRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: d081693e5965461ab47d1e39712d0730 diff --git a/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/README.md index 1ae716f7064..14b4af66885 100644 --- a/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS328-4C-20S-4SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS328-4C-20S-4SRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS328-4C-20S-4SRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS328-4C-20S-4SRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS328-4C-20S-4SRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS328-4C-20S-4SRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS328-4C-20S-4SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/template_net_mikrotik_CRS328-4C-20S-4S+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/template_net_mikrotik_CRS328-4C-20S-4S+RM_snmp.yaml index 5e40e9f4626..a17e0336186 100644 --- a/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/template_net_mikrotik_CRS328-4C-20S-4S+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS328-4C-20S-4S+RM_snmp/template_net_mikrotik_CRS328-4C-20S-4S+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:51Z' - groups: + date: '2022-06-07T19:35:05Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 708c6b4a613c4795bd2b3c8b10b9fed4 expression: | last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 1220479e0e0b4dbbb7590ec2b8359009 expression: | last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS328-4C-20S-4SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS328-4C-20S-4SRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 42f75b8ccc1642699bc4c681379cdf9a diff --git a/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/README.md index 25376e3145e..c2b4d2771d8 100644 --- a/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS354-48G-4S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS354-48G-4S2QRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS354-48G-4S2QRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS354-48G-4S2QRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS354-48G-4S2QRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS354-48G-4S2QRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS354-48G-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48G-4S+2Q+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48G-4S+2Q+RM_snmp.yaml index 7bf285faabb..d2ef15afc1b 100644 --- a/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48G-4S+2Q+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS354-48G-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48G-4S+2Q+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:56:56Z' - groups: + date: '2022-06-07T19:35:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: adf6f10ebb2e42989ed41b69e3411431 expression: | last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: da4dd8436d6f4787801e6d2f10b59a47 expression: | last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48G-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS354-48G-4S2QRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 328bdd06aa634535895f099b1ae489a2 diff --git a/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/README.md index ad8804493f6..f9c69929c27 100644 --- a/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CRS354-48P-4S2QRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CRS354-48P-4S2QRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CRS354-48P-4S2QRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CRS354-48P-4S2QRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CRS354-48P-4S2QRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CRS354-48P-4S2QRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CRS354-48P-4S2QRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48P-4S+2Q+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48P-4S+2Q+RM_snmp.yaml index de9892fe121..c8893dd54da 100644 --- a/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48P-4S+2Q+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CRS354-48P-4S+2Q+RM_snmp/template_net_mikrotik_CRS354-48P-4S+2Q+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:00Z' - groups: + date: '2022-06-07T19:35:11Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 63d24ac83bc24eb5b64ecc47c75c1c4a expression: | last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: ed3c082e9f264f20862f9cd20d4e9724 expression: | last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CRS354-48P-4S2QRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CRS354-48P-4S2QRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: a020e149d8cd44b4bc01757e860fea9b diff --git a/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/README.md index 67cb5bdb1fa..04f33911c3d 100644 --- a/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CSS326-24G-2SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CSS326-24G-2SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CSS326-24G-2SRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CSS326-24G-2SRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CSS326-24G-2SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CSS326-24G-2SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CSS326-24G-2SRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CSS326-24G-2SRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CSS326-24G-2SRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CSS326-24G-2SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CSS326-24G-2SRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CSS326-24G-2SRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CSS326-24G-2SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CSS326-24G-2SRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CSS326-24G-2SRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CSS326-24G-2SRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CSS326-24G-2SRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CSS326-24G-2SRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CSS326-24G-2SRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CSS326-24G-2SRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/template_net_mikrotik_CSS326-24G-2S+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/template_net_mikrotik_CSS326-24G-2S+RM_snmp.yaml index 27691c613c0..c084481e034 100644 --- a/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/template_net_mikrotik_CSS326-24G-2S+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CSS326-24G-2S+RM_snmp/template_net_mikrotik_CSS326-24G-2S+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:04Z' - groups: + date: '2022-06-07T19:35:14Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 7e550dcc8005425db0c20785d3818466 expression: | last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 92d4b209c4e249fcab9d72eae2da160d expression: | last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS326-24G-2SRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CSS326-24G-2SRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 03170ad661d94227a3ed44be919bb70b diff --git a/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/README.md index 7202d01fa01..f83023b618e 100644 --- a/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik CSS610-8G-2SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik CSS610-8G-2SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik CSS610-8G-2SIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik CSS610-8G-2SIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik CSS610-8G-2SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik CSS610-8G-2SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik CSS610-8G-2SIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik CSS610-8G-2SIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik CSS610-8G-2SIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik CSS610-8G-2SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik CSS610-8G-2SIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik CSS610-8G-2SIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik CSS610-8G-2SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik CSS610-8G-2SIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik CSS610-8G-2SIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik CSS610-8G-2SIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik CSS610-8G-2SIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik CSS610-8G-2SIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik CSS610-8G-2SIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik CSS610-8G-2SIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/template_net_mikrotik_CSS610-8G-2S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/template_net_mikrotik_CSS610-8G-2S+IN_snmp.yaml index fd695e505b8..182ce703721 100644 --- a/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/template_net_mikrotik_CSS610-8G-2S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_CSS610-8G-2S+IN_snmp/template_net_mikrotik_CSS610-8G-2S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:08Z' - groups: + date: '2022-06-07T19:35:16Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 1f6e2a2bdf04499eabb18118fdbfcc4f expression: | last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 7fe3563d08ad470f909545c146b1b2c1 expression: | last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik CSS610-8G-2SIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik CSS610-8G-2SIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 373f90696d5446dfb8b96ac601ea46bf diff --git a/templates/net/mikrotik/mikrotik_FiberBox_snmp/README.md b/templates/net/mikrotik/mikrotik_FiberBox_snmp/README.md index c17dc508f86..1809a699f8c 100644 --- a/templates/net/mikrotik/mikrotik_FiberBox_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_FiberBox_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik FiberBox SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik FiberBox SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik FiberBox SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik FiberBox SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik FiberBox SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik FiberBox SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik FiberBox SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik FiberBox SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik FiberBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik FiberBox SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik FiberBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik FiberBox SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik FiberBox SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik FiberBox SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik FiberBox SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik FiberBox SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik FiberBox SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik FiberBox SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik FiberBox SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik FiberBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_FiberBox_snmp/template_net_mikrotik_FiberBox_snmp.yaml b/templates/net/mikrotik/mikrotik_FiberBox_snmp/template_net_mikrotik_FiberBox_snmp.yaml index e8dc98347ba..1c1232c05d1 100644 --- a/templates/net/mikrotik/mikrotik_FiberBox_snmp/template_net_mikrotik_FiberBox_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_FiberBox_snmp/template_net_mikrotik_FiberBox_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:13Z' - groups: + date: '2022-06-07T19:35:19Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: d48fafd1402e4774a5e7c2d854e3ebbc expression: | last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 802aa708fd8e42fdaa61d1aa3394c58b expression: | last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik FiberBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik FiberBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik FiberBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik FiberBox SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 405ab38009ec49348abe0b0c40cf8400 diff --git a/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/README.md b/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/README.md index 82ba717676e..5680ce3097e 100644 --- a/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik PowerBox Pro SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik PowerBox Pro SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik PowerBox Pro SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik PowerBox Pro SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik PowerBox Pro SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik PowerBox Pro SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik PowerBox Pro SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik PowerBox Pro SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik PowerBox Pro SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik PowerBox Pro SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik PowerBox Pro SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik PowerBox Pro SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik PowerBox Pro SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik PowerBox Pro SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik PowerBox Pro SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik PowerBox Pro SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik PowerBox Pro SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik PowerBox Pro SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik PowerBox Pro SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik PowerBox Pro SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/template_net_mikrotik_PowerBox_Pro_snmp.yaml b/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/template_net_mikrotik_PowerBox_Pro_snmp.yaml index fd78e19f1ed..cd143297313 100644 --- a/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/template_net_mikrotik_PowerBox_Pro_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_PowerBox_Pro_snmp/template_net_mikrotik_PowerBox_Pro_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:59Z' - groups: + date: '2022-06-07T19:35:47Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 21b45f8f32344ed9a2323ef940fdb564 expression: | last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 13db9f1c26754199937d4447976591ce expression: | last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox Pro SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox Pro SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox Pro SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik PowerBox Pro SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: f3c5ab8576b34585a21cc5c12ea2f030 diff --git a/templates/net/mikrotik/mikrotik_PowerBox_snmp/README.md b/templates/net/mikrotik/mikrotik_PowerBox_snmp/README.md index a04301a28af..dc1d81ad681 100644 --- a/templates/net/mikrotik/mikrotik_PowerBox_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_PowerBox_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik PowerBox SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik PowerBox SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik PowerBox SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik PowerBox SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik PowerBox SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik PowerBox SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik PowerBox SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik PowerBox SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik PowerBox SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik PowerBox SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik PowerBox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik PowerBox SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik PowerBox SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik PowerBox SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik PowerBox SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik PowerBox SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik PowerBox SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik PowerBox SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik PowerBox SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik PowerBox SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_PowerBox_snmp/template_net_mikrotik_PowerBox_snmp.yaml b/templates/net/mikrotik/mikrotik_PowerBox_snmp/template_net_mikrotik_PowerBox_snmp.yaml index 0078bf57ccc..f310553e02a 100644 --- a/templates/net/mikrotik/mikrotik_PowerBox_snmp/template_net_mikrotik_PowerBox_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_PowerBox_snmp/template_net_mikrotik_PowerBox_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:55Z' - groups: + date: '2022-06-07T19:35:45Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 3e812901cab94bbc9d5f15e8b70da4a0 expression: | last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: bee86ff10a084f76b4b266aa5e20df22 expression: | last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik PowerBox SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik PowerBox SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik PowerBox SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik PowerBox SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 1688633d1275445f846db4e63be4ec87 diff --git a/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/README.md b/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/README.md index 8d8f405e722..0c2787f3568 100644 --- a/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB1100AHx4 Dude Edition SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB1100AHx4 Dude Edition SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB1100AHx4 Dude Edition SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB1100AHx4 Dude Edition SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB1100AHx4 Dude Edition SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB1100AHx4 Dude Edition SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB1100AHx4 Dude Edition SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/template_net_mikrotik_RB1100AHx4_Dude_Edition_snmp.yaml b/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/template_net_mikrotik_RB1100AHx4_Dude_Edition_snmp.yaml index 9f454c67579..206a55df0d7 100644 --- a/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/template_net_mikrotik_RB1100AHx4_Dude_Edition_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB1100AHx4_Dude_Edition_snmp/template_net_mikrotik_RB1100AHx4_Dude_Edition_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:09Z' - groups: + date: '2022-06-07T19:35:53Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 47a1f1bee8f64507900f48de26bba052 expression: | last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 419bd5a8f90d4e879be3707a3ad3f551 expression: | last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 Dude Edition SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB1100AHx4 Dude Edition SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 6baa15161f3645ec9f7c55454fb5b575 diff --git a/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/README.md b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/README.md index 9e7905f5012..10e06a5fb9e 100644 --- a/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB1100AHx4 SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB1100AHx4 SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB1100AHx4 SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB1100AHx4 SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB1100AHx4 SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB1100AHx4 SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB1100AHx4 SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB1100AHx4 SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB1100AHx4 SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB1100AHx4 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB1100AHx4 SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB1100AHx4 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB1100AHx4 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB1100AHx4 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB1100AHx4 SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB1100AHx4 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB1100AHx4 SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB1100AHx4 SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB1100AHx4 SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml index 1801fe089f7..469644d5bea 100644 --- a/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB1100AHx4_snmp/template_net_mikrotik_RB1100AHx4_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:04Z' - groups: + date: '2022-06-07T19:35:50Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: e665c0343ae140d08b8ae96b6c28f4d4 expression: | last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: c685347700044a78a38e4e892d3dfec4 expression: | last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB1100AHx4 SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB1100AHx4 SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB1100AHx4 SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB1100AHx4 SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 7c2123a387904176a8285e3e1405622f diff --git a/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/README.md index 3b94b64a3df..216bf120f38 100644 --- a/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB2011UiAS-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB2011UiAS-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB2011UiAS-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB2011UiAS-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB2011UiAS-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB2011UiAS-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB2011UiAS-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB2011UiAS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB2011UiAS-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB2011UiAS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB2011UiAS-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB2011UiAS-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB2011UiAS-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB2011UiAS-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB2011UiAS-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB2011UiAS-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB2011UiAS-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB2011UiAS-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB2011UiAS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/template_net_mikrotik_RB2011UiAS-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/template_net_mikrotik_RB2011UiAS-IN_snmp.yaml index 1f2ee729911..70692faa67d 100644 --- a/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/template_net_mikrotik_RB2011UiAS-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB2011UiAS-IN_snmp/template_net_mikrotik_RB2011UiAS-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:28Z' - groups: + date: '2022-06-07T19:36:04Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 388504f73df94d21bea32bdbda0fadb7 expression: | last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: ef0ef8ddead24672adf8e65eed13f60f expression: | last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB2011UiAS-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 2cc282d274444241a03ee557db156c73 diff --git a/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/README.md b/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/README.md index f7164712e17..10a230a456e 100644 --- a/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB2011UiAS-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB2011UiAS-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB2011UiAS-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB2011UiAS-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB2011UiAS-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB2011UiAS-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB2011UiAS-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB2011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB2011UiAS-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB2011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB2011UiAS-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB2011UiAS-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB2011UiAS-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB2011UiAS-RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB2011UiAS-RM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB2011UiAS-RM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB2011UiAS-RM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB2011UiAS-RM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB2011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/template_net_mikrotik_RB2011UiAS-RM_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/template_net_mikrotik_RB2011UiAS-RM_snmp.yaml index a45aee88b3c..58394eaeeb3 100644 --- a/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/template_net_mikrotik_RB2011UiAS-RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB2011UiAS-RM_snmp/template_net_mikrotik_RB2011UiAS-RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:33Z' - groups: + date: '2022-06-07T19:36:07Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 728a9e55d14b4b859caf170cc910879e expression: | last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 12ffbe36a2e14c139f5d662ea509912d expression: | last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB2011UiAS-RM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 270aa43aec684b4691a231c73aeb3f0f diff --git a/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/README.md index 6eced69a3e4..efaf8dffffc 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB2011iL-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB2011iL-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB2011iL-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB2011iL-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB2011iL-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB2011iL-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB2011iL-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB2011iL-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB2011iL-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB2011iL-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB2011iL-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB2011iL-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB2011iL-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB2011iL-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB2011iL-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB2011iL-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB2011iL-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB2011iL-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB2011iL-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB2011iL-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/template_net_mikrotik_RB2011iL-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/template_net_mikrotik_RB2011iL-IN_snmp.yaml index 9eb0b7051f5..823a7228ba7 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/template_net_mikrotik_RB2011iL-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB2011iL-IN_snmp/template_net_mikrotik_RB2011iL-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:14Z' - groups: + date: '2022-06-07T19:35:56Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: a140f5a63cba423c8f59439efd8d501f expression: | last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: c3e3d8a9bcac473e8c641f116355ccbb expression: | last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB2011iL-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 5ad8c335be4242fab3fe494707553a44 diff --git a/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/README.md b/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/README.md index 129c4bd31a4..766864a785d 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB2011iL-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB2011iL-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB2011iL-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB2011iL-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB2011iL-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB2011iL-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB2011iL-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB2011iL-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB2011iL-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB2011iL-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB2011iL-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB2011iL-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB2011iL-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB2011iL-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB2011iL-RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB2011iL-RM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB2011iL-RM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB2011iL-RM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB2011iL-RM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB2011iL-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/template_net_mikrotik_RB2011iL-RM_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/template_net_mikrotik_RB2011iL-RM_snmp.yaml index 5a1bdd19832..9cc1bb0431f 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/template_net_mikrotik_RB2011iL-RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB2011iL-RM_snmp/template_net_mikrotik_RB2011iL-RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:19Z' - groups: + date: '2022-06-07T19:35:59Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: a4a3e86a03684038ba779bac1041eaec expression: | last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 7202bab5700444f58d4eabd9433f0efd expression: | last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iL-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iL-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iL-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB2011iL-RM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 77234a3478a44316b69d7cb39b018b47 diff --git a/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/README.md b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/README.md index 05cfe5d184b..878d56b42c7 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB2011iLS-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB2011iLS-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB2011iLS-IN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB2011iLS-IN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB2011iLS-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB2011iLS-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB2011iLS-IN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB2011iLS-IN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB2011iLS-IN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB2011iLS-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB2011iLS-IN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB2011iLS-IN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB2011iLS-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB2011iLS-IN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB2011iLS-IN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB2011iLS-IN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB2011iLS-IN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB2011iLS-IN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB2011iLS-IN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB2011iLS-IN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml index f7a493c3488..6e1fcf32519 100644 --- a/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB2011iLS-IN_snmp/template_net_mikrotik_RB2011iLS-IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:23Z' - groups: + date: '2022-06-07T19:36:02Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: c3e8a5f013f34395afeffc5eabbe01ac expression: | last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 2199168e964c4bd79ad06de3c1226f1d expression: | last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB2011iLS-IN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB2011iLS-IN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB2011iLS-IN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 8ab38f3183414268a97886537f26bb62 diff --git a/templates/net/mikrotik/mikrotik_RB260GSP_snmp/README.md b/templates/net/mikrotik/mikrotik_RB260GSP_snmp/README.md index 33b9b6832d6..0bbc21ebbe2 100644 --- a/templates/net/mikrotik/mikrotik_RB260GSP_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB260GSP_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB260GSP SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB260GSP SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB260GSP SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB260GSP SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB260GSP SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB260GSP SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB260GSP SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB260GSP SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB260GSP SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB260GSP SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB260GSP SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB260GSP SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB260GSP SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB260GSP SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB260GSP SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB260GSP SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB260GSP SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB260GSP SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB260GSP SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB260GSP SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB260GSP_snmp/template_net_mikrotik_RB260GSP_snmp.yaml b/templates/net/mikrotik/mikrotik_RB260GSP_snmp/template_net_mikrotik_RB260GSP_snmp.yaml index 267949661b6..46f6b728d9d 100644 --- a/templates/net/mikrotik/mikrotik_RB260GSP_snmp/template_net_mikrotik_RB260GSP_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB260GSP_snmp/template_net_mikrotik_RB260GSP_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:44Z' - groups: + date: '2022-06-07T19:36:13Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: c8c7b25b435e4157a22c8f4d6fce9ea5 expression: | last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: e63fb086de874cfe86e0d03d2d57f157 expression: | last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GSP SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GSP SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GSP SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB260GSP SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: e730f38a15e34cb4b52d27710056a28a diff --git a/templates/net/mikrotik/mikrotik_RB260GS_snmp/README.md b/templates/net/mikrotik/mikrotik_RB260GS_snmp/README.md index ea1e9a7cbb0..375cab0cc11 100644 --- a/templates/net/mikrotik/mikrotik_RB260GS_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB260GS_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB260GS SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB260GS SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB260GS SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB260GS SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB260GS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB260GS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB260GS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB260GS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB260GS SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB260GS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB260GS SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB260GS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB260GS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB260GS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB260GS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB260GS SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB260GS SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB260GS SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB260GS SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB260GS SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB260GS_snmp/template_net_mikrotik_RB260GS_snmp.yaml b/templates/net/mikrotik/mikrotik_RB260GS_snmp/template_net_mikrotik_RB260GS_snmp.yaml index ca9f9c02322..f0d99931e3b 100644 --- a/templates/net/mikrotik/mikrotik_RB260GS_snmp/template_net_mikrotik_RB260GS_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB260GS_snmp/template_net_mikrotik_RB260GS_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:39Z' - groups: + date: '2022-06-07T19:36:10Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 67f66bb09eba4cb2b823fbf96391e0ca expression: | last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: f28661579bf04f6eaa1bc06f92f8d8f2 expression: | last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB260GS SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB260GS SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB260GS SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB260GS SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: bba96f7bcedf4277b5411562b17b0216 diff --git a/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/README.md b/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/README.md index d7dd2bed0ec..2b6c71cb4a5 100644 --- a/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB3011UiAS-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB3011UiAS-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB3011UiAS-RM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB3011UiAS-RM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB3011UiAS-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB3011UiAS-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB3011UiAS-RM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB3011UiAS-RM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB3011UiAS-RM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB3011UiAS-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB3011UiAS-RM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB3011UiAS-RM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB3011UiAS-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB3011UiAS-RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB3011UiAS-RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB3011UiAS-RM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB3011UiAS-RM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB3011UiAS-RM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB3011UiAS-RM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB3011UiAS-RM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/template_net_mikrotik_RB3011UiAS-RM_snmp.yaml b/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/template_net_mikrotik_RB3011UiAS-RM_snmp.yaml index e547659e7db..a7f7404992c 100644 --- a/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/template_net_mikrotik_RB3011UiAS-RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB3011UiAS-RM_snmp/template_net_mikrotik_RB3011UiAS-RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:49Z' - groups: + date: '2022-06-07T19:36:16Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: ccbd9c9dab504a7bab4f403386e5178f expression: | last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 9b4adeaeed41450f839967a3d049b027 expression: | last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB3011UiAS-RM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB3011UiAS-RM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: e6d270e997dc40dcb0b2d69f0eeaad69 diff --git a/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/README.md b/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/README.md index 0e58d009f7f..db504c026ba 100644 --- a/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB4011iGSRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB4011iGSRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB4011iGSRM SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB4011iGSRM SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB4011iGSRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB4011iGSRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB4011iGSRM SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB4011iGSRM SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB4011iGSRM SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB4011iGSRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB4011iGSRM SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB4011iGSRM SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB4011iGSRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB4011iGSRM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB4011iGSRM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB4011iGSRM SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB4011iGSRM SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB4011iGSRM SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB4011iGSRM SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB4011iGSRM SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/template_net_mikrotik_RB4011iGS+RM_snmp.yaml b/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/template_net_mikrotik_RB4011iGS+RM_snmp.yaml index 1a9d96291e8..18baadbea5e 100644 --- a/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/template_net_mikrotik_RB4011iGS+RM_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB4011iGS+RM_snmp/template_net_mikrotik_RB4011iGS+RM_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:54Z' - groups: + date: '2022-06-07T19:36:19Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 7ec2dad6b1de421d800a086ad45e8fdd expression: | last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: e91014be808f40ceba0123f0e59e9975 expression: | last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB4011iGSRM SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB4011iGSRM SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB4011iGSRM SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB4011iGSRM SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 1a0d7378fe7340b68845b69fb4f93483 diff --git a/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/README.md b/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/README.md index 9389f96ddbb..e18a2a6d27a 100644 --- a/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik RB5009UGSIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik RB5009UGSIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik RB5009UGSIN SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik RB5009UGSIN SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik RB5009UGSIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik RB5009UGSIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik RB5009UGSIN SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik RB5009UGSIN SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik RB5009UGSIN SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik RB5009UGSIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik RB5009UGSIN SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik RB5009UGSIN SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik RB5009UGSIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik RB5009UGSIN SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik RB5009UGSIN SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik RB5009UGSIN SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik RB5009UGSIN SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik RB5009UGSIN SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik RB5009UGSIN SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik RB5009UGSIN SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/template_net_mikrotik_RB5009UG+S+IN_snmp.yaml b/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/template_net_mikrotik_RB5009UG+S+IN_snmp.yaml index 8f05cb7ede9..e2d12d69b53 100644 --- a/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/template_net_mikrotik_RB5009UG+S+IN_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_RB5009UG+S+IN_snmp/template_net_mikrotik_RB5009UG+S+IN_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:58:59Z' - groups: + date: '2022-06-07T19:36:22Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: da49d6b3b96c4c32b1439d13a289a2ef expression: | last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: dd9a814580fd47be8982b9ca83217070 expression: | last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik RB5009UGSIN SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik RB5009UGSIN SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik RB5009UGSIN SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik RB5009UGSIN SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 209d3691ddba4079971e42b4c66bbf7b diff --git a/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/README.md b/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/README.md index 9667364bcae..9a3bb0fe19e 100644 --- a/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik hEX PoE lite SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik hEX PoE lite SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik hEX PoE lite SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik hEX PoE lite SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik hEX PoE lite SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik hEX PoE lite SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik hEX PoE lite SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik hEX PoE lite SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik hEX PoE lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik hEX PoE lite SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik hEX PoE lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik hEX PoE lite SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik hEX PoE lite SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik hEX PoE lite SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik hEX PoE lite SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik hEX PoE lite SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik hEX PoE lite SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik hEX PoE lite SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik hEX PoE lite SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik hEX PoE lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/template_net_mikrotik_hEX_PoE_lite_snmp.yaml b/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/template_net_mikrotik_hEX_PoE_lite_snmp.yaml index 9898af0caaa..934d9dedb11 100644 --- a/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/template_net_mikrotik_hEX_PoE_lite_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_hEX_PoE_lite_snmp/template_net_mikrotik_hEX_PoE_lite_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:31Z' - groups: + date: '2022-06-07T19:35:31Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: b911cb33e9044a599d10c06e5b0f90fb expression: | last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: eada2d5bde184483bc0496677aff2c3c expression: | last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik hEX PoE lite SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: c212726bbd1047f2aa72c2f88b1bd4d8 diff --git a/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/README.md b/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/README.md index c5691a2ac0f..38f63f57229 100644 --- a/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik hEX PoE SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik hEX PoE SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik hEX PoE SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik hEX PoE SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik hEX PoE SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik hEX PoE SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik hEX PoE SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik hEX PoE SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik hEX PoE SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik hEX PoE SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik hEX PoE SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik hEX PoE SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik hEX PoE SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik hEX PoE SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik hEX PoE SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik hEX PoE SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik hEX PoE SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik hEX PoE SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik hEX PoE SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik hEX PoE SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/template_net_mikrotik_hEX_PoE_snmp.yaml b/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/template_net_mikrotik_hEX_PoE_snmp.yaml index 9fdae57c498..076e1991139 100644 --- a/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/template_net_mikrotik_hEX_PoE_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_hEX_PoE_snmp/template_net_mikrotik_hEX_PoE_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:26Z' - groups: + date: '2022-06-07T19:35:28Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 6d5b2060b6c946c7835867727dec0f87 expression: | last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: e05e7d6b7b6c45f7974f39a258a754f8 expression: | last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX PoE SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX PoE SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX PoE SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik hEX PoE SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 15171bce73d64d4db72399fefc7c55f1 diff --git a/templates/net/mikrotik/mikrotik_hEX_S_snmp/README.md b/templates/net/mikrotik/mikrotik_hEX_S_snmp/README.md index f2ecb478789..720d6c5cf37 100644 --- a/templates/net/mikrotik/mikrotik_hEX_S_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_hEX_S_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik hEX S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik hEX S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik hEX S SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik hEX S SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik hEX S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik hEX S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik hEX S SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik hEX S SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik hEX S SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik hEX S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik hEX S SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik hEX S SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik hEX S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik hEX S SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik hEX S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik hEX S SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik hEX S SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik hEX S SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik hEX S SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik hEX S SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_hEX_S_snmp/template_net_mikrotik_hEX_S_snmp.yaml b/templates/net/mikrotik/mikrotik_hEX_S_snmp/template_net_mikrotik_hEX_S_snmp.yaml index 6add7761054..4f084ab6e21 100644 --- a/templates/net/mikrotik/mikrotik_hEX_S_snmp/template_net_mikrotik_hEX_S_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_hEX_S_snmp/template_net_mikrotik_hEX_S_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:35Z' - groups: + date: '2022-06-07T19:35:33Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: f303b6ce2be34c8ca0f51e5c73e47715 expression: | last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: cdef153d2e914c12ba3303c938489359 expression: | last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX S SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX S SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX S SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik hEX S SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 6ea0ca9342014c71be6d5c38203bcf55 diff --git a/templates/net/mikrotik/mikrotik_hEX_lite_snmp/README.md b/templates/net/mikrotik/mikrotik_hEX_lite_snmp/README.md index f5b667f8cac..882b0623d86 100644 --- a/templates/net/mikrotik/mikrotik_hEX_lite_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_hEX_lite_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik hEX lite SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik hEX lite SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik hEX lite SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik hEX lite SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik hEX lite SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik hEX lite SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik hEX lite SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik hEX lite SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik hEX lite SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik hEX lite SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik hEX lite SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik hEX lite SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik hEX lite SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik hEX lite SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik hEX lite SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik hEX lite SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik hEX lite SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik hEX lite SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik hEX lite SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik hEX lite SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_hEX_lite_snmp/template_net_mikrotik_hEX_lite_snmp.yaml b/templates/net/mikrotik/mikrotik_hEX_lite_snmp/template_net_mikrotik_hEX_lite_snmp.yaml index fa8c3d9d175..02a7476b78d 100644 --- a/templates/net/mikrotik/mikrotik_hEX_lite_snmp/template_net_mikrotik_hEX_lite_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_hEX_lite_snmp/template_net_mikrotik_hEX_lite_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:22Z' - groups: + date: '2022-06-07T19:35:25Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: cd0ef8f6c93340a1aadd0559ef302476 expression: | last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 0460d9d1f873497ea57430cf067c786e expression: | last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX lite SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX lite SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX lite SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik hEX lite SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 76ca35629e874d2f90546a74a4b36ffb diff --git a/templates/net/mikrotik/mikrotik_hEX_snmp/README.md b/templates/net/mikrotik/mikrotik_hEX_snmp/README.md index 1d39120b307..4aec99d37c6 100644 --- a/templates/net/mikrotik/mikrotik_hEX_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_hEX_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik hEX SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik hEX SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik hEX SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik hEX SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik hEX SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik hEX SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik hEX SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik hEX SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik hEX SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik hEX SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik hEX SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik hEX SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik hEX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik hEX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik hEX SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik hEX SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik hEX SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik hEX SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik hEX SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik hEX SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_hEX_snmp/template_net_mikrotik_hEX_snmp.yaml b/templates/net/mikrotik/mikrotik_hEX_snmp/template_net_mikrotik_hEX_snmp.yaml index 6abd2fbfd37..60a1c75383e 100644 --- a/templates/net/mikrotik/mikrotik_hEX_snmp/template_net_mikrotik_hEX_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_hEX_snmp/template_net_mikrotik_hEX_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:17Z' - groups: + date: '2022-06-07T19:35:22Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 927bf28b0d7f4409ab7b2de288e59b66 expression: | last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: ca6639ac0950404da35738314aa3b88e expression: | last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik hEX SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik hEX SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik hEX SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik hEX SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: e440d3590aee41198de71b1b8d03b4b9 diff --git a/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/README.md b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/README.md index ad1558e783b..25c4a1d2789 100644 --- a/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik netPower 15FR SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik netPower 15FR SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik netPower 15FR SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik netPower 15FR SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik netPower 15FR SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik netPower 15FR SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik netPower 15FR SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik netPower 15FR SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik netPower 15FR SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik netPower 15FR SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik netPower 15FR SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik netPower 15FR SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik netPower 15FR SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik netPower 15FR SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik netPower 15FR SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik netPower 15FR SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik netPower 15FR SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik netPower 15FR SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik netPower 15FR SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik netPower 15FR SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml index 3f74c2d3542..12dea57bc44 100644 --- a/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_netPower_15FR_snmp/template_net_mikrotik_netPower_15FR_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:40Z' - groups: + date: '2022-06-07T19:35:36Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 2ba297940326432dbbc91974ed99d53d expression: | last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: e3054ae302bd4c29b81b6f4c58c39021 expression: | last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 15FR SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 15FR SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 15FR SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik netPower 15FR SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 839bc47f8c5a4c08a124d98a67d1d008 diff --git a/templates/net/mikrotik/mikrotik_netPower_16P_snmp/README.md b/templates/net/mikrotik/mikrotik_netPower_16P_snmp/README.md index 373b081095f..32a20ea13c2 100644 --- a/templates/net/mikrotik/mikrotik_netPower_16P_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_netPower_16P_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik netPower 16P SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik netPower 16P SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik netPower 16P SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik netPower 16P SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik netPower 16P SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik netPower 16P SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik netPower 16P SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik netPower 16P SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik netPower 16P SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik netPower 16P SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik netPower 16P SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik netPower 16P SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik netPower 16P SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik netPower 16P SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik netPower 16P SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik netPower 16P SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik netPower 16P SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik netPower 16P SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik netPower 16P SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik netPower 16P SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_netPower_16P_snmp/template_net_mikrotik_netPower_16P_snmp.yaml b/templates/net/mikrotik/mikrotik_netPower_16P_snmp/template_net_mikrotik_netPower_16P_snmp.yaml index 17b66a2d848..2c7422ea7ea 100644 --- a/templates/net/mikrotik/mikrotik_netPower_16P_snmp/template_net_mikrotik_netPower_16P_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_netPower_16P_snmp/template_net_mikrotik_netPower_16P_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:45Z' - groups: + date: '2022-06-07T19:35:39Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 5f17a45877b44fbab75b614db365db47 expression: | last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: c5c80f5a24484c05b62d7bb5474f2091 expression: | last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower 16P SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower 16P SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower 16P SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik netPower 16P SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: f67e80e8803c4aa7bf64347a6ab40336 diff --git a/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/README.md b/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/README.md index 8780b487019..833b725ee89 100644 --- a/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/README.md @@ -90,7 +90,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -138,13 +138,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/MikroTik netPower Lite 7R SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/MikroTik netPower Lite 7R SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/MikroTik netPower Lite 7R SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/MikroTik netPower Lite 7R SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/MikroTik netPower Lite 7R SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/MikroTik netPower Lite 7R SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/MikroTik netPower Lite 7R SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/MikroTik netPower Lite 7R SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/MikroTik netPower Lite 7R SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/MikroTik netPower Lite 7R SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/MikroTik netPower Lite 7R SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/MikroTik netPower Lite 7R SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/MikroTik netPower Lite 7R SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/MikroTik netPower Lite 7R SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/MikroTik netPower Lite 7R SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/MikroTik netPower Lite 7R SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/MikroTik netPower Lite 7R SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/MikroTik netPower Lite 7R SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/MikroTik netPower Lite 7R SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/MikroTik netPower Lite 7R SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/template_net_mikrotik_netPower_Lite_7R_snmp.yaml b/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/template_net_mikrotik_netPower_Lite_7R_snmp.yaml index 3b23d503f3f..bb1b7eff75a 100644 --- a/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/template_net_mikrotik_netPower_Lite_7R_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_netPower_Lite_7R_snmp/template_net_mikrotik_netPower_Lite_7R_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:57:50Z' - groups: + date: '2022-06-07T19:35:42Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -424,7 +424,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -491,7 +491,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1820,7 +1820,7 @@ zabbix_export: uuid: 1019a14b0998497daff1707692bc38ac expression: | last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1828,7 +1828,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1842,7 +1842,7 @@ zabbix_export: uuid: 1c431594950944138617449b126c5d92 expression: | last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1850,7 +1850,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1858,7 +1858,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/MikroTik netPower Lite 7R SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/MikroTik netPower Lite 7R SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/MikroTik netPower Lite 7R SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2037,8 +2037,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'MikroTik netPower Lite 7R SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: c3ca1fe6814948818bde09a430c55d56 diff --git a/templates/net/mikrotik/mikrotik_snmp/README.md b/templates/net/mikrotik/mikrotik_snmp/README.md index 383b2b616b0..e78bcb44cd9 100644 --- a/templates/net/mikrotik/mikrotik_snmp/README.md +++ b/templates/net/mikrotik/mikrotik_snmp/README.md @@ -85,7 +85,7 @@ There are no template links in this template. |Inventory |Firmware version |

MIB: MIKROTIK-MIB

Current firmware version.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Used memory |

MIB: HOST-RESOURCES-MIB

The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.

|SNMP |vm.memory.used[hrStorageUsed.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| |Memory |Total memory |

MIB: HOST-RESOURCES-MIB

The size of the storage represented by this entry, in

units of hrStorageAllocationUnits. This object is

writable to allow remote configuration of the size of

the storage area in those cases where such an

operation makes sense and is possible on the

underlying system. For example, the amount of main

memory allocated to a buffer pool might be modified or

the amount of disk space allocated to virtual memory

might be modified.

|SNMP |vm.memory.total[hrStorageSize.Memory]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage.Memory]

**Expression**:

`last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100` | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits received |

MIB: IF-MIB

The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifHCInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFNAME}({#IFALIAS}): Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifHCOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -133,13 +133,13 @@ There are no template links in this template. |Interface {#IFNAME}({#IFALIAS}): High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/Mikrotik SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or avg(/Mikrotik SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/Mikrotik SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and avg(/Mikrotik SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/Mikrotik SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/Mikrotik SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/Mikrotik SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/Mikrotik SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| |Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and ( last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/Mikrotik SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/Mikrotik SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)`

Recovery expression:

`(change(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Mikrotik SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or (last(/Mikrotik SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFNAME}({#IFALIAS}): Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Mikrotik SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Mikrotik SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Mikrotik SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Mikrotik SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Mikrotik SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Mikrotik SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |High ICMP ping response time |

-

|`avg(/Mikrotik SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}` |WARNING |

**Depends on**:

- High ICMP ping loss

- Unavailable by ICMP ping

| -|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 5G.

- The disk will be full in less than 24 hours.

|`last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| -|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than 10G.

- The disk will be full in less than 24 hours.

|`last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| +|Disk-{#SNMPINDEX}: Disk space is critically low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |AVERAGE |

Manual close: YES

| +|Disk-{#SNMPINDEX}: Disk space is low |

Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}.

Second condition should be one of the following:

- The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}.

- The disk will be full in less than 24 hours.

|`last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d)` |WARNING |

Manual close: YES

**Depends on**:

- Disk-{#SNMPINDEX}: Disk space is critically low

| |CPU: Temperature is above warning threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_WARN:"CPU"}`

Recovery expression:

`max(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_WARN:"CPU"}-3` |WARNING |

**Depends on**:

- CPU: Temperature is above critical threshold

| |CPU: Temperature is above critical threshold |

This trigger uses temperature sensor values as well as temperature sensor status if available

|`avg(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"CPU"}`

Recovery expression:

`max(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"CPU"}-3` |HIGH | | |CPU: Temperature is too low |

-

|`avg(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"CPU"}`

Recovery expression:

`min(/Mikrotik SNMP/sensor.temp.value[mtxrHlProcessorTemperature.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"CPU"}+3` |AVERAGE | | diff --git a/templates/net/mikrotik/mikrotik_snmp/template_net_mikrotik_snmp.yaml b/templates/net/mikrotik/mikrotik_snmp/template_net_mikrotik_snmp.yaml index 1a8fb51c41b..3ca443577a4 100644 --- a/templates/net/mikrotik/mikrotik_snmp/template_net_mikrotik_snmp.yaml +++ b/templates/net/mikrotik/mikrotik_snmp/template_net_mikrotik_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:06Z' - groups: + date: '2022-06-07T19:33:48Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -432,7 +432,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -499,7 +499,7 @@ zabbix_export: value_type: FLOAT units: '%' params: 'last(//vm.memory.used[hrStorageUsed.Memory])/last(//vm.memory.total[hrStorageSize.Memory])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1828,7 +1828,7 @@ zabbix_export: uuid: c866ac0197ee401ab0c5cc6ec0757985 expression: | last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is critically low' event_name: 'Disk-{#SNMPINDEX}: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1836,7 +1836,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 5G. + - The disk free space is less than {$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' tags: @@ -1850,7 +1850,7 @@ zabbix_export: uuid: 9adb977fde7345d8950265a9127cde57 expression: | last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"} and - ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<10G or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"} or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) name: 'Disk-{#SNMPINDEX}: Disk space is low' event_name: 'Disk-{#SNMPINDEX}: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}%)' opdata: 'Space used: {ITEM.LASTVALUE3} of {ITEM.LASTVALUE2} ({ITEM.LASTVALUE1})' @@ -1858,7 +1858,7 @@ zabbix_export: description: | Two conditions should match: First, space utilization should be above {$VFS.FS.PUSED.MAX.WARN:"Disk-{#SNMPINDEX}"}. Second condition should be one of the following: - - The disk free space is less than 10G. + - The disk free space is less than {$VFS.FS.FREE.MIN.WARN:"Disk-{#SNMPINDEX}"}. - The disk will be full in less than 24 hours. manual_close: 'YES' dependencies: @@ -1866,7 +1866,7 @@ zabbix_export: name: 'Disk-{#SNMPINDEX}: Disk space is critically low' expression: | last(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}])>{$VFS.FS.PUSED.MAX.CRIT:"Disk-{#SNMPINDEX}"} and - ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<5G or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) + ((last(/Mikrotik SNMP/vfs.fs.total[hrStorageSize.{#SNMPINDEX}])-last(/Mikrotik SNMP/vfs.fs.used[hrStorageSize.{#SNMPINDEX}]))<{$VFS.FS.FREE.MIN.CRIT:"Disk-{#SNMPINDEX}"} or timeleft(/Mikrotik SNMP/vfs.fs.pused[hrStorageSize.{#SNMPINDEX}],1h,100)<1d) tags: - tag: scope @@ -2042,8 +2042,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Mikrotik SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: b020eb645cff47c0b91891a36652c087 diff --git a/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml b/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml index f531e63949f..54ab4a83591 100644 --- a/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_prostar_mppt_snmp/template_net_morningstar_prostar_mppt_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:02Z' - groups: + date: '2022-06-07T19:36:24Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml b/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml index c5b4b594f76..a7afb63edf1 100644 --- a/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml +++ b/templates/net/morningstar/morningstar_prostar_pwm_snmp/template_net_morningstar_prostar_pwm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:03Z' - groups: + date: '2022-06-07T19:36:24Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml index bac67f34e90..9cba6dde6d4 100644 --- a/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_sunsaver_mppt_snmp/template_net_morningstar_sunsaver_mppt_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:04Z' - groups: + date: '2022-06-07T19:36:25Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml b/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml index b252255352d..352e2e3e038 100644 --- a/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml +++ b/templates/net/morningstar/morningstar_suresine_snmp/template_net_morningstar_suresine_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:05Z' - groups: + date: '2022-06-07T19:36:25Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml index 8ef7f7d094e..03fbb6a45e2 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_mppt_600V_snmp/template_net_morningstar_tristar_mppt_600V_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:06Z' - groups: + date: '2022-06-07T19:36:26Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml b/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml index 594bf9491db..b18d59a68d4 100644 --- a/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_mppt_snmp/template_net_morningstar_tristar_mppt_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:05Z' - groups: + date: '2022-06-07T19:36:26Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml b/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml index bb6386b4fdc..23a9da29b3f 100644 --- a/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml +++ b/templates/net/morningstar/morningstar_tristar_pwm_snmp/template_net_morningstar_tristar_pwm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:07Z' - groups: + date: '2022-06-07T19:36:27Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/netgear_snmp/template_net_netgear_snmp.yaml b/templates/net/netgear_snmp/template_net_netgear_snmp.yaml index 69130be3d9b..81c1f1954c9 100644 --- a/templates/net/netgear_snmp/template_net_netgear_snmp.yaml +++ b/templates/net/netgear_snmp/template_net_netgear_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:07:02Z' - groups: + date: '2022-06-07T19:37:31Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1332,8 +1332,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Netgear Fastpath SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 3046d246b1064c749c1c9144442c0fac diff --git a/templates/net/qtech_snmp/template_net_qtech_snmp.yaml b/templates/net/qtech_snmp/template_net_qtech_snmp.yaml index 4212bd27eec..9d7fbc9818d 100644 --- a/templates/net/qtech_snmp/template_net_qtech_snmp.yaml +++ b/templates/net/qtech_snmp/template_net_qtech_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:11:36Z' - groups: + date: '2022-06-07T19:37:33Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -1422,8 +1422,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'QTech QSW SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 867a4b73b9c74b8991bd9e7fada4266f diff --git a/templates/net/tplink_snmp/README.md b/templates/net/tplink_snmp/README.md index 5dcef1e222c..a6d930486b6 100644 --- a/templates/net/tplink_snmp/README.md +++ b/templates/net/tplink_snmp/README.md @@ -100,7 +100,7 @@ There are no template links in this template. |Interface {#IFDESCR}: High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/TP-LINK SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) or avg(/TP-LINK SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])) and last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/TP-LINK SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) and avg(/TP-LINK SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/TP-LINK SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/TP-LINK SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/TP-LINK SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/TP-LINK SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])<0 and last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and ( last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/TP-LINK SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/TP-LINK SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2) `

Recovery expression:

`(change(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and last(/TP-LINK SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}],#2)>0) or (last(/TP-LINK SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2) ` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/TP-LINK SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/TP-LINK SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/TP-LINK SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/TP-LINK SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/TP-LINK SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/TP-LINK SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/net/tplink_snmp/template_net_tplink_snmp.yaml b/templates/net/tplink_snmp/template_net_tplink_snmp.yaml index 6d9f4b5a512..b78b9cd49dd 100644 --- a/templates/net/tplink_snmp/template_net_tplink_snmp.yaml +++ b/templates/net/tplink_snmp/template_net_tplink_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:06Z' - groups: + date: '2022-06-07T19:37:35Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -419,7 +419,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1135,8 +1135,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFDESCR}: Network traffic' host: 'TP-LINK SNMP' + name: 'Interface {#IFDESCR}: Network traffic' valuemaps: - uuid: ca6bcc5f345b46ffaa445d38a90ddcae diff --git a/templates/net/ubiquiti_airos_snmp/README.md b/templates/net/ubiquiti_airos_snmp/README.md index e8677fc1c95..33633cb1db1 100644 --- a/templates/net/ubiquiti_airos_snmp/README.md +++ b/templates/net/ubiquiti_airos_snmp/README.md @@ -60,10 +60,10 @@ There are no template links in this template. |Inventory |Hardware model name |

MIB: IEEE802dot11-MIB

A printable string used to identify the manufacturer's product name of the resource. Maximum string length is 128 octets.

|SNMP |system.hw.model

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Inventory |Firmware version |

MIB: IEEE802dot11-MIB

Printable string used to identify the manufacturer's product version of the resource. Maximum string length is 128 octets.

|SNMP |system.hw.firmware

**Preprocessing**:

- DISCARD_UNCHANGED_HEARTBEAT: `1d`

| |Memory |Free memory |

MIB: FROGFOOT-RESOURCES-MIB

|SNMP |vm.memory.free[memFree.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Total memory |

MIB: FROGFOOT-RESOURCES-MIB

Total memory in Bytes

|SNMP |vm.memory.total[memTotal.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory (buffers) |

MIB: FROGFOOT-RESOURCES-MIB

Memory used by kernel buffers (Buffers in /proc/meminfo)

|SNMP |vm.memory.buffers[memBuffer.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory (cached) |

MIB: FROGFOOT-RESOURCES-MIB

Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo)

|SNMP |vm.memory.cached[memCache.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| -|Memory |Memory utilization |

Memory utilization in %

|CALCULATED |vm.memory.util[memoryUsedPercentage]

**Expression**:

`(last(//vm.memory.total[memTotal.0])-(last(//vm.memory.free[memFree.0])+last(//vm.memory.buffers[memBuffer.0])+last(//vm.memory.cached[memCache.0])))/last(//vm.memory.total[memTotal.0])*100` | +|Memory |Total memory |

MIB: FROGFOOT-RESOURCES-MIB

Total memory in Bytes.

|SNMP |vm.memory.total[memTotal.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| +|Memory |Memory (buffers) |

MIB: FROGFOOT-RESOURCES-MIB

Memory used by kernel buffers (Buffers in /proc/meminfo).

|SNMP |vm.memory.buffers[memBuffer.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| +|Memory |Memory (cached) |

MIB: FROGFOOT-RESOURCES-MIB

Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo).

|SNMP |vm.memory.cached[memCache.0]

**Preprocessing**:

- MULTIPLIER: `1024`

| +|Memory |Memory utilization |

Memory utilization in %.

|CALCULATED |vm.memory.util[memoryUsedPercentage]

**Expression**:

`(last(//vm.memory.total[memTotal.0])-(last(//vm.memory.free[memFree.0])+last(//vm.memory.buffers[memBuffer.0])+last(//vm.memory.cached[memCache.0])))/last(//vm.memory.total[memTotal.0])*100` | |Network interfaces |Interface {#IFDESCR}: Operational status |

MIB: IF-MIB

The current operational state of the interface.

- The testing(3) state indicates that no operational packet scan be passed

- If ifAdminStatus is down(2) then ifOperStatus should be down(2)

- If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic

- It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)

- It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state

- It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.

|SNMP |net.if.status[ifOperStatus.{#SNMPINDEX}] | |Network interfaces |Interface {#IFDESCR}: Bits received |

MIB: IF-MIB

The total number of octets received on the interface,including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and atother times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.in[ifInOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| |Network interfaces |Interface {#IFDESCR}: Bits sent |

MIB: IF-MIB

The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.

|SNMP |net.if.out[ifOutOctets.{#SNMPINDEX}]

**Preprocessing**:

- CHANGE_PER_SECOND

- MULTIPLIER: `8`

| @@ -91,7 +91,7 @@ There are no template links in this template. |Interface {#IFDESCR}: High bandwidth usage |

The network interface utilization is close to its estimated maximum bandwidth.

|`(avg(/Ubiquiti AirOS SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) or avg(/Ubiquiti AirOS SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])) and last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0`

Recovery expression:

`avg(/Ubiquiti AirOS SNMP/net.if.in[ifInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}]) and avg(/Ubiquiti AirOS SNMP/net.if.out[ifOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/Ubiquiti AirOS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/Ubiquiti AirOS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}`

Recovery expression:

`max(/Ubiquiti AirOS SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/Ubiquiti AirOS SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8` |WARNING |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| |Interface {#IFDESCR}: Ethernet has changed to lower speed than it was before |

This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Ack to close.

|`change(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])<0 and last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and ( last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or last(/Ubiquiti AirOS SNMP/net.if.type[ifType.{#SNMPINDEX}])=117 ) and (last(/Ubiquiti AirOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2) `

Recovery expression:

`(change(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}])>0 and last(/Ubiquiti AirOS SNMP/net.if.speed[ifSpeed.{#SNMPINDEX}],#2)>0) or (last(/Ubiquiti AirOS SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2) ` |INFO |

Manual close: YES

**Depends on**:

- Interface {#IFDESCR}: Link down

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Ubiquiti AirOS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Ubiquiti AirOS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Ubiquiti AirOS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Ubiquiti AirOS SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Ubiquiti AirOS SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Ubiquiti AirOS SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/net/ubiquiti_airos_snmp/template_net_ubiquiti_airos_snmp.yaml b/templates/net/ubiquiti_airos_snmp/template_net_ubiquiti_airos_snmp.yaml index ab94f1858f3..536a87d04cd 100644 --- a/templates/net/ubiquiti_airos_snmp/template_net_ubiquiti_airos_snmp.yaml +++ b/templates/net/ubiquiti_airos_snmp/template_net_ubiquiti_airos_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:09Z' - groups: + date: '2022-06-07T19:37:36Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -398,7 +398,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -418,7 +418,7 @@ zabbix_export: units: B description: | MIB: FROGFOOT-RESOURCES-MIB - Memory used by kernel buffers (Buffers in /proc/meminfo) + Memory used by kernel buffers (Buffers in /proc/meminfo). preprocessing: - type: MULTIPLIER @@ -438,7 +438,7 @@ zabbix_export: units: B description: | MIB: FROGFOOT-RESOURCES-MIB - Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo) + Memory used by the page cache and slabs (Cached and Slab in /proc/meminfo). preprocessing: - type: MULTIPLIER @@ -476,7 +476,7 @@ zabbix_export: units: B description: | MIB: FROGFOOT-RESOURCES-MIB - Total memory in Bytes + Total memory in Bytes. preprocessing: - type: MULTIPLIER @@ -495,7 +495,7 @@ zabbix_export: value_type: FLOAT units: '%' params: '(last(//vm.memory.total[memTotal.0])-(last(//vm.memory.free[memFree.0])+last(//vm.memory.buffers[memBuffer.0])+last(//vm.memory.cached[memCache.0])))/last(//vm.memory.total[memTotal.0])*100' - description: 'Memory utilization in %' + description: 'Memory utilization in %.' tags: - tag: component @@ -1118,8 +1118,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFDESCR}: Network traffic' host: 'Ubiquiti AirOS SNMP' + name: 'Interface {#IFDESCR}: Network traffic' valuemaps: - uuid: 2fc5bef495074d0e86641cc136e3dcde diff --git a/templates/net/velocloud_http/template_net_velocloud_http.yaml b/templates/net/velocloud_http/template_net_velocloud_http.yaml index 4a235ff3bdb..18a915ea718 100644 --- a/templates/net/velocloud_http/template_net_velocloud_http.yaml +++ b/templates/net/velocloud_http/template_net_velocloud_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:37Z' - groups: + date: '2022-06-07T19:37:53Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' diff --git a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md index 45092e42e08..b0954fc3865 100644 --- a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md @@ -92,7 +92,7 @@ There are no template links in this template. |ZYXEL AAM1212-51 / IES-612: High the DSL line attenuation in Port {#SNMPINDEX} |

The reductions in amplitude of the downstream and upstream DSL signals.

|`min(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.net.adsl.atur.atn[{#SNMPINDEX}],5m)>{$ZYXEL.ADSL.ATN.MAX}` |WARNING | | |ZYXEL AAM1212-51 / IES-612: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL AAM1212-51 / IES-612: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL AAM1212-51 IES-612 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL AAM1212-51 / IES-612: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL AAM1212-51 / IES-612: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL AAM1212-51 / IES-612: Port {#SNMPINDEX} alarm |

The slot reported an error.

|`find(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.slot.alarm,,"like","moduleNoDefect")=0` |AVERAGE | | |ZYXEL AAM1212-51 / IES-612: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL AAM1212-51 IES-612 SNMP/zyxel.aam1212.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | diff --git a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml index a44752d13b8..940d7afda3a 100644 --- a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:53Z' - groups: + date: '2022-06-07T19:38:02Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -383,7 +383,7 @@ zabbix_export: name: 'ZYXEL AAM1212-51 / IES-612: has been restarted' event_name: 'ZYXEL AAM1212-51 / IES-612: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md index 8b2fe59b7e0..7201c3b14be 100644 --- a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md @@ -111,7 +111,7 @@ There are no template links in this template. |ZYXEL ES3500-8PD: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL ES3500-8PD SNMP/zyxel.3500_8pd.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL ES3500-8PD: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL ES3500-8PD SNMP/zyxel.3500_8pd.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL ES3500-8PD: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL ES3500-8PD SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL ES3500-8PD: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL ES3500-8PD SNMP/zyxel.3500_8pd.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL ES3500-8PD: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL ES3500-8PD SNMP/zyxel.3500_8pd.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL ES3500-8PD: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL ES3500-8PD SNMP/zyxel.3500_8pd.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml index fe5badbc98a..a106346c988 100644 --- a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:54Z' - groups: + date: '2022-06-07T19:38:03Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -345,7 +345,7 @@ zabbix_export: name: 'ZYXEL ES3500-8PD: has been restarted' event_name: 'ZYXEL ES3500-8PD: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md index e4d8d4d1958..262271c4405 100644 --- a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md @@ -92,7 +92,7 @@ There are no template links in this template. |ZYXEL GS-4012F: Port {#SNMPINDEX}: Link down |

This trigger expression works as follows:

1. Can be triggered if operations status is down.

2. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)

WARNING: if closed manually - won't fire again on next poll, because of .diff.

|`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.net.if.operstatus[{#SNMPINDEX}])=2 and last(/ZYXEL GS-4012F SNMP/zyxel.4012f.net.if.operstatus[{#SNMPINDEX}],#1)<>last(/ZYXEL GS-4012F SNMP/zyxel.4012f.net.if.operstatus[{#SNMPINDEX}],#2)`

Recovery expression:

`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.net.if.operstatus[{#SNMPINDEX}])<>2` |AVERAGE |

Manual close: YES

| |ZYXEL GS-4012F: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL GS-4012F: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL GS-4012F SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL GS-4012F: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL GS-4012F: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL GS-4012F: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL GS-4012F SNMP/zyxel.4012f.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml index 55b47107301..ae17dd002fe 100644 --- a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:55Z' - groups: + date: '2022-06-07T19:38:04Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -344,7 +344,7 @@ zabbix_export: name: 'ZYXEL GS-4012F: has been restarted' event_name: 'ZYXEL GS-4012F: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md index bed6bccb567..c09028f41cb 100644 --- a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md @@ -140,7 +140,7 @@ There are no template links in this template. |ZYXEL IES-500x: High the DSL line attenuation in Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID} |

The reductions in amplitude of the downstream and upstream DSL signals.

|`min(/ZYXEL IES-500x SNMP/zyxel.ies500x.net.adsl.atur.atn[{#SNMPINDEX}],5m)>{$ZYXEL.ADSL.ATN.MAX}` |WARNING | | |ZYXEL IES-500x: Voltage Slot {#ZYXEL.SLOT.ID} {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL IES-500x SNMP/zyxel.ies500x.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW} or last(/ZYXEL IES-500x SNMP/zyxel.ies500x.volt[{#SNMPINDEX}])>{#ZYXEL.VOLT.THRESH.HIGH}` |AVERAGE | | |ZYXEL IES-500x: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL IES-500x SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL IES-500x: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL IES-500x SNMP/zyxel.ies500x.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL IES-500x: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL IES-500x SNMP/zyxel.ies500x.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL IES-500x: Temperature Slot {#ZYXEL.SLOT.ID} Sensor: {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL IES-500x SNMP/zyxel.ies500x.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH} or last(/ZYXEL IES-500x SNMP/zyxel.ies500x.temp[{#SNMPINDEX}])<{#ZYXEL.TEMP.THRESH.LOW}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml index 0599472aa16..d52413dcea5 100644 --- a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:56Z' - groups: + date: '2022-06-07T19:38:04Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -232,7 +232,7 @@ zabbix_export: name: 'ZYXEL IES-500x: has been restarted' event_name: 'ZYXEL IES-500x: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md index 1d75c6fef1b..30b3302bbfd 100644 --- a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md @@ -140,7 +140,7 @@ There are no template links in this template. |ZYXEL IES-6000: High the DSL line attenuation in Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID} |

The reductions in amplitude of the downstream and upstream DSL signals.

|`min(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.adsl.atur.atn[{#SNMPINDEX}],5m)>{$ZYXEL.ADSL.ATN.MAX}` |WARNING | | |ZYXEL IES-6000: Voltage Slot {#ZYXEL.SLOT.ID} {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW} or last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.volt[{#SNMPINDEX}])>{#ZYXEL.VOLT.THRESH.HIGH}` |AVERAGE | | |ZYXEL IES-6000: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL IES-6000 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL IES-6000: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL IES-6000: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL IES-6000: Temperature Slot {#ZYXEL.SLOT.ID} Sensor: {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH} or last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.temp[{#SNMPINDEX}])<{#ZYXEL.TEMP.THRESH.LOW}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml index 701cbb868e9..5735f27cd6b 100644 --- a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:57Z' - groups: + date: '2022-06-07T19:38:05Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -232,7 +232,7 @@ zabbix_export: name: 'ZYXEL IES-6000: has been restarted' event_name: 'ZYXEL IES-6000: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md index d3edc7fef16..fe1c824687e 100644 --- a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md @@ -95,7 +95,7 @@ There are no template links in this template. |ZYXEL IES1248-51: High the DSL line attenuation in Port {#SNMPINDEX} |

The reductions in amplitude of the downstream and upstream DSL signals.

|`min(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.net.adsl.atur.atn[{#SNMPINDEX}],5m)>{$ZYXEL.ADSL.ATN.MAX}` |WARNING | | |ZYXEL IES1248-51: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL IES1248-51: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL IES1248-51 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL IES1248-51: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL IES1248-51: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL IES1248-51: Port {#SNMPINDEX} alarm |

The slot reported an error.

|`find(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.slot.alarm,,"like","moduleNoDefect")=0` |AVERAGE | | |ZYXEL IES1248-51: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL IES1248-51 SNMP/zyxel.ies1248.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | diff --git a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml index 8ac4fc62991..7a13ab817d3 100644 --- a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:58Z' - groups: + date: '2022-06-07T19:38:05Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -383,7 +383,7 @@ zabbix_export: name: 'ZYXEL IES1248-51: has been restarted' event_name: 'ZYXEL IES1248-51: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md index 94cb3cc5d49..7ee1a0a7cc3 100644 --- a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md @@ -102,7 +102,7 @@ There are no template links in this template. |ZYXEL MES-3528: SFP {#ZYXEL.SFP.PORT}: High {#ZYXEL.SFP.DESCRIPTION} |

The upper threshold value of the parameter is exceeded

|`last(/ZYXEL MES-3528 SNMP/zyxel.3528.sfp.ddm[{#SNMPINDEX}]) > {#ZYXEL.SFP.WARN.MAX}` |WARNING | | |ZYXEL MES-3528: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MES-3528 SNMP/zyxel.3528.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MES-3528: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MES-3528 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MES-3528: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MES-3528 SNMP/zyxel.3528.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MES-3528: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MES-3528 SNMP/zyxel.3528.uptime)<10m` |INFO |

Manual close: YES

| ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml index cbbbfe7c9f0..d13aa71cdc3 100644 --- a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:59Z' - groups: + date: '2022-06-07T19:38:06Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -345,7 +345,7 @@ zabbix_export: name: 'ZYXEL MES-3528: has been restarted' event_name: 'ZYXEL MES-3528: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md index 6736257ae9f..00ef132fdfb 100644 --- a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md @@ -111,7 +111,7 @@ There are no template links in this template. |ZYXEL MES3500-10: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MES3500-10 SNMP/zyxel.3500_10.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MES3500-10: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL MES3500-10 SNMP/zyxel.3500_10.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MES3500-10: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MES3500-10 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MES3500-10: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MES3500-10 SNMP/zyxel.3500_10.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MES3500-10: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MES3500-10 SNMP/zyxel.3500_10.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MES3500-10: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL MES3500-10 SNMP/zyxel.3500_10.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml index 4f19a2152ee..b9df9fb1283 100644 --- a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:59Z' - groups: + date: '2022-06-07T19:38:06Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -345,7 +345,7 @@ zabbix_export: name: 'ZYXEL MES3500-10: has been restarted' event_name: 'ZYXEL MES3500-10: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md index bd4bbfba9b1..528d6b38ae4 100644 --- a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md @@ -111,7 +111,7 @@ There are no template links in this template. |ZYXEL MES3500-24: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MES3500-24 SNMP/zyxel.3500_24.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MES3500-24: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL MES3500-24 SNMP/zyxel.3500_24.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MES3500-24: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MES3500-24 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MES3500-24: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MES3500-24 SNMP/zyxel.3500_24.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MES3500-24: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MES3500-24 SNMP/zyxel.3500_24.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MES3500-24: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL MES3500-24 SNMP/zyxel.3500_24.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml index e420ab52d76..29e30e11d08 100644 --- a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:00Z' - groups: + date: '2022-06-07T19:38:07Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -345,7 +345,7 @@ zabbix_export: name: 'ZYXEL MES3500-24: has been restarted' event_name: 'ZYXEL MES3500-24: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md index 73ea272b6af..826d5bfe943 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md @@ -110,7 +110,7 @@ There are no template links in this template. |ZYXEL MGS-3712: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MGS-3712 SNMP/zyxel.3712.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MGS-3712: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL MGS-3712 SNMP/zyxel.3712.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MGS-3712: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MGS-3712 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MGS-3712: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MGS-3712 SNMP/zyxel.3712.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MGS-3712: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MGS-3712 SNMP/zyxel.3712.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MGS-3712: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL MGS-3712 SNMP/zyxel.3712.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml index b78ba22cfe3..0f594309af3 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:01Z' - groups: + date: '2022-06-07T19:38:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -344,7 +344,7 @@ zabbix_export: name: 'ZYXEL MGS-3712: has been restarted' event_name: 'ZYXEL MGS-3712: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md index edaa526915c..9c636902256 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md @@ -110,7 +110,7 @@ There are no template links in this template. |ZYXEL MGS-3712F: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MGS-3712F SNMP/zyxel.3712f.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MGS-3712F: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL MGS-3712F SNMP/zyxel.3712f.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MGS-3712F: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MGS-3712F SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MGS-3712F: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MGS-3712F SNMP/zyxel.3712f.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MGS-3712F: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MGS-3712F SNMP/zyxel.3712f.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MGS-3712F: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL MGS-3712F SNMP/zyxel.3712f.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml index 9038304722a..e52d3ba0771 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:02Z' - groups: + date: '2022-06-07T19:38:08Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -344,7 +344,7 @@ zabbix_export: name: 'ZYXEL MGS-3712F: has been restarted' event_name: 'ZYXEL MGS-3712F: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md index 668e7ba5c1e..9e27b794503 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md @@ -113,7 +113,7 @@ There are no template links in this template. |ZYXEL MES3500-24S: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MES3500-24S SNMP/zyxel.3500_24s.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MES3500-24S: Voltage {#ZYXEL.DESCRIPTION} is in critical state |

Please check the power supply

|`last(/ZYXEL MES3500-24S SNMP/zyxel.3500_24s.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MES3500-24S: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MES3500-24S SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MES3500-24S: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MES3500-24S SNMP/zyxel.3500_24s.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MES3500-24S: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MES3500-24S SNMP/zyxel.3500_24s.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MES3500-24S: Temperature {#ZYXEL.TEMPDESCRIPTION} is in critical state |

Please check the temperature

|`last(/ZYXEL MES3500-24S SNMP/zyxel.3500_24s.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml index 08cdfcdda0b..83ac9a8d2f4 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:03Z' - groups: + date: '2022-06-07T19:38:09Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -363,7 +363,7 @@ zabbix_export: name: 'ZYXEL MES3500-24S: has been restarted' event_name: 'ZYXEL MES3500-24S: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md index b2c6232f7ff..581b9c4094f 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md @@ -114,7 +114,7 @@ There are no template links in this template. |ZYXEL MGS3520-28x: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL MGS3520-28x SNMP/zyxel.3520_28.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL MGS3520-28x: Voltage {#ZYXEL.DESCRIPTION} is in critical state |

Please check the power supply

|`last(/ZYXEL MGS3520-28x SNMP/zyxel.3520_28.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL MGS3520-28x: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL MGS3520-28x SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL MGS3520-28x: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL MGS3520-28x SNMP/zyxel.3520_28.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL MGS3520-28x: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL MGS3520-28x SNMP/zyxel.3520_28.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL MGS3520-28x: Temperature {#ZYXEL.TEMPDESCRIPTION} is in critical state |

Please check the temperature

|`last(/ZYXEL MGS3520-28x SNMP/zyxel.3520_28.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml index 15adabf9097..c0cc344910b 100644 --- a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:04Z' - groups: + date: '2022-06-07T19:38:09Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -363,7 +363,7 @@ zabbix_export: name: 'ZYXEL MGS3520-28x: has been restarted' event_name: 'ZYXEL MGS3520-28x: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md index 49136c295da..96b227255f2 100644 --- a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md +++ b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md @@ -114,7 +114,7 @@ There are no template links in this template. |ZYXEL XGS-4728F: SFP {#ZYXEL.SFP.PORT}: Low {#ZYXEL.SFP.DESCRIPTION} |

The parameter values are less than the lower threshold

|`last(/ZYXEL XGS-4728F SNMP/zyxel.4728f.sfp.ddm[{#SNMPINDEX}]) < {#ZYXEL.SFP.WARN.MIN}` |WARNING | | |ZYXEL XGS-4728F: Voltage {#ZYXEL.VOLT.NOMINAL} is in critical state |

Please check the power supply

|`last(/ZYXEL XGS-4728F SNMP/zyxel.4728f.volt[{#SNMPINDEX}])<{#ZYXEL.VOLT.THRESH.LOW}` |AVERAGE | | |ZYXEL XGS-4728F: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/ZYXEL XGS-4728F SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | -|ZYXEL XGS-4728F: has been restarted |

Uptime is less than 10 minutes

|`last(/ZYXEL XGS-4728F SNMP/zyxel.4728f.uptime)<10m` |INFO |

Manual close: YES

| +|ZYXEL XGS-4728F: has been restarted |

Uptime is less than 10 minutes.

|`last(/ZYXEL XGS-4728F SNMP/zyxel.4728f.uptime)<10m` |INFO |

Manual close: YES

| |ZYXEL XGS-4728F: Temperature {#ZYXEL.TEMP.ID} is in critical state |

Please check the temperature

|`last(/ZYXEL XGS-4728F SNMP/zyxel.4728f.temp[{#SNMPINDEX}])>{#ZYXEL.TEMP.THRESH.HIGH}` |AVERAGE | | ## Feedback diff --git a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml index 8d0ee3ef1c2..f21adcd7576 100644 --- a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:02:05Z' - groups: + date: '2022-06-07T19:38:10Z' + template_groups: - uuid: 36bff6c29af64692839d077febfc7079 name: 'Templates/Network devices' @@ -345,7 +345,7 @@ zabbix_export: name: 'ZYXEL XGS-4728F: has been restarted' event_name: 'ZYXEL XGS-4728F: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/os/aix/template_os_aix.yaml b/templates/os/aix/template_os_aix.yaml index 4a73b1ee0be..d2a5f15ace1 100644 --- a/templates/os/aix/template_os_aix.yaml +++ b/templates/os/aix/template_os_aix.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:53:57Z' - groups: + date: '2022-06-07T19:33:00Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -851,8 +851,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: 'AIX by Zabbix agent' + name: 'CPU load' - type: GRAPH_CLASSIC x: '12' @@ -867,8 +867,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU jumps' host: 'AIX by Zabbix agent' + name: 'CPU jumps' - type: GRAPH_CLASSIC 'y': '5' @@ -883,8 +883,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'AIX by Zabbix agent' + name: 'CPU utilization' - type: GRAPH_CLASSIC x: '12' @@ -900,8 +900,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'AIX by Zabbix agent' + name: 'Memory usage' valuemaps: - uuid: 4a25a6b3d6e4482ab2a748c79cb55524 diff --git a/templates/os/freebsd/template_os_freebsd.yaml b/templates/os/freebsd/template_os_freebsd.yaml index 098c0a4ef52..d41e9d3d81a 100644 --- a/templates/os/freebsd/template_os_freebsd.yaml +++ b/templates/os/freebsd/template_os_freebsd.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-06T06:58:28Z' - groups: + date: '2022-06-07T19:33:21Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -783,8 +783,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: 'FreeBSD by Zabbix agent' + name: 'CPU load' - type: GRAPH_CLASSIC x: '12' @@ -799,8 +799,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'FreeBSD by Zabbix agent' + name: 'CPU utilization' - type: GRAPH_CLASSIC 'y': '5' @@ -815,8 +815,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'FreeBSD by Zabbix agent' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -832,8 +832,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'FreeBSD by Zabbix agent' + name: 'Swap usage' valuemaps: - uuid: 9c02af203e354ac6ac87a742e85f683b diff --git a/templates/os/hp-ux/template_os_hp-ux.yaml b/templates/os/hp-ux/template_os_hp-ux.yaml index b9b05de92b8..627064a5062 100644 --- a/templates/os/hp-ux/template_os_hp-ux.yaml +++ b/templates/os/hp-ux/template_os_hp-ux.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:33Z' - groups: + date: '2022-06-07T19:33:28Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -548,8 +548,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: 'HP-UX by Zabbix agent' + name: 'CPU load' - type: GRAPH_CLASSIC x: '12' @@ -564,8 +564,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'HP-UX by Zabbix agent' + name: 'CPU utilization' - type: GRAPH_CLASSIC 'y': '5' @@ -580,8 +580,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'HP-UX by Zabbix agent' + name: 'Memory usage' valuemaps: - uuid: 663bea44626447b5a72a71238dfda919 diff --git a/templates/os/linux/template_os_linux.yaml b/templates/os/linux/template_os_linux.yaml index 79ad19656c5..9493e5c0c9a 100644 --- a/templates/os/linux/template_os_linux.yaml +++ b/templates/os/linux/template_os_linux.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-12T14:39:07Z' - groups: + date: '2022-06-07T19:33:40Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -1161,12 +1161,12 @@ zabbix_export: - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.MATCHES}' - formulaid: B + formulaid: A - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.NOT_MATCHES}' operator: NOT_MATCHES_REGEX - formulaid: A + formulaid: B item_prototypes: - uuid: 5e29abb8d56044f69426ed3594f8ac9f @@ -1802,8 +1802,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux by Zabbix agent' + name: 'Interface {#IFNAME}: Network traffic' - uuid: e9ca2f8e715f428b8edc0129aa0c79de name: 'System performance' @@ -1823,8 +1823,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'System load' host: 'Linux by Zabbix agent' + name: 'System load' - type: GRAPH_CLASSIC x: '12' @@ -1839,8 +1839,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU usage' host: 'Linux by Zabbix agent' + name: 'CPU usage' - type: GRAPH_CLASSIC 'y': '5' @@ -1855,8 +1855,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'Linux by Zabbix agent' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -1872,8 +1872,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Linux by Zabbix agent' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1896,8 +1896,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Linux by Zabbix agent' + name: '{#FSNAME}: Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -1920,8 +1920,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Linux by Zabbix agent' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -1944,8 +1944,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk average waiting time' host: 'Linux by Zabbix agent' + name: '{#DEVNAME}: Disk average waiting time' - type: GRAPH_PROTOTYPE 'y': '25' @@ -1968,8 +1968,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk utilization and queue' host: 'Linux by Zabbix agent' + name: '{#DEVNAME}: Disk utilization and queue' - type: GRAPH_PROTOTYPE 'y': '30' @@ -1992,8 +1992,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux by Zabbix agent' + name: 'Interface {#IFNAME}: Network traffic' valuemaps: - uuid: 8c048c6cca8248f2860c208e8db0f59e @@ -2216,6 +2216,19 @@ zabbix_export: - value: '826' newvalue: 'Vsock monitor header' + - + uuid: 95fd8cdf901b4f4aac9863b709d34db0 + name: zabbix.host.active_agent.available + mappings: + - + value: '0' + newvalue: unknown + - + value: '1' + newvalue: available + - + value: '2' + newvalue: 'not available' - uuid: 5488e5d78d704b78aee60c60414ce0c3 name: zabbix.host.available diff --git a/templates/os/linux_active/template_os_linux_active.yaml b/templates/os/linux_active/template_os_linux_active.yaml index 6302f78cdbf..e5cb94c8b60 100644 --- a/templates/os/linux_active/template_os_linux_active.yaml +++ b/templates/os/linux_active/template_os_linux_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-05-18T22:37:39Z' - groups: + date: '2022-06-07T19:33:41Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -789,7 +789,7 @@ zabbix_export: tag: scope value: performance - - uuid: 086b2ca542f24b4089a1fc43eeea2f42 + uuid: 090fb1a5698e4e7080abf379b377b6f5 name: 'Active agent availability' type: INTERNAL key: 'zabbix[host,active_agent,available]' @@ -811,7 +811,7 @@ zabbix_export: value: network triggers: - - uuid: 153cc67416614c13878a6f5655d99b09 + uuid: a022259fc3cf454f93bc82cca27391f1 expression: 'min(/Linux by Zabbix agent active/zabbix[host,active_agent,available],{$AGENT.TIMEOUT})=2' name: 'Zabbix agent: active checks are not available' opdata: 'Current state: {ITEM.LASTVALUE1}' @@ -1232,12 +1232,12 @@ zabbix_export: - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.MATCHES}' - formulaid: B + formulaid: A - macro: '{#DEVNAME}' value: '{$VFS.DEV.DEVNAME.NOT_MATCHES}' operator: NOT_MATCHES_REGEX - formulaid: A + formulaid: B item_prototypes: - uuid: 9a0448cf8a184d52a7872df410f25d6b @@ -1883,8 +1883,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux by Zabbix agent active' + name: 'Interface {#IFNAME}: Network traffic' - uuid: 3e6ceed431734cc29836019e93b5f89e name: 'System performance' @@ -1904,8 +1904,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'System load' host: 'Linux by Zabbix agent active' + name: 'System load' - type: GRAPH_CLASSIC x: '12' @@ -1920,8 +1920,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU usage' host: 'Linux by Zabbix agent active' + name: 'CPU usage' - type: GRAPH_CLASSIC 'y': '5' @@ -1936,8 +1936,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'Linux by Zabbix agent active' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -1953,8 +1953,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Linux by Zabbix agent active' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1977,8 +1977,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Linux by Zabbix agent active' + name: '{#FSNAME}: Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2001,8 +2001,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Linux by Zabbix agent active' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -2025,8 +2025,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk average waiting time' host: 'Linux by Zabbix agent active' + name: '{#DEVNAME}: Disk average waiting time' - type: GRAPH_PROTOTYPE 'y': '25' @@ -2049,8 +2049,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk utilization and queue' host: 'Linux by Zabbix agent active' + name: '{#DEVNAME}: Disk utilization and queue' - type: GRAPH_PROTOTYPE 'y': '30' @@ -2073,8 +2073,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}: Network traffic' host: 'Linux by Zabbix agent active' + name: 'Interface {#IFNAME}: Network traffic' valuemaps: - uuid: 276914b5aee2435da609d3112ecd359d @@ -2298,7 +2298,7 @@ zabbix_export: value: '826' newvalue: 'Vsock monitor header' - - uuid: c75840508f98402498289c5f99e0d59e + uuid: d4a5821461a243c9bf320ea58be1af23 name: zabbix.host.active_agent.available mappings: - diff --git a/templates/os/linux_prom/template_os_linux_prom.yaml b/templates/os/linux_prom/template_os_linux_prom.yaml index c8fe6c9cfa2..217a9f4e095 100644 --- a/templates/os/linux_prom/template_os_linux_prom.yaml +++ b/templates/os/linux_prom/template_os_linux_prom.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-13T22:41:29Z' - groups: + date: '2022-06-07T19:33:42Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -2408,8 +2408,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Linux by Prom' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 558606056f464970a7c544ba75d544f2 name: 'System performance' @@ -2429,8 +2429,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'System load' host: 'Linux by Prom' + name: 'System load' - type: GRAPH_CLASSIC x: '12' @@ -2445,8 +2445,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU usage' host: 'Linux by Prom' + name: 'CPU usage' - type: GRAPH_CLASSIC 'y': '5' @@ -2461,8 +2461,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'Linux by Prom' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -2478,8 +2478,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Linux by Prom' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2502,8 +2502,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Linux by Prom' + name: '{#FSNAME}: Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2526,8 +2526,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Linux by Prom' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -2550,8 +2550,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk average waiting time' host: 'Linux by Prom' + name: '{#DEVNAME}: Disk average waiting time' - type: GRAPH_PROTOTYPE 'y': '25' @@ -2574,8 +2574,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk utilization and queue' host: 'Linux by Prom' + name: '{#DEVNAME}: Disk utilization and queue' - type: GRAPH_PROTOTYPE 'y': '30' @@ -2598,8 +2598,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Linux by Prom' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 4827063819f14d539f509552c84f5f94 diff --git a/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml b/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml index 89e4f064a86..f6d73de950a 100644 --- a/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml +++ b/templates/os/linux_snmp_snmp/template_os_linux_snmp_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-10T20:21:14Z' - groups: + date: '2022-06-07T19:33:45Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -2092,8 +2092,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Linux SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 59f09fada3ab43d1bdb70091f92e77f1 name: 'System performance' @@ -2113,8 +2113,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'System load' host: 'Linux SNMP' + name: 'System load' - type: GRAPH_PROTOTYPE x: '12' @@ -2137,8 +2137,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'CPU usage{#SINGLETON}' host: 'Linux SNMP' + name: 'CPU usage{#SINGLETON}' - type: GRAPH_CLASSIC 'y': '5' @@ -2153,8 +2153,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'Linux SNMP' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -2170,8 +2170,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Linux SNMP' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -2194,8 +2194,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Linux SNMP' + name: '{#FSNAME}: Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -2218,8 +2218,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Linux SNMP' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -2242,8 +2242,8 @@ zabbix_export: type: ITEM_PROTOTYPE name: itemid value: - key: 'vfs.dev.util[diskIOLA1.{#SNMPINDEX}]' host: 'Linux SNMP' + key: 'vfs.dev.util[diskIOLA1.{#SNMPINDEX}]' - type: GRAPH_PROTOTYPE 'y': '25' @@ -2266,8 +2266,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Linux SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 1fe48656fa5e4a23903921a5b0f2aac4 diff --git a/templates/os/macos/template_os_macos.yaml b/templates/os/macos/template_os_macos.yaml index 3091e092c63..27b2b266097 100644 --- a/templates/os/macos/template_os_macos.yaml +++ b/templates/os/macos/template_os_macos.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:55:02Z' - groups: + date: '2022-06-07T19:33:45Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -555,8 +555,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: macOS + name: 'CPU load' - type: GRAPH_CLASSIC 'y': '5' @@ -571,8 +571,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: macOS + name: 'Memory usage' valuemaps: - uuid: 0355844b2bee4fb59bddda6175ef4810 diff --git a/templates/os/openbsd/template_os_openbsd.yaml b/templates/os/openbsd/template_os_openbsd.yaml index df108dde359..4c6bed17c89 100644 --- a/templates/os/openbsd/template_os_openbsd.yaml +++ b/templates/os/openbsd/template_os_openbsd.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:18Z' - groups: + date: '2022-06-07T19:36:33Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -766,8 +766,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: 'OpenBSD by Zabbix agent' + name: 'CPU load' - type: GRAPH_CLASSIC x: '12' @@ -782,8 +782,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'OpenBSD by Zabbix agent' + name: 'CPU utilization' - type: GRAPH_CLASSIC 'y': '5' @@ -798,8 +798,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: 'OpenBSD by Zabbix agent' + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -815,8 +815,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'OpenBSD by Zabbix agent' + name: 'Swap usage' valuemaps: - uuid: 693c226692c548869e77d3313934ca28 diff --git a/templates/os/solaris/template_os_solaris.yaml b/templates/os/solaris/template_os_solaris.yaml index a448705bbc8..82e0cc56aa7 100644 --- a/templates/os/solaris/template_os_solaris.yaml +++ b/templates/os/solaris/template_os_solaris.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:35Z' - groups: + date: '2022-06-07T19:36:44Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -744,8 +744,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU load' host: Solaris + name: 'CPU load' - type: GRAPH_CLASSIC x: '12' @@ -760,8 +760,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: Solaris + name: 'CPU utilization' - type: GRAPH_CLASSIC 'y': '5' @@ -776,8 +776,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory usage' host: Solaris + name: 'Memory usage' - type: GRAPH_CLASSIC x: '12' @@ -793,8 +793,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: Solaris + name: 'Swap usage' - type: GRAPH_CLASSIC 'y': '10' @@ -809,8 +809,8 @@ zabbix_export: type: ITEM name: itemid value: - key: 'proc.num[]' host: Solaris + key: 'proc.num[]' - type: GRAPH_CLASSIC x: '12' @@ -826,8 +826,8 @@ zabbix_export: type: ITEM name: itemid value: - key: 'proc.num[,,run]' host: Solaris + key: 'proc.num[,,run]' valuemaps: - uuid: 2a704279b6e946a99b88bdebd4f99653 diff --git a/templates/os/windows_agent/template_os_windows_agent.yaml b/templates/os/windows_agent/template_os_windows_agent.yaml index 531c438abd3..fcbad101af0 100644 --- a/templates/os/windows_agent/template_os_windows_agent.yaml +++ b/templates/os/windows_agent/template_os_windows_agent.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T14:33:25Z' - groups: + date: '2022-06-07T19:37:57Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -1726,8 +1726,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows by Zabbix agent' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 5f494fac9dc94bf3827b67ea212240f2 name: 'System performance' @@ -1747,8 +1747,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU usage' host: 'Windows by Zabbix agent' + name: 'CPU usage' - type: GRAPH_CLASSIC x: '12' @@ -1763,8 +1763,8 @@ zabbix_export: type: ITEM name: itemid value: - key: 'perf_counter_en["\System\Processor Queue Length"]' host: 'Windows by Zabbix agent' + key: 'perf_counter_en["\System\Processor Queue Length"]' - type: GRAPH_CLASSIC 'y': '5' @@ -1779,8 +1779,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory utilization' host: 'Windows by Zabbix agent' + name: 'Memory utilization' - type: GRAPH_CLASSIC x: '12' @@ -1796,8 +1796,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Windows by Zabbix agent' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1820,8 +1820,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSLABEL}({#FSNAME}): Disk space usage' host: 'Windows by Zabbix agent' + name: '{#FSLABEL}({#FSNAME}): Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -1844,8 +1844,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Windows by Zabbix agent' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -1868,8 +1868,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk utilization and queue' host: 'Windows by Zabbix agent' + name: '{#DEVNAME}: Disk utilization and queue' - type: GRAPH_PROTOTYPE 'y': '25' @@ -1892,8 +1892,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows by Zabbix agent' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 9b087b9bfa09434ea0d0b5c32577abcc @@ -2015,6 +2015,19 @@ zabbix_export: - value: '255' newvalue: 'No such service' + - + uuid: e439061687b847019af103a5a32ad217 + name: zabbix.host.active_agent.available + mappings: + - + value: '0' + newvalue: unknown + - + value: '1' + newvalue: available + - + value: '2' + newvalue: 'not available' - uuid: c80233756c9d43769f334d632da07b8c name: zabbix.host.available diff --git a/templates/os/windows_agent_active/template_os_windows_agent_active.yaml b/templates/os/windows_agent_active/template_os_windows_agent_active.yaml index c667e5a3370..8525e817da7 100644 --- a/templates/os/windows_agent_active/template_os_windows_agent_active.yaml +++ b/templates/os/windows_agent_active/template_os_windows_agent_active.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T14:33:31Z' - groups: + date: '2022-06-07T19:37:58Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -655,7 +655,7 @@ zabbix_export: tag: component value: cpu - - uuid: 3c1068939adf4d998a942dcb6be23656 + uuid: 1ac6ebdb5c98415b94cb44da5feeac7f name: 'Active agent availability' type: INTERNAL key: 'zabbix[host,active_agent,available]' @@ -677,7 +677,7 @@ zabbix_export: value: network triggers: - - uuid: ce4a95a80cc54353ab0e0d2ae6312930 + uuid: bad86dfaf5274927bce35ad314a2d21a expression: 'min(/Windows by Zabbix agent active/zabbix[host,active_agent,available],{$AGENT.TIMEOUT})=2' name: 'Zabbix agent: active checks are not available' opdata: 'Current state: {ITEM.LASTVALUE1}' @@ -1799,8 +1799,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows by Zabbix agent active' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 234161507ccb4d83b111cb31e0db8ae5 name: 'System performance' @@ -1820,8 +1820,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU usage' host: 'Windows by Zabbix agent active' + name: 'CPU usage' - type: GRAPH_CLASSIC x: '12' @@ -1836,8 +1836,8 @@ zabbix_export: type: ITEM name: itemid value: - key: 'perf_counter_en["\System\Processor Queue Length"]' host: 'Windows by Zabbix agent active' + key: 'perf_counter_en["\System\Processor Queue Length"]' - type: GRAPH_CLASSIC 'y': '5' @@ -1852,8 +1852,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Memory utilization' host: 'Windows by Zabbix agent active' + name: 'Memory utilization' - type: GRAPH_CLASSIC x: '12' @@ -1869,8 +1869,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'Swap usage' host: 'Windows by Zabbix agent active' + name: 'Swap usage' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1893,8 +1893,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSLABEL}({#FSNAME}): Disk space usage' host: 'Windows by Zabbix agent active' + name: '{#FSLABEL}({#FSNAME}): Disk space usage' - type: GRAPH_PROTOTYPE 'y': '15' @@ -1917,8 +1917,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk read/write rates' host: 'Windows by Zabbix agent active' + name: '{#DEVNAME}: Disk read/write rates' - type: GRAPH_PROTOTYPE 'y': '20' @@ -1941,8 +1941,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#DEVNAME}: Disk utilization and queue' host: 'Windows by Zabbix agent active' + name: '{#DEVNAME}: Disk utilization and queue' - type: GRAPH_PROTOTYPE 'y': '25' @@ -1965,8 +1965,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows by Zabbix agent active' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 224ca38281f04c83844763251505cdce @@ -2089,7 +2089,7 @@ zabbix_export: value: '255' newvalue: 'No such service' - - uuid: 6e7949c77d3442849778ff80271211df + uuid: 131de6a1016e43019d7cac2ce76901d4 name: zabbix.host.active_agent.available mappings: - diff --git a/templates/os/windows_snmp/template_os_windows_snmp.yaml b/templates/os/windows_snmp/template_os_windows_snmp.yaml index 71e5ff3a56f..5e8f860d206 100644 --- a/templates/os/windows_snmp/template_os_windows_snmp.yaml +++ b/templates/os/windows_snmp/template_os_windows_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-08T09:22:54Z' - groups: + date: '2022-06-07T19:37:56Z' + template_groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc name: 'Templates/Operating systems' @@ -1301,8 +1301,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Windows SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' - uuid: 3b28bdbfdb6d4cf1a69c7466a4f059f3 name: 'System performance' @@ -1322,8 +1322,8 @@ zabbix_export: type: GRAPH name: graphid value: - name: 'CPU utilization' host: 'Windows SNMP' + name: 'CPU utilization' - type: GRAPH_PROTOTYPE 'y': '5' @@ -1346,8 +1346,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#MEMNAME}: Memory utilization' host: 'Windows SNMP' + name: '{#MEMNAME}: Memory utilization' - type: GRAPH_PROTOTYPE 'y': '10' @@ -1370,8 +1370,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: '{#FSNAME}: Disk space usage' host: 'Windows SNMP' + name: '{#FSNAME}: Disk space usage' valuemaps: - uuid: 2357d81186e34d5b91db98c2350e0bdf diff --git a/templates/power/apc/apc_ups_galaxy_3500_snmp/README.md b/templates/power/apc/apc_ups_galaxy_3500_snmp/README.md index 4622dd428cf..cb2d9e4bc33 100644 --- a/templates/power/apc/apc_ups_galaxy_3500_snmp/README.md +++ b/templates/power/apc/apc_ups_galaxy_3500_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC UPS Galaxy 3500 SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC UPS Galaxy 3500 SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC UPS Galaxy 3500 SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC UPS Galaxy 3500 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC UPS Galaxy 3500 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC UPS Galaxy 3500 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC UPS Galaxy 3500 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Galaxy 3500 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC UPS Galaxy 3500 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Galaxy 3500 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_galaxy_3500_snmp/template_power_apc_ups_galaxy_3500_snmp.yaml b/templates/power/apc/apc_ups_galaxy_3500_snmp/template_power_apc_ups_galaxy_3500_snmp.yaml index a7cacc15d08..185b9b9234f 100644 --- a/templates/power/apc/apc_ups_galaxy_3500_snmp/template_power_apc_ups_galaxy_3500_snmp.yaml +++ b/templates/power/apc/apc_ups_galaxy_3500_snmp/template_power_apc_ups_galaxy_3500_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:24Z' - groups: + date: '2022-06-07T19:37:45Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 23bf458b1bbc4ae0b145597292d098cb - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC UPS Galaxy 3500 SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC UPS Galaxy 3500 SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC UPS Galaxy 3500 SNMP' valuemaps: - uuid: 30a78904cbc94fc58609dc1a11aa48ef diff --git a/templates/power/apc/apc_ups_smart_2200_rm_snmp/README.md b/templates/power/apc/apc_ups_smart_2200_rm_snmp/README.md index f5b06206e5b..e22da4ce73b 100644 --- a/templates/power/apc/apc_ups_smart_2200_rm_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_2200_rm_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS 2200 RM SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS 2200 RM SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS 2200 RM SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS 2200 RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS 2200 RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS 2200 RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS 2200 RM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 2200 RM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS 2200 RM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 2200 RM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_2200_rm_snmp/template_power_apc_ups_smart_2200_rm_snmp.yaml b/templates/power/apc/apc_ups_smart_2200_rm_snmp/template_power_apc_ups_smart_2200_rm_snmp.yaml index 535bce834d0..341b803f16a 100644 --- a/templates/power/apc/apc_ups_smart_2200_rm_snmp/template_power_apc_ups_smart_2200_rm_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_2200_rm_snmp/template_power_apc_ups_smart_2200_rm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:25Z' - groups: + date: '2022-06-07T19:37:46Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: ac27c888a2c547b2b71fe6bf1aad69b1 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS 2200 RM SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS 2200 RM SNMP' valuemaps: - uuid: 6940a4d08173433bb4bc8ff3b44e578c diff --git a/templates/power/apc/apc_ups_smart_3000_xlm_snmp/README.md b/templates/power/apc/apc_ups_smart_3000_xlm_snmp/README.md index e8c4a917bf8..a2b0044ddf3 100644 --- a/templates/power/apc/apc_ups_smart_3000_xlm_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_3000_xlm_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS 3000 XLM SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS 3000 XLM SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS 3000 XLM SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS 3000 XLM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS 3000 XLM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS 3000 XLM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS 3000 XLM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 3000 XLM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS 3000 XLM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 3000 XLM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_3000_xlm_snmp/template_power_apc_ups_smart_3000_xlm_snmp.yaml b/templates/power/apc/apc_ups_smart_3000_xlm_snmp/template_power_apc_ups_smart_3000_xlm_snmp.yaml index 97845dade62..66010faee4d 100644 --- a/templates/power/apc/apc_ups_smart_3000_xlm_snmp/template_power_apc_ups_smart_3000_xlm_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_3000_xlm_snmp/template_power_apc_ups_smart_3000_xlm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:26Z' - groups: + date: '2022-06-07T19:37:47Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 829373d305ce44cc9441714fc9d828a5 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS 3000 XLM SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS 3000 XLM SNMP' valuemaps: - uuid: 55fecbd639c44c328b4199569a7305ef diff --git a/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/README.md b/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/README.md index e7a0f8452cc..68d02024cbb 100644 --- a/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS RT 1000 RM XL SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS RT 1000 RM XL SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS RT 1000 RM XL SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS RT 1000 RM XL SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS RT 1000 RM XL SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS RT 1000 RM XL SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS RT 1000 RM XL SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS RT 1000 RM XL SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS RT 1000 RM XL SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS RT 1000 RM XL SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/template_power_apc_ups_smart_rt_1000_rm_xl_snmp.yaml b/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/template_power_apc_ups_smart_rt_1000_rm_xl_snmp.yaml index f0be9e4916e..1bb4c931fb8 100644 --- a/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/template_power_apc_ups_smart_rt_1000_rm_xl_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_rt_1000_rm_xl_snmp/template_power_apc_ups_smart_rt_1000_rm_xl_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:27Z' - groups: + date: '2022-06-07T19:37:47Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 2fba6e227f9b4d8fa584664bfd600cf4 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS RT 1000 RM XL SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS RT 1000 RM XL SNMP' valuemaps: - uuid: 7cf932d3b9304f2cb151134e9ea3be82 diff --git a/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/README.md b/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/README.md index b071a90ee4d..68ac1229fb8 100644 --- a/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS RT 1000 XL SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS RT 1000 XL SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS RT 1000 XL SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS RT 1000 XL SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS RT 1000 XL SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS RT 1000 XL SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS RT 1000 XL SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS RT 1000 XL SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS RT 1000 XL SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS RT 1000 XL SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/template_power_apc_ups_smart_rt_1000_xl_snmp.yaml b/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/template_power_apc_ups_smart_rt_1000_xl_snmp.yaml index 8ba73db1516..a5f15401780 100644 --- a/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/template_power_apc_ups_smart_rt_1000_xl_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_rt_1000_xl_snmp/template_power_apc_ups_smart_rt_1000_xl_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:28Z' - groups: + date: '2022-06-07T19:37:48Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 8e5f02a3eab44a5f85011b7331696284 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS RT 1000 XL SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS RT 1000 XL SNMP' valuemaps: - uuid: b2af1e2dcb874d43949c383f9b347f36 diff --git a/templates/power/apc/apc_ups_smart_srt_5000_snmp/README.md b/templates/power/apc/apc_ups_smart_srt_5000_snmp/README.md index a32160e41ed..ceb95869a1a 100644 --- a/templates/power/apc/apc_ups_smart_srt_5000_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_srt_5000_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS SRT 5000 SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS SRT 5000 SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS SRT 5000 SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS SRT 5000 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS SRT 5000 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS SRT 5000 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS SRT 5000 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 5000 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS SRT 5000 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 5000 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_srt_5000_snmp/template_power_apc_ups_smart_srt_5000_snmp.yaml b/templates/power/apc/apc_ups_smart_srt_5000_snmp/template_power_apc_ups_smart_srt_5000_snmp.yaml index 561eec8762d..f4e130a2384 100644 --- a/templates/power/apc/apc_ups_smart_srt_5000_snmp/template_power_apc_ups_smart_srt_5000_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_srt_5000_snmp/template_power_apc_ups_smart_srt_5000_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:30Z' - groups: + date: '2022-06-07T19:37:49Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: ceb28c7c39e44859a4c1076978a40788 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_lines - value: '1' - - - type: INTEGER - name: show_as_html - value: '0' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS SRT 5000 SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS SRT 5000 SNMP' valuemaps: - uuid: 41e166e2a5f948488238198920ab4b17 diff --git a/templates/power/apc/apc_ups_smart_srt_8000_snmp/README.md b/templates/power/apc/apc_ups_smart_srt_8000_snmp/README.md index 43a027be10a..18c2018f37d 100644 --- a/templates/power/apc/apc_ups_smart_srt_8000_snmp/README.md +++ b/templates/power/apc/apc_ups_smart_srt_8000_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC Smart-UPS SRT 8000 SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC Smart-UPS SRT 8000 SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC Smart-UPS SRT 8000 SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC Smart-UPS SRT 8000 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC Smart-UPS SRT 8000 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC Smart-UPS SRT 8000 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC Smart-UPS SRT 8000 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 8000 SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC Smart-UPS SRT 8000 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 8000 SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_smart_srt_8000_snmp/template_power_apc_ups_smart_srt_8000_snmp.yaml b/templates/power/apc/apc_ups_smart_srt_8000_snmp/template_power_apc_ups_smart_srt_8000_snmp.yaml index cda97e31af1..1013bccaf68 100644 --- a/templates/power/apc/apc_ups_smart_srt_8000_snmp/template_power_apc_ups_smart_srt_8000_snmp.yaml +++ b/templates/power/apc/apc_ups_smart_srt_8000_snmp/template_power_apc_ups_smart_srt_8000_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:31Z' - groups: + date: '2022-06-07T19:37:49Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 268ead40a9dd40798df6d75f554ec1bb - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC Smart-UPS SRT 8000 SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC Smart-UPS SRT 8000 SNMP' valuemaps: - uuid: 864d59cbfcc8431cb334b812bf7ef3a3 diff --git a/templates/power/apc/apc_ups_snmp/README.md b/templates/power/apc/apc_ups_snmp/README.md index 11211ad37cd..7ed47d22a19 100644 --- a/templates/power/apc/apc_ups_snmp/README.md +++ b/templates/power/apc/apc_ups_snmp/README.md @@ -125,7 +125,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC UPS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC UPS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC UPS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC UPS SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC UPS SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml b/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml index 47dd06c8be3..0fccd0349b7 100644 --- a/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml +++ b/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:23Z' - groups: + date: '2022-06-07T19:37:45Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1621,178 +1621,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: e1b2126fa06d44e3b0984f5bb904cd9a - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC UPS SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC UPS SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC UPS SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC UPS SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC UPS SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC UPS SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC UPS SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC UPS SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC UPS SNMP' valuemaps: - uuid: a808aadebf964e0cb6b8724bf1165013 diff --git a/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md b/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md index 8e859cf8188..b7dfbed36b8 100644 --- a/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md +++ b/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC UPS Symmetra LX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC UPS Symmetra LX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC UPS Symmetra LX SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC UPS Symmetra LX SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra LX SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC UPS Symmetra LX SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra LX SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml b/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml index 10fd49d4923..44de072230e 100644 --- a/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml +++ b/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:32Z' - groups: + date: '2022-06-07T19:37:50Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: fbf5cb79251d48bdbe4bc7b81dbd2d65 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC UPS Symmetra LX SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC UPS Symmetra LX SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC UPS Symmetra LX SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC UPS Symmetra LX SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC UPS Symmetra LX SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC UPS Symmetra LX SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC UPS Symmetra LX SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC UPS Symmetra LX SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC UPS Symmetra LX SNMP' valuemaps: - uuid: aec3362485c242ec928cb8ecfe5e61cf diff --git a/templates/power/apc/apc_ups_symmetra_rm_snmp/README.md b/templates/power/apc/apc_ups_symmetra_rm_snmp/README.md index 91450d8fe17..d5adb3840c7 100644 --- a/templates/power/apc/apc_ups_symmetra_rm_snmp/README.md +++ b/templates/power/apc/apc_ups_symmetra_rm_snmp/README.md @@ -129,7 +129,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC UPS Symmetra RM SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC UPS Symmetra RM SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC UPS Symmetra RM SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC UPS Symmetra RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC UPS Symmetra RM SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC UPS Symmetra RM SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC UPS Symmetra RM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra RM SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC UPS Symmetra RM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra RM SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_symmetra_rm_snmp/template_power_apc_ups_symmetra_rm_snmp.yaml b/templates/power/apc/apc_ups_symmetra_rm_snmp/template_power_apc_ups_symmetra_rm_snmp.yaml index 923b18cd707..921c747de88 100644 --- a/templates/power/apc/apc_ups_symmetra_rm_snmp/template_power_apc_ups_symmetra_rm_snmp.yaml +++ b/templates/power/apc/apc_ups_symmetra_rm_snmp/template_power_apc_ups_symmetra_rm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:33Z' - groups: + date: '2022-06-07T19:37:51Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: 3d8fa7f93f9f4a0bbc0b9f70282aa5cd - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC UPS Symmetra RM SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC UPS Symmetra RM SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC UPS Symmetra RM SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC UPS Symmetra RM SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC UPS Symmetra RM SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC UPS Symmetra RM SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC UPS Symmetra RM SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC UPS Symmetra RM SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC UPS Symmetra RM SNMP' valuemaps: - uuid: 8516e97893ed4f2ebe70766d17eeacde diff --git a/templates/power/apc/apc_ups_symmetra_rx_snmp/README.md b/templates/power/apc/apc_ups_symmetra_rx_snmp/README.md index c14cb5c9e4a..d60f28a4b61 100644 --- a/templates/power/apc/apc_ups_symmetra_rx_snmp/README.md +++ b/templates/power/apc/apc_ups_symmetra_rx_snmp/README.md @@ -125,7 +125,7 @@ There are no template links in this template. |UPS is Off |

-

|`last(/APC UPS Symmetra RX SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | |UPS is Emergency Static Bypass |

-

|`last(/APC UPS Symmetra RX SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | |UPS is Hardware Failure Bypass |

-

|`last(/APC UPS Symmetra RX SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | -|has been restarted |

Uptime is less than 10 minutes

|`last(/APC UPS Symmetra RX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/APC UPS Symmetra RX SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/APC UPS Symmetra RX SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage |

-

|`min(/APC UPS Symmetra RX SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra RX SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | |{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage |

-

|`min(/APC UPS Symmetra RX SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra RX SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | | diff --git a/templates/power/apc/apc_ups_symmetra_rx_snmp/template_power_apc_ups_symmetra_rx_snmp.yaml b/templates/power/apc/apc_ups_symmetra_rx_snmp/template_power_apc_ups_symmetra_rx_snmp.yaml index d95833819fe..d6297fbdc67 100644 --- a/templates/power/apc/apc_ups_symmetra_rx_snmp/template_power_apc_ups_symmetra_rx_snmp.yaml +++ b/templates/power/apc/apc_ups_symmetra_rx_snmp/template_power_apc_ups_symmetra_rx_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:34Z' - groups: + date: '2022-06-07T19:37:51Z' + template_groups: - uuid: 3dcd5bbe90534f9e8eb5c2d53756af63 name: Templates/Power @@ -851,7 +851,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -1624,178 +1624,6 @@ zabbix_export: macro: '{$UPS.OUTPUT.MAX.WARN}' value: '80' description: 'Maximum output load in % for trigger expression.' - dashboards: - - - uuid: b070a774806547ffa7e688b2746c8d58 - name: 'UPS Summary' - pages: - - - widgets: - - - type: PLAIN_TEXT - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'system.uptime[sysUpTime.0]' - host: 'APC UPS Symmetra RX SNMP' - - - type: PLAIN_TEXT - x: '8' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'input.fail[upsAdvInputLineFailCause]' - host: 'APC UPS Symmetra RX SNMP' - - - type: PLAIN_TEXT - x: '16' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'output.status[upsBasicOutputStatus]' - host: 'APC UPS Symmetra RX SNMP' - - - type: PLAIN_TEXT - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.status[upsBasicBatteryStatus]' - host: 'APC UPS Symmetra RX SNMP' - - - type: PLAIN_TEXT - x: '8' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]' - host: 'APC UPS Symmetra RX SNMP' - - - type: PLAIN_TEXT - x: '16' - 'y': '2' - width: '8' - fields: - - - type: INTEGER - name: show_as_html - value: '0' - - - type: INTEGER - name: show_lines - value: '1' - - - type: ITEM - name: itemids - value: - key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]' - host: 'APC UPS Symmetra RX SNMP' - - - type: GRAPH_CLASSIC - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: 'Capacity of the UPS batteries' - host: 'APC UPS Symmetra RX SNMP' - - - type: GRAPH_CLASSIC - x: '8' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Voltage - host: 'APC UPS Symmetra RX SNMP' - - - type: GRAPH_CLASSIC - x: '16' - 'y': '4' - width: '8' - height: '7' - fields: - - - type: INTEGER - name: source_type - value: '0' - - - type: GRAPH - name: graphid - value: - name: Output - host: 'APC UPS Symmetra RX SNMP' valuemaps: - uuid: e2877a188bd24918992f8c7878550924 diff --git a/templates/san/hpe_msa2040_http/template_san_hpe_msa2040_http.yaml b/templates/san/hpe_msa2040_http/template_san_hpe_msa2040_http.yaml index c8b88033026..382b487b5d8 100644 --- a/templates/san/hpe_msa2040_http/template_san_hpe_msa2040_http.yaml +++ b/templates/san/hpe_msa2040_http/template_san_hpe_msa2040_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T12:48:50Z' - groups: + date: '2022-06-07T19:33:25Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN diff --git a/templates/san/hpe_msa2060_http/template_san_hpe_msa2060_http.yaml b/templates/san/hpe_msa2060_http/template_san_hpe_msa2060_http.yaml index 6e984b47046..dd6be9efd60 100644 --- a/templates/san/hpe_msa2060_http/template_san_hpe_msa2060_http.yaml +++ b/templates/san/hpe_msa2060_http/template_san_hpe_msa2060_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T12:48:57Z' - groups: + date: '2022-06-07T19:33:26Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN diff --git a/templates/san/hpe_primera_http/README.md b/templates/san/hpe_primera_http/README.md index 2a0abf7921a..1890b4bc9b2 100644 --- a/templates/san/hpe_primera_http/README.md +++ b/templates/san/hpe_primera_http/README.md @@ -55,7 +55,7 @@ There are no template links in this template. |----|-----------|----|----| |Common provisioning groups discovery |

List of CPGs resources.

|DEPENDENT |hpe.primera.cpg.discovery

**Preprocessing**:

- JSONPATH: `$.cpgs.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#NAME} MATCHES_REGEX `{$HPE.PRIMERA.CPG.NAME.MATCHES}`

- {#NAME} NOT_MATCHES_REGEX `{$HPE.PRIMERA.CPG.NAME.NOT_MATCHES}`

| |Disks discovery |

List of physical disk resources.

|DEPENDENT |hpe.primera.disks.discovery

**Preprocessing**:

- JSONPATH: `$.disks.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

| -|Hosts discovery |

List of host properties.

|DEPENDENT |hpe.primera.hosts.discovery

**Preprocessing**:

- JSONPATH: `$.hosts.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#NAME} EXISTS

| +|Hosts discovery |

List of host properties.

|DEPENDENT |hpe.primera.hosts.discovery

**Preprocessing**:

- JSONPATH: `$.hosts.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#NAME} EXISTS ``

| |Ports discovery |

List of ports.

|DEPENDENT |hpe.primera.ports.discovery

**Preprocessing**:

- JSONPATH: `$.ports.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#TYPE} NOT_MATCHES_REGEX `3`

| |Tasks discovery |

List of tasks started within last 24 hours.

|DEPENDENT |hpe.primera.tasks.discovery

**Preprocessing**:

- JSONPATH: `$.tasks`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#NAME} MATCHES_REGEX `{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.MATCHES}`

- {#NAME} NOT_MATCHES_REGEX `{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.NOT_MATCHES}`

- {#TYPE} MATCHES_REGEX `{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.MATCHES}`

- {#TYPE} NOT_MATCHES_REGEX `{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.NOT_MATCHES}`

| |Volumes discovery |

List of storage volume resources.

|DEPENDENT |hpe.primera.volumes.discovery

**Preprocessing**:

- JSONPATH: `$.volumes.members`

- DISCARD_UNCHANGED_HEARTBEAT: `6h`

**Filter**:

AND

- {#NAME} MATCHES_REGEX `{$HPE.PRIMERA.VOLUME.NAME.MATCHES}`

- {#NAME} NOT_MATCHES_REGEX `{$HPE.PRIMERA.VOLUME.NAME.NOT_MATCHES}`

| diff --git a/templates/san/hpe_primera_http/template_san_hpe_primera_http.yaml b/templates/san/hpe_primera_http/template_san_hpe_primera_http.yaml index 16aff3c75c2..8e47b939889 100644 --- a/templates/san/hpe_primera_http/template_san_hpe_primera_http.yaml +++ b/templates/san/hpe_primera_http/template_san_hpe_primera_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-06-01T08:17:46Z' - groups: + date: '2022-06-07T19:33:27Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN @@ -2258,14 +2258,14 @@ zabbix_export: type: DEPENDENT key: hpe.primera.hosts.discovery delay: '0' - description: 'List of host properties.' filter: evaltype: AND conditions: - - + - macro: '{#NAME}' operator: EXISTS formulaid: A + description: 'List of host properties.' item_prototypes: - uuid: 142a03a36dbf477ebbcb99994efe4246 diff --git a/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml b/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml index 086d8fe2022..33bc2d29acb 100644 --- a/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml +++ b/templates/san/huawei_5300v5_snmp/template_san_huawei_5300v5_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:00:18Z' - groups: + date: '2022-06-07T19:33:32Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN diff --git a/templates/san/netapp_aff_a700_http/README.md b/templates/san/netapp_aff_a700_http/README.md index 2673b829182..5ad6c6eee5e 100644 --- a/templates/san/netapp_aff_a700_http/README.md +++ b/templates/san/netapp_aff_a700_http/README.md @@ -147,7 +147,7 @@ There are no template links in this template. |Cluster status is abnormal |

Any errors associated with the sample. For example, if the aggregation of data over multiple nodes fails then any of the partial errors might be returned, “ok” on success, or “error” on any internal uncategorized failure. Whenever a sample collection is missed but done at a later time, it is back filled to the previous 15 second timestamp and tagged with "backfilled_data". “Inconsistent_ delta_time” is encountered when the time between two collections is not the same for all nodes. Therefore, the aggregated value might be over or under inflated. “Negative_delta” is returned when an expected monotonically increasing value has decreased in value. “Inconsistent_old_data” is returned when one or more nodes do not have the latest data.

|`(last(/NetApp AFF A700 by HTTP/netapp.cluster.status)<>"ok")` |AVERAGE | | |{#NODENAME}: Version has changed |

{#NODENAME} version has changed. Ack to close.

|`last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}],#2) and length(last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}]))>0` |INFO |

Manual close: YES

| |{#NODENAME}: Node state is abnormal |

The state of the node is different from up:

booting - Node is booting up.

down - Node has stopped or is dumping core.

taken_over - Node has been taken over by its HA partner and is not yet waiting for giveback.

waiting_for_giveback - Node has been taken over by its HA partner and is waiting for the HA partner to giveback disks.

degraded - Node has one or more critical services offline.

unknown - Node or its HA partner cannot be contacted and there is no information on the node's state.

|`(last(/NetApp AFF A700 by HTTP/netapp.nodes.state[{#NODENAME}])<>"up")` |AVERAGE | | -|{#NODENAME}: Node has been restarted |

Uptime is less than 10 minutes

|`last(/NetApp AFF A700 by HTTP/netapp.nodes.uptime[{#NODENAME}])<10m` |INFO |

Manual close: YES

| +|{#NODENAME}: Node has been restarted |

Uptime is less than 10 minutes.

|`last(/NetApp AFF A700 by HTTP/netapp.nodes.uptime[{#NODENAME}])<10m` |INFO |

Manual close: YES

| |{#NODENAME}: Node has over temperature |

The hardware shuts down if the temperature exceeds critical thresholds(item's value is "over").

|`(last(/NetApp AFF A700 by HTTP/netapp.nodes.controller.over_temperature[{#NODENAME}])<>"normal")` |AVERAGE | | |{#ETHPORTNAME}: Ethernet port of the Node "{#NODENAME}" is down |

Something is wrong with the ethernet port.

|`(last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}])="down")`

Recovery expression:

`(last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}])="up")` |AVERAGE |

Manual close: YES

| |{#FCPORTNAME}: FC port of the Node "{#NODENAME}" has state different from "online" |

Something is wrong with the FC port.

|`(last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}])<>"online")`

Recovery expression:

`(last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}])="online")` |AVERAGE |

Manual close: YES

| diff --git a/templates/san/netapp_aff_a700_http/template_san_netapp_aff_a700_http.yaml b/templates/san/netapp_aff_a700_http/template_san_netapp_aff_a700_http.yaml index 706d2e43453..de249d01c1d 100644 --- a/templates/san/netapp_aff_a700_http/template_san_netapp_aff_a700_http.yaml +++ b/templates/san/netapp_aff_a700_http/template_san_netapp_aff_a700_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:13Z' - groups: + date: '2022-06-07T19:36:31Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN @@ -1443,7 +1443,7 @@ zabbix_export: name: '{#NODENAME}: Node has been restarted' event_name: '{#NODENAME}: Node has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/san/netapp_fas3220_snmp/README.md b/templates/san/netapp_fas3220_snmp/README.md index 2823afc614c..1e8bf8ffbc0 100644 --- a/templates/san/netapp_fas3220_snmp/README.md +++ b/templates/san/netapp_fas3220_snmp/README.md @@ -126,7 +126,7 @@ There are no template links in this template. |Node {#NODE.NAME}: High CPU utilization |

CPU utilization is too high. The system might be slow to respond.

|`min(/NetApp FAS3220 SNMP/fas3220.cpu[cDOTCpuBusyTimePerCent, "{#NODE.NAME}"],5m)>{$CPU.UTIL.CRIT}` |WARNING | | |System name has changed |

System name has changed. Ack to close.

|`last(/NetApp FAS3220 SNMP/system.name,#1)<>last(/NetApp FAS3220 SNMP/system.name,#2) and length(last(/NetApp FAS3220 SNMP/system.name))>0` |INFO |

Manual close: YES

| |NetApp FAS3220: Number of failed disks has changed |

{{ITEM.LASTVALUE2}.regsub("(.*)", \1)}

|`last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedCount])>0 and last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedMessage],#1)<>last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedMessage],#2)`

Recovery expression:

`last(/NetApp FAS3220 SNMP/fas3220.disk[diskFailedCount])=0` |WARNING | | -|Node {#NODE.NAME}: has been restarted |

Uptime is less than 10 minutes

|`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeUptime, "{#NODE.NAME}"])<10m` |INFO |

Manual close: YES

| +|Node {#NODE.NAME}: has been restarted |

Uptime is less than 10 minutes.

|`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeUptime, "{#NODE.NAME}"])<10m` |INFO |

Manual close: YES

| |Node {#NODE.NAME}: Node can not communicate with the cluster |

-

|`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeHealth, "{#NODE.NAME}"])=0` |HIGH |

Manual close: YES

| |Node {#NODE.NAME}: NVRAM battery status is not OK |

-

|`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeNvramBatteryStatus, "{#NODE.NAME}"])<>1` |AVERAGE |

Manual close: YES

| |Node {#NODE.NAME}: Temperature is over than recommended |

The hardware will shutdown if the temperature exceeds critical thresholds.

|`last(/NetApp FAS3220 SNMP/fas3220.cluster[nodeEnvOverTemperature, "{#NODE.NAME}"])=2` |HIGH | | @@ -140,7 +140,7 @@ There are no template links in this template. |Node {#NODE}: port {#IFNAME} ({#TYPE}): Link down |

Link state is not UP and the port status is set 'UP' by an administrator.

|`last(/NetApp FAS3220 SNMP/fas3220.net.port[netportLinkState, "{#NODE}", "{#IFNAME}"])<>2 and last(/NetApp FAS3220 SNMP/fas3220.net.port[netportUpAdmin, "{#NODE}", "{#IFNAME}"])=1` |AVERAGE |

Manual close: YES

| |Node {#NODE}: port {#IFNAME} ({#TYPE}): Port is not healthy |

{{ITEM.LASTVALUE2}.regsub("(.*)", \1)}

|`last(/NetApp FAS3220 SNMP/fas3220.net.port[netportHealthStatus, "{#NODE}", "{#IFNAME}"])<>0 and length(last(/NetApp FAS3220 SNMP/fas3220.net.port[netportDegradedReason, "{#NODE}", "{#IFNAME}"]))>0` |INFO | | |Node {#NODE}: port {#IFNAME} ({#TYPE}): High error rate |

Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold

|`min(/NetApp FAS3220 SNMP/fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} or min(/NetApp FAS3220 SNMP/fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"} `

Recovery expression:

`max(/NetApp FAS3220 SNMP/fas3220.net.if[if64InErrors, "{#NODE}", "{#IFNAME}"],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 and max(/NetApp FAS3220 SNMP/fas3220.net.if[if64OutErrors, "{#NODE}", "{#IFNAME}"],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8 ` |WARNING |

Manual close: YES

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/NetApp FAS3220 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/NetApp FAS3220 SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/NetApp FAS3220 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/NetApp FAS3220 SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/NetApp FAS3220 SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/NetApp FAS3220 SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml b/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml index 7283ae86445..092e337a314 100644 --- a/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml +++ b/templates/san/netapp_fas3220_snmp/template_san_netapp_fas3220_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:59:14Z' - groups: + date: '2022-06-07T19:36:31Z' + template_groups: - uuid: 7c2cb727f85b492d88cd56e17127c64d name: Templates/SAN @@ -370,7 +370,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -720,7 +720,7 @@ zabbix_export: name: 'Node {#NODE.NAME}: has been restarted' event_name: 'Node {#NODE.NAME}: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/chassis_ipmi/template_server_chassis_ipmi.yaml b/templates/server/chassis_ipmi/template_server_chassis_ipmi.yaml index 3c9d7afdeeb..34ba37f6382 100644 --- a/templates/server/chassis_ipmi/template_server_chassis_ipmi.yaml +++ b/templates/server/chassis_ipmi/template_server_chassis_ipmi.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:44Z' - groups: + date: '2022-06-07T19:33:35Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -275,20 +275,17 @@ zabbix_export: key: ipmi.get lld_macro_paths: - - lld_macro: '{#SENSOR_ID}' - path: $.id - - - lld_macro: '{#SENSOR_READING_TYPE}' - path: $.reading.text + lld_macro: '{#SENSOR_HI_CRIT}' + path: $.threshold.upper.crit - - lld_macro: '{#SENSOR_TYPE}' - path: $.sensor.text + lld_macro: '{#SENSOR_HI_DISAST}' + path: $.threshold.upper.non_recover - - lld_macro: '{#SENSOR_UNIT}' - path: $.units + lld_macro: '{#SENSOR_HI_WARN}' + path: $.threshold.upper.non_crit - - lld_macro: '{#SENSOR_LO_WARN}' - path: $.threshold.lower.non_crit + lld_macro: '{#SENSOR_ID}' + path: $.id - lld_macro: '{#SENSOR_LO_CRIT}' path: $.threshold.lower.crit @@ -296,14 +293,17 @@ zabbix_export: lld_macro: '{#SENSOR_LO_DISAST}' path: $.threshold.lower.non_recover - - lld_macro: '{#SENSOR_HI_WARN}' - path: $.threshold.upper.non_crit + lld_macro: '{#SENSOR_LO_WARN}' + path: $.threshold.lower.non_crit - - lld_macro: '{#SENSOR_HI_CRIT}' - path: $.threshold.upper.crit + lld_macro: '{#SENSOR_READING_TYPE}' + path: $.reading.text - - lld_macro: '{#SENSOR_HI_DISAST}' - path: $.threshold.upper.non_recover + lld_macro: '{#SENSOR_TYPE}' + path: $.sensor.text + - + lld_macro: '{#SENSOR_UNIT}' + path: $.units overrides: - name: 'trigger SENSOR_HI_CRIT' diff --git a/templates/server/cisco_ucs_manager_snmp/README.md b/templates/server/cisco_ucs_manager_snmp/README.md index 278e3ffcb30..a3f8bfe27a9 100644 --- a/templates/server/cisco_ucs_manager_snmp/README.md +++ b/templates/server/cisco_ucs_manager_snmp/README.md @@ -160,7 +160,7 @@ There are no template links in this template. |{#DISK_LOCATION}: Disk has been replaced |

Disk serial number has changed. Ack to close

|`last(/Cisco UCS Manager SNMP/cisco.ucs.hw.physicaldisk.serialnumber[cucsStorageLocalDiskSerial.{#SNMPINDEX}],#1)<>last(/Cisco UCS Manager SNMP/cisco.ucs.hw.physicaldisk.serialnumber[cucsStorageLocalDiskSerial.{#SNMPINDEX}],#2) and length(last(/Cisco UCS Manager SNMP/cisco.ucs.hw.physicaldisk.serialnumber[cucsStorageLocalDiskSerial.{#SNMPINDEX}]))>0` |INFO |

Manual close: YES

| |{#PSU_LOCATION}: Power supply is in critical state |

Please check the power supply unit for errors

|`last(/Cisco UCS Manager SNMP/cisco.ucs.sensor.psu.status[cucsEquipmentPsuOperState.{#SNMPINDEX}])={$PSU.STATUS.CRIT:"inoperable"}` |AVERAGE | | |{#PSU_LOCATION}: Power supply is in warning state |

Please check the power supply unit for errors

|`last(/Cisco UCS Manager SNMP/cisco.ucs.sensor.psu.status[cucsEquipmentPsuOperState.{#SNMPINDEX}])={$PSU.STATUS.WARN:"degraded"}` |WARNING |

**Depends on**:

- {#PSU_LOCATION}: Power supply is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco UCS Manager SNMP/cisco.ucs.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco UCS Manager SNMP/cisco.ucs.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco UCS Manager SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#UNIT_LOCATION}: System status is in critical state |

Please check the device for errors

|`last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.CRIT:"computeFailed"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.CRIT:"configFailure"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.CRIT:"unconfigFailure"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.CRIT:"inoperable"}` |HIGH | | |{#UNIT_LOCATION}: System status is in warning state |

Please check the device for warnings

|`last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.WARN:"testFailed"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.WARN:"thermalProblem"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.WARN:"powerProblem"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.WARN:"voltageProblem"} or last(/Cisco UCS Manager SNMP/cisco.ucs.status[cucsComputeRackUnitOperState.{#SNMPINDEX}])={$HEALTH.STATUS.WARN:"diagnosticsFailed"}` |WARNING |

**Depends on**:

- {#UNIT_LOCATION}: System status is in critical state

| diff --git a/templates/server/cisco_ucs_manager_snmp/template_server_cisco_ucs_manager_snmp.yaml b/templates/server/cisco_ucs_manager_snmp/template_server_cisco_ucs_manager_snmp.yaml index 758a3cd2c06..3b30153c3f9 100644 --- a/templates/server/cisco_ucs_manager_snmp/template_server_cisco_ucs_manager_snmp.yaml +++ b/templates/server/cisco_ucs_manager_snmp/template_server_cisco_ucs_manager_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:22Z' - groups: + date: '2022-06-07T19:37:44Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -197,7 +197,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - @@ -2107,8 +2107,8 @@ zabbix_export: type: GRAPH_PROTOTYPE name: graphid value: - name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' host: 'Cisco UCS Manager SNMP' + name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic' valuemaps: - uuid: 8648df22d8be42359900e11ea395a98c diff --git a/templates/server/cisco_ucs_snmp/README.md b/templates/server/cisco_ucs_snmp/README.md index 7066a8fa4c8..2065997109d 100644 --- a/templates/server/cisco_ucs_snmp/README.md +++ b/templates/server/cisco_ucs_snmp/README.md @@ -124,7 +124,7 @@ There are no template links in this template. |{#DISK_LOCATION}: Physical disk error |

Please check physical disk for warnings or errors

|`count(/Cisco UCS SNMP/system.hw.physicaldisk.status[cucsStorageLocalDiskDiskState.{#SNMPINDEX}],#1,"eq","{$DISK_CRIT_STATUS:\"bad\"}")=1 or count(/Cisco UCS SNMP/system.hw.physicaldisk.status[cucsStorageLocalDiskDiskState.{#SNMPINDEX}],#1,"eq","{$DISK_CRIT_STATUS:\"predictiveFailure\"}")=1` |AVERAGE |

**Depends on**:

- {#DISK_LOCATION}: Physical disk failed

| |{#PSU_LOCATION}: Power supply is in critical state |

Please check the power supply unit for errors

|`count(/Cisco UCS SNMP/sensor.psu.status[cucsEquipmentPsuOperState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"inoperable\"}")=1` |AVERAGE | | |{#PSU_LOCATION}: Power supply is in warning state |

Please check the power supply unit for errors

|`count(/Cisco UCS SNMP/sensor.psu.status[cucsEquipmentPsuOperState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"degraded\"}")=1` |WARNING |

**Depends on**:

- {#PSU_LOCATION}: Power supply is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Cisco UCS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Cisco UCS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Cisco UCS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Cisco UCS SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Cisco UCS SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco UCS SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/server/cisco_ucs_snmp/template_server_cisco_ucs_snmp.yaml b/templates/server/cisco_ucs_snmp/template_server_cisco_ucs_snmp.yaml index 9b0291a872d..8fe3808c3b8 100644 --- a/templates/server/cisco_ucs_snmp/template_server_cisco_ucs_snmp.yaml +++ b/templates/server/cisco_ucs_snmp/template_server_cisco_ucs_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:10Z' - groups: + date: '2022-06-07T19:37:37Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -294,7 +294,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - diff --git a/templates/server/dell/dell_r720_http/template_server_dell_r720_http.yaml b/templates/server/dell/dell_r720_http/template_server_dell_r720_http.yaml index fea9d216d1b..545a880f2b9 100644 --- a/templates/server/dell/dell_r720_http/template_server_dell_r720_http.yaml +++ b/templates/server/dell/dell_r720_http/template_server_dell_r720_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:15Z' - groups: + date: '2022-06-07T19:33:13Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/dell/dell_r720_snmp/README.md b/templates/server/dell/dell_r720_snmp/README.md index 0299620ba35..e0575aebe04 100644 --- a/templates/server/dell/dell_r720_snmp/README.md +++ b/templates/server/dell/dell_r720_snmp/README.md @@ -133,7 +133,7 @@ There are no template links in this template. |Dell R720: System is in unrecoverable state |

Please check the device for faults.

|`last(/DELL PowerEdge R720 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.DISASTER}` |DISASTER | | |Dell R720: System status is in critical state |

Please check the device for errors.

|`last(/DELL PowerEdge R720 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.CRIT}` |HIGH | | |Dell R720: System status is in warning state |

Please check the device for warnings.

|`last(/DELL PowerEdge R720 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- Dell R720: System status is in critical state

| -|Dell R720: has been restarted |

Uptime is less than 10 minutes

|`last(/DELL PowerEdge R720 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|Dell R720: has been restarted |

Uptime is less than 10 minutes.

|`last(/DELL PowerEdge R720 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |Dell R720: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/DELL PowerEdge R720 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |Dell R720: Probe {#SENSOR_LOCALE} is in critical status |

Please check the device for faults.

|`last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalUpper"} or last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableUpper"} or last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalLower"} or last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableLower"}` |AVERAGE | | |Dell R720: Probe {#SENSOR_LOCALE} is in warning status |

Please check the device for faults.

|`last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalUpper"} or last(/DELL PowerEdge R720 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalLower"}` |WARNING |

**Depends on**:

- Dell R720: Probe {#SENSOR_LOCALE} is in critical status

| diff --git a/templates/server/dell/dell_r720_snmp/template_server_dell_r720_snmp.yaml b/templates/server/dell/dell_r720_snmp/template_server_dell_r720_snmp.yaml index 3439d79394d..3021447a87b 100644 --- a/templates/server/dell/dell_r720_snmp/template_server_dell_r720_snmp.yaml +++ b/templates/server/dell/dell_r720_snmp/template_server_dell_r720_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:14Z' - groups: + date: '2022-06-07T19:33:13Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -370,7 +370,7 @@ zabbix_export: name: 'Dell R720: has been restarted' event_name: 'Dell R720: {HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/dell/dell_r740_http/template_server_dell_r740_http.yaml b/templates/server/dell/dell_r740_http/template_server_dell_r740_http.yaml index cdcd9a3bc15..00c539dc664 100644 --- a/templates/server/dell/dell_r740_http/template_server_dell_r740_http.yaml +++ b/templates/server/dell/dell_r740_http/template_server_dell_r740_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:17Z' - groups: + date: '2022-06-07T19:33:14Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/dell/dell_r740_snmp/README.md b/templates/server/dell/dell_r740_snmp/README.md index e5c1cd0daef..64558a93a6f 100644 --- a/templates/server/dell/dell_r740_snmp/README.md +++ b/templates/server/dell/dell_r740_snmp/README.md @@ -133,7 +133,7 @@ There are no template links in this template. |Dell R740: System is in unrecoverable state |

Please check the device for faults.

|`last(/DELL PowerEdge R740 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.DISASTER}` |DISASTER | | |Dell R740: System status is in critical state |

Please check the device for errors.

|`last(/DELL PowerEdge R740 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.CRIT}` |HIGH | | |Dell R740: System status is in warning state |

Please check the device for warnings.

|`last(/DELL PowerEdge R740 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- Dell R740: System status is in critical state

| -|Dell R740: has been restarted |

Uptime is less than 10 minutes

|`last(/DELL PowerEdge R740 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|Dell R740: has been restarted |

Uptime is less than 10 minutes.

|`last(/DELL PowerEdge R740 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |Dell R740: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/DELL PowerEdge R740 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |Dell R740: Probe {#SENSOR_LOCALE} is in critical status |

Please check the device for faults.

|`last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalUpper"} or last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableUpper"} or last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalLower"} or last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableLower"}` |AVERAGE | | |Dell R740: Probe {#SENSOR_LOCALE} is in warning status |

Please check the device for faults.

|`last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalUpper"} or last(/DELL PowerEdge R740 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalLower"}` |WARNING |

**Depends on**:

- Dell R740: Probe {#SENSOR_LOCALE} is in critical status

| diff --git a/templates/server/dell/dell_r740_snmp/template_server_dell_r740_snmp.yaml b/templates/server/dell/dell_r740_snmp/template_server_dell_r740_snmp.yaml index bdebf52e523..050aff85b69 100644 --- a/templates/server/dell/dell_r740_snmp/template_server_dell_r740_snmp.yaml +++ b/templates/server/dell/dell_r740_snmp/template_server_dell_r740_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:16Z' - groups: + date: '2022-06-07T19:33:14Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -370,7 +370,7 @@ zabbix_export: name: 'Dell R740: has been restarted' event_name: 'Dell R740: {HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/dell/dell_r820_http/template_server_dell_r820_http.yaml b/templates/server/dell/dell_r820_http/template_server_dell_r820_http.yaml index 5c0f73dc37c..ef74706bb0f 100644 --- a/templates/server/dell/dell_r820_http/template_server_dell_r820_http.yaml +++ b/templates/server/dell/dell_r820_http/template_server_dell_r820_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:18Z' - groups: + date: '2022-06-07T19:33:15Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/dell/dell_r820_snmp/README.md b/templates/server/dell/dell_r820_snmp/README.md index 65a8e0f37a5..5502d0b736d 100644 --- a/templates/server/dell/dell_r820_snmp/README.md +++ b/templates/server/dell/dell_r820_snmp/README.md @@ -133,7 +133,7 @@ There are no template links in this template. |Dell R820: System is in unrecoverable state |

Please check the device for faults.

|`last(/DELL PowerEdge R820 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.DISASTER}` |DISASTER | | |Dell R820: System status is in critical state |

Please check the device for errors.

|`last(/DELL PowerEdge R820 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.CRIT}` |HIGH | | |Dell R820: System status is in warning state |

Please check the device for warnings.

|`last(/DELL PowerEdge R820 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- Dell R820: System status is in critical state

| -|Dell R820: has been restarted |

Uptime is less than 10 minutes

|`last(/DELL PowerEdge R820 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|Dell R820: has been restarted |

Uptime is less than 10 minutes.

|`last(/DELL PowerEdge R820 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |Dell R820: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/DELL PowerEdge R820 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |Dell R820: Probe {#SENSOR_LOCALE} is in critical status |

Please check the device for faults.

|`last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalUpper"} or last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableUpper"} or last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalLower"} or last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableLower"}` |AVERAGE | | |Dell R820: Probe {#SENSOR_LOCALE} is in warning status |

Please check the device for faults.

|`last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalUpper"} or last(/DELL PowerEdge R820 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalLower"}` |WARNING |

**Depends on**:

- Dell R820: Probe {#SENSOR_LOCALE} is in critical status

| diff --git a/templates/server/dell/dell_r820_snmp/template_server_dell_r820_snmp.yaml b/templates/server/dell/dell_r820_snmp/template_server_dell_r820_snmp.yaml index cfc9426fc54..9d491c931fe 100644 --- a/templates/server/dell/dell_r820_snmp/template_server_dell_r820_snmp.yaml +++ b/templates/server/dell/dell_r820_snmp/template_server_dell_r820_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:18Z' - groups: + date: '2022-06-07T19:33:15Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -370,7 +370,7 @@ zabbix_export: name: 'Dell R820: has been restarted' event_name: 'Dell R820: {HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/dell/dell_r840_http/template_server_dell_r840_http.yaml b/templates/server/dell/dell_r840_http/template_server_dell_r840_http.yaml index 2092a281f62..f1c8f610a86 100644 --- a/templates/server/dell/dell_r840_http/template_server_dell_r840_http.yaml +++ b/templates/server/dell/dell_r840_http/template_server_dell_r840_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:20Z' - groups: + date: '2022-06-07T19:33:16Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/dell/dell_r840_snmp/README.md b/templates/server/dell/dell_r840_snmp/README.md index b55fad23a19..3f51609ea09 100644 --- a/templates/server/dell/dell_r840_snmp/README.md +++ b/templates/server/dell/dell_r840_snmp/README.md @@ -133,7 +133,7 @@ There are no template links in this template. |Dell R840: System is in unrecoverable state |

Please check the device for faults.

|`last(/DELL PowerEdge R840 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.DISASTER}` |DISASTER | | |Dell R840: System status is in critical state |

Please check the device for errors.

|`last(/DELL PowerEdge R840 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.CRIT}` |HIGH | | |Dell R840: System status is in warning state |

Please check the device for warnings.

|`last(/DELL PowerEdge R840 SNMP/dell.server.status[globalSystemStatus])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- Dell R840: System status is in critical state

| -|Dell R840: has been restarted |

Uptime is less than 10 minutes

|`last(/DELL PowerEdge R840 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|Dell R840: has been restarted |

Uptime is less than 10 minutes.

|`last(/DELL PowerEdge R840 SNMP/dell.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |Dell R840: No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/DELL PowerEdge R840 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |Dell R840: Probe {#SENSOR_LOCALE} is in critical status |

Please check the device for faults.

|`last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalUpper"} or last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableUpper"} or last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"criticalLower"} or last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.CRIT:"nonRecoverableLower"}` |AVERAGE | | |Dell R840: Probe {#SENSOR_LOCALE} is in warning status |

Please check the device for faults.

|`last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalUpper"} or last(/DELL PowerEdge R840 SNMP/dell.server.sensor.temp.status[temperatureProbeStatus.{#SNMPINDEX}])={$SENSOR.TEMP.STATUS.WARN:"nonCriticalLower"}` |WARNING |

**Depends on**:

- Dell R840: Probe {#SENSOR_LOCALE} is in critical status

| diff --git a/templates/server/dell/dell_r840_snmp/template_server_dell_r840_snmp.yaml b/templates/server/dell/dell_r840_snmp/template_server_dell_r840_snmp.yaml index 6c408aba6b4..29809a58141 100644 --- a/templates/server/dell/dell_r840_snmp/template_server_dell_r840_snmp.yaml +++ b/templates/server/dell/dell_r840_snmp/template_server_dell_r840_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:19Z' - groups: + date: '2022-06-07T19:33:16Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -370,7 +370,7 @@ zabbix_export: name: 'Dell R840: has been restarted' event_name: 'Dell R840: {HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/dell_idrac_snmp/README.md b/templates/server/dell_idrac_snmp/README.md index 0e5be417ae8..9aee59783d5 100644 --- a/templates/server/dell_idrac_snmp/README.md +++ b/templates/server/dell_idrac_snmp/README.md @@ -151,7 +151,7 @@ There are no template links in this template. |System is in unrecoverable state! |

Please check the device for faults

|`count(/Dell iDRAC SNMP/system.status[globalSystemStatus.0],#1,"eq","{$HEALTH_DISASTER_STATUS}")=1` |HIGH | | |System status is in critical state |

Please check the device for errors

|`count(/Dell iDRAC SNMP/system.status[globalSystemStatus.0],#1,"eq","{$HEALTH_CRIT_STATUS}")=1` |HIGH |

**Depends on**:

- System is in unrecoverable state!

| |System status is in warning state |

Please check the device for warnings

|`count(/Dell iDRAC SNMP/system.status[globalSystemStatus.0],#1,"eq","{$HEALTH_WARN_STATUS}")=1` |WARNING |

**Depends on**:

- System is in unrecoverable state!

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/Dell iDRAC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/Dell iDRAC SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/Dell iDRAC SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/Dell iDRAC SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/Dell iDRAC SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Dell iDRAC SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/server/dell_idrac_snmp/template_server_dell_idrac_snmp.yaml b/templates/server/dell_idrac_snmp/template_server_dell_idrac_snmp.yaml index 37293b0efad..b84b853a2c8 100644 --- a/templates/server/dell_idrac_snmp/template_server_dell_idrac_snmp.yaml +++ b/templates/server/dell_idrac_snmp/template_server_dell_idrac_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:12Z' - groups: + date: '2022-06-07T19:37:38Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -496,7 +496,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - diff --git a/templates/server/hp/hp_bl460_snmp/README.md b/templates/server/hp/hp_bl460_snmp/README.md index f3fd2e53ee0..1160f4e0b36 100644 --- a/templates/server/hp/hp_bl460_snmp/README.md +++ b/templates/server/hp/hp_bl460_snmp/README.md @@ -142,7 +142,7 @@ There are no template links in this template. |Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state |

Please check the power supply unit for errors.

|`last(/HPE ProLiant BL460 SNMP/hp.server.sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}])={$PSU.STATUS.WARN}` |WARNING |

**Depends on**:

- Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state

| |System status is in critical state |

Please check the device for errors.

|`last(/HPE ProLiant BL460 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.CRIT}` |HIGH | | |System status is in warning state |

Please check the device for warnings.

|`last(/HPE ProLiant BL460 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/HPE ProLiant BL460 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/HPE ProLiant BL460 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/HPE ProLiant BL460 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#SNMPINDEX}: Temperature could not be determined |

Temperature could not be determined.

|`last(/HPE ProLiant BL460 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 1` |INFO |

Manual close: YES

| |{#SNMPINDEX}: The temperature sensor is outside of normal operating range |

If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.

|`last(/HPE ProLiant BL460 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 3` |WARNING | | diff --git a/templates/server/hp/hp_bl460_snmp/template_server_hp_bl460_snmp.yaml b/templates/server/hp/hp_bl460_snmp/template_server_hp_bl460_snmp.yaml index 0b302b567bb..a78edc701e7 100644 --- a/templates/server/hp/hp_bl460_snmp/template_server_hp_bl460_snmp.yaml +++ b/templates/server/hp/hp_bl460_snmp/template_server_hp_bl460_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:34Z' - groups: + date: '2022-06-07T19:33:28Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -317,7 +317,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/hp/hp_bl920_snmp/README.md b/templates/server/hp/hp_bl920_snmp/README.md index 6d12fdd2fa2..e055220f40c 100644 --- a/templates/server/hp/hp_bl920_snmp/README.md +++ b/templates/server/hp/hp_bl920_snmp/README.md @@ -142,7 +142,7 @@ There are no template links in this template. |Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state |

Please check the power supply unit for errors.

|`last(/HPE ProLiant BL920 SNMP/hp.server.sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}])={$PSU.STATUS.WARN}` |WARNING |

**Depends on**:

- Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state

| |System status is in critical state |

Please check the device for errors.

|`last(/HPE ProLiant BL920 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.CRIT}` |HIGH | | |System status is in warning state |

Please check the device for warnings.

|`last(/HPE ProLiant BL920 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/HPE ProLiant BL920 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/HPE ProLiant BL920 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/HPE ProLiant BL920 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#SNMPINDEX}: Temperature could not be determined |

Temperature could not be determined.

|`last(/HPE ProLiant BL920 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 1` |INFO |

Manual close: YES

| |{#SNMPINDEX}: The temperature sensor is outside of normal operating range |

If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.

|`last(/HPE ProLiant BL920 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 3` |WARNING | | diff --git a/templates/server/hp/hp_bl920_snmp/template_server_hp_bl920_snmp.yaml b/templates/server/hp/hp_bl920_snmp/template_server_hp_bl920_snmp.yaml index 78b413bc7d9..b6ca497499b 100644 --- a/templates/server/hp/hp_bl920_snmp/template_server_hp_bl920_snmp.yaml +++ b/templates/server/hp/hp_bl920_snmp/template_server_hp_bl920_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:35Z' - groups: + date: '2022-06-07T19:33:29Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -317,7 +317,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/hp/hp_dl360_snmp/README.md b/templates/server/hp/hp_dl360_snmp/README.md index 4078861e2e7..73c77c8162b 100644 --- a/templates/server/hp/hp_dl360_snmp/README.md +++ b/templates/server/hp/hp_dl360_snmp/README.md @@ -142,7 +142,7 @@ There are no template links in this template. |Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state |

Please check the power supply unit for errors.

|`last(/HPE ProLiant DL360 SNMP/hp.server.sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}])={$PSU.STATUS.WARN}` |WARNING |

**Depends on**:

- Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state

| |System status is in critical state |

Please check the device for errors.

|`last(/HPE ProLiant DL360 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.CRIT}` |HIGH | | |System status is in warning state |

Please check the device for warnings.

|`last(/HPE ProLiant DL360 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/HPE ProLiant DL360 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/HPE ProLiant DL360 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/HPE ProLiant DL360 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#SNMPINDEX}: Temperature could not be determined |

Temperature could not be determined.

|`last(/HPE ProLiant DL360 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 1` |INFO |

Manual close: YES

| |{#SNMPINDEX}: The temperature sensor is outside of normal operating range |

If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.

|`last(/HPE ProLiant DL360 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 3` |WARNING | | diff --git a/templates/server/hp/hp_dl360_snmp/template_server_hp_dl360_snmp.yaml b/templates/server/hp/hp_dl360_snmp/template_server_hp_dl360_snmp.yaml index d461084f25c..53cea3b4349 100644 --- a/templates/server/hp/hp_dl360_snmp/template_server_hp_dl360_snmp.yaml +++ b/templates/server/hp/hp_dl360_snmp/template_server_hp_dl360_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:37Z' - groups: + date: '2022-06-07T19:33:30Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -317,7 +317,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/hp/hp_dl380_snmp/README.md b/templates/server/hp/hp_dl380_snmp/README.md index 42bdf09e62b..ed72afacc7c 100644 --- a/templates/server/hp/hp_dl380_snmp/README.md +++ b/templates/server/hp/hp_dl380_snmp/README.md @@ -142,7 +142,7 @@ There are no template links in this template. |Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state |

Please check the power supply unit for errors.

|`last(/HPE ProLiant DL380 SNMP/hp.server.sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}])={$PSU.STATUS.WARN}` |WARNING |

**Depends on**:

- Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state

| |System status is in critical state |

Please check the device for errors.

|`last(/HPE ProLiant DL380 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.CRIT}` |HIGH | | |System status is in warning state |

Please check the device for warnings.

|`last(/HPE ProLiant DL380 SNMP/hp.server.status[cpqHeMibCondition])={$HEALTH.STATUS.WARN}` |WARNING |

**Depends on**:

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/HPE ProLiant DL380 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/HPE ProLiant DL380 SNMP/hp.server.uptime[sysUpTime])<10m` |WARNING |

Manual close: YES

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/HPE ProLiant DL380 SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | | |{#SNMPINDEX}: Temperature could not be determined |

Temperature could not be determined.

|`last(/HPE ProLiant DL380 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 1` |INFO |

Manual close: YES

| |{#SNMPINDEX}: The temperature sensor is outside of normal operating range |

If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.

|`last(/HPE ProLiant DL380 SNMP/hp.server.sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 3` |WARNING | | diff --git a/templates/server/hp/hp_dl380_snmp/template_server_hp_dl380_snmp.yaml b/templates/server/hp/hp_dl380_snmp/template_server_hp_dl380_snmp.yaml index 915a47e1421..cfb0811cfb9 100644 --- a/templates/server/hp/hp_dl380_snmp/template_server_hp_dl380_snmp.yaml +++ b/templates/server/hp/hp_dl380_snmp/template_server_hp_dl380_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:38Z' - groups: + date: '2022-06-07T19:33:31Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -317,7 +317,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - diff --git a/templates/server/hp_ilo_snmp/README.md b/templates/server/hp_ilo_snmp/README.md index a45b129a9f7..8a899624df7 100644 --- a/templates/server/hp_ilo_snmp/README.md +++ b/templates/server/hp_ilo_snmp/README.md @@ -145,7 +145,7 @@ There are no template links in this template. |Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state |

Please check the power supply unit for errors

|`count(/HP iLO SNMP/sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS}")=1` |WARNING |

**Depends on**:

- Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state

| |System status is in critical state |

Please check the device for errors

|`count(/HP iLO SNMP/system.status[cpqHeMibCondition.0],#1,"eq","{$HEALTH_CRIT_STATUS}")=1` |HIGH | | |System status is in warning state |

Please check the device for warnings

|`count(/HP iLO SNMP/system.status[cpqHeMibCondition.0],#1,"eq","{$HEALTH_WARN_STATUS}")=1` |WARNING |

**Depends on**:

- System status is in critical state

| -|has been restarted |

Uptime is less than 10 minutes

|`last(/HP iLO SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| +|has been restarted |

Uptime is less than 10 minutes.

|`last(/HP iLO SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |

Manual close: YES

**Depends on**:

- No SNMP data collection

| |No SNMP data collection |

SNMP is not available for polling. Please check device connectivity and SNMP settings.

|`max(/HP iLO SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| |Unavailable by ICMP ping |

Last three attempts returned timeout. Please check device connectivity.

|`max(/HP iLO SNMP/icmpping,#3)=0` |HIGH | | |High ICMP ping loss |

-

|`min(/HP iLO SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/HP iLO SNMP/icmppingloss,5m)<100` |WARNING |

**Depends on**:

- Unavailable by ICMP ping

| diff --git a/templates/server/hp_ilo_snmp/template_server_hp_ilo_snmp.yaml b/templates/server/hp_ilo_snmp/template_server_hp_ilo_snmp.yaml index a3ce367fcf7..63d622d4702 100644 --- a/templates/server/hp_ilo_snmp/template_server_hp_ilo_snmp.yaml +++ b/templates/server/hp_ilo_snmp/template_server_hp_ilo_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T20:01:13Z' - groups: + date: '2022-06-07T19:37:38Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' @@ -432,7 +432,7 @@ zabbix_export: name: 'has been restarted' event_name: '{HOST.NAME} has been restarted (uptime < 10m)' priority: WARNING - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' dependencies: - diff --git a/templates/server/ibm_imm_snmp/template_server_ibm_imm_snmp.yaml b/templates/server/ibm_imm_snmp/template_server_ibm_imm_snmp.yaml index 8b3a97b2021..257e3f534c4 100644 --- a/templates/server/ibm_imm_snmp/template_server_ibm_imm_snmp.yaml +++ b/templates/server/ibm_imm_snmp/template_server_ibm_imm_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:14:25Z' - groups: + date: '2022-06-07T19:37:40Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/intel_sr1530_ipmi/template_server_intel_sr1530_ipmi.yaml b/templates/server/intel_sr1530_ipmi/template_server_intel_sr1530_ipmi.yaml index b4f9fa3342a..34f43d1b9ac 100644 --- a/templates/server/intel_sr1530_ipmi/template_server_intel_sr1530_ipmi.yaml +++ b/templates/server/intel_sr1530_ipmi/template_server_intel_sr1530_ipmi.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:43Z' - groups: + date: '2022-06-07T19:33:34Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/intel_sr1630_ipmi/template_server_intel_sr1630_ipmi.yaml b/templates/server/intel_sr1630_ipmi/template_server_intel_sr1630_ipmi.yaml index e3a40bf36b3..1d95aff847b 100644 --- a/templates/server/intel_sr1630_ipmi/template_server_intel_sr1630_ipmi.yaml +++ b/templates/server/intel_sr1630_ipmi/template_server_intel_sr1630_ipmi.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:44Z' - groups: + date: '2022-06-07T19:33:34Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/server/supermicro_aten_snmp/template_server_supermicro_aten_snmp.yaml b/templates/server/supermicro_aten_snmp/template_server_supermicro_aten_snmp.yaml index 48943a042b6..a66f3f09fa5 100644 --- a/templates/server/supermicro_aten_snmp/template_server_supermicro_aten_snmp.yaml +++ b/templates/server/supermicro_aten_snmp/template_server_supermicro_aten_snmp.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-14T11:16:32Z' - groups: + date: '2022-06-07T19:37:40Z' + template_groups: - uuid: e960332b3f6c46a1956486d4f3f99fce name: 'Templates/Server hardware' diff --git a/templates/tel/asterisk_http/README.md b/templates/tel/asterisk_http/README.md index 88706695207..45700fba41c 100644 --- a/templates/tel/asterisk_http/README.md +++ b/templates/tel/asterisk_http/README.md @@ -105,9 +105,9 @@ There are no template links in this template. |Asterisk: Service is down |

-

|`last(/Asterisk by HTTP/net.tcp.service["tcp","{HOST.CONN}","{$AMI.PORT}"])=0` |AVERAGE |

Manual close: YES

| |Asterisk: Service response time is too high |

-

|`min(/Asterisk by HTTP/net.tcp.service.perf["tcp","{HOST.CONN}","{$AMI.PORT}"],5m)>{$AMI.RESPONSE_TIME.MAX.WARN}` |WARNING |

Manual close: YES

**Depends on**:

- Asterisk: Service is down

| |Asterisk: Version has changed |

Asterisk version has changed. Ack to close.

|`last(/Asterisk by HTTP/asterisk.version,#1)<>last(/Asterisk by HTTP/asterisk.version,#2) and length(last(/Asterisk by HTTP/asterisk.version))>0` |INFO |

Manual close: YES

| -|Asterisk: has been restarted |

Uptime is less than 10 minutes

|`last(/Asterisk by HTTP/asterisk.uptime)<10m` |INFO |

Manual close: YES

| +|Asterisk: has been restarted |

Uptime is less than 10 minutes.

|`last(/Asterisk by HTTP/asterisk.uptime)<10m` |INFO |

Manual close: YES

| |Asterisk: Failed to fetch AMI page |

Zabbix has not received data for items for the last 30 minutes.

|`nodata(/Asterisk by HTTP/asterisk.uptime,30m)=1` |WARNING |

Manual close: YES

**Depends on**:

- Asterisk: Service is down

| -|Asterisk: has been reloaded |

Uptime is less than 10 minutes

|`last(/Asterisk by HTTP/asterisk.uptime_reload)<10m` |INFO |

Manual close: YES

| +|Asterisk: has been reloaded |

Uptime is less than 10 minutes.

|`last(/Asterisk by HTTP/asterisk.uptime_reload)<10m` |INFO |

Manual close: YES

| |Asterisk: Total number of active channels of SIP trunks is too high |

The SIP trunks may not be able to process new calls.

|`min(/Asterisk by HTTP/asterisk.sip.active_channels,10m)>={$AMI.TRUNK_ACTIVE_CHANNELS_TOTAL.MAX.WARN:"SIP"}` |WARNING | | |Asterisk: Total number of active channels of IAX trunks is too high |

The IAX trunks may not be able to process new calls.

|`min(/Asterisk by HTTP/asterisk.iax.active_channels,10m)>={$AMI.TRUNK_ACTIVE_CHANNELS_TOTAL.MAX.WARN:"IAX"}` |WARNING | | |Asterisk: Total number of active channels of PJSIP trunks is too high |

The PJSIP trunks may not be able to process new calls.

|`min(/Asterisk by HTTP/asterisk.pjsip.active_channels,10m)>={$AMI.TRUNK_ACTIVE_CHANNELS_TOTAL.MAX.WARN:"PJSIP"}` |WARNING | | diff --git a/templates/tel/asterisk_http/template_tel_asterisk_http.yaml b/templates/tel/asterisk_http/template_tel_asterisk_http.yaml index 86f97285f8d..062dfdaa8d8 100644 --- a/templates/tel/asterisk_http/template_tel_asterisk_http.yaml +++ b/templates/tel/asterisk_http/template_tel_asterisk_http.yaml @@ -1,7 +1,7 @@ zabbix_export: version: '6.2' - date: '2022-04-06T19:54:00Z' - groups: + date: '2022-06-07T19:33:02Z' + template_groups: - uuid: 1d12408342854fd5a4436dd6d5d1bd4a name: Templates/Telephony @@ -834,7 +834,7 @@ zabbix_export: name: 'Asterisk: has been restarted' event_name: 'Asterisk: has been restarted (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - @@ -868,7 +868,7 @@ zabbix_export: name: 'Asterisk: has been reloaded' event_name: 'Asterisk: has been reloaded (uptime < 10m)' priority: INFO - description: 'Uptime is less than 10 minutes' + description: 'Uptime is less than 10 minutes.' manual_close: 'YES' tags: - -- cgit v1.2.3