HP-UX by Zabbix agent
Macros used
| Name | Value |
|---|---|
| {$AGENT.TIMEOUT} | 3m |
Items collected
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| HP-UX: Host name of Zabbix agent running | - | - | 1h | agent.hostname |
| HP-UX: Zabbix agent ping | The agent always returns 1 for this item. It could be used in combination with nodata() for the availability check. | - | - | agent.ping |
| HP-UX: Version of Zabbix agent running | - | - | 1h | agent.version |
| HP-UX: Processor load (1 min average per core) | The processor load is calculated as the system CPU load divided by the number of CPU cores. | - | - | system.cpu.load[percpu,avg1] |
| HP-UX: Processor load (5 min average per core) | The processor load is calculated as the system CPU load divided by the number of CPU cores. | - | - | system.cpu.load[percpu,avg5] |
| HP-UX: Processor load (15 min average per core) | The processor load is calculated as the system CPU load divided by the number of CPU cores. | - | - | system.cpu.load[percpu,avg15] |
| HP-UX: CPU idle time | The time the CPU has spent doing nothing. | - | - | system.cpu.util[,idle] |
| HP-UX: CPU nice time | The time the CPU has spent running users' processes that have been niced. | - | - | system.cpu.util[,nice] |
| HP-UX: CPU system time | The time the CPU has spent running the kernel and its processes. | - | - | system.cpu.util[,system] |
| HP-UX: CPU user time | The time the CPU has spent running users' processes that are not niced. | - | - | system.cpu.util[,user] |
| HP-UX: Host name | A host name of the system. | - | 1h | system.hostname |
| HP-UX: Host local time | - | - | - | system.localtime |
| HP-UX: System information | The information as normally returned by the 'uname -a'. | - | 1h | system.uname |
| HP-UX: Number of logged in users | The number of users who are currently logged in. | - | - | system.users.num |
| HP-UX: Checksum of /etc/passwd | - | - | 15m | vfs.file.cksum[/etc/passwd,sha256] |
| HP-UX: Get filesystems | The vfs.fs.get key acquires raw information set about the file systems. Later to be extracted by preprocessing in dependent items. | - | - | vfs.fs.get |
| HP-UX: Available memory | The available memory is defined as free+cached+buffers memory. | - | - | vm.memory.size[available] |
| HP-UX: Total memory | - | - | 1h | vm.memory.size[total] |
| HP-UX: Zabbix agent availability | Monitoring the availability status of the agent. | INTERNAL | - | zabbix[host,agent,available] |
Triggers
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| HP-UX: Processor load is too high | - | avg(/HP-UX by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 | WARNING 📢 | HP-UX: Processor load (1 min average per core) |
| HP-UX: Hostname was changed | - | last(/HP-UX by Zabbix agent/system.hostname,#1)<>last(/HP-UX by Zabbix agent/system.hostname,#2) | INFO 🔔 | HP-UX: Host name |
| HP-UX: Host information was changed | - | last(/HP-UX by Zabbix agent/system.uname,#1)<>last(/HP-UX by Zabbix agent/system.uname,#2) | INFO 🔔 | HP-UX: System information |
| HP-UX: /etc/passwd has been changed | - | last(/HP-UX by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/HP-UX by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) | WARNING 📢 | HP-UX: Checksum of /etc/passwd |
| HP-UX: Lack of available memory on server | - | last(/HP-UX by Zabbix agent/vm.memory.size[available])<20M | AVERAGE ⚠ | HP-UX: Available memory |
| HP-UX: Zabbix agent is not available | For passive checks only the availability of the agents and a host is used with {$AGENT.TIMEOUT} as the time threshold. | max(/HP-UX by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 | AVERAGE ⚠ | HP-UX: Zabbix agent availability |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Network interface discovery | The discovery of network interfaces as defined in the global regular expression "Network interfaces for discovery". | - | 1h | net.if.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Interface {#IFNAME}: Incoming network traffic | - | - | - | net.if.in[{#IFNAME}] |
| Interface {#IFNAME}: Outgoing network traffic | - | - | - | net.if.out[{#IFNAME}] |
Discovery rule №2
| Name | Description | Type | Interval | 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 | 0 | vfs.fs.dependent.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| {#FSNAME}: Free inodes, % | - | DEPENDENT | - | vfs.fs.dependent.inode[{#FSNAME},pfree] |
| {#FSNAME}: Free disk space | - | DEPENDENT | - | vfs.fs.dependent.size[{#FSNAME},free] |
| {#FSNAME}: Free disk space, % | - | DEPENDENT | - | vfs.fs.dependent.size[{#FSNAME},pfree] |
| {#FSNAME}: Total disk space | - | DEPENDENT | - | vfs.fs.dependent.size[{#FSNAME},total] |
| {#FSNAME}: Used disk space | - | DEPENDENT | - | vfs.fs.dependent.size[{#FSNAME},used] |
| {#FSNAME}: Get filesystem data | - | DEPENDENT | - | vfs.fs.dependent[{#FSNAME},data] |
| {#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] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| {#FSNAME}: Free inodes is less than 20% | - | last(/HP-UX by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree])<20 | WARNING 📢 | {#FSNAME}: Free inodes, % |
| {#FSNAME}: Free disk space is less than 20% | - | last(/HP-UX by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pfree])<20 | WARNING 📢 | {#FSNAME}: Free disk space, % |
| {#FSNAME}: Filesystem has become 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(/HP-UX by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/HP-UX by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1 | AVERAGE ⚠ | {#FSNAME}: Filesystem is read-only |