IBM AIX

AIX (Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

Dostupná řešení




This template is for Zabbix version: 6.4
Also available for: 6.2 6.0

Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/aix?at=release/6.4

AIX by Zabbix agent

Overview

For Zabbix version: 6.4 and higher. It is an official AIX template. It requires Zabbix agent 4.0 or newer.

Setup

See Zabbix template operation for basic instructions.

Install Zabbix agent on the AIX OS according to Zabbix documentation.

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

Name Description Default
{$AGENT.TIMEOUT}

The timeout after which agent is considered unavailable. It works only for the agents reachable from Zabbix server/proxy (in passive mode).

3m

Template links

There are no template links in this template.

Discovery rules

Name Description Type Key and additional info
Mounted filesystem discovery

The discovery of different types of file systems as defined in the global regular expression "File systems for discovery".

DEPENDENT vfs.fs.dependent.discovery

Filter:

- {#FSTYPE} MATCHES_REGEX @File systems for discovery

Overrides:

Skip metadata collection for dynamic FS
- {#FSTYPE} MATCHES_REGEX ^(btrfs|zfs)$
- ITEM_PROTOTYPE LIKE inode
- NO_DISCOVER

Network interface discovery

The discovery of network interfaces as defined in the global regular expression "Network interfaces for discovery".

ZABBIX_PASSIVE net.if.discovery

Filter:

- {#IFNAME} MATCHES_REGEX @Network interfaces for discovery

Items collected

Group Name Description Type Key and additional info
AIX Number of running processes

The number of processes in a running state.

ZABBIX_PASSIVE proc.num[,,run]
AIX Number of processes

The total number of processes in any state.

ZABBIX_PASSIVE proc.num[]
AIX Interrupts per second

-

ZABBIX_PASSIVE system.cpu.intr

Preprocessing:

- CHANGE_PER_SECOND: ``

AIX Processor load (1 min average per core)

The processor load is calculated as the system CPU load divided by the number of CPU cores.

ZABBIX_PASSIVE system.cpu.load[percpu,avg1]
AIX Processor load (5 min average per core)

The processor load is calculated as the system CPU load divided by the number of CPU cores.

ZABBIX_PASSIVE system.cpu.load[percpu,avg5]
AIX Processor load (15 min average per core)

The processor load is calculated as the system CPU load divided by the number of CPU cores.

ZABBIX_PASSIVE system.cpu.load[percpu,avg15]
AIX Context switches per second

-

ZABBIX_PASSIVE system.cpu.switches

Preprocessing:

- CHANGE_PER_SECOND: ``

AIX Host name

A host name of the system.

ZABBIX_PASSIVE system.hostname

Preprocessing:

- DISCARD_UNCHANGED_HEARTBEAT: 1d

AIX Host local time

-

ZABBIX_PASSIVE system.localtime
AIX CPU available physical processors in the shared pool

-

ZABBIX_PASSIVE system.stat[cpu,app]
AIX CPU entitled capacity consumed

-

ZABBIX_PASSIVE system.stat[cpu,ec]
AIX CPU idle time

-

ZABBIX_PASSIVE system.stat[cpu,id]
AIX CPU logical processor utilization

-

ZABBIX_PASSIVE system.stat[cpu,lbusy]
AIX CPU number of physical processors consumed

-

ZABBIX_PASSIVE system.stat[cpu,pc]
AIX CPU system time

-

ZABBIX_PASSIVE system.stat[cpu,sy]
AIX CPU user time

-

ZABBIX_PASSIVE system.stat[cpu,us]
AIX CPU iowait time

-

ZABBIX_PASSIVE system.stat[cpu,wa]
AIX Amount of data transferred

-

ZABBIX_PASSIVE system.stat[disk,bps]
AIX Number of transfers

-

ZABBIX_PASSIVE system.stat[disk,tps]
AIX Processor units is entitled to receive

-

ZABBIX_PASSIVE system.stat[ent]
AIX Kernel thread context switches

-

ZABBIX_PASSIVE system.stat[faults,cs]
AIX Device interrupts

-

ZABBIX_PASSIVE system.stat[faults,in]
AIX System calls

-

ZABBIX_PASSIVE system.stat[faults,sy]
AIX Length of the swap queue

-

ZABBIX_PASSIVE system.stat[kthr,b]
AIX Length of the run queue

-

ZABBIX_PASSIVE system.stat[kthr,r]
AIX Active virtual pages

-

ZABBIX_PASSIVE system.stat[memory,avm]
AIX Free real memory

-

ZABBIX_PASSIVE system.stat[memory,fre]
AIX File page-ins per second

-

ZABBIX_PASSIVE system.stat[page,fi]
AIX File page-outs per second

-

ZABBIX_PASSIVE system.stat[page,fo]
AIX Pages freed (page replacement)

-

ZABBIX_PASSIVE system.stat[page,fr]
AIX Pages paged in from paging space

-

ZABBIX_PASSIVE system.stat[page,pi]
AIX Pages paged out to paging space

-

ZABBIX_PASSIVE system.stat[page,po]
AIX Pages scanned by page-replacement algorithm

-

ZABBIX_PASSIVE system.stat[page,sr]
AIX System information

The information as normally returned by the 'uname -a'.

ZABBIX_PASSIVE system.uname

Preprocessing:

- DISCARD_UNCHANGED_HEARTBEAT: 1d

AIX System uptime

-

ZABBIX_PASSIVE system.uptime
AIX Number of logged in users

The number of users who are currently logged in.

ZABBIX_PASSIVE system.users.num
AIX Checksum of /etc/passwd

-

ZABBIX_PASSIVE vfs.file.cksum[/etc/passwd,sha256]

Preprocessing:

- DISCARD_UNCHANGED_HEARTBEAT: 1h

AIX Available memory

The available memory is defined as free+cached+buffers memory.

ZABBIX_PASSIVE vm.memory.size[available]
AIX Total memory

-

ZABBIX_PASSIVE vm.memory.size[total]
AIX Interface {#IFNAME}: Incoming network traffic

-

ZABBIX_PASSIVE net.if.in[{#IFNAME}]

Preprocessing:

- CHANGE_PER_SECOND: `</p><p>- MULTIPLIER:8`

AIX Interface {#IFNAME}: Outgoing network traffic

-

ZABBIX_PASSIVE net.if.out[{#IFNAME}]

Preprocessing:

- CHANGE_PER_SECOND: `</p><p>- MULTIPLIER:8`

AIX {#FSNAME}: Filesystem is read-only

The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher.

DEPENDENT vfs.fs.dependent[{#FSNAME},readonly]

Preprocessing:

- JSONPATH: $.options

⛔️ON_FAIL: DISCARD_VALUE ->

- REGEX: (?:^|,)ro\b 1

⛔️ON_FAIL: CUSTOM_VALUE -> 0

AIX {#FSNAME}: Free inodes, %

-

DEPENDENT vfs.fs.dependent.inode[{#FSNAME},pfree]

Preprocessing:

- JSONPATH: $.inodes.pfree

AIX {#FSNAME}: Free disk space

-

DEPENDENT vfs.fs.dependent.size[{#FSNAME},free]

Preprocessing:

- JSONPATH: $.bytes.free

AIX {#FSNAME}: Free disk space, %

-

DEPENDENT vfs.fs.dependent.size[{#FSNAME},pfree]

Preprocessing:

- JSONPATH: $.bytes.pfree

AIX {#FSNAME}: Total disk space

-

DEPENDENT vfs.fs.dependent.size[{#FSNAME},total]

Preprocessing:

- JSONPATH: $.bytes.total

AIX {#FSNAME}: Used disk space

-

DEPENDENT vfs.fs.dependent.size[{#FSNAME},used]

Preprocessing:

- JSONPATH: $.bytes.used

Monitoring agent Version of Zabbix agent running

-

ZABBIX_PASSIVE agent.version

Preprocessing:

- DISCARD_UNCHANGED_HEARTBEAT: 1d

Monitoring agent Host name of Zabbix agent running

-

ZABBIX_PASSIVE agent.hostname

Preprocessing:

- DISCARD_UNCHANGED_HEARTBEAT: 1d

Monitoring agent Zabbix agent ping

The agent always returns 1 for this item. It could be used in combination with nodata() for the availability check.

ZABBIX_PASSIVE agent.ping
Status Zabbix agent availability

Monitoring the availability status of the agent.

INTERNAL zabbix[host,agent,available]
Zabbix raw items Get filesystems

The vfs.fs.get key acquires raw information set about the file systems. Later to be extracted by preprocessing in dependent items.

ZABBIX_PASSIVE vfs.fs.get
Zabbix raw items {#FSNAME}: Get filesystem data

-

DEPENDENT vfs.fs.dependent[{#FSNAME},data]

Preprocessing:

- JSONPATH: $.[?(@.fsname=='{#FSNAME}')].first()

Triggers

Name Description Expression Severity Dependencies and additional info
Too many processes running

-

avg(/AIX by Zabbix agent/proc.num[,,run],5m)>30 WARNING
Too many processes

-

avg(/AIX by Zabbix agent/proc.num[],5m)>300 WARNING
Processor load is too high

-

avg(/AIX by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 WARNING
Hostname was changed

-

last(/AIX by Zabbix agent/system.hostname,#1)<>last(/AIX by Zabbix agent/system.hostname,#2) INFO
Disk I/O is overloaded

The OS spends significant time waiting for the I/O (input/output) operations. It could be an indicator of performance issues with the storage system.

avg(/AIX by Zabbix agent/system.stat[cpu,wa],5m)>20 WARNING
Host information was changed

-

last(/AIX by Zabbix agent/system.uname,#1)<>last(/AIX by Zabbix agent/system.uname,#2) INFO
Server has just been restarted

-

change(/AIX by Zabbix agent/system.uptime)<0 INFO
/etc/passwd has been changed

-

last(/AIX by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/AIX by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) WARNING
Lack of available memory on server

-

last(/AIX by Zabbix agent/vm.memory.size[available])<20M AVERAGE
{#FSNAME}: Filesystem became read-only

The filesystem has become read-only. A possible reason is an I/O error. It is available only for Zabbix agents 6.4 and higher.

last(/AIX by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/AIX by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1

Recovery expression:

last(/AIX by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=0
AVERAGE

Manual close: YES

{#FSNAME}: Free inodes is less than 20%

-

last(/AIX by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree])<20 WARNING
{#FSNAME}: Free disk space is less than 20%

-

last(/AIX by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pfree])<20 WARNING
Zabbix agent is not available

For passive checks only the availability of the agent(s) and a host is used with {$AGENT.TIMEOUT} as the time threshold.

max(/AIX by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 AVERAGE

Manual close: YES

Feedback

Please report any issues with the template at https://support.zabbix.com.

You can also provide feedback, discuss the template, or ask for help at ZABBIX forums.

Články a dokumentace

+ Navrhněte nový článek

Nenašli jste integraci, kterou potřebujete?