123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- ---
- g_template_os_linux:
- name: Template OS Linux
- zitems:
- - key: kernel.uname.sysname
- applications:
- - Kernel
- value_type: string
- - key: kernel.all.cpu.wait.total
- applications:
- - Kernel
- value_type: int
- - key: kernel.all.cpu.irq.hard
- applications:
- - Kernel
- value_type: int
- - key: kernel.all.cpu.idle
- applications:
- - Kernel
- value_type: int
- - key: kernel.uname.distro
- applications:
- - Kernel
- value_type: string
- - key: kernel.uname.nodename
- applications:
- - Kernel
- value_type: string
- - key: kernel.all.cpu.irq.soft
- applications:
- - Kernel
- value_type: int
- - key: kernel.all.load.15_minute
- applications:
- - Kernel
- value_type: float
- - key: kernel.all.cpu.sys
- applications:
- - Kernel
- value_type: int
- - key: kernel.all.load.5_minute
- applications:
- - Kernel
- value_type: float
- - key: mem.freemem
- applications:
- - Memory
- value_type: int
- - key: kernel.all.cpu.nice
- applications:
- - Kernel
- value_type: int
- - key: mem.util.bufmem
- applications:
- - Memory
- value_type: int
- - key: swap.used
- applications:
- - Memory
- value_type: int
- - key: kernel.all.load.1_minute
- applications:
- - Kernel
- value_type: float
- - key: kernel.uname.version
- applications:
- - Kernel
- value_type: string
- - key: swap.length
- applications:
- - Memory
- value_type: int
- - key: mem.physmem
- applications:
- - Memory
- value_type: int
- - key: kernel.all.uptime
- applications:
- - Kernel
- value_type: int
- - key: swap.free
- applications:
- - Memory
- value_type: int
- - key: mem.util.used
- applications:
- - Memory
- value_type: int
- - key: kernel.all.cpu.user
- applications:
- - Kernel
- value_type: int
- - key: kernel.uname.machine
- applications:
- - Kernel
- value_type: string
- - key: hinv.ncpu
- applications:
- - Kernel
- value_type: int
- - key: mem.util.cached
- applications:
- - Memory
- value_type: int
- - key: kernel.all.cpu.steal
- applications:
- - Kernel
- value_type: int
- - key: kernel.all.pswitch
- applications:
- - Kernel
- value_type: int
- - key: kernel.uname.release
- applications:
- - Kernel
- value_type: string
- - key: proc.nprocs
- applications:
- - Kernel
- value_type: int
- - key: filesys.full.xvda2
- applications:
- - Disk
- value_type: float
- - key: filesys.full.xvda3
- applications:
- - Disk
- value_type: float
- ztriggers:
- - description: 'Filesystem: / has less than 10% free on {HOST.NAME}'
- expression: '{Template OS Linux:filesys.full.xvda2.last()}>90'
- priority: warn
- - description: 'Filesystem: / has less than 5% free on {HOST.NAME}'
- expression: '{Template OS Linux:filesys.full.xvda2.last()}>95'
- priority: high
- - description: 'Filesystem: /var has less than 10% free on {HOST.NAME}'
- expression: '{Template OS Linux:filesys.full.xvda3.last()}>90'
- priority: warn
- - description: 'Filesystem: /var has less than 5% free on {HOST.NAME}'
- expression: '{Template OS Linux:filesys.full.xvda3.last()}>95'
- priority: high
|