Перейти к основному содержимому

HP-UX by Zabbix agent

Macros used​

NameValue
{$AGENT.TIMEOUT}3m

Items collected​

NameDescriptionTypeIntervalKey and additional info
HP-UX: Host name of Zabbix agent running

-

-

1hagent.hostname
HP-UX: Zabbix agent pingThe 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

-

-

1hagent.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 timeThe time the CPU has spent doing nothing.

-

-

system.cpu.util[,idle]
HP-UX: CPU nice timeThe time the CPU has spent running users' processes that have been niced.

-

-

system.cpu.util[,nice]
HP-UX: CPU system timeThe time the CPU has spent running the kernel and its processes.

-

-

system.cpu.util[,system]
HP-UX: CPU user timeThe time the CPU has spent running users' processes that are not niced.

-

-

system.cpu.util[,user]
HP-UX: Host nameA host name of the system.

-

1hsystem.hostname
HP-UX: Host local time

-

-

-

system.localtime
HP-UX: System informationThe information as normally returned by the 'uname -a'.

-

1hsystem.uname
HP-UX: Number of logged in usersThe number of users who are currently logged in.

-

-

system.users.num
HP-UX: Checksum of /etc/passwd

-

-

15mvfs.file.cksum[/etc/passwd,sha256]
HP-UX: Get filesystemsThe 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 memoryThe available memory is defined as free+cached+buffers memory.

-

-

vm.memory.size[available]
HP-UX: Total memory

-

-

1hvm.memory.size[total]
HP-UX: Zabbix agent availabilityMonitoring the availability status of the agent.INTERNAL

-

zabbix[host,agent,available]

Triggers​

NameDescriptionExpressionPriorityDependencies
HP-UX: Processor load is too high

-

avg(/HP-UX by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5WARNING 📢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])<20MAVERAGE ⚠HP-UX: Available memory
HP-UX: Zabbix agent is not availableFor 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})=0AVERAGE ⚠HP-UX: Zabbix agent availability

Discovery rule №1​

NameDescriptionTypeIntervalKey and additional info
Network interface discoveryThe discovery of network interfaces as defined in the global regular expression "Network interfaces for discovery".

-

1hnet.if.discovery

Item prototypes​

NameDescriptionTypeIntervalKey and additional info
Interface {#IFNAME}: Incoming network traffic

-

-

-

net.if.in[{#IFNAME}]
Interface {#IFNAME}: Outgoing network traffic

-

-

-

net.if.out[{#IFNAME}]

Discovery rule №2​

NameDescriptionTypeIntervalKey and additional info
Mounted filesystem discoveryThe discovery of different types of file systems as defined in the global regular expression "File systems for discovery".DEPENDENT0vfs.fs.dependent.discovery

Item prototypes​

NameDescriptionTypeIntervalKey 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-onlyThe 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​

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

-

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

-

last(/HP-UX by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pfree])<20WARNING 📢{#FSNAME}: Free disk space, %
{#FSNAME}: Filesystem has become read-onlyThe 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])=1AVERAGE ⚠{#FSNAME}: Filesystem is read-only