diff options
Diffstat (limited to 'templates/os/freebsd/template_os_freebsd.yaml')
-rw-r--r-- | templates/os/freebsd/template_os_freebsd.yaml | 318 |
1 files changed, 195 insertions, 123 deletions
diff --git a/templates/os/freebsd/template_os_freebsd.yaml b/templates/os/freebsd/template_os_freebsd.yaml index 8ab5a0726d3..310ee6553f6 100644 --- a/templates/os/freebsd/template_os_freebsd.yaml +++ b/templates/os/freebsd/template_os_freebsd.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '6.0' - date: '2022-01-18T20:36:35Z' + date: '2022-01-26T10:40:57Z' groups: - uuid: 846977d1dfed4968bc5f8bdb363285bc @@ -35,8 +35,8 @@ zabbix_export: - 1d tags: - - tag: Application - value: 'Monitoring agent' + tag: component + value: system - uuid: da59d099f7614653b37b8eaaa518ebd2 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: e2b84269401e41acb973bc29666b9e7a name: 'Version of Zabbix agent running' @@ -64,8 +64,8 @@ zabbix_export: - 1d tags: - - tag: Application - value: 'Monitoring agent' + tag: component + value: application - uuid: d1b2d3cc2b7e44af8f9bfee11e04bf21 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: 00f035b7890d4227a84a942ba5730df3 expression: 'last(/FreeBSD 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: 58244a8e72694ffcbba5a78a910ae818 name: 'Maximum number of processes' @@ -92,14 +99,24 @@ 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 + - + tag: component + value: processes triggers: - uuid: 0d2417112c1e4ef38a4b763872cbb18b expression: 'last(/FreeBSD 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: 448c6de07b244281a4b1defe2e811773 name: 'Number of running processes' @@ -108,14 +125,24 @@ zabbix_export: description: 'Number of processes in running state.' tags: - - tag: Application - value: Processes + tag: component + value: os + - + tag: component + value: processes triggers: - uuid: 837fdc71174246d987a6f7f277d65f6c expression: 'avg(/FreeBSD by Zabbix agent/proc.num[,,run],5m)>30' name: 'Too many processes running on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: notice + - + tag: scope + value: performance - uuid: 5fd5b351d8214eac8f4f4649594c27eb name: 'Number of processes' @@ -124,14 +151,24 @@ zabbix_export: description: 'Total number of processes in any state.' tags: - - tag: Application - value: Processes + tag: component + value: os + - + tag: component + value: processes triggers: - uuid: 0d5ac85120734fa98d3eef01b6f4033b expression: 'avg(/FreeBSD by Zabbix agent/proc.num[],5m)>300' name: 'Too many processes on {HOST.NAME}' priority: WARNING + tags: + - + tag: scope + value: notice + - + tag: scope + value: performance - uuid: 4a533b30c43e42fb8c9eabada0817186 name: 'Host boot time' @@ -141,11 +178,8 @@ zabbix_export: units: unixtime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os - uuid: db555e8318cf4e7aa7beb85aa0250697 name: 'Interrupts per second' @@ -159,11 +193,8 @@ zabbix_export: - '' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 2336b2ec03a846f3bed1e64384b2532e name: 'Processor load (1 min average per core)' @@ -173,17 +204,21 @@ 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: 8c339065ecc54b7d8c2e4405f2149f27 expression: 'avg(/FreeBSD 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: availability + - + tag: scope + value: performance - uuid: de68f40fc96648c0925c1f6a4ca6776e name: 'Processor load (5 min average per core)' @@ -193,11 +228,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: ad9ebf859f7346ca885c1edcb7333d78 name: 'Processor load (15 min average per core)' @@ -207,11 +239,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: 0a140185a5114dd29451bfac68abdde5 name: 'Context switches per second' @@ -225,11 +254,8 @@ zabbix_export: - '' tags: - - tag: Application - value: CPU - - - tag: Application - value: Performance + tag: component + value: cpu - uuid: 7612803821c845889bda84b7f1ac9ae5 name: 'CPU idle time' @@ -240,11 +266,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: f2acc3cd432546e5a223095a0ea2f096 name: 'CPU interrupt time' @@ -255,11 +278,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: efa92492bec0437ba74f47d694500cab name: 'CPU nice time' @@ -270,11 +290,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: c9479b02b04141128b1ce7c8f3726c09 name: 'CPU system time' @@ -285,11 +302,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: 1f3bc82009e04b59845a0e15004637ad name: 'CPU user time' @@ -300,11 +314,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: c17d001bd20a4732b8ef487366c6aa42 name: 'Host name' @@ -322,17 +333,18 @@ zabbix_export: - 1d tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: f48fb8ce1229492dae62de362c8c9539 expression: 'last(/FreeBSD by Zabbix agent/system.hostname,#1)<>last(/FreeBSD by Zabbix agent/system.hostname,#2)' name: 'Hostname was changed on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice - uuid: 4095ed7d606a47439294097a98af2c4f name: 'Host local time' @@ -341,11 +353,8 @@ zabbix_export: units: unixtime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os - uuid: 63fc1259011f4250901889979cdf472c name: 'Free swap space' @@ -354,8 +363,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: 187d11e610b94b468d18b88ca38f2c32 name: 'Free swap space in %' @@ -365,8 +374,8 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Memory + tag: component + value: memory triggers: - uuid: a125b6786d55426eb19afe284cee1f76 @@ -374,6 +383,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: 9647b0b857074c4b9c14f15bb04af096 name: 'Total swap space' @@ -383,8 +399,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: 4523ae069e0b4e16bcb5182c6dbf63f2 name: 'System information' @@ -402,17 +418,18 @@ zabbix_export: - 1d tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: ea2f9c186798420da781bd835fa0eaed expression: 'last(/FreeBSD by Zabbix agent/system.uname,#1)<>last(/FreeBSD by Zabbix agent/system.uname,#2)' name: 'Host information was changed on {HOST.NAME}' priority: INFO + tags: + - + tag: scope + value: notice - uuid: a49b956d592c4e2ba41caac3671e009f name: 'System uptime' @@ -422,17 +439,18 @@ zabbix_export: units: uptime tags: - - tag: Application - value: General - - - tag: Application - value: OS + tag: component + value: os triggers: - uuid: 809e57eb897b43fb8538e76ec7dd6602 expression: 'change(/FreeBSD by Zabbix agent/system.uptime)<0' name: '{HOST.NAME} has just been restarted' priority: INFO + tags: + - + tag: scope + value: notice - uuid: fec3e877764e4bfd98e77da9d8c73606 name: 'Number of logged in users' @@ -441,11 +459,8 @@ zabbix_export: description: 'Number of users who are currently logged in.' tags: - - tag: Application - value: OS - - - tag: Application - value: Security + tag: component + value: os - uuid: 2bb327cd5f8c49d9b680142825b9c030 name: 'Checksum of /etc/passwd' @@ -454,14 +469,18 @@ zabbix_export: history: 1w tags: - - tag: Application - value: Security + tag: component + value: security triggers: - uuid: 27b4e5de411949a4befa7171a2af6441 expression: 'last(/FreeBSD by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/FreeBSD 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: 561c7a383b944bca9ec5f7c44e322fed name: 'Available memory' @@ -471,14 +490,21 @@ zabbix_export: description: 'Available memory is defined as free+cached+buffers memory.' tags: - - tag: Application - value: Memory + tag: component + value: memory triggers: - uuid: f8fcce1904ab46088fa80433b85f2e83 expression: 'last(/FreeBSD 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: ffa54e82b7914672a3f7134134ac2638 name: 'Total memory' @@ -488,8 +514,8 @@ zabbix_export: units: B tags: - - tag: Application - value: Memory + tag: component + value: memory - uuid: cbfaa94dc7bc4606a792aaf357054075 name: 'Zabbix agent availability' @@ -501,8 +527,8 @@ zabbix_export: name: zabbix.host.available tags: - - tag: Application - value: Status + tag: component + value: system triggers: - uuid: fd9d36aaedff45f59017b1e714a5db69 @@ -511,6 +537,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: cac3466488a544198f766d1152878456 @@ -542,8 +572,11 @@ zabbix_export: - '8' tags: - - tag: Application - value: 'Network interfaces' + tag: component + value: interface + - + tag: interface + value: '{#IFNAME}' - uuid: ac93068d05084aa0a32a1bee78df3bd8 name: 'Network interfaces: Outgoing network traffic on {#IFNAME}' @@ -561,8 +594,11 @@ zabbix_export: - '8' tags: - - tag: Application - value: 'Network interfaces' + tag: component + value: interface + - + tag: interface + value: '{#IFNAME}' graph_prototypes: - uuid: 1f52d0c9ee934eb3a5198ab53fdf4679 @@ -604,14 +640,24 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' trigger_prototypes: - uuid: 2b87c38f49b146f1b801319d03a19dc3 expression: 'last(/FreeBSD 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: 2ed6230d292a4037b67fe549c719e7ee name: 'Filesystems: Free disk space on {#FSNAME}' @@ -620,8 +666,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' - uuid: aa0dd0eb957a4485b1a62f715381019a name: 'Filesystems: Free disk space on {#FSNAME} (percentage)' @@ -631,14 +680,24 @@ zabbix_export: units: '%' tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' trigger_prototypes: - uuid: 01ea8e7f30564586af3b48adb3c930c1 expression: 'last(/FreeBSD 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: 6daede58ae8f4e42a4aa2539a552ab08 name: 'Filesystems: Total disk space on {#FSNAME}' @@ -648,8 +707,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' - uuid: 6efb08c26e1b439181a17d462ec1dab8 name: 'Filesystems: Used disk space on {#FSNAME}' @@ -658,8 +720,11 @@ zabbix_export: units: B tags: - - tag: Application - value: Filesystems + tag: component + value: filesystem + - + tag: filesystem + value: '{#FSNAME}' graph_prototypes: - uuid: 5f8ff96d3ea744bba849c9dc1464632f @@ -683,6 +748,13 @@ zabbix_export: item: host: 'FreeBSD by Zabbix agent' key: 'vfs.fs.size[{#FSNAME},free]' + tags: + - + tag: class + value: os + - + tag: target + value: freebsd macros: - macro: '{$AGENT.TIMEOUT}' |