From 782c6fef2c69c4f2bafd859c6c81c1815649e07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kont=C5=A1ek?= Date: Sat, 25 Mar 2017 20:22:40 +0100 Subject: [PATCH] Various fixes to the Zabbix system on esdc-mon (#119) * Various fixes to the Zabbix system on esdc-mon related to erigones/esdc-factory#29, erigones/esdc-factory#30 and other commits in the 2.5.2 release of esdc-mon appliance * Remove old rabbitmq check after t_svc-mq upgrade related to commit erigones/esdc-factory#7d25bf38c942fecde153e9e3b6a2aa72d951442d * More monitoring fixes - commit erigones/esdc-factory#3ad5f55 * Updated Zabbix library modules (PyCharm inspection) --- ans/library/zabbix.py | 69 + ans/library/zabbix_template.py | 9 +- ans/upgrade/lib/runtasks.yml | 9 +- ans/upgrade/lib/runupgrade.yml | 6 +- ans/upgrade/lib/zabbix_credentials.yml | 21 + ans/upgrade/lib/zabbix_import_templates.yml | 28 +- ans/upgrade/mgmt/v2.4.0/main.yml | 6 +- ans/upgrade/mon/v2.3.1/main.yml | 6 +- ans/upgrade/mon/v2.4.0/main.yml | 8 +- .../mon/v2.5.2/files/alertscripts/hqsms.py | 45 + .../mon/v2.5.2/files/alertscripts/jabber.sh | 7 + .../mon/v2.5.2/files/alertscripts/ludolph.sh | 7 + .../mon/v2.5.2/files/alertscripts/sms.sh | 8 + ans/upgrade/mon/v2.5.2/files/ludolph.service | 17 + .../zabbix_templates/t_erigones-zone.json | 283 +- .../files/zabbix_templates/t_erigonos.json | 3362 +++++++++++++++++ .../files/zabbix_templates/t_linux-disk.json | 439 +++ .../files/zabbix_templates/t_linux.json | 2246 +++++++++++ .../zabbix_templates/t_solaris_disk.json | 437 +++ .../files/zabbix_templates/t_svc-db.json | 887 +++++ .../t_svc-erigonesd-mgmt.json | 573 +++ .../files/zabbix_templates/t_svc-mq.json | 237 ++ .../zabbix_templates/t_vm_disk_space.json | 321 ++ .../files/zabbix_templates/t_vm_zone_cpu.json | 467 +++ .../zabbix_templates/t_vm_zone_dataset.json | 308 ++ ans/upgrade/mon/v2.5.2/main.yml | 65 +- ans/upgrade/mon/v2.5.2/mediatypes.yml | 54 + 27 files changed, 9885 insertions(+), 40 deletions(-) create mode 100644 ans/library/zabbix.py create mode 100644 ans/upgrade/lib/zabbix_credentials.yml create mode 100644 ans/upgrade/mon/v2.5.2/files/alertscripts/hqsms.py create mode 100644 ans/upgrade/mon/v2.5.2/files/alertscripts/jabber.sh create mode 100644 ans/upgrade/mon/v2.5.2/files/alertscripts/ludolph.sh create mode 100644 ans/upgrade/mon/v2.5.2/files/alertscripts/sms.sh create mode 100644 ans/upgrade/mon/v2.5.2/files/ludolph.service create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigonos.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux-disk.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_solaris_disk.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-db.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-erigonesd-mgmt.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-mq.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_disk_space.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_cpu.json create mode 100644 ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_dataset.json create mode 100644 ans/upgrade/mon/v2.5.2/mediatypes.yml diff --git a/ans/library/zabbix.py b/ans/library/zabbix.py new file mode 100644 index 00000000..f7bf0b21 --- /dev/null +++ b/ans/library/zabbix.py @@ -0,0 +1,69 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# (c) 2012-2017, Erigones, s. r. o +try: + from zabbix_api import ZabbixAPI, ZabbixAPIException +except ImportError: + ZabbixAPI = ZabbixAPIException = None + +from ansible.module_utils.basic import AnsibleModule + + +def main(): + # noinspection PyShadowingBuiltins + module = AnsibleModule( + argument_spec=dict( + server_url=dict(required=True, default=None, aliases=['url']), + login_user=dict(required=True), + login_password=dict(required=True), + api_method=dict(required=True), + api_params_dict=dict(required=False, type='dict', default={}), + api_params_list=dict(required=False, type='list', default=[]), + timeout=dict(default=10, type='int'), + validate_certs=dict(required=False, default=False, type='bool') + ), + supports_check_mode=True + ) + + if not ZabbixAPI: + module.fail_json(msg="Missing required zabbix-api module (check docs or install with: " + "pip install zabbix-api-erigones)") + raise AssertionError + + server_url = module.params['server_url'] + login_user = module.params['login_user'] + login_password = module.params['login_password'] + api_method = module.params['api_method'] + api_params = module.params['api_params_list'] or module.params['api_params_dict'] + timeout = module.params['timeout'] + ssl_verify = module.params['validate_certs'] + + # login to zabbix + try: + # noinspection PyCallingNonCallable + zbx = ZabbixAPI(server=server_url, timeout=timeout, ssl_verify=ssl_verify) + zbx.login(login_user, login_password) + except Exception as e: + module.fail_json(msg="Failed to connect to Zabbix server: %s" % e) + raise AssertionError + + try: + result = zbx.call(api_method, api_params) + except ZabbixAPIException as e: + module.fail_json(msg="Zabbix API error: %s" % e) + raise AssertionError + except Exception as e: + module.fail_json(msg="Unknown failure: %s" % e) + raise AssertionError + else: + if api_method.endswith(('.get', '.isreadable', '.iswritable')): + changed = False + else: + changed = True + + module.exit_json(changed=changed, result=result) + + +if __name__ == '__main__': + main() diff --git a/ans/library/zabbix_template.py b/ans/library/zabbix_template.py index 8d159084..a276329c 100644 --- a/ans/library/zabbix_template.py +++ b/ans/library/zabbix_template.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # -# (c) 2012-2016, Erigones, s. r. o +# (c) 2012-2017, Erigones, s. r. o # noinspection PyPep8Naming import xml.etree.ElementTree as ET import os @@ -119,6 +119,7 @@ def indent(elem, level=0): elem.tail = i +# noinspection PyShadowingBuiltins def get_template_name(module, filename): try: with open(filename, 'r') as f: @@ -132,6 +133,7 @@ def get_template_name(module, filename): return data['zabbix_export']['templates'][0]['name'] +# noinspection PyShadowingBuiltins def get_template_id(module, zbx, name): try: result = zbx.template.get({ @@ -150,6 +152,7 @@ def get_template_id(module, zbx, name): raise ValueError("Template \"%s\" not found" % name) +# noinspection PyShadowingBuiltins def check_template(module, zbx, name): try: return bool(get_template_id(module, zbx, name)) @@ -159,6 +162,7 @@ def check_template(module, zbx, name): module.fail_json(msg="Zabbix API problem: %s" % e) +# noinspection PyShadowingBuiltins def import_template(module, zbx, filename, fmt): if not os.path.exists(filename): module.fail_json(msg="template file %s not found" % filename) @@ -210,6 +214,7 @@ def import_template(module, zbx, filename, fmt): raise AssertionError +# noinspection PyShadowingBuiltins def export_template(module, zbx, template_id, target, fmt): try: result = zbx.configuration.export({ @@ -240,6 +245,7 @@ def export_template(module, zbx, template_id, target, fmt): raise AssertionError +# noinspection PyShadowingBuiltins def remove_template(module, zbx, template_id): try: return zbx.template.delete([template_id]) @@ -249,6 +255,7 @@ def remove_template(module, zbx, template_id): def main(): + # noinspection PyShadowingBuiltins module = AnsibleModule( argument_spec=dict( server_url=dict(required=True, default=None, aliases=['url']), diff --git a/ans/upgrade/lib/runtasks.yml b/ans/upgrade/lib/runtasks.yml index 6807b8d8..3457eca2 100644 --- a/ans/upgrade/lib/runtasks.yml +++ b/ans/upgrade/lib/runtasks.yml @@ -1,10 +1,11 @@ -- name: upgrading to {{ tasklist|basename }} +- name: Upgrading to {{ tasklist|basename }} set_fact: - upgrading_to: "{{ tasklist|basename }}" + upgrading_to: "{{ tasklist|basename }}" + current_task_dir: "{{ upg_dir }}/{{ tasklist|basename }}" -- include: "{{ upg_dir }}/{{ upgrading_to }}/main.yml" +- include: "{{ current_task_dir }}/main.yml" - meta: flush_handlers -- name: bumping appliance version +- name: Bumping appliance version shell: echo "{{ upgrading_to }}" > "{{ versionfile }}" diff --git a/ans/upgrade/lib/runupgrade.yml b/ans/upgrade/lib/runupgrade.yml index 369082fe..cf987eb8 100644 --- a/ans/upgrade/lib/runupgrade.yml +++ b/ans/upgrade/lib/runupgrade.yml @@ -8,10 +8,10 @@ upg_dir: "{{ upg_base }}/{{ appliance_type }}" versionfile: /etc/esdc.version tasks: - - name: extracting current appliance version + - name: Extracting current appliance version shell: if [ -f "{{ versionfile }}" ]; then cat "{{ versionfile }}"; else echo 'v1.0.0'; fi register: appliance_version - - name: getting list of upgrades + - name: Getting list of upgrades local_action: module: shell args: find "{{ upg_dir }}" -maxdepth 1 -type d -name 'v*' | sort --version-sort @@ -30,3 +30,5 @@ service: name=erigonesd-beat state=restarted - name: reload haproxy service: name=haproxy state=reloaded + - name: restart zabbix-server + service: name=zabbix-server state=restarted diff --git a/ans/upgrade/lib/zabbix_credentials.yml b/ans/upgrade/lib/zabbix_credentials.yml new file mode 100644 index 00000000..2a18ef2c --- /dev/null +++ b/ans/upgrade/lib/zabbix_credentials.yml @@ -0,0 +1,21 @@ +# output is 3 lines: +# 1: zabbix api url +# 2: user +# 3: pass +- name: Query Zabbix credentials + local_action: + module: shell + args: python -c 'from vms.models import DefaultDc; print(DefaultDc().settings.MON_ZABBIX_SERVER); print(DefaultDc().settings.MON_ZABBIX_USERNAME); print(DefaultDc().settings.MON_ZABBIX_PASSWORD);' + environment: + ERIGONES_HOME: "{{ erigones_home }}" + PYTHONPATH: "{{ erigones_home }}:$PYTHONPATH" + VIRTUAL_ENV: "{{ erigones_home }}/envs" + PATH: "{{ erigones_home }}/bin:{{ erigones_home }}/envs/bin:$PATH" + DJANGO_SETTINGS_MODULE: "core.settings" + register: zabbix_credentials + +- name: Set Zabbix credentials + set_fact: + zabbix_url: "{{ zabbix_credentials.stdout_lines[0] }}" + zabbix_login_user: "{{ zabbix_credentials.stdout_lines[1] }}" + zabbix_login_password: "{{ zabbix_credentials.stdout_lines[2] }}" diff --git a/ans/upgrade/lib/zabbix_import_templates.yml b/ans/upgrade/lib/zabbix_import_templates.yml index 0ecebff2..7475c530 100644 --- a/ans/upgrade/lib/zabbix_import_templates.yml +++ b/ans/upgrade/lib/zabbix_import_templates.yml @@ -1,10 +1,11 @@ # This task searches for directory zabbix_templates in current task dir (e.g. v2.4.0/zabbix_templates) # and imports all .json files that are present there. -# Required variables: upg_dir, upgrading_to +# Required variables: current_task_dir (=upg_dir/upgrading_to) +# Required tasks: zabbix_credentials.yml - name: Preparing to update zabbix monitoring templates set_fact: - tmpl_dir: '{{ upg_dir }}/{{ upgrading_to }}/files/zabbix_templates' + tmpl_dir: '{{ current_task_dir }}/files/zabbix_templates' - name: Get list of new templates local_action: @@ -12,30 +13,13 @@ args: find "{{ tmpl_dir }}" -name \*.json -type f -exec basename {} \; register: tmpl_list -# output is 3 lines: -# 1: zabbix api url -# 2: user -# 3: pass -- name: Query Zabbix credentials - local_action: - module: shell - args: python -c 'from vms.models import DefaultDc; print(DefaultDc().settings.MON_ZABBIX_SERVER); print(DefaultDc().settings.MON_ZABBIX_USERNAME); print(DefaultDc().settings.MON_ZABBIX_PASSWORD);' - environment: - ERIGONES_HOME: "{{ erigones_home }}" - PYTHONPATH: "{{ erigones_home }}:$PYTHONPATH" - VIRTUAL_ENV: "{{ erigones_home }}/envs" - PATH: "{{ erigones_home }}/bin:{{ erigones_home }}/envs/bin:$PATH" - DJANGO_SETTINGS_MODULE: "core.settings" - register: zabbix_credentials - - name: Import monitoring templates local_action: module: zabbix_template - url="{{ zabbix_credentials.stdout_lines[0] }}" - login_user="{{ zabbix_credentials.stdout_lines[1] }}" - login_password="{{ zabbix_credentials.stdout_lines[2] }}" + url="{{ zabbix_url }}" + login_user="{{ zabbix_login_user }}" + login_password="{{ zabbix_login_password }}" state=import format=json template="{{ tmpl_dir }}/{{ item }}" with_items: "{{ tmpl_list.stdout.split('\n') }}" - diff --git a/ans/upgrade/mgmt/v2.4.0/main.yml b/ans/upgrade/mgmt/v2.4.0/main.yml index 426fe81c..7e8e7ead 100644 --- a/ans/upgrade/mgmt/v2.4.0/main.yml +++ b/ans/upgrade/mgmt/v2.4.0/main.yml @@ -6,14 +6,14 @@ copy: dest=/etc/hostname content='localhost.localdomain\n' mode='u=rw,g=r,o=r' - name: Update post-deploy script - copy: src="{{ upg_dir }}/{{ upgrading_to }}/files/50-es-post-deploy.sh" dest=/var/lib/rc-scripts/50-es-post-deploy.sh mode=0750 owner=root group=root + copy: src="{{ current_task_dir }}/files/50-es-post-deploy.sh" dest=/var/lib/rc-scripts/50-es-post-deploy.sh mode=0750 owner=root group=root - name: Update post-deploy script unit file - copy: src="{{ upg_dir }}/{{ upgrading_to }}/files/rc-scripts.service" dest=/etc/systemd/system/rc-scripts.service + copy: src="{{ current_task_dir }}/files/rc-scripts.service" dest=/etc/systemd/system/rc-scripts.service notify: reload systemd - name: Update postgresql config - copy: src="{{ upg_dir }}/{{ upgrading_to }}/files/pg-ansible.conf" dest=/var/lib/pgsql/9.5/data/conf.d/ansible.conf + copy: src="{{ current_task_dir }}/files/pg-ansible.conf" dest=/var/lib/pgsql/9.5/data/conf.d/ansible.conf notify: - restart postgresql95 - restart erigonesd-beat diff --git a/ans/upgrade/mon/v2.3.1/main.yml b/ans/upgrade/mon/v2.3.1/main.yml index 3099ee56..43b811ea 100644 --- a/ans/upgrade/mon/v2.3.1/main.yml +++ b/ans/upgrade/mon/v2.3.1/main.yml @@ -1,3 +1,5 @@ +- name: Load Zabbix credentials + include: "{{ upg_base }}/lib/zabbix_credentials.yml" -- include: "{{ upg_base }}/lib/zabbix_import_templates.yml" - +- name: Update fixed Zabbix templates + include: "{{ upg_base }}/lib/zabbix_import_templates.yml" diff --git a/ans/upgrade/mon/v2.4.0/main.yml b/ans/upgrade/mon/v2.4.0/main.yml index ef825ed6..af8e7f39 100644 --- a/ans/upgrade/mon/v2.4.0/main.yml +++ b/ans/upgrade/mon/v2.4.0/main.yml @@ -1,10 +1,12 @@ - - name: Delete hardcoded hostname from /etc/hosts lineinfile: dest=/etc/hosts line="127.0.0.1 mon01" state=absent - name: Update postgresql config - copy: src="{{ upg_dir }}/{{ upgrading_to }}/files/pg-ansible.conf" dest=/var/lib/pgsql/9.5/data/conf.d/ansible.conf + copy: src="{{ current_task_dir }}/files/pg-ansible.conf" dest=/var/lib/pgsql/9.5/data/conf.d/ansible.conf notify: restart postgresql95 -- include: "{{ upg_base }}/lib/zabbix_import_templates.yml" +- name: Load Zabbix credentials + include: "{{ upg_base }}/lib/zabbix_credentials.yml" +- name: Update fixed Zabbix templates + include: "{{ upg_base }}/lib/zabbix_import_templates.yml" diff --git a/ans/upgrade/mon/v2.5.2/files/alertscripts/hqsms.py b/ans/upgrade/mon/v2.5.2/files/alertscripts/hqsms.py new file mode 100644 index 00000000..b688a7a1 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/alertscripts/hqsms.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python + +import sys +import requests + +__USERNAME__ = '@USERNAME@' +__PASSWORD__ = '@PASSWORD@' # md5 hash +__FROM__ = '@FROM@' + + +def login_data(): + """ + Login credentials in HQSMS service. + """ + return { + 'username': __USERNAME__, + 'password': __PASSWORD__, + 'from': __FROM__, + } + +def sms_send(phone, message): + """ + Send text message. + """ + data = login_data() + data['to'] = phone.replace('+', '') + data['message'] = message + + return requests.post("https://ssl.hqsms.com/sms.do", data) + + +if __name__ == '__main__': + if len(sys.argv) < 3: + sys.stderr.write('Usage: %s \n' % sys.argv[0]) + sys.exit(1) + + msg = str(' '.join(sys.argv[2:])) + r = sms_send(sys.argv[1], msg[:160]) + + print('%s (%s)' % (r.text, r.status_code)) + + if r.status_code == 200 and r.text.startswith('OK:'): + sys.exit(0) + + sys.exit(1) diff --git a/ans/upgrade/mon/v2.5.2/files/alertscripts/jabber.sh b/ans/upgrade/mon/v2.5.2/files/alertscripts/jabber.sh new file mode 100644 index 00000000..9a683bc0 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/alertscripts/jabber.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +JID=${1} +shift +MSG=$(echo "${@}" | sed 's/|\?\*UNKNOWN\*|\?//g') + +curl -s -m 3 -o /dev/null -d "jid=${JID}&msg=${MSG}" http://127.0.0.1:8922/alert diff --git a/ans/upgrade/mon/v2.5.2/files/alertscripts/ludolph.sh b/ans/upgrade/mon/v2.5.2/files/alertscripts/ludolph.sh new file mode 100644 index 00000000..9a683bc0 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/alertscripts/ludolph.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +JID=${1} +shift +MSG=$(echo "${@}" | sed 's/|\?\*UNKNOWN\*|\?//g') + +curl -s -m 3 -o /dev/null -d "jid=${JID}&msg=${MSG}" http://127.0.0.1:8922/alert diff --git a/ans/upgrade/mon/v2.5.2/files/alertscripts/sms.sh b/ans/upgrade/mon/v2.5.2/files/alertscripts/sms.sh new file mode 100644 index 00000000..8ea9ab32 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/alertscripts/sms.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +PHONE="${1}" # Set this in user media +shift +# Everything else is the message itself +MSG=$(echo "${@}" | sed 's/|\?\*UNKNOWN\*|\?//g') + +/etc/zabbix/alertscripts/hqsms.py "${PHONE}" "${MSG}" diff --git a/ans/upgrade/mon/v2.5.2/files/ludolph.service b/ans/upgrade/mon/v2.5.2/files/ludolph.service new file mode 100644 index 00000000..d43386cb --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/ludolph.service @@ -0,0 +1,17 @@ +# Ludolph systemd service file +# +[Unit] +Description=Ludolph - Monitoring Jabber Bot +Documentation=https://github.com/erigones/Ludolph +After=network.target zabbix-server.service + +[Service] +Type=simple +User=ludolph +ExecStart=/usr/bin/ludolph +Restart=on-failure +RestartPreventExitStatus=2 +RestartSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigones-zone.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigones-zone.json index f4f7882d..266fa126 100644 --- a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigones-zone.json +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigones-zone.json @@ -807,7 +807,7 @@ ], "privatekey": "", "allowed_hosts": "", - "history": "14" + "history": "7" }, { "username": "", @@ -959,6 +959,9 @@ { "name": "Memory" }, + { + "name": "Network interfaces" + }, { "name": "Processes" }, @@ -974,7 +977,7 @@ "snmp_oid": "", "snmpv3_securitylevel": "0", "port": "", - "lifetime": "30", + "lifetime": "1", "graph_prototypes": [], "trigger_prototypes": [ { @@ -1209,6 +1212,282 @@ "privatekey": "", "filter": "{#FSTYPE}:^zfs$", "allowed_hosts": "" + }, + + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_erigones-zone", + "key": "net.if.in[{#IFNAME}]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "BDDA83", + "item": { + "host": "t_erigones-zone", + "key": "net.if.in[{#IFNAME},packets]" + }, + "sortorder": "2", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "98D6E7", + "item": { + "host": "t_erigones-zone", + "key": "net.if.out[{#IFNAME},packets]" + }, + "sortorder": "3", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "5299AD", + "item": { + "host": "t_erigones-zone", + "key": "net.if.out[{#IFNAME}]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "1", + "name": "Network traffic on {#IFNAME}", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "95.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "bps", + "value_type": "3", + "key": "net.if.in[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.in[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "bps", + "value_type": "3", + "key": "net.if.out[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.out[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".", + "host_prototypes": [], + "delay_flex": "", + "key": "net.if.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Network interface discovery", + "privatekey": "", + "filter": "{#IFNAME}:@Network interfaces for discovery (SmartOS)", + "allowed_hosts": "" } ], "groups": [ diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigonos.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigonos.json new file mode 100644 index 00000000..ed40d9d2 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_erigonos.json @@ -0,0 +1,3362 @@ +{ + "zabbix_export": { + "templates": [ + { + "templates": [], + "name": "t_erigonos", + "macros": [ + { + "macro": "{$CPU_LOAD_THRESHOLD}", + "value": "30" + }, + { + "macro": "{$CPU_SYSTEM_UTILIZATION}", + "value": "50" + }, + { + "macro": "{$CPU_USER_UTILIZATION}", + "value": "50" + }, + { + "macro": "{$CPU_UTILIZATION_THRESHOLD}", + "value": "80" + }, + { + "macro": "{$FS_USED_THRESHOLD}", + "value": "10G" + }, + { + "macro": "{$MEMORY_FREE_THRESHOLD}", + "value": "100M" + }, + { + "macro": "{$PROC_NUM_THRESHOLD}", + "value": "5000" + }, + { + "macro": "{$SWAP_FREE_THRESHOLD}", + "value": "100M" + } + ], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "sps", + "value_type": "3", + "key": "system.cpu.switches", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Context switches per second", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ips", + "value_type": "3", + "key": "system.cpu.intr", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Interrupts per second", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,idle,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - idle", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,system,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - system", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,user,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - user", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "net.tcp.dns[,erigones.com]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "DNS resolution of erigones.com", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "fma.faulty", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "FMA: faulty resources", + "applications": [ + { + "name": "System" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "6", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "system.uname", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host information", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "unixtime", + "value_type": "3", + "key": "system.localtime", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host localtime", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "0", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "system.hostname", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host name", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "uptime", + "value_type": "3", + "key": "system.uptime", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host uptime (in sec)", + "applications": [ + { + "name": "General" + }, + { + "name": "Server uptime" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[available]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - free", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[total]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - total", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.memory.size[used]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - used", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of processes", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[,,run]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[ntpd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes $1", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[vmadmd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes vmadmd", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "0", + "key": "system.cpu.load[,avg1]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Processor load", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "smf.maintenance", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF maintenance state", + "applications": [ + { + "name": "System" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[cron]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - cron", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[ntp]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - ntp", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[system-log:default]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - rsyslogd", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "1", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[sendmail]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - sendmail", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[ssh]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - sshd", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "smf.status[vmadmd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SMF state - vmadmd", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "net.tcp.service[ssh]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SSH port open (check from inside by Zabbix agent)", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "system.swap.size[,free]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Swap Usage - free", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "system.swap.size[,used]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Swap Usage - used", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "system.swap.size[,total]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Swap Usage - total", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [ + { + "vsize": "3", + "name": "System performance", + "hsize": "1", + "screen_items": [ + { + "application": "", + "style": "0", + "rowspan": "1", + "resource": { + "host": "t_erigonos", + "name": "CPU Utilization" + }, + "sort_triggers": "0", + "halign": "0", + "resourcetype": "0", + "colspan": "1", + "dynamic": "0", + "height": "100", + "width": "500", + "elements": "0", + "url": "", + "valign": "0", + "y": "0", + "x": "0" + }, + { + "application": "", + "style": "0", + "rowspan": "1", + "resource": { + "host": "t_erigonos", + "name": "Memory Usage" + }, + "sort_triggers": "0", + "halign": "0", + "resourcetype": "0", + "colspan": "1", + "dynamic": "0", + "height": "100", + "width": "500", + "elements": "0", + "url": "", + "valign": "0", + "y": "1", + "x": "0" + } + ] + } + ], + "applications": [ + { + "name": "CPU" + }, + { + "name": "Filesystems" + }, + { + "name": "General" + }, + { + "name": "Memory" + }, + { + "name": "Network interfaces" + }, + { + "name": "Processes" + }, + { + "name": "Server uptime" + }, + { + "name": "Swap" + }, + { + "name": "System" + }, + { + "name": "ZFS pools" + } + ], + "discovery_rules": [ + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [], + "trigger_prototypes": [ + { + "status": "0", + "description": "Partition {#FSNAME} is consuming too much space and might be using space needed by VMs.", + "url": "", + "type": "0", + "priority": "2", + "expression": "{t_erigonos:vfs.fs.size[{#FSNAME}, used].last(0)}>{$FS_USED_THRESHOLD}", + "name": "Volume {#FSNAME} is consuming more than {$FS_USED_THRESHOLD}B" + } + ], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vfs.fs.size[{#FSNAME}, used]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Used disk space on {#FSNAME}", + "applications": [ + { + "name": "Filesystems" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery by FSNAME (SmartOS)\".", + "host_prototypes": [], + "delay_flex": "", + "key": "vfs.fs.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Mounted filesystem discovery", + "privatekey": "", + "filter": "{#FSNAME}:@File systems for discovery by FSNAME (SmartOS)", + "allowed_hosts": "" + }, + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "3333FF", + "item": { + "host": "t_erigonos", + "key": "net.if.out[{#IFNAME},errors]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "00AA00", + "item": { + "host": "t_erigonos", + "key": "net.if.in[{#IFNAME},errors]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "1", + "name": "Network errors on {#IFNAME}", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "300", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_erigonos", + "key": "net.if.in[{#IFNAME}]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "BDDA83", + "item": { + "host": "t_erigonos", + "key": "net.if.in[{#IFNAME},packets]" + }, + "sortorder": "2", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "98D6E7", + "item": { + "host": "t_erigonos", + "key": "net.if.out[{#IFNAME},packets]" + }, + "sortorder": "3", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "5299AD", + "item": { + "host": "t_erigonos", + "key": "net.if.out[{#IFNAME}]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "1", + "name": "Network traffic on {#IFNAME}", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "95.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "", + "value_type": "3", + "key": "net.if.in[{#IFNAME},errors]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming errors on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "bps", + "value_type": "3", + "key": "net.if.in[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.in[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "", + "value_type": "3", + "key": "net.if.out[{#IFNAME},errors]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing errors on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "bps", + "value_type": "3", + "key": "net.if.out[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.out[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".", + "host_prototypes": [], + "delay_flex": "", + "key": "net.if.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Network interface discovery", + "privatekey": "", + "filter": "{#IFNAME}:@Network interfaces for discovery (SmartOS)", + "allowed_hosts": "" + }, + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "6B9BD4", + "item": { + "host": "t_erigonos", + "key": "zfs.usedsnap[{#ZPOOL}]" + }, + "sortorder": "2", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "5299AD", + "item": { + "host": "t_erigonos", + "key": "zfs.usedds[{#ZPOOL}]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "5D549A", + "item": { + "host": "t_erigonos", + "key": "zfs.usedrefreserv[{#ZPOOL}]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "ZFS pool {#ZPOOL} disk space usage by type", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "0", + "height": "400", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "98D6E7", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},reads]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},writes]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},nwritten]" + }, + "sortorder": "3", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "335098", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},nread]" + }, + "sortorder": "2", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "0", + "name": "ZFS pool {#ZPOOL} I/O", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "00C800", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},writes]" + }, + "sortorder": "1", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "C80000", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},reads]" + }, + "sortorder": "0", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "ZFS pool {#ZPOOL} I/O count", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "C800C8", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},nwritten]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "0000C8", + "item": { + "host": "t_erigonos", + "key": "zpool.iostat[{#ZPOOL},nread]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "ZFS pool {#ZPOOL} I/O throughput", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "9", + "color": "5D549A", + "item": { + "host": "t_erigonos", + "key": "zpool.write.ratio[{#ZPOOL}]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "9", + "color": "5299AD", + "item": { + "host": "t_erigonos", + "key": "zpool.read.ratio[{#ZPOOL}]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "ZFS pool {#ZPOOL} workload", + "percent_left": "0.0000", + "type": "2", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "0.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "trigger_prototypes": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "expression": "{t_erigonos:zpool.list[{#ZPOOL}, capacity].max(#2)}>80", + "name": "Free disk space on pool {#ZPOOL} is less than 20%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "expression": "{t_erigonos:zpool.list[{#ZPOOL}, capacity].max(#2)}>70", + "name": "Free disk space on pool {#ZPOOL} is less than 30%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "expression": "{t_erigonos:zpool.list[{#ZPOOL}, capacity].max(#2)}>50", + "name": "Free disk space on pool {#ZPOOL} is less than 50%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "expression": "{t_erigonos:zfs.list[{#ZPOOL}, avail].max(#2)}<20*1024*1024*1024", + "name": "Usable disk space on ZFS dataset {#ZPOOL} is below 20 GB" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "2", + "expression": "{t_erigonos:zfs.list[{#ZPOOL}, avail].max(#2)}<50*1024*1024*1024", + "name": "Usable disk space on ZFS dataset {#ZPOOL} is below 50 GB" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "expression": "{t_erigonos:zpool.list[{#ZPOOL}, health].regexp(ONLINE)}=0", + "name": "ZFS pool {#ZPOOL} is in {ITEM.LASTVALUE} state" + } + ], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zfs.list[{#ZPOOL}, avail]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS dataset {#ZPOOL} available disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zfs.usedds[{#ZPOOL}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS dataset {#ZPOOL} used data disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zfs.list[{#ZPOOL}, used]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS dataset {#ZPOOL} used disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zfs.usedrefreserv[{#ZPOOL}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS dataset {#ZPOOL} used refreservation disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zfs.usedsnap[{#ZPOOL}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS dataset {#ZPOOL} used snapshot disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "zpool.list[{#ZPOOL}, allocated]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} allocated disk space", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "3", + "key": "zpool.list[{#ZPOOL}, capacity]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} capacity", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "4", + "key": "zpool.list[{#ZPOOL}, health]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} health", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "3", + "key": "zpool.iostat[{#ZPOOL},nread]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} read bytes", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "3", + "key": "zpool.iostat[{#ZPOOL},reads]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} read operations", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "(last(\"zpool.iostat[{#ZPOOL},reads]\")/\r\n(last(\"zpool.iostat[{#ZPOOL},reads]\")+last(\"zpool.iostat[{#ZPOOL},writes]\")))*100", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "zpool.read.ratio[{#ZPOOL}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} read ratio", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "3", + "key": "zpool.iostat[{#ZPOOL},writes]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} write operations", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "100-last(\"zpool.read.ratio[{#ZPOOL}]\")", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "zpool.write.ratio[{#ZPOOL}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} write ratio", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "3", + "key": "zpool.iostat[{#ZPOOL},nwritten]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool {#ZPOOL} written bytes", + "applications": [ + { + "name": "ZFS pools" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "host_prototypes": [], + "delay_flex": "", + "key": "zpool.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "ZFS pool discovery", + "privatekey": "", + "filter": ":", + "allowed_hosts": "" + } + ], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_erigonos" + } + ], + "triggers": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:vm.memory.size[available].max(3m)}<{$MEMORY_FREE_THRESHOLD}", + "name": "Available memory is below {$MEMORY_FREE_THRESHOLD}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:net.tcp.dns[,erigones.com].max(3m)}<1", + "name": "DNS resolution problem" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:fma.faulty.min(2m)}>0", + "name": "Fault Management reports an issue" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:system.swap.size[,free].max(3m)}<{$SWAP_FREE_THRESHOLD}", + "name": "Free swap space is below {$SWAP_FREE_THRESHOLD}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + }, + { + "expression": "{t_erigonos:smf.status[ntp].regexp(online)}=0", + "name": "SMF service ntp is in {ITEM.LASTVALUE} state" + } + ], + "expression": "{t_erigonos:proc.num[ntpd].max(3m)}<1", + "name": "ntpd is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:system.cpu.load[,avg1].min(10m)}>{$CPU_LOAD_THRESHOLD}", + "name": "Processor load is over {$CPU_LOAD_THRESHOLD}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:system.cpu.util[,system,].avg(5m)}>{$CPU_SYSTEM_UTILIZATION}", + "name": "Processor system utilization is over {$CPU_SYSTEM_UTILIZATION}%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:system.cpu.util[,user,].avg(5m)}>{$CPU_USER_UTILIZATION}", + "name": "Processor user utilization is over {$CPU_USER_UTILIZATION}%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "(100 - {t_erigonos:system.cpu.util[,idle,].avg(5m)}) >{$CPU_UTILIZATION_THRESHOLD}", + "name": "Processor utilization is over {$CPU_UTILIZATION_THRESHOLD}%" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "2", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:system.uptime.last(0)}<600", + "name": "Server has just been restarted" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.maintenance.last(0)}>0", + "name": "SMF reports {ITEM.LASTVALUE} items in maintenance state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[cron].regexp(online)}=0", + "name": "SMF service cron is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[ntp].regexp(online)}=0", + "name": "SMF service ntp is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[system-log:default].regexp(online)}=0", + "name": "SMF service rsyslogd is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[sendmail].regexp(online)}=0", + "name": "SMF service sendmail is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[ssh].regexp(online)}=0", + "name": "SMF service ssh is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:smf.status[vmadmd].regexp(online)}=0", + "name": "SMF service vmadmd is in {ITEM.LASTVALUE} state" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:net.tcp.service[ssh].max(3m)}<1", + "name": "SSH port NOT open (check from inside by Zabbix agent)" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_erigonos:proc.num[ntpd].max(3m)}<1", + "name": "ntpd is not running" + } + ], + "expression": "{t_erigonos:system.localtime.fuzzytime(20)}=0", + "name": "Time is not synchronized" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:proc.num[].max(5m)}>{$PROC_NUM_THRESHOLD}", + "name": "Too many processes" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_erigonos:proc.num[,,run].min(5m)}>15", + "name": "Too many processes running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_erigonos:smf.status[vmadmd].regexp(online)}=0", + "name": "SMF service vmadmd is in {ITEM.LASTVALUE} state" + } + ], + "expression": "{t_erigonos:proc.num[vmadmd].max(3m)}=0", + "name": "vmadmd is not running" + } + ], + "graphs": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "009900", + "item": { + "host": "t_erigonos", + "key": "system.cpu.switches" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "000099", + "item": { + "host": "t_erigonos", + "key": "system.cpu.intr" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "CPU Jumps", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "EEEE00", + "item": { + "host": "t_erigonos", + "key": "system.cpu.util[,system,]" + }, + "sortorder": "1", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "6666FF", + "item": { + "host": "t_erigonos", + "key": "system.cpu.util[,idle,]" + }, + "sortorder": "0", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "00EE00", + "item": { + "host": "t_erigonos", + "key": "system.cpu.util[,user,]" + }, + "sortorder": "2", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "1", + "name": "CPU Utilization", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "1", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "FFFFFF", + "item": { + "host": "t_erigonos", + "key": "vm.memory.size[total]" + }, + "sortorder": "0", + "drawtype": "1", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "6666FF", + "item": { + "host": "t_erigonos", + "key": "vm.memory.size[available]" + }, + "sortorder": "1", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "Memory Usage", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "2", + "height": "200", + "yaxismax": "0.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": { + "host": "t_erigonos", + "key": "vm.memory.size[total]" + }, + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "date": "2015-12-03T21:45:08Z" + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux-disk.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux-disk.json new file mode 100644 index 00000000..ed2359af --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux-disk.json @@ -0,0 +1,439 @@ +{ + "zabbix_export": { + "date": "2016-01-12T21:08:46Z", + "templates": [ + { + "templates": [], + "name": "t_linux-disk", + "macros": [ + { + "macro": "{$SECTOR_SIZE}", + "value": "512" + } + ], + "items": [], + "screens": [], + "applications": [], + "discovery_rules": [ + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "5299AD", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.read[{#DEVICENAME}, ops]" + }, + "sortorder": "2", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "C8C8C8", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.write[{#DEVICENAME}, sps]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "C8C800", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.read[{#DEVICENAME}, sps]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "5D549A", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.write[{#DEVICENAME}, ops]" + }, + "sortorder": "3", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "Disk /dev/{#DEVICE} I/O", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "7", + "color": "B75F73", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.write[{#DEVICENAME}, sps]" + }, + "sortorder": "3", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "7", + "color": "5299AD", + "item": { + "host": "t_linux-disk", + "key": "custom.vfs.dev.read.ms[{#DEVICE}]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "7", + "color": "87B457", + "item": { + "host": "t_linux-disk", + "key": "custom.vfs.dev.write.ms[{#DEVICE}]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "7", + "color": "6B9BD4", + "item": { + "host": "t_linux-disk", + "key": "vfs.dev.read[{#DEVICENAME}, sps]" + }, + "sortorder": "2", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "0", + "name": "Disk /dev/{#DEVICE} latency", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "512", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "0", + "key": "vfs.dev.read[{#DEVICENAME}, sps]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - read bytes", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0.001", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "s", + "value_type": "0", + "key": "custom.vfs.dev.read.ms[{#DEVICE}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - read latency", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "0", + "key": "vfs.dev.read[{#DEVICENAME}, ops]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - read operations", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "512", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "0", + "key": "vfs.dev.write[{#DEVICENAME}, sps]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - write bytes", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0.001", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "s", + "value_type": "0", + "key": "custom.vfs.dev.write.ms[{#DEVICE}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - write latency", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "0", + "key": "vfs.dev.write[{#DEVICENAME}, ops]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "/dev/{#DEVICE} - write operations", + "applications": [], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "host_prototypes": [], + "delay_flex": "", + "key": "vfs.dev.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Linux disk discovery", + "privatekey": "", + "filter": ":", + "allowed_hosts": "" + } + ], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_linux-disk" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux.json new file mode 100644 index 00000000..060787b9 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_linux.json @@ -0,0 +1,2246 @@ +{ + "zabbix_export": { + "templates": [ + { + "templates": [], + "name": "t_linux", + "macros": [ + { + "macro": "{$PROC_NUM_THRESHOLD}", + "value": "300" + }, + { + "macro": "{$SWAP_FREE_THRESHOLD}", + "value": "25M" + } + ], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The time the CPU has spent doing nothing.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,idle,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - idle", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The amount of time the CPU has been servicing hardware interrupts.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,interrupt,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - interrupt", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Amount of time the CPU has been waiting for I/O to complete.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,iowait,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - iowait", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The time the CPU has spent running users' proccess that have been niced.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,nice,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - nice", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The amount of time the CPU has been servicing software interrupts.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,softirq,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - softirq", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The amount of CPU 'stolen' from this virtual machine by the hypervisor for other tasks (such as running another virtual machine).", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,steal,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - steal", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The time the CPU has spent running the kernel and its processes.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,system,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - system", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "The time the CPU has spent running users' processes that are not niced.", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "system.cpu.util[,user,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "CPU Utilitzation - user", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "net.dns[,erigones.com,A,,]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "DNS resolution of erigones.com", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "6", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "system.uname", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host information", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "unixtime", + "value_type": "3", + "key": "system.localtime", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host localtime", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "0", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "1", + "key": "system.hostname", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host name", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "uptime", + "value_type": "3", + "key": "system.uptime", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Host uptime (in sec)", + "applications": [ + { + "name": "General" + }, + { + "name": "Server uptime" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[available]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - available", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[buffers]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - buffers", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[cached]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - cached", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.memory.size[free]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - free", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "0", + "key": "vm.memory.size[total]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Memory Usage - total", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of processes", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[,,run]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[sshd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes $1", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[ntpd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes $1", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "interfaces.ifTable.ifEntry.ifInOctets.1", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "public", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[crond]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes $1", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "interfaces.ifTable.ifEntry.ifInOctets.1", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "public", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[rsyslogd]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes $1", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[master]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of running processes postfix master", + "applications": [ + { + "name": "Processes" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "0", + "key": "system.cpu.load[,avg1]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Processor load", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "net.tcp.service[ssh]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "SSH port open (check from inside by Zabbix agent)", + "applications": [ + { + "name": "General" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "system.swap.size[,free]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Swap Usage - free", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "system.swap.size[,total]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Swap Usage - total", + "applications": [ + { + "name": "Memory" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [ + { + "vsize": "2", + "name": "System performance", + "hsize": "1", + "screen_items": [ + { + "application": "", + "style": "0", + "rowspan": "1", + "resource": { + "host": "t_linux", + "name": "CPU Utilization" + }, + "sort_triggers": "0", + "halign": "0", + "resourcetype": "0", + "colspan": "1", + "dynamic": "0", + "height": "100", + "width": "500", + "elements": "0", + "url": "", + "valign": "0", + "y": "0", + "x": "0" + }, + { + "application": "", + "style": "0", + "rowspan": "1", + "resource": { + "host": "t_linux", + "name": "Memory Usage" + }, + "sort_triggers": "0", + "halign": "0", + "resourcetype": "0", + "colspan": "1", + "dynamic": "0", + "height": "100", + "width": "500", + "elements": "0", + "url": "", + "valign": "0", + "y": "1", + "x": "0" + } + ] + } + ], + "applications": [ + { + "name": "CPU" + }, + { + "name": "Filesystems" + }, + { + "name": "General" + }, + { + "name": "Memory" + }, + { + "name": "Network interfaces" + }, + { + "name": "Processes" + }, + { + "name": "Server uptime" + }, + { + "name": "Service - API" + }, + { + "name": "Service - Cache" + }, + { + "name": "Service - GUI" + }, + { + "name": "Service - Message queue" + }, + { + "name": "Service - Remote console" + }, + { + "name": "Service - SIO" + }, + { + "name": "Service - Web proxy" + }, + { + "name": "Service - Web static" + } + ], + "discovery_rules": [ + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [], + "trigger_prototypes": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "expression": "{t_linux:vfs.fs.size[{#FSNAME},pfree].last(0)}<5", + "name": "Free disk space is less than 5% on volume {#FSNAME}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "2", + "expression": "{t_linux:vfs.fs.size[{#FSNAME},pfree].last(0)}<20", + "name": "Free disk space is less than 20% on volume {#FSNAME}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "expression": "{t_linux:vfs.fs.inode[{#FSNAME},pfree].last(0)}<5", + "name": "Free inodes is less than 5% on volume {#FSNAME}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "2", + "expression": "{t_linux:vfs.fs.inode[{#FSNAME},pfree].last(0)}<20", + "name": "Free inodes is less than 20% on volume {#FSNAME}" + } + ], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "120", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vfs.fs.size[{#FSNAME},free]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Free disk space on $1", + "applications": [ + { + "name": "Filesystems" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "%", + "value_type": "0", + "key": "vfs.fs.size[{#FSNAME},pfree]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Free disk space on $1 (percentage)", + "applications": [ + { + "name": "Filesystems" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "120", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "vfs.fs.inode[{#FSNAME},pfree]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Free inodes on $1 (percentage)", + "applications": [ + { + "name": "Filesystems" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Discovery of file systems of different types as defined in global regular expression \"File systems for discovery by FSNAME\".", + "host_prototypes": [], + "delay_flex": "", + "key": "vfs.fs.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Mounted filesystem discovery", + "privatekey": "", + "filter": "{#FSTYPE}:@File systems for discovery", + "allowed_hosts": "" + }, + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_linux", + "key": "net.if.in[{#IFNAME}]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "BDDA83", + "item": { + "host": "t_linux", + "key": "net.if.in[{#IFNAME},packets]" + }, + "sortorder": "2", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "98D6E7", + "item": { + "host": "t_linux", + "key": "net.if.out[{#IFNAME},packets]" + }, + "sortorder": "3", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "5299AD", + "item": { + "host": "t_linux", + "key": "net.if.out[{#IFNAME}]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "1", + "name": "Network traffic on {#IFNAME}", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "95.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "bps", + "value_type": "3", + "key": "net.if.in[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "bps", + "value_type": "3", + "key": "net.if.out[{#IFNAME}]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing network traffic on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.in[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Incoming packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "8", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "50/1-7,00:00-24:00", + "units": "pps", + "value_type": "3", + "key": "net.if.out[{#IFNAME},packets]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Outgoing packets on $1", + "applications": [ + { + "name": "Network interfaces" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Discovery of network interfaces as defined in global regular expression \"Network interfaces for discovery\".", + "host_prototypes": [], + "delay_flex": "", + "key": "net.if.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Network interface discovery", + "privatekey": "", + "filter": "{#IFNAME}:@Network interfaces for discovery", + "allowed_hosts": "" + } + ], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_linux" + } + ], + "triggers": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[crond].max(3m)}<1", + "name": "crond is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:net.dns[,erigones.com,A,,].max(3m)}<1", + "name": "DNS resolution problem" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:system.swap.size[,free].last(0)}<{$SWAP_FREE_THRESHOLD}", + "name": "Free swap space is below {$SWAP_FREE_THRESHOLD}" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[ntpd].max(3m)}<1", + "name": "ntpd is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[master].max(3m)}<1", + "name": "postfix is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:system.cpu.load[,avg1].min(#10)}>10", + "name": "Processor load is too high" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[rsyslogd].max(3m)}<1", + "name": "rsyslogd is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "2", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:system.uptime.last(0)}<600", + "name": "Server has just been restarted" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[sshd].max(3m)}<1", + "name": "sshd is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:net.tcp.service[ssh].max(5m)}<1", + "name": "SSH port NOT open (check from inside by Zabbix agent)" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:system.localtime.fuzzytime(20)}=0", + "name": "Time is not synchronized" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[].max(5m)}>{$PROC_NUM_THRESHOLD}", + "name": "Too many processes" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_linux:proc.num[,,run].min(5m)}>15", + "name": "Too many processes running" + } + ], + "graphs": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "990000", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,softirq,]" + }, + "sortorder": "6", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "EE0000", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,iowait,]" + }, + "sortorder": "1", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "00EE00", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,user,]" + }, + "sortorder": "3", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "EEEE00", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,system,]" + }, + "sortorder": "2", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "EE00EE", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,nice,]" + }, + "sortorder": "4", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "009900", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,steal,]" + }, + "sortorder": "7", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "6666FF", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,idle,]" + }, + "sortorder": "0", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "000099", + "item": { + "host": "t_linux", + "key": "system.cpu.util[,interrupt,]" + }, + "sortorder": "5", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "CPU Utilization", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "1", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "FFFFFF", + "item": { + "host": "t_linux", + "key": "vm.memory.size[total]" + }, + "sortorder": "0", + "drawtype": "1", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "EE00EE", + "item": { + "host": "t_linux", + "key": "vm.memory.size[cached]" + }, + "sortorder": "2", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "EEEE00", + "item": { + "host": "t_linux", + "key": "vm.memory.size[buffers]" + }, + "sortorder": "1", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "6666FF", + "item": { + "host": "t_linux", + "key": "vm.memory.size[free]" + }, + "sortorder": "3", + "drawtype": "1", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "Memory Usage", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "2", + "height": "200", + "yaxismax": "0.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "0", + "ymax_item_1": { + "host": "t_linux", + "key": "vm.memory.size[total]" + }, + "ymin_item_1": "0", + "show_triggers": "0", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "date": "2015-12-03T21:45:11Z" + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_solaris_disk.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_solaris_disk.json new file mode 100644 index 00000000..c8fd34db --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_solaris_disk.json @@ -0,0 +1,437 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:45:22Z", + "templates": [ + { + "templates": [], + "name": "t_solaris_disk", + "macros": [], + "items": [], + "screens": [], + "applications": [ + { + "name": "Disks" + } + ], + "discovery_rules": [ + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "98D6E7", + "item": { + "host": "t_solaris_disk", + "key": "vfs.dev.read[{#SD},operations]" + }, + "sortorder": "2", + "drawtype": "2", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "87B457", + "item": { + "host": "t_solaris_disk", + "key": "vfs.dev.write[{#SD},bytes]" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "BDDA83", + "item": { + "host": "t_solaris_disk", + "key": "vfs.dev.write[{#SD},operations]" + }, + "sortorder": "3", + "drawtype": "2", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "335098", + "item": { + "host": "t_solaris_disk", + "key": "vfs.dev.read[{#SD},bytes]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "0", + "name": "Disk {#DISK} I/O", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "300", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "sd.errors[{#SD}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Cumulative sum of SCSI errors on disk {#DISK} ({#ZPOOL})", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "(last(\"sd.rtime[{#SD}]\") - last(\"sd.rtime[{#SD}]\",#1)) / 60", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "3", + "key": "sd.util[{#SD}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} ({#ZPOOL}) utilization", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "3", + "key": "vfs.dev.read[{#SD},bytes]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} read bytes", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "3", + "key": "vfs.dev.read[{#SD},operations]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} read operations", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "0", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "0", + "key": "sd.rtime[{#SD}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} rtime", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "iops", + "value_type": "3", + "key": "vfs.dev.write[{#SD},operations]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} write operations", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "3", + "key": "vfs.dev.write[{#SD},bytes]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk {#DISK} written bytes", + "applications": [ + { + "name": "Disks" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "1" + } + ], + "delay": "14440", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "Custom low-level discovery to discover disks on Solaris-based operating systems", + "host_prototypes": [], + "delay_flex": "", + "key": "sd.discovery", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk discovery", + "privatekey": "", + "filter": ":", + "allowed_hosts": "" + } + ], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_solaris_disk" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-db.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-db.json new file mode 100644 index 00000000..32df86d0 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-db.json @@ -0,0 +1,887 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:45:28Z", + "templates": [ + { + "templates": [], + "name": "t_svc-db", + "macros": [ + { + "macro": "{$PGCACHEHIT_THRESHOLD}", + "value": "80" + }, + { + "macro": "{$PG_DATABASE1}", + "value": "esdc" + }, + { + "macro": "{$PG_DATABASE2}", + "value": "pdns" + } + ], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0.000001", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "s", + "value_type": "0", + "key": "pgbouncer.avg.qdur[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 average query duration", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0.000001", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "s", + "value_type": "0", + "key": "pgbouncer.avg.qdur[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 average query duration", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "pgsql.cachehit_ratio[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 cache hit ratio", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "pgsql.cachehit_ratio[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 cache hit ratio", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "pgbouncer.pool.cl_active[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 connected clients", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "pgbouncer.pool.cl_active[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 connected clients", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "conn", + "value_type": "3", + "key": "pgsql.db.connections[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 connections", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "conn", + "value_type": "3", + "key": "pgsql.db.connections[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 connections", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "qps", + "value_type": "3", + "key": "pgbouncer.avg.qps[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 queries", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "qps", + "value_type": "3", + "key": "pgbouncer.avg.qps[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 queries", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "pgsql.db.size[{$PG_DATABASE1}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 size", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "pgsql.db.size[{$PG_DATABASE2}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database $1 size", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "0", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "2", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "unixtime", + "value_type": "3", + "key": "pgsql.backup", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database - time of last dump", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "pgsql.ping", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database is responding", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[postgres]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database is running", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "pgbouncer.ping", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database pooler is responding", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[pgbouncer]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Database pooler is running", + "applications": [ + { + "name": "Service - Database" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [], + "applications": [ + { + "name": "Service - Database" + }, + { + "name": "Service - Database pooler" + } + ], + "discovery_rules": [], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_svc-db" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "triggers": [ + { + "status": "1", + "description": "Cache hit ratio of last 5 minutes is too low, which might indicate bad database performance.", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-db:pgsql.cachehit_ratio[{$PG_DATABASE1}].avg(5m)}<{$PGCACHEHIT_THRESHOLD}", + "name": "Cache hit ratio of database \"{$PG_DATABASE1}\" is below {$PGCACHEHIT_THRESHOLD}%" + }, + { + "status": "1", + "description": "Cache hit ratio of last 5 minutes is too low, which might indicate bad database performance.", + "url": "", + "type": "0", + "priority": "1", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-db:pgsql.cachehit_ratio[{$PG_DATABASE2}].avg(5m)}<{$PGCACHEHIT_THRESHOLD}", + "name": "Cache hit ratio of database \"{$PG_DATABASE2}\" is below {$PGCACHEHIT_THRESHOLD}%" + }, + { + "status": "1", + "description": "", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-db:pgsql.backup.nodata(90300)}=1", + "name": "Database dump has failed" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_svc-db:proc.num[postgres].max(3m)}=0", + "name": "Database is not running" + } + ], + "expression": "({TRIGGER.VALUE}=0 & {t_svc-db:pgsql.ping.min(3m)}>0) | ({TRIGGER.VALUE}=1 & {t_svc-db:pgsql.ping.max(5m)}>0)", + "name": "Database is not responding" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-db:proc.num[postgres].max(3m)}=0", + "name": "Database is not running" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_svc-db:proc.num[pgbouncer].max(3m)}=0", + "name": "Database pooler is not running" + } + ], + "expression": "({TRIGGER.VALUE}=0 & {t_svc-db:pgbouncer.ping.min(3m)}>0) | ({TRIGGER.VALUE}=1 & {t_svc-db:pgbouncer.ping.max(5m)}>0)", + "name": "Database pooler is not responding" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-db:proc.num[pgbouncer].max(3m)}=0", + "name": "Database pooler is not running" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-erigonesd-mgmt.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-erigonesd-mgmt.json new file mode 100644 index 00000000..38fc1c27 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-erigonesd-mgmt.json @@ -0,0 +1,573 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:45:31Z", + "templates": [ + { + "templates": [], + "name": "t_svc-erigonesd-mgmt", + "macros": [], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "proc.cpu[erigonesd.py beat]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Beat mgmt CPU usage", + "applications": [ + { + "name": "Service - Erigonesd task scheduler" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[python,,,erigonesd.py beat]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Beat mgmt is running", + "applications": [ + { + "name": "Service - Erigonesd task scheduler" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "proc.rss[erigonesd.py beat]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Beat mgmt used memory", + "applications": [ + { + "name": "Service - Erigonesd task scheduler" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "7", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "2", + "key": "log[\"/opt/erigones/var/log/mgmt.log\",\"Traceback|CRITICAL|ERROR\"]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Error in $1", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "7", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "2", + "key": "log[\"/opt/erigones/var/log/erigonesd-beat.log\",\"Traceback|CRITICAL|ERROR\"]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Error in $1", + "applications": [ + { + "name": "Service - Erigonesd task scheduler" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "queue.tasks.all", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Number of tasks in all queues on all nodes", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "proc.cpu[python -m celery worker -E -n mgmt]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Queue mgmt CPU usage", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[python,,,-Q mgmt]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Queue mgmt is running", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "proc.rss[python -m celery worker -E -n mgmt]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Queue mgmt used memory", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "120", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "queue.ping[mgmt,{HOST.NAME}]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Queue ping - $1", + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [], + "applications": [ + { + "name": "Service - Erigonesd mgmt worker" + }, + { + "name": "Service - Erigonesd task scheduler" + } + ], + "discovery_rules": [], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_svc-erigonesd-mgmt" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "triggers": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:proc.num[python,,,erigonesd.py beat].max(3m)}<1", + "name": "Beat mgmt is not running" + }, + { + "status": "1", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:log[\"/opt/erigones/var/log/erigonesd-beat.log\",\"Traceback|CRITICAL|ERROR\"].nodata(5m)}=0", + "name": "Error in /opt/erigones/var/log/erigonesd-beat.log" + }, + { + "status": "1", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:log[\"/opt/erigones/var/log/mgmt.log\",\"Traceback|CRITICAL|ERROR\"].nodata(5m)}=0", + "name": "Error in /opt/erigones/var/log/mgmt.log" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_svc-erigonesd-mgmt:proc.num[python,,,-Q mgmt].max(3m)}<1", + "name": "Queue mgmt is not running" + } + ], + "expression": "({TRIGGER.VALUE}=0 & {t_svc-erigonesd-mgmt:queue.ping[mgmt,{HOST.NAME}].min(3m)}>0) | ({TRIGGER.VALUE}=1 & {t_svc-erigonesd-mgmt:queue.ping[mgmt,{HOST.NAME}].max(5m)}>0)", + "name": "Queue mgmt is not responding to ping" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:proc.num[python,,,-Q mgmt].max(3m)}<1", + "name": "Queue mgmt is not running" + }, + { + "status": "0", + "description": "Use the command \"rabbitmqctl list_queues -p erigones\" to find the problem queue/node.", + "url": "", + "type": "0", + "priority": "3", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:queue.tasks.all.min(3m)}>3", + "name": "Total number of all tasks in all queues is too high" + }, + { + "status": "0", + "description": "Use the command \"rabbitmqctl list_queues -p erigones\" to find the problem queue/node.", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-erigonesd-mgmt:queue.tasks.all.min(3m)}>10", + "name": "Total number of all tasks in all queues is too high. Immediate intervention needed!" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-mq.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-mq.json new file mode 100644 index 00000000..b1bf55ec --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_svc-mq.json @@ -0,0 +1,237 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:45:34Z", + "templates": [ + { + "templates": [], + "name": "t_svc-mq", + "macros": [], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "0", + "key": "proc.cpu[rabbitmq]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Message queue CPU usage", + "applications": [ + { + "name": "Service - Message queue" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "net.tcp.port[127.0.0.1,5672]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Message queue is listening on 5672/tcp", + "applications": [ + { + "name": "Service - Message queue" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "3", + "key": "proc.num[,rabbitmq,,beam.*rabbitmq_server]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Message queue is running", + "applications": [ + { + "name": "Service - Message queue" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "60", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "proc.rss[rabbitmq]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Message queue used memory", + "applications": [ + { + "name": "Service - Message queue" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [], + "applications": [ + { + "name": "Service - Message queue" + } + ], + "discovery_rules": [], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_svc-mq" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "triggers": [ + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "4", + "dependencies": [ + { + "expression": "{t_svc-mq:proc.num[,rabbitmq,,beam.*rabbitmq_server].max(3m)}<1", + "name": "Message queue is not running" + } + ], + "expression": "{t_svc-mq:net.tcp.port[127.0.0.1,5672].max(3m)}<1", + "name": "Message queue is not listening on 5672/tcp" + }, + { + "status": "0", + "description": "", + "url": "", + "type": "0", + "priority": "5", + "dependencies": [ + { + "expression": "{t_zabbix-agent:agent.ping.nodata(3m)}=1", + "name": "Zabbix agent on {HOST.NAME} is unreachable for 3 minutes" + } + ], + "expression": "{t_svc-mq:proc.num[,rabbitmq,,beam.*rabbitmq_server].max(3m)}<1", + "name": "Message queue is not running" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_disk_space.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_disk_space.json new file mode 100644 index 00000000..2e6b403c --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_disk_space.json @@ -0,0 +1,321 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:45:44Z", + "templates": [ + { + "templates": [], + "name": "t_vm_disk_space", + "macros": [], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.space[{HOST.HOST},usedchild]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk space consumed by children", + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.space[{HOST.HOST},usedds]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk space consumed by datasets", + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.space[{HOST.HOST},usedrefreserv]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk space consumed by refreservation", + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.space[{HOST.HOST},usedsnap]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Disk space consumed by snapshots", + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "300", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "B", + "value_type": "3", + "key": "vm.space[{HOST.HOST},used]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Total disk space consumed", + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "14" + } + ], + "screens": [], + "applications": [ + { + "name": "Disk space consumed by VM" + } + ], + "discovery_rules": [], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_vm_disk_space" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "graphs": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "C80000", + "item": { + "host": "t_vm_disk_space", + "key": "vm.space[{HOST.HOST},usedchild]" + }, + "sortorder": "0", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "C800C8", + "item": { + "host": "t_vm_disk_space", + "key": "vm.space[{HOST.HOST},usedsnap]" + }, + "sortorder": "3", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "0000C8", + "item": { + "host": "t_vm_disk_space", + "key": "vm.space[{HOST.HOST},usedrefreserv]" + }, + "sortorder": "2", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "00C800", + "item": { + "host": "t_vm_disk_space", + "key": "vm.space[{HOST.HOST},usedds]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "1", + "name": "Disk space consumed by type", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "2", + "height": "400", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": { + "host": "t_vm_disk_space", + "key": "vm.space[{HOST.HOST},used]" + }, + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_cpu.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_cpu.json new file mode 100644 index 00000000..b6b2a8f6 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_cpu.json @@ -0,0 +1,467 @@ +{ + "zabbix_export": { + "date": "2016-01-05T10:10:32Z", + "templates": [ + { + "templates": [], + "name": "t_vm_zone_cpu", + "macros": [], + "items": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "last(\"vm.cpu.sys\")+last(\"vm.cpu.user\")", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "3", + "key": "vm.cpu.total", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "cpu usage in %", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ns", + "value_type": "3", + "key": "kstat.get[zones:{$ZONEID}::nsec_sys]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "nsec_sys", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ns", + "value_type": "3", + "key": "kstat.get[zones:{$ZONEID}::nsec_user]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "nsec_user", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ns", + "value_type": "3", + "key": "kstat.get[zones:{$ZONEID}::nsec_waitrq]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "nsec_waitrq", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "1", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "0.00390625", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "", + "value_type": "0", + "key": "kstat.get[zones:{$ZONEID}::avenrun_1min]", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Processor load", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "last(\"kstat.get[zones:{$ZONEID}::nsec_sys]\")/1000000000*100", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "3", + "key": "vm.cpu.sys", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "sys time in %", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "last(\"kstat.get[zones:{$ZONEID}::nsec_user]\")/1000000000 *100", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "%", + "value_type": "3", + "key": "vm.cpu.user", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "usr time in %", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "10", + "publickey": "", + "params": "last(\"kstat.get[zones:{$ZONEID}::nsec_user]\")/1000000000", + "snmpv3_securityname": "", + "formula": "1", + "type": "15", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "s", + "value_type": "0", + "key": "vm.cpu.wait", + "delta": "0", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "waittime", + "applications": [ + { + "name": "CPU" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "screens": [], + "applications": [ + { + "name": "CPU" + } + ], + "discovery_rules": [], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_vm_zone_cpu" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ], + "graphs": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "00C800", + "item": { + "host": "t_vm_zone_cpu", + "key": "vm.cpu.user" + }, + "sortorder": "1", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "C80000", + "item": { + "host": "t_vm_zone_cpu", + "key": "vm.cpu.sys" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "CPU usage by type", + "percent_left": "0.0000", + "type": "1", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + }, + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "C80000", + "item": { + "host": "t_vm_zone_cpu", + "key": "vm.cpu.total" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "00C800", + "item": { + "host": "t_vm_zone_cpu", + "key": "vm.cpu.wait" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "1" + } + ], + "ymin_type_1": "0", + "name": "CPU waittime", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_dataset.json b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_dataset.json new file mode 100644 index 00000000..8c968cd7 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/files/zabbix_templates/t_vm_zone_dataset.json @@ -0,0 +1,308 @@ +{ + "zabbix_export": { + "date": "2015-12-03T21:46:03Z", + "templates": [ + { + "templates": [], + "name": "t_vm_zone_dataset", + "macros": [], + "items": [], + "screens": [], + "applications": [ + { + "name": "ZFS datasets" + } + ], + "discovery_rules": [ + { + "username": "", + "snmpv3_contextname": "", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "lifetime": "1", + "graph_prototypes": [ + { + "show_3d": "0", + "graph_items": [ + { + "calc_fnc": "2", + "color": "0000C8", + "item": { + "host": "t_vm_zone_dataset", + "key": "kstat.get[unix:0:vopstats_{#DEV}:write_bytes]" + }, + "sortorder": "2", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "00C800", + "item": { + "host": "t_vm_zone_dataset", + "key": "kstat.get[unix:0:vopstats_{#DEV}:nread]" + }, + "sortorder": "1", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + }, + { + "calc_fnc": "2", + "color": "C80000", + "item": { + "host": "t_vm_zone_dataset", + "key": "kstat.get[unix:0:vopstats_{#DEV}:read_bytes]" + }, + "sortorder": "0", + "drawtype": "5", + "type": "0", + "yaxisside": "1" + }, + { + "calc_fnc": "2", + "color": "C800C8", + "item": { + "host": "t_vm_zone_dataset", + "key": "kstat.get[unix:0:vopstats_{#DEV}:nwrite]" + }, + "sortorder": "3", + "drawtype": "0", + "type": "0", + "yaxisside": "0" + } + ], + "ymin_type_1": "0", + "name": "{#MOUNTPOINT} I/O", + "percent_left": "0.0000", + "type": "0", + "ymax_type_1": "0", + "height": "200", + "yaxismax": "100.0000", + "width": "900", + "show_legend": "1", + "show_work_period": "1", + "ymax_item_1": "0", + "ymin_item_1": "0", + "show_triggers": "1", + "yaxismin": "0.0000", + "percent_right": "0.0000" + } + ], + "trigger_prototypes": [], + "item_prototypes": [ + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "0", + "key": "kstat.get[unix:0:vopstats_{#DEV}:read_bytes]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "{#MOUNTPOINT} read bytes", + "applications": [ + { + "name": "ZFS datasets" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ops", + "value_type": "0", + "key": "kstat.get[unix:0:vopstats_{#DEV}:nread]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "{#MOUNTPOINT} read operations", + "applications": [ + { + "name": "ZFS datasets" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "Bps", + "value_type": "0", + "key": "kstat.get[unix:0:vopstats_{#DEV}:write_bytes]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "{#MOUNTPOINT} write bytes", + "applications": [ + { + "name": "ZFS datasets" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + }, + { + "username": "", + "snmpv3_contextname": "", + "inventory_link": "0", + "multiplier": "0", + "trends": "365", + "snmpv3_authpassphrase": "", + "snmp_oid": "", + "snmpv3_securitylevel": "0", + "port": "", + "logtimefmt": "", + "delay": "30", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "formula": "1", + "type": "0", + "snmpv3_authprotocol": "0", + "valuemap": [], + "ipmi_sensor": "", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "data_type": "0", + "delay_flex": "", + "units": "ops", + "value_type": "0", + "key": "kstat.get[unix:0:vopstats_{#DEV}:nwrite]", + "delta": "1", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "{#MOUNTPOINT} write operations", + "applications": [ + { + "name": "ZFS datasets" + } + ], + "privatekey": "", + "allowed_hosts": "", + "history": "7" + } + ], + "delay": "3600", + "publickey": "", + "params": "", + "snmpv3_securityname": "", + "type": "0", + "snmpv3_authprotocol": "0", + "status": "0", + "authtype": "0", + "snmp_community": "", + "description": "", + "host_prototypes": [], + "delay_flex": "", + "key": "zone.dataset.discovery[{HOST.HOST}]", + "ipmi_sensor": "", + "password": "", + "snmpv3_privpassphrase": "", + "snmpv3_privprotocol": "0", + "name": "Zone ZFS dataset discovery", + "privatekey": "", + "filter": ":", + "allowed_hosts": "" + } + ], + "groups": [ + { + "name": "Templates" + } + ], + "template": "t_vm_zone_dataset" + } + ], + "version": "2.0", + "groups": [ + { + "name": "Templates" + } + ] + } +} diff --git a/ans/upgrade/mon/v2.5.2/main.yml b/ans/upgrade/mon/v2.5.2/main.yml index 3099ee56..19bdfbb5 100644 --- a/ans/upgrade/mon/v2.5.2/main.yml +++ b/ans/upgrade/mon/v2.5.2/main.yml @@ -1,3 +1,66 @@ +- name: Load Zabbix credentials + include: "{{ upg_base }}/lib/zabbix_credentials.yml" -- include: "{{ upg_base }}/lib/zabbix_import_templates.yml" +- name: Update fixed templates (esdc-factory#30) + include: "{{ upg_base }}/lib/zabbix_import_templates.yml" +- name: Locate old rabbitmq process check item from t_svc-mq + local_action: + module: zabbix + args: + url: "{{ zabbix_url }}" + login_user: "{{ zabbix_login_user }}" + login_password: "{{ zabbix_login_password }}" + api_method: item.get + api_params_dict: + filter: + key_: "proc.num[beam,,,rabbitmq_server]" + templated: True + inherited: False + register: old_rabbitmq_item + +- name: Delete old rabbitmq process check item from t_svc-mq + local_action: + module: zabbix + args: + url: "{{ zabbix_url }}" + login_user: "{{ zabbix_login_user }}" + login_password: "{{ zabbix_login_password }}" + api_method: item.delete + api_params_list: "{{ old_rabbitmq_item.result|map(attribute='itemid')|list }}" + when: old_rabbitmq_item.result + +- name: Fix regular expressions for FS discovery (esdc-factory#30) + shell: | + psql -U postgres -d zabbix <<" EOF" + UPDATE expressions SET expression='^/' WHERE expression='^\\/'; + UPDATE expressions SET expression='^/var/named/chroot' WHERE expression='^\\/var\\/named\\/chroot'; + UPDATE expressions SET expression='^/chroot' WHERE expression='^\\/chroot'; + UPDATE expressions SET expression='^/(dev|mnt|media|proc|sys|selinux|cgroup|var/lib/nfs).*$' WHERE expression='^\\/(dev|mnt|media|proc|sys|selinux|cgroup|var\\/lib\\/nfs).*$'; + UPDATE expressions SET expression='^/.*/dev$' WHERE expression='^\\/.*\\/dev$'; + UPDATE expressions SET expression='^/(dev|devices|etc|lib|system|usbkey|usr|var/run)' WHERE expression='^\\/(dev|devices|etc|lib|system|usbkey|usr|var\\/run)'; + UPDATE expressions SET expression='^/(checkpoints|dev|etc|lib|proc|sbin|system|usr|var/run)' WHERE expression='^\\/(checkpoints|dev|etc|lib|proc|sbin|system|usr|var\\/run)'; + UPDATE expressions SET expression='^/zones' WHERE expression='^\\/zones'; + EOF + notify: restart zabbix-server + +- name: Create externalscripts and alertscripts symlinks in /etc/zabbix + file: src="/usr/lib/zabbix/{{ item }}" + dest="/etc/zabbix/{{ item }}" + state=link + with_items: + - alertscripts + - externalscripts + +- name: Check if some custom alertscripts exist + find: paths="/usr/lib/zabbix/alertscripts" + register: zabbix_alertscripts_dir + +- name: Fix default media types + include: "{{ current_task_dir }}/mediatypes.yml" + when: not zabbix_alertscripts_dir.files + +- name: Copy fixed ludolph systemd service manifest + copy: src="{{ current_task_dir }}/files/ludolph.service" + dest="/etc/systemd/system/ludolph.service" + notify: reload systemd diff --git a/ans/upgrade/mon/v2.5.2/mediatypes.yml b/ans/upgrade/mon/v2.5.2/mediatypes.yml new file mode 100644 index 00000000..9253ffe5 --- /dev/null +++ b/ans/upgrade/mon/v2.5.2/mediatypes.yml @@ -0,0 +1,54 @@ +- name: Fetch custom media types + local_action: + module: zabbix + args: + url: "{{ zabbix_url }}" + login_user: "{{ zabbix_login_user }}" + login_password: "{{ zabbix_login_password }}" + api_method: mediatype.get + api_params_dict: + output: + - "mediatypeid" + - "description" + filter: + description: + - "SMS" + - "Ludolph" + - "NMA" + - "Prowl" + register: zabbix_custom_media_types + +- name: Fix exec_params on custom media types + local_action: + module: zabbix + args: + url: "{{ zabbix_url }}" + login_user: "{{ zabbix_login_user }}" + login_password: "{{ zabbix_login_password }}" + api_method: mediatype.update + api_params_dict: + exec_params: "{ALERT.SENDTO}\n{ALERT.SUBJECT}\n{ALERT.MESSAGE}\n" + mediatypeid: "{{ item }}" + with_items: "{{ zabbix_custom_media_types.result|map(attribute='mediatypeid')|list }}" + +- name: Fix exec_path on SMS custom media type + local_action: + module: zabbix + args: + url: "{{ zabbix_url }}" + login_user: "{{ zabbix_login_user }}" + login_password: "{{ zabbix_login_password }}" + api_method: mediatype.update + api_params_dict: + exec_path: "sms.sh" + mediatypeid: "{{ item.mediatypeid }}" + with_items: "{{ zabbix_custom_media_types.result|list }}" + when: "item.description is defined and item.description == 'SMS'" + +- name: Copy sample alertscripts + copy: src="{{ current_task_dir }}/files/alertscripts/" + dest="/etc/zabbix/alertscripts/" + mode=0750 + owner=root + group=zabbix + force=no