diff options
Diffstat (limited to 'templates/os/openbsd/template_os_openbsd.yaml')
-rw-r--r-- | templates/os/openbsd/template_os_openbsd.yaml | 301 |
1 files changed, 179 insertions, 122 deletions
diff --git a/templates/os/openbsd/template_os_openbsd.yaml b/templates/os/openbsd/template_os_openbsd.yaml index b0b81bca190..fd81c2be99b 100644 --- a/templates/os/openbsd/template_os_openbsd.yaml +++ b/templates/os/openbsd/template_os_openbsd.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2022-01-18T20:37:08Z' + date: '2022-01-26T10:41:44Z' groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc @@ -35,8 +35,8 @@ zabbix_export: - 1d tags: - - tag: Application - value: 'Monitoring agent' + tag: component + value: system - uuid: 99dbf8825c0d4e1f9ae433bcb786d7c7 name: 'Zabbix agent ping' @@ -47,8 +47,8 @@ zabbix_export: name: 'Zabbix agent ping status' tags: - - tag: Application - value: 'Monitoring agent' + tag: component + value: system - uuid: c65db5a2b42c46dc90cf4891ad1ecc83 name: 'Version of Zabbix agent running' @@ -64,8 +64,8 @@ zabbix_export: - 1d tags: - - tag: Application - value: 'Monitoring agent' + tag: component + value: application - uuid: 56a83dc0e14e47339e13a451adcefef7 name: 'Maximum number of opened files' @@ -75,14 +75,21 @@ zabbix_export: description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.' tags: - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: aab96e16dd194d72b9b049ffa8b41b02 expression: 'last(/OpenBSD by Zabbix agent/kernel.maxfiles)<1024' name: 'Configured max number of opened files is too low on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice + - + tag: scope + value: performance - uuid: e55f8256dd2d48fd9e7fd786f872b4bc name: 'Maximum number of processes' @@ -92,14 +99,21 @@ zabbix_export: description: 'It could be increased by using sysctrl utility or modifying file /etc/sysctl.conf.' tags: - - tag: Application - value: OS + tag: component + value: processes triggers: - uuid: 149b9b77d17543fba253666ccbd6a607 expression: 'last(/OpenBSD by Zabbix agent/kernel.maxproc)<256' name: 'Configured max number of processes is too low on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice + - + tag: scope + value: performance - uuid: 7f8fdbc74cf14fa2afda3b57c548c751 name: 'Number of running processes' @@ -108,14 +122,18 @@ zabbix_export: description: 'Number of processes in running state.' tags: - - tag: Application - value: Processes + tag: component + value: processes triggers: - uuid: d67740bc103348ab8ab11df2bdb0ad8f expression: 'avg(/OpenBSD by Zabbix agent/proc.num[,,run],5m)>30' name: 'Too many processes running on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: performance - uuid: 966acafb928b43f8a63ee673b1716d28 name: 'Number of processes' @@ -124,14 +142,18 @@ zabbix_export: description: 'Total number of processes in any state.' tags: - - tag: Application - value: Processes + tag: component + value: processes triggers: - uuid: dd1b0c14e6dd439ea8f7323cdcc607de expression: 'avg(/OpenBSD by Zabbix agent/proc.num[],5m)>300' name: 'Too many processes on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: performance - uuid: 4e06c5b504c04c169ea1a0d6a7951eeb name: 'Host boot time' @@ -141,11 +163,8 @@ zabbix_export: units: unixtime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os - uuid: f6ed0de8cbb545298b174b19938a527e name: 'Interrupts per second' @@ -159,11 +178,8 @@ zabbix_export: - '' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 7e4eab397cfd43d2a4aef7e2aa8c3a37 name: 'Processor load (1 min average per core)' @@ -173,17 +189,18 @@ zabbix_export: description: 'The processor load is calculated as system CPU load divided by number of CPU cores.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu triggers: - uuid: 1128bfb41f5f420c81feffb1d395cf9f expression: 'avg(/OpenBSD by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5' name: 'Processor load is too high on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: performance - uuid: 55ad1da5b20c465f8db86701dcf3e974 name: 'Processor load (5 min average per core)' @@ -193,11 +210,8 @@ zabbix_export: description: 'The processor load is calculated as system CPU load divided by number of CPU cores.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 0403d3b318a649d4aa0da97e18546bcb name: 'Processor load (15 min average per core)' @@ -207,11 +221,8 @@ zabbix_export: description: 'The processor load is calculated as system CPU load divided by number of CPU cores.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 2226fac821fe4928a9d727770e0af4d0 name: 'Context switches per second' @@ -225,11 +236,8 @@ zabbix_export: - '' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 4689c51946c845e5b31cb7ca5b58fbe3 name: 'CPU idle time' @@ -240,11 +248,8 @@ zabbix_export: description: 'The time the CPU has spent doing nothing.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: ad032417f6de4e03a4f956bea65d8ce0 name: 'CPU interrupt time' @@ -255,11 +260,8 @@ zabbix_export: description: 'The amount of time the CPU has been servicing hardware interrupts.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 84030949a4d545b59db4aa3b38402174 name: 'CPU nice time' @@ -270,11 +272,8 @@ zabbix_export: description: 'The time the CPU has spent running users'' processes that have been niced.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 63121eb34bc94eeabd7352992b67befb name: 'CPU system time' @@ -285,11 +284,8 @@ zabbix_export: description: 'The time the CPU has spent running the kernel and its processes.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: c9adb1a7c2fd4db9b176f9008483f2d7 name: 'CPU user time' @@ -300,11 +296,8 @@ zabbix_export: description: 'The time the CPU has spent running users'' processes that are not niced.' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: a80cd7ca70954cd1b6b89a686f642b9d name: 'Host name' @@ -322,17 +315,18 @@ zabbix_export: - 1d tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: d6927a9b74eb4cb8b15400baf784fc36 expression: 'last(/OpenBSD by Zabbix agent/system.hostname,#1)<>last(/OpenBSD by Zabbix agent/system.hostname,#2)' name: 'Hostname was changed on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice - uuid: cfff34f2374c410492b89cce1c6b5198 name: 'Host local time' @@ -341,11 +335,8 @@ zabbix_export: units: unixtime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os - uuid: e758448d5ec242e6a7a17f67c8f62874 name: 'Free swap space' @@ -354,8 +345,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: 43648a7f2c79443781a0ad500e7a9e6c name: 'Free swap space in %' @@ -365,8 +356,8 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Memory + tag: component + value: memory triggers: - uuid: 0efa45d2c8884bc6b4090afc6408198b @@ -374,6 +365,13 @@ zabbix_export: name: 'Lack of free swap space on {HOST.NAME}' priority: WARNING description: 'It probably means that the systems requires more physical memory.' + tags: + - + tag: scope + value: capacity + - + tag: scope + value: performance - uuid: 61f33f0c3e35499b999626058048ec66 name: 'Total swap space' @@ -383,8 +381,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: b19974c64b4141c2aca0e997b03c2f0a name: 'System information' @@ -402,17 +400,18 @@ zabbix_export: - 1d tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: 3d3bcd54f24448c1a11746a4e75ea736 expression: 'last(/OpenBSD by Zabbix agent/system.uname,#1)<>last(/OpenBSD by Zabbix agent/system.uname,#2)' name: 'Host information was changed on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice - uuid: d14bcdc15cc24f90baea06a13077a54f name: 'System uptime' @@ -422,17 +421,18 @@ zabbix_export: units: uptime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: de874b9d875a4298ab39888c9e9cb747 expression: 'change(/OpenBSD by Zabbix agent/system.uptime)<0' name: '{HOST.NAME} has just been restarted' priority: INFO + tags: + - + tag: scope + value: notice - uuid: 165a44bf3b9d49378e500acb90aa7957 name: 'Number of logged in users' @@ -441,11 +441,11 @@ zabbix_export: description: 'Number of users who are currently logged in.' tags: - - tag: Application - value: OS + tag: component + value: os - - tag: Application - value: Security + tag: component + value: security - uuid: f11f6e3539a244409f1c72dbd6f16b76 name: 'Checksum of /etc/passwd' @@ -454,14 +454,18 @@ zabbix_export: history: 1w tags: - - tag: Application - value: Security + tag: component + value: security triggers: - uuid: 9db4055df94d414d86938066ed05dbc5 expression: 'last(/OpenBSD by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/OpenBSD by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2)' name: '/etc/passwd has been changed on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: security - uuid: 5b6c92c92e434dff8ce19e28b3ba785e name: 'Available memory' @@ -471,14 +475,21 @@ zabbix_export: description: 'Available memory is defined as free+cached+buffers memory.' tags: - - tag: Application - value: Memory + tag: component + value: memory triggers: - uuid: bdf3c729b8bc4a9481c9041e4c1ea624 expression: 'last(/OpenBSD by Zabbix agent/vm.memory.size[available])<20M' name: 'Lack of available memory on server {HOST.NAME}' priority: AVERAGE + tags: + - + tag: scope + value: capacity + - + tag: scope + value: performance - uuid: b32320608732421fac18437006bc1874 name: 'Total memory' @@ -488,8 +499,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: 7ab36f1fcf0244229effa26f16889a36 name: 'Zabbix agent availability' @@ -501,8 +512,8 @@ zabbix_export: name: zabbix.host.available tags: - - tag: Application - value: Status + tag: component + value: system triggers: - uuid: d046f431e11d4bd7be42e66e14a21663 @@ -511,6 +522,10 @@ zabbix_export: priority: AVERAGE description: 'For passive only agents, host availability is used with {$AGENT.TIMEOUT} as time threshold.' manual_close: 'YES' + tags: + - + tag: scope + value: availability discovery_rules: - uuid: d02d41ad698942bfab1fe29fad31010a @@ -542,8 +557,11 @@ zabbix_export: - '8' tags: - - tag: Application - value: 'Network interfaces' + tag: component + value: interfaces + - + tag: interfaces + value: '{#IFNAME}' - uuid: 16bced1c77eb46799ecedcde5049dbdb name: 'Network interfaces: Outgoing network traffic on {#IFNAME}' @@ -561,8 +579,11 @@ zabbix_export: - '8' tags: - - tag: Application - value: 'Network interfaces' + tag: component + value: interfaces + - + tag: interfaces + value: '{#IFNAME}' graph_prototypes: - uuid: c79845ab3101451c8f0fe033b5b2166e @@ -604,14 +625,24 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' trigger_prototypes: - uuid: 7802203fd5ba471db2be4f35eda44a0b expression: 'last(/OpenBSD by Zabbix agent/vfs.fs.inode[{#FSNAME},pfree])<20' name: 'Filesystems: Free inodes is less than 20% on volume {#FSNAME}' priority: WARNING + tags: + - + tag: scope + value: capacity + - + tag: scope + value: performance - uuid: d53bf828e684464a88157fd3dfd1b8d4 name: 'Filesystems: Free disk space on {#FSNAME}' @@ -620,8 +651,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' - uuid: bcae23e8404349af87c570c353bfe0fe name: 'Filesystems: Free disk space on {#FSNAME} (percentage)' @@ -631,14 +665,24 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' trigger_prototypes: - uuid: 9741c9425c984804ac8fb9a52ef22221 expression: 'last(/OpenBSD by Zabbix agent/vfs.fs.size[{#FSNAME},pfree])<20' name: 'Filesystems: Free disk space is less than 20% on volume {#FSNAME}' priority: WARNING + tags: + - + tag: scope + value: capacity + - + tag: scope + value: performance - uuid: 5c27bfca98fc4e709b5fe66e8c181fbd name: 'Filesystems: Total disk space on {#FSNAME}' @@ -648,8 +692,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' - uuid: 840eed51cf264b5698fe4f38fd03ea16 name: 'Filesystems: Used disk space on {#FSNAME}' @@ -658,8 +705,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' graph_prototypes: - uuid: ef0e881cfc3f4552a163a653cd52869c @@ -683,6 +733,13 @@ zabbix_export: item: host: 'OpenBSD by Zabbix agent' key: 'vfs.fs.size[{#FSNAME},free]' + tags: + - + tag: class + value: os + - + tag: target + value: openbsd macros: - macro: '{$AGENT.TIMEOUT}' |