This template is for Zabbix version: 7.4
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/7.4
Solaris by Zabbix agent
Overview
This is an official Solaris OS template. It requires Zabbix agent 7.4 or newer.
Notes on filesystem (FS) discovery:
- The ext4/3/2 FS reserves space for privileged usage, typically set at 5% by default.
- BTRFS allocates a default of 10% of the volume for its own needs.
- To mitigate potential disasters, FS usage triggers are based on the maximum available space.
- Utilization formula:
pused = 100 - 100 * (available / total - free + available)
- The FS utilization chart, derived from graph prototypes, reflects FS reserved space as the difference between used and available space from the total volume.
Requirements
Zabbix version: 7.4 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
Timeout after which the agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (in passive mode). |
3m |
{$VFS.FS.FSNAME.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^(/dev|/sys|/run|/proc|.+/shm$) |
{$VFS.FS.FSNAME.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
.+ |
{$VFS.FS.FSTYPE.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
Macro too long. Please see the template. |
{$VFS.FS.FSTYPE.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^\s$ |
{$VFS.FS.INODE.PFREE.MIN.CRIT} |
The critical threshold of the filesystem metadata utilization. |
10 |
{$VFS.FS.INODE.PFREE.MIN.WARN} |
The warning threshold of the filesystem metadata utilization. |
20 |
{$VFS.FS.PUSED.MAX.CRIT} |
The critical threshold of the filesystem utilization. |
90 |
{$VFS.FS.PUSED.MAX.WARN} |
The warning threshold of the filesystem utilization. |
80 |
Items
Name |
Description |
Type |
Key and additional info |
Maximum number of processes |
May be increased by using the sysctl utility or modifying the file /etc/sysctl.conf . |
Zabbix agent |
kernel.maxproc |
Number of running processes |
The number of processes in a running state. |
Zabbix agent |
proc.num[,,run] |
Number of processes |
The total number of processes in any state. |
Zabbix agent |
proc.num[] |
Host boot time |
|
Zabbix agent |
system.boottime |
Interrupts per second |
Number of interrupts processed. |
Zabbix agent |
system.cpu.intr Preprocessing |
Processor load (1 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg1] |
Processor load (5 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg5] |
Processor load (15 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg15] |
Context switches per second |
The combined rate at which all processors on the computer are switched from one thread to another. |
Zabbix agent |
system.cpu.switches Preprocessing |
CPU idle time |
Time the CPU has spent doing nothing. |
Zabbix agent |
system.cpu.util[,idle] |
CPU iowait time |
Time the CPU has been waiting for the I/O to complete. |
Zabbix agent |
system.cpu.util[,iowait] |
CPU system time |
Time the CPU has spent running the kernel and its processes. |
Zabbix agent |
system.cpu.util[,system] |
CPU user time |
Time the CPU has spent running users' processes that are not niced. |
Zabbix agent |
system.cpu.util[,user] |
Host name |
The host name of the system. |
Zabbix agent |
system.hostname Preprocessing |
Host local time |
The local system time of the host. |
Zabbix agent |
system.localtime |
Free swap space |
The free space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,free] |
Free swap space in % |
The free space of the swap volume/file expressed in %. |
Zabbix agent |
system.swap.size[,pfree] |
Total swap space |
Total space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,total] |
System information |
Information as normally returned by uname -a . |
Zabbix agent |
system.uname Preprocessing |
System uptime |
|
Zabbix agent |
system.uptime |
Number of logged in users |
The number of users who are currently logged in. |
Zabbix agent |
system.users.num |
Checksum of /etc/passwd |
|
Zabbix agent |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing |
Available memory |
Defined as free + cached + buffers. |
Zabbix agent |
vm.memory.size[available] |
Total memory |
Total memory expressed in bytes. |
Zabbix agent |
vm.memory.size[total] |
Host name of Zabbix agent running |
|
Zabbix agent |
agent.hostname Preprocessing |
Version of Zabbix agent running |
|
Zabbix agent |
agent.version Preprocessing |
Zabbix agent availability |
Used for monitoring agent availability status |
Zabbix internal |
zabbix[host,agent,available] |
Zabbix agent ping |
The agent always returns "1" for this item. May be used in combination with nodata() for the availability check. |
Zabbix agent |
agent.ping |
Get filesystems |
The vfs.fs.get key acquires raw information set about the filesystems. Later to be extracted by preprocessing in dependent items. |
Zabbix agent |
vfs.fs.get |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: Configured max number of processes is too low |
|
last(/Solaris by Zabbix agent/kernel.maxproc)<256 |
Info |
|
Solaris: Too many processes running |
|
avg(/Solaris by Zabbix agent/proc.num[,,run],5m)>30 |
Warning |
|
Solaris: Too many processes |
|
avg(/Solaris by Zabbix agent/proc.num[],5m)>300 |
Warning |
|
Solaris: Processor load is too high |
|
avg(/Solaris by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 |
Warning |
|
Solaris: Disk I/O is overloaded |
Extended OS wait times for I/O operations may signal potential performance issues with the storage system. |
avg(/Solaris by Zabbix agent/system.cpu.util[,iowait],5m)>20 |
Warning |
|
Solaris: Hostname was changed |
|
last(/Solaris by Zabbix agent/system.hostname,#1)<>last(/Solaris by Zabbix agent/system.hostname,#2) |
Info |
|
Solaris: Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris by Zabbix agent/system.swap.size[,pfree])<50 |
Warning |
|
Solaris: Host information was changed |
|
last(/Solaris by Zabbix agent/system.uname,#1)<>last(/Solaris by Zabbix agent/system.uname,#2) |
Info |
|
Solaris: Server has just been restarted |
|
change(/Solaris by Zabbix agent/system.uptime)<0 |
Info |
|
Solaris: /etc/passwd has been changed |
|
last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) |
Warning |
|
Solaris: Lack of available memory on server |
|
last(/Solaris by Zabbix agent/vm.memory.size[available])<20M |
Average |
|
Solaris: 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(/Solaris by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
Average |
Manual close: Yes |
LLD rule Network interface discovery
Name |
Description |
Type |
Key and additional info |
Network interface discovery |
Used for the discovery of network interfaces. |
Zabbix agent |
net.if.discovery |
Item prototypes for Network interface discovery
Name |
Description |
Type |
Key and additional info |
Interface {#IFNAME}: Incoming network traffic |
|
Zabbix agent |
net.if.in[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
Interface {#IFNAME}: Outgoing network traffic |
|
Zabbix agent |
net.if.out[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
LLD rule Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
Mounted filesystem discovery |
The discovery of mounted filesystems with different types. |
Dependent item |
vfs.fs.dependent.discovery Preprocessing |
Item prototypes for Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
FS [{#FSNAME}]: Get data |
Intermediate data of {#FSNAME} filesystem. |
Dependent item |
vfs.fs.dependent[{#FSNAME},data] Preprocessing |
FS [{#FSNAME}]: Option: Read-only |
The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher. |
Dependent item |
vfs.fs.dependent[{#FSNAME},readonly] Preprocessing |
FS [{#FSNAME}]: Inodes: Free, in % |
Free metadata space expressed in %. |
Dependent item |
vfs.fs.dependent.inode[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Available |
Available storage space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},free] Preprocessing |
FS [{#FSNAME}]: Space: Available, in % |
Deprecated metric. Space availability expressed as a percentage, calculated using the current and maximum available spaces. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Used, in % |
Calculated as the percentage of currently used space compared to the maximum available space. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pused] Preprocessing |
FS [{#FSNAME}]: Space: Used |
Used storage expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},used] Preprocessing |
FS [{#FSNAME}]: Space: Total |
Total space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},total] Preprocessing |
Trigger prototypes for Mounted filesystem discovery
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: FS [{#FSNAME}]: Filesystem has become read-only |
The filesystem has become read-only, possibly due to an I/O error. Available only for Zabbix agents 6.4 and higher. |
last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1 |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"} |
Average |
|
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"} |
Warning |
Depends on:
- Solaris: FS [{#FSNAME}]: Running out of free inodes
|
Solaris: FS [{#FSNAME}]: Space is critically low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Space is low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} |
Warning |
Manual close: Yes Depends on:
- Solaris: FS [{#FSNAME}]: Space is critically low
|
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
This template is for Zabbix version: 7.2
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/7.2
Solaris by Zabbix agent
Overview
This is an official Solaris OS template. It requires Zabbix agent 7.2 or newer.
Notes on filesystem (FS) discovery:
- The ext4/3/2 FS reserves space for privileged usage, typically set at 5% by default.
- BTRFS allocates a default of 10% of the volume for its own needs.
- To mitigate potential disasters, FS usage triggers are based on the maximum available space.
- Utilization formula:
pused = 100 - 100 * (available / total - free + available)
- The FS utilization chart, derived from graph prototypes, reflects FS reserved space as the difference between used and available space from the total volume.
Requirements
Zabbix version: 7.2 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
Timeout after which the agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (in passive mode). |
3m |
{$VFS.FS.FSNAME.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^(/dev|/sys|/run|/proc|.+/shm$) |
{$VFS.FS.FSNAME.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
.+ |
{$VFS.FS.FSTYPE.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
Macro too long. Please see the template. |
{$VFS.FS.FSTYPE.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^\s$ |
{$VFS.FS.INODE.PFREE.MIN.CRIT} |
The critical threshold of the filesystem metadata utilization. |
10 |
{$VFS.FS.INODE.PFREE.MIN.WARN} |
The warning threshold of the filesystem metadata utilization. |
20 |
{$VFS.FS.PUSED.MAX.CRIT} |
The critical threshold of the filesystem utilization. |
90 |
{$VFS.FS.PUSED.MAX.WARN} |
The warning threshold of the filesystem utilization. |
80 |
Items
Name |
Description |
Type |
Key and additional info |
Maximum number of processes |
May be increased by using the sysctl utility or modifying the file /etc/sysctl.conf . |
Zabbix agent |
kernel.maxproc |
Number of running processes |
The number of processes in a running state. |
Zabbix agent |
proc.num[,,run] |
Number of processes |
The total number of processes in any state. |
Zabbix agent |
proc.num[] |
Host boot time |
|
Zabbix agent |
system.boottime |
Interrupts per second |
Number of interrupts processed. |
Zabbix agent |
system.cpu.intr Preprocessing |
Processor load (1 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg1] |
Processor load (5 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg5] |
Processor load (15 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg15] |
Context switches per second |
The combined rate at which all processors on the computer are switched from one thread to another. |
Zabbix agent |
system.cpu.switches Preprocessing |
CPU idle time |
Time the CPU has spent doing nothing. |
Zabbix agent |
system.cpu.util[,idle] |
CPU iowait time |
Time the CPU has been waiting for the I/O to complete. |
Zabbix agent |
system.cpu.util[,iowait] |
CPU system time |
Time the CPU has spent running the kernel and its processes. |
Zabbix agent |
system.cpu.util[,system] |
CPU user time |
Time the CPU has spent running users' processes that are not niced. |
Zabbix agent |
system.cpu.util[,user] |
Host name |
The host name of the system. |
Zabbix agent |
system.hostname Preprocessing |
Host local time |
The local system time of the host. |
Zabbix agent |
system.localtime |
Free swap space |
The free space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,free] |
Free swap space in % |
The free space of the swap volume/file expressed in %. |
Zabbix agent |
system.swap.size[,pfree] |
Total swap space |
Total space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,total] |
System information |
Information as normally returned by uname -a . |
Zabbix agent |
system.uname Preprocessing |
System uptime |
|
Zabbix agent |
system.uptime |
Number of logged in users |
The number of users who are currently logged in. |
Zabbix agent |
system.users.num |
Checksum of /etc/passwd |
|
Zabbix agent |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing |
Available memory |
Defined as free + cached + buffers. |
Zabbix agent |
vm.memory.size[available] |
Total memory |
Total memory expressed in bytes. |
Zabbix agent |
vm.memory.size[total] |
Host name of Zabbix agent running |
|
Zabbix agent |
agent.hostname Preprocessing |
Version of Zabbix agent running |
|
Zabbix agent |
agent.version Preprocessing |
Zabbix agent availability |
Used for monitoring agent availability status |
Zabbix internal |
zabbix[host,agent,available] |
Zabbix agent ping |
The agent always returns "1" for this item. May be used in combination with nodata() for the availability check. |
Zabbix agent |
agent.ping |
Get filesystems |
The vfs.fs.get key acquires raw information set about the filesystems. Later to be extracted by preprocessing in dependent items. |
Zabbix agent |
vfs.fs.get |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: Configured max number of processes is too low |
|
last(/Solaris by Zabbix agent/kernel.maxproc)<256 |
Info |
|
Solaris: Too many processes running |
|
avg(/Solaris by Zabbix agent/proc.num[,,run],5m)>30 |
Warning |
|
Solaris: Too many processes |
|
avg(/Solaris by Zabbix agent/proc.num[],5m)>300 |
Warning |
|
Solaris: Processor load is too high |
|
avg(/Solaris by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 |
Warning |
|
Solaris: Disk I/O is overloaded |
Extended OS wait times for I/O operations may signal potential performance issues with the storage system. |
avg(/Solaris by Zabbix agent/system.cpu.util[,iowait],5m)>20 |
Warning |
|
Solaris: Hostname was changed |
|
last(/Solaris by Zabbix agent/system.hostname,#1)<>last(/Solaris by Zabbix agent/system.hostname,#2) |
Info |
|
Solaris: Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris by Zabbix agent/system.swap.size[,pfree])<50 |
Warning |
|
Solaris: Host information was changed |
|
last(/Solaris by Zabbix agent/system.uname,#1)<>last(/Solaris by Zabbix agent/system.uname,#2) |
Info |
|
Solaris: Server has just been restarted |
|
change(/Solaris by Zabbix agent/system.uptime)<0 |
Info |
|
Solaris: /etc/passwd has been changed |
|
last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) |
Warning |
|
Solaris: Lack of available memory on server |
|
last(/Solaris by Zabbix agent/vm.memory.size[available])<20M |
Average |
|
Solaris: 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(/Solaris by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
Average |
Manual close: Yes |
LLD rule Network interface discovery
Name |
Description |
Type |
Key and additional info |
Network interface discovery |
Used for the discovery of network interfaces. |
Zabbix agent |
net.if.discovery |
Item prototypes for Network interface discovery
Name |
Description |
Type |
Key and additional info |
Interface {#IFNAME}: Incoming network traffic |
|
Zabbix agent |
net.if.in[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
Interface {#IFNAME}: Outgoing network traffic |
|
Zabbix agent |
net.if.out[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
LLD rule Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
Mounted filesystem discovery |
The discovery of mounted filesystems with different types. |
Dependent item |
vfs.fs.dependent.discovery Preprocessing |
Item prototypes for Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
FS [{#FSNAME}]: Get data |
Intermediate data of {#FSNAME} filesystem. |
Dependent item |
vfs.fs.dependent[{#FSNAME},data] Preprocessing |
FS [{#FSNAME}]: Option: Read-only |
The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher. |
Dependent item |
vfs.fs.dependent[{#FSNAME},readonly] Preprocessing |
FS [{#FSNAME}]: Inodes: Free, in % |
Free metadata space expressed in %. |
Dependent item |
vfs.fs.dependent.inode[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Available |
Available storage space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},free] Preprocessing |
FS [{#FSNAME}]: Space: Available, in % |
Deprecated metric. Space availability expressed as a percentage, calculated using the current and maximum available spaces. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Used, in % |
Calculated as the percentage of currently used space compared to the maximum available space. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pused] Preprocessing |
FS [{#FSNAME}]: Space: Used |
Used storage expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},used] Preprocessing |
FS [{#FSNAME}]: Space: Total |
Total space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},total] Preprocessing |
Trigger prototypes for Mounted filesystem discovery
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: FS [{#FSNAME}]: Filesystem has become read-only |
The filesystem has become read-only, possibly due to an I/O error. Available only for Zabbix agents 6.4 and higher. |
last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1 |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"} |
Average |
|
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"} |
Warning |
Depends on:
- Solaris: FS [{#FSNAME}]: Running out of free inodes
|
Solaris: FS [{#FSNAME}]: Space is critically low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Space is low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} |
Warning |
Manual close: Yes Depends on:
- Solaris: FS [{#FSNAME}]: Space is critically low
|
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
This template is for Zabbix version: 7.0
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/7.0
Solaris by Zabbix agent
Overview
This is an official Solaris OS template. It requires Zabbix agent 7.0 or newer.
Notes on filesystem (FS) discovery:
- The ext4/3/2 FS reserves space for privileged usage, typically set at 5% by default.
- BTRFS allocates a default of 10% of the volume for its own needs.
- To mitigate potential disasters, FS usage triggers are based on the maximum available space.
- Utilization formula:
pused = 100 - 100 * (available / total - free + available)
- The FS utilization chart, derived from graph prototypes, reflects FS reserved space as the difference between used and available space from the total volume.
Requirements
Zabbix version: 7.0 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
Timeout after which the agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (in passive mode). |
3m |
{$VFS.FS.FSNAME.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^(/dev|/sys|/run|/proc|.+/shm$) |
{$VFS.FS.FSNAME.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
.+ |
{$VFS.FS.FSTYPE.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
Macro too long. Please see the template. |
{$VFS.FS.FSTYPE.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^\s$ |
{$VFS.FS.INODE.PFREE.MIN.CRIT} |
The critical threshold of the filesystem metadata utilization. |
10 |
{$VFS.FS.INODE.PFREE.MIN.WARN} |
The warning threshold of the filesystem metadata utilization. |
20 |
{$VFS.FS.PUSED.MAX.CRIT} |
The critical threshold of the filesystem utilization. |
90 |
{$VFS.FS.PUSED.MAX.WARN} |
The warning threshold of the filesystem utilization. |
80 |
Items
Name |
Description |
Type |
Key and additional info |
Maximum number of processes |
May be increased by using the sysctl utility or modifying the file /etc/sysctl.conf . |
Zabbix agent |
kernel.maxproc |
Number of running processes |
The number of processes in a running state. |
Zabbix agent |
proc.num[,,run] |
Number of processes |
The total number of processes in any state. |
Zabbix agent |
proc.num[] |
Host boot time |
|
Zabbix agent |
system.boottime |
Interrupts per second |
Number of interrupts processed. |
Zabbix agent |
system.cpu.intr Preprocessing |
Processor load (1 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg1] |
Processor load (5 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg5] |
Processor load (15 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg15] |
Context switches per second |
The combined rate at which all processors on the computer are switched from one thread to another. |
Zabbix agent |
system.cpu.switches Preprocessing |
CPU idle time |
Time the CPU has spent doing nothing. |
Zabbix agent |
system.cpu.util[,idle] |
CPU iowait time |
Time the CPU has been waiting for the I/O to complete. |
Zabbix agent |
system.cpu.util[,iowait] |
CPU system time |
Time the CPU has spent running the kernel and its processes. |
Zabbix agent |
system.cpu.util[,system] |
CPU user time |
Time the CPU has spent running users' processes that are not niced. |
Zabbix agent |
system.cpu.util[,user] |
Host name |
The host name of the system. |
Zabbix agent |
system.hostname Preprocessing |
Host local time |
The local system time of the host. |
Zabbix agent |
system.localtime |
Free swap space |
The free space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,free] |
Free swap space in % |
The free space of the swap volume/file expressed in %. |
Zabbix agent |
system.swap.size[,pfree] |
Total swap space |
Total space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,total] |
System information |
Information as normally returned by uname -a . |
Zabbix agent |
system.uname Preprocessing |
System uptime |
|
Zabbix agent |
system.uptime |
Number of logged in users |
The number of users who are currently logged in. |
Zabbix agent |
system.users.num |
Checksum of /etc/passwd |
|
Zabbix agent |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing |
Available memory |
Defined as free + cached + buffers. |
Zabbix agent |
vm.memory.size[available] |
Total memory |
Total memory expressed in bytes. |
Zabbix agent |
vm.memory.size[total] |
Host name of Zabbix agent running |
|
Zabbix agent |
agent.hostname Preprocessing |
Version of Zabbix agent running |
|
Zabbix agent |
agent.version Preprocessing |
Zabbix agent availability |
Used for monitoring agent availability status |
Zabbix internal |
zabbix[host,agent,available] |
Zabbix agent ping |
The agent always returns "1" for this item. May be used in combination with nodata() for the availability check. |
Zabbix agent |
agent.ping |
Get filesystems |
The vfs.fs.get key acquires raw information set about the filesystems. Later to be extracted by preprocessing in dependent items. |
Zabbix agent |
vfs.fs.get |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: Configured max number of processes is too low |
|
last(/Solaris by Zabbix agent/kernel.maxproc)<256 |
Info |
|
Solaris: Too many processes running |
|
avg(/Solaris by Zabbix agent/proc.num[,,run],5m)>30 |
Warning |
|
Solaris: Too many processes |
|
avg(/Solaris by Zabbix agent/proc.num[],5m)>300 |
Warning |
|
Solaris: Processor load is too high |
|
avg(/Solaris by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 |
Warning |
|
Solaris: Disk I/O is overloaded |
Extended OS wait times for I/O operations may signal potential performance issues with the storage system. |
avg(/Solaris by Zabbix agent/system.cpu.util[,iowait],5m)>20 |
Warning |
|
Solaris: Hostname was changed |
|
last(/Solaris by Zabbix agent/system.hostname,#1)<>last(/Solaris by Zabbix agent/system.hostname,#2) |
Info |
|
Solaris: Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris by Zabbix agent/system.swap.size[,pfree])<50 |
Warning |
|
Solaris: Host information was changed |
|
last(/Solaris by Zabbix agent/system.uname,#1)<>last(/Solaris by Zabbix agent/system.uname,#2) |
Info |
|
Solaris: Server has just been restarted |
|
change(/Solaris by Zabbix agent/system.uptime)<0 |
Info |
|
Solaris: /etc/passwd has been changed |
|
last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) |
Warning |
|
Solaris: Lack of available memory on server |
|
last(/Solaris by Zabbix agent/vm.memory.size[available])<20M |
Average |
|
Solaris: 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(/Solaris by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
Average |
Manual close: Yes |
LLD rule Network interface discovery
Name |
Description |
Type |
Key and additional info |
Network interface discovery |
Used for the discovery of network interfaces. |
Zabbix agent |
net.if.discovery |
Item prototypes for Network interface discovery
Name |
Description |
Type |
Key and additional info |
Interface {#IFNAME}: Incoming network traffic |
|
Zabbix agent |
net.if.in[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
Interface {#IFNAME}: Outgoing network traffic |
|
Zabbix agent |
net.if.out[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
LLD rule Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
Mounted filesystem discovery |
The discovery of mounted filesystems with different types. |
Dependent item |
vfs.fs.dependent.discovery Preprocessing |
Item prototypes for Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
FS [{#FSNAME}]: Get data |
Intermediate data of {#FSNAME} filesystem. |
Dependent item |
vfs.fs.dependent[{#FSNAME},data] Preprocessing |
FS [{#FSNAME}]: Option: Read-only |
The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher. |
Dependent item |
vfs.fs.dependent[{#FSNAME},readonly] Preprocessing |
FS [{#FSNAME}]: Inodes: Free, in % |
Free metadata space expressed in %. |
Dependent item |
vfs.fs.dependent.inode[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Available |
Available storage space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},free] Preprocessing |
FS [{#FSNAME}]: Space: Available, in % |
Deprecated metric. Space availability expressed as a percentage, calculated using the current and maximum available spaces. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Used, in % |
Calculated as the percentage of currently used space compared to the maximum available space. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pused] Preprocessing |
FS [{#FSNAME}]: Space: Used |
Used storage expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},used] Preprocessing |
FS [{#FSNAME}]: Space: Total |
Total space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},total] Preprocessing |
Trigger prototypes for Mounted filesystem discovery
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: FS [{#FSNAME}]: Filesystem has become read-only |
The filesystem has become read-only, possibly due to an I/O error. Available only for Zabbix agents 6.4 and higher. |
last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1 |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"} |
Average |
|
Solaris: FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"} |
Warning |
Depends on:
- Solaris: FS [{#FSNAME}]: Running out of free inodes
|
Solaris: FS [{#FSNAME}]: Space is critically low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} |
Average |
Manual close: Yes |
Solaris: FS [{#FSNAME}]: Space is low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} |
Warning |
Manual close: Yes Depends on:
- Solaris: FS [{#FSNAME}]: Space is critically low
|
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
This template is for Zabbix version: 6.4
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/6.4
Solaris by Zabbix agent
Overview
This is an official Solaris OS template. It requires Zabbix agent 6.4 or newer.
Notes on filesystem (FS) discovery:
- The ext4/3/2 FS reserves space for privileged usage, typically set at 5% by default.
- BTRFS allocates a default of 10% of the volume for its own needs.
- To mitigate potential disasters, FS usage triggers are based on the maximum available space.
- Utilization formula:
pused = 100 - 100 * (available / total - free + available)
- The FS utilization chart, derived from graph prototypes, reflects FS reserved space as the difference between used and available space from the total volume.
Requirements
Zabbix version: 6.4 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
Timeout after which the agent is considered unavailable. Works only for agents reachable from Zabbix server/proxy (in passive mode). |
3m |
{$VFS.FS.FSNAME.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^(/dev|/sys|/run|/proc|.+/shm$) |
{$VFS.FS.FSNAME.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
.+ |
{$VFS.FS.FSTYPE.MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
Macro too long. Please see the template. |
{$VFS.FS.FSTYPE.NOT_MATCHES} |
Used for filesystem discovery. Can be overridden on the host or linked template level. |
^\s$ |
{$VFS.FS.INODE.PFREE.MIN.CRIT} |
The critical threshold of the filesystem metadata utilization. |
10 |
{$VFS.FS.INODE.PFREE.MIN.WARN} |
The warning threshold of the filesystem metadata utilization. |
20 |
{$VFS.FS.PUSED.MAX.CRIT} |
The critical threshold of the filesystem utilization. |
90 |
{$VFS.FS.PUSED.MAX.WARN} |
The warning threshold of the filesystem utilization. |
80 |
Items
Name |
Description |
Type |
Key and additional info |
Solaris: Maximum number of processes |
May be increased by using the sysctl utility or modifying the file /etc/sysctl.conf . |
Zabbix agent |
kernel.maxproc |
Solaris: Number of running processes |
The number of processes in a running state. |
Zabbix agent |
proc.num[,,run] |
Solaris: Number of processes |
The total number of processes in any state. |
Zabbix agent |
proc.num[] |
Solaris: Host boot time |
|
Zabbix agent |
system.boottime |
Solaris: Interrupts per second |
Number of interrupts processed. |
Zabbix agent |
system.cpu.intr Preprocessing |
Solaris: Processor load (1 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg1] |
Solaris: Processor load (5 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg5] |
Solaris: Processor load (15 min average per core) |
Calculated as the system CPU load divided by the number of CPU cores. |
Zabbix agent |
system.cpu.load[percpu,avg15] |
Solaris: Context switches per second |
The combined rate at which all processors on the computer are switched from one thread to another. |
Zabbix agent |
system.cpu.switches Preprocessing |
Solaris: CPU idle time |
Time the CPU has spent doing nothing. |
Zabbix agent |
system.cpu.util[,idle] |
Solaris: CPU iowait time |
Time the CPU has been waiting for the I/O to complete. |
Zabbix agent |
system.cpu.util[,iowait] |
Solaris: CPU system time |
Time the CPU has spent running the kernel and its processes. |
Zabbix agent |
system.cpu.util[,system] |
Solaris: CPU user time |
Time the CPU has spent running users' processes that are not niced. |
Zabbix agent |
system.cpu.util[,user] |
Solaris: Host name |
The host name of the system. |
Zabbix agent |
system.hostname Preprocessing |
Solaris: Host local time |
The local system time of the host. |
Zabbix agent |
system.localtime |
Solaris: Free swap space |
The free space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,free] |
Solaris: Free swap space in % |
The free space of the swap volume/file expressed in %. |
Zabbix agent |
system.swap.size[,pfree] |
Solaris: Total swap space |
Total space of the swap volume/file expressed in bytes. |
Zabbix agent |
system.swap.size[,total] |
Solaris: System information |
Information as normally returned by uname -a . |
Zabbix agent |
system.uname Preprocessing |
Solaris: System uptime |
|
Zabbix agent |
system.uptime |
Solaris: Number of logged in users |
The number of users who are currently logged in. |
Zabbix agent |
system.users.num |
Solaris: Checksum of /etc/passwd |
|
Zabbix agent |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing |
Solaris: Available memory |
Defined as free + cached + buffers. |
Zabbix agent |
vm.memory.size[available] |
Solaris: Total memory |
Total memory expressed in bytes. |
Zabbix agent |
vm.memory.size[total] |
Solaris: Host name of Zabbix agent running |
|
Zabbix agent |
agent.hostname Preprocessing |
Solaris: Version of Zabbix agent running |
|
Zabbix agent |
agent.version Preprocessing |
Solaris: Zabbix agent availability |
Used for monitoring agent availability status |
Zabbix internal |
zabbix[host,agent,available] |
Solaris: Zabbix agent ping |
The agent always returns "1" for this item. May be used in combination with nodata() for the availability check. |
Zabbix agent |
agent.ping |
Solaris: Get filesystems |
The vfs.fs.get key acquires raw information set about the filesystems. Later to be extracted by preprocessing in dependent items. |
Zabbix agent |
vfs.fs.get |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: Configured max number of processes is too low |
|
last(/Solaris by Zabbix agent/kernel.maxproc)<256 |
Info |
|
Solaris: Too many processes running |
|
avg(/Solaris by Zabbix agent/proc.num[,,run],5m)>30 |
Warning |
|
Solaris: Too many processes |
|
avg(/Solaris by Zabbix agent/proc.num[],5m)>300 |
Warning |
|
Solaris: Processor load is too high |
|
avg(/Solaris by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 |
Warning |
|
Solaris: Disk I/O is overloaded |
Extended OS wait times for I/O operations may signal potential performance issues with the storage system. |
avg(/Solaris by Zabbix agent/system.cpu.util[,iowait],5m)>20 |
Warning |
|
Solaris: Hostname was changed |
|
last(/Solaris by Zabbix agent/system.hostname,#1)<>last(/Solaris by Zabbix agent/system.hostname,#2) |
Info |
|
Solaris: Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris by Zabbix agent/system.swap.size[,pfree])<50 |
Warning |
|
Solaris: Host information was changed |
|
last(/Solaris by Zabbix agent/system.uname,#1)<>last(/Solaris by Zabbix agent/system.uname,#2) |
Info |
|
Solaris: Server has just been restarted |
|
change(/Solaris by Zabbix agent/system.uptime)<0 |
Info |
|
Solaris: /etc/passwd has been changed |
|
last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) |
Warning |
|
Solaris: Lack of available memory on server |
|
last(/Solaris by Zabbix agent/vm.memory.size[available])<20M |
Average |
|
Solaris: 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(/Solaris by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
Average |
Manual close: Yes |
LLD rule Network interface discovery
Name |
Description |
Type |
Key and additional info |
Network interface discovery |
Used for the discovery of network interfaces. |
Zabbix agent |
net.if.discovery |
Item prototypes for Network interface discovery
Name |
Description |
Type |
Key and additional info |
Interface {#IFNAME}: Incoming network traffic |
|
Zabbix agent |
net.if.in[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
Interface {#IFNAME}: Outgoing network traffic |
|
Zabbix agent |
net.if.out[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
LLD rule Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
Mounted filesystem discovery |
The discovery of mounted filesystems with different types. |
Dependent item |
vfs.fs.dependent.discovery Preprocessing |
Item prototypes for Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
FS [{#FSNAME}]: Get data |
Intermediate data of {#FSNAME} filesystem. |
Dependent item |
vfs.fs.dependent[{#FSNAME},data] Preprocessing |
FS [{#FSNAME}]: Option: Read-only |
The filesystem is mounted as read-only. It is available only for Zabbix agents 6.4 and higher. |
Dependent item |
vfs.fs.dependent[{#FSNAME},readonly] Preprocessing |
FS [{#FSNAME}]: Inodes: Free, in % |
Free metadata space expressed in %. |
Dependent item |
vfs.fs.dependent.inode[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Available |
Available storage space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},free] Preprocessing |
FS [{#FSNAME}]: Space: Available, in % |
Deprecated metric. Space availability expressed as a percentage, calculated using the current and maximum available spaces. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pfree] Preprocessing |
FS [{#FSNAME}]: Space: Used, in % |
Calculated as the percentage of currently used space compared to the maximum available space. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},pused] Preprocessing |
FS [{#FSNAME}]: Space: Used |
Used storage expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},used] Preprocessing |
FS [{#FSNAME}]: Space: Total |
Total space expressed in bytes. |
Dependent item |
vfs.fs.dependent.size[{#FSNAME},total] Preprocessing |
Trigger prototypes for Mounted filesystem discovery
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
FS [{#FSNAME}]: Filesystem has become read-only |
The filesystem has become read-only, possibly due to an I/O error. Available only for Zabbix agents 6.4 and higher. |
last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly],#2)=0 and last(/Solaris by Zabbix agent/vfs.fs.dependent[{#FSNAME},readonly])=1 |
Average |
Manual close: Yes |
FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.CRIT:"{#FSNAME}"} |
Average |
|
FS [{#FSNAME}]: Running out of free inodes |
Disk writing may fail if index nodes are exhausted, leading to error messages like "No space left on device" or "Disk is full", despite available free space. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.inode[{#FSNAME},pfree],5m)<{$VFS.FS.INODE.PFREE.MIN.WARN:"{#FSNAME}"} |
Warning |
Depends on:
- FS [{#FSNAME}]: Running out of free inodes
|
FS [{#FSNAME}]: Space is critically low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"} |
Average |
Manual close: Yes |
FS [{#FSNAME}]: Space is low |
The volume's space usage exceeds the {$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"}% limit. The trigger expression is based on the current used and maximum available spaces. Event name represents the total volume space, which can differ from the maximum available space, depending on the filesystem type. |
min(/Solaris by Zabbix agent/vfs.fs.dependent.size[{#FSNAME},pused],5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSNAME}"} |
Warning |
Manual close: Yes Depends on:
- FS [{#FSNAME}]: Space is critically low
|
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
This template is for Zabbix version: 6.2
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/6.2
Solaris
Overview
For Zabbix version: 6.2 and higher.
It is an official Solaris OS template. It requires Zabbix agent 4.0.0 or newer.
Setup
See Zabbix template operation for basic instructions.
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Zabbix configuration
No specific Zabbix configuration is required.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
The timeout after which the 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 |
Discovery of different types of file systems as defined in the global regular expression "File systems for discovery". |
ZABBIX_PASSIVE |
vfs.fs.discovery Filter: - {#FSTYPE} MATCHES_REGEX @File systems for discovery Overrides: Skip metadata collection for dynamic FS - {#FSTYPE} MATCHES_REGEX `^(btrfs |
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 |
Solaris |
Maximum number of processes |
It could be increased by using the sysctl utility or modifying the file /etc/sysctl.conf. |
ZABBIX_PASSIVE |
kernel.maxproc |
Solaris |
Number of running processes |
The number of processes in a running state. |
ZABBIX_PASSIVE |
proc.num[,,run] |
Solaris |
Number of processes |
The total number of processes in any state. |
ZABBIX_PASSIVE |
proc.num[] |
Solaris |
Host boot time |
- |
ZABBIX_PASSIVE |
system.boottime |
Solaris |
Interrupts per second |
- |
ZABBIX_PASSIVE |
system.cpu.intr Preprocessing: - CHANGE_PER_SECOND |
Solaris |
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] |
Solaris |
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] |
Solaris |
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] |
Solaris |
Context switches per second |
- |
ZABBIX_PASSIVE |
system.cpu.switches Preprocessing: - CHANGE_PER_SECOND |
Solaris |
CPU idle time |
The time the CPU has spent doing nothing. |
ZABBIX_PASSIVE |
system.cpu.util[,idle] |
Solaris |
CPU iowait time |
The amount of time the CPU has been waiting for the I/O to complete. |
ZABBIX_PASSIVE |
system.cpu.util[,iowait] |
Solaris |
CPU system time |
The time the CPU has spent running the kernel and its processes. |
ZABBIX_PASSIVE |
system.cpu.util[,system] |
Solaris |
CPU user time |
The time the CPU has spent running users' processes that are not niced. |
ZABBIX_PASSIVE |
system.cpu.util[,user] |
Solaris |
Host name |
A host name of the system. |
ZABBIX_PASSIVE |
system.hostname Preprocessing: - DISCARD_UNCHANGED_HEARTBEAT: 1d |
Solaris |
Host local time |
- |
ZABBIX_PASSIVE |
system.localtime |
Solaris |
Free swap space |
- |
ZABBIX_PASSIVE |
system.swap.size[,free] |
Solaris |
Free swap space in % |
- |
ZABBIX_PASSIVE |
system.swap.size[,pfree] |
Solaris |
Total swap space |
- |
ZABBIX_PASSIVE |
system.swap.size[,total] |
Solaris |
System information |
The information as normally returned by the 'uname -a'. |
ZABBIX_PASSIVE |
system.uname Preprocessing: - DISCARD_UNCHANGED_HEARTBEAT: 1d |
Solaris |
System uptime |
- |
ZABBIX_PASSIVE |
system.uptime |
Solaris |
Number of logged in users |
The number of users who are currently logged in. |
ZABBIX_PASSIVE |
system.users.num |
Solaris |
Checksum of /etc/passwd |
- |
ZABBIX_PASSIVE |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing: - DISCARD_UNCHANGED_HEARTBEAT: 1h |
Solaris |
Available memory |
The available memory is defined as free+cached+buffers memory. |
ZABBIX_PASSIVE |
vm.memory.size[available] |
Solaris |
Total memory |
- |
ZABBIX_PASSIVE |
vm.memory.size[total] |
Solaris |
Host name of Zabbix agent running |
- |
ZABBIX_PASSIVE |
agent.hostname Preprocessing: - DISCARD_UNCHANGED_HEARTBEAT: 1d |
Solaris |
Version of Zabbix agent running |
- |
ZABBIX_PASSIVE |
agent.version Preprocessing: - DISCARD_UNCHANGED_HEARTBEAT: 1d |
Solaris |
Zabbix agent availability |
Monitoring agent availability status |
INTERNAL |
zabbix[host,agent,available] |
Solaris |
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 |
Solaris |
Interface {#IFNAME}: Incoming network traffic |
- |
ZABBIX_PASSIVE |
net.if.in[{#IFNAME}] Preprocessing: - CHANGE_PER_SECOND - MULTIPLIER: 8 |
Solaris |
Interface {#IFNAME}: Outgoing network traffic |
- |
ZABBIX_PASSIVE |
net.if.out[{#IFNAME}] Preprocessing: - CHANGE_PER_SECOND - MULTIPLIER: 8 |
Solaris |
{#FSNAME}: Free inodes (percentage) |
- |
ZABBIX_PASSIVE |
vfs.fs.inode[{#FSNAME},pfree] |
Solaris |
{#FSNAME}: Free disk space |
- |
ZABBIX_PASSIVE |
vfs.fs.size[{#FSNAME},free] |
Solaris |
{#FSNAME}: Free disk space (percentage) |
- |
ZABBIX_PASSIVE |
vfs.fs.size[{#FSNAME},pfree] |
Solaris |
{#FSNAME}: Total disk space |
- |
ZABBIX_PASSIVE |
vfs.fs.size[{#FSNAME},total] |
Solaris |
{#FSNAME}: Used disk space |
- |
ZABBIX_PASSIVE |
vfs.fs.size[{#FSNAME},used] |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Configured max number of processes is too low |
- |
last(/Solaris/kernel.maxproc)<256 |
INFO |
|
Too many processes running |
- |
avg(/Solaris/proc.num[,,run],5m)>30 |
WARNING |
|
Too many processes |
- |
avg(/Solaris/proc.num[],5m)>300 |
WARNING |
|
Processor load is too high |
- |
avg(/Solaris/system.cpu.load[percpu,avg1],5m)>5 |
WARNING |
|
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(/Solaris/system.cpu.util[,iowait],5m)>20 |
WARNING |
|
Hostname was changed |
- |
last(/Solaris/system.hostname,#1)<>last(/Solaris/system.hostname,#2) |
INFO |
|
Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris/system.swap.size[,pfree])<50 |
WARNING |
|
Host information was changed |
- |
last(/Solaris/system.uname,#1)<>last(/Solaris/system.uname,#2) |
INFO |
|
Server has just been restarted |
- |
change(/Solaris/system.uptime)<0 |
INFO |
|
/etc/passwd has been changed |
- |
last(/Solaris/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris/vfs.file.cksum[/etc/passwd,sha256],#2) |
WARNING |
|
Lack of available memory on server |
- |
last(/Solaris/vm.memory.size[available])<20M |
AVERAGE |
|
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(/Solaris/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
AVERAGE |
Manual close: YES |
{#FSNAME}: Free inodes is less than 20% |
- |
last(/Solaris/vfs.fs.inode[{#FSNAME},pfree])<20 |
WARNING |
|
{#FSNAME}: Free disk space is less than 20% |
- |
last(/Solaris/vfs.fs.size[{#FSNAME},pfree])<20 |
WARNING |
|
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.
This template is for Zabbix version: 6.0
Source: https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/os/solaris?at=release/6.0
Solaris by Zabbix agent
Overview
It is an official Solaris OS template. It requires Zabbix agent 6.0 or newer.
Requirements
Zabbix version: 6.0 and higher.
Tested versions
This template has been tested on:
Configuration
Zabbix should be configured according to the instructions in the Templates out of the box section.
Setup
Install Zabbix agent on Solaris OS according to Zabbix documentation.
Macros used
Name |
Description |
Default |
{$AGENT.TIMEOUT} |
The timeout after which the agent is considered unavailable. It works only for the agents reachable from Zabbix server/proxy (in passive mode). |
3m |
Items
Name |
Description |
Type |
Key and additional info |
Solaris: Maximum number of processes |
It could be increased by using the sysctl utility or modifying the file /etc/sysctl.conf. |
Zabbix agent |
kernel.maxproc |
Solaris: Number of running processes |
The number of processes in a running state. |
Zabbix agent |
proc.num[,,run] |
Solaris: Number of processes |
The total number of processes in any state. |
Zabbix agent |
proc.num[] |
Solaris: Host boot time |
|
Zabbix agent |
system.boottime |
Solaris: Interrupts per second |
|
Zabbix agent |
system.cpu.intr Preprocessing |
Solaris: 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 agent |
system.cpu.load[percpu,avg1] |
Solaris: 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 agent |
system.cpu.load[percpu,avg5] |
Solaris: 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 agent |
system.cpu.load[percpu,avg15] |
Solaris: Context switches per second |
|
Zabbix agent |
system.cpu.switches Preprocessing |
Solaris: CPU idle time |
The time the CPU has spent doing nothing. |
Zabbix agent |
system.cpu.util[,idle] |
Solaris: CPU iowait time |
The amount of time the CPU has been waiting for the I/O to complete. |
Zabbix agent |
system.cpu.util[,iowait] |
Solaris: CPU system time |
The time the CPU has spent running the kernel and its processes. |
Zabbix agent |
system.cpu.util[,system] |
Solaris: CPU user time |
The time the CPU has spent running users' processes that are not niced. |
Zabbix agent |
system.cpu.util[,user] |
Solaris: Host name |
A host name of the system. |
Zabbix agent |
system.hostname Preprocessing |
Solaris: Host local time |
|
Zabbix agent |
system.localtime |
Solaris: Free swap space |
|
Zabbix agent |
system.swap.size[,free] |
Solaris: Free swap space in % |
|
Zabbix agent |
system.swap.size[,pfree] |
Solaris: Total swap space |
|
Zabbix agent |
system.swap.size[,total] |
Solaris: System information |
The information as normally returned by the 'uname -a'. |
Zabbix agent |
system.uname Preprocessing |
Solaris: System uptime |
|
Zabbix agent |
system.uptime |
Solaris: Number of logged in users |
The number of users who are currently logged in. |
Zabbix agent |
system.users.num |
Solaris: Checksum of /etc/passwd |
|
Zabbix agent |
vfs.file.cksum[/etc/passwd,sha256] Preprocessing |
Solaris: Available memory |
The available memory is defined as free+cached+buffers memory. |
Zabbix agent |
vm.memory.size[available] |
Solaris: Total memory |
|
Zabbix agent |
vm.memory.size[total] |
Solaris: Host name of Zabbix agent running |
|
Zabbix agent |
agent.hostname Preprocessing |
Solaris: Version of Zabbix agent running |
|
Zabbix agent |
agent.version Preprocessing |
Solaris: Zabbix agent availability |
Monitoring agent availability status |
Zabbix internal |
zabbix[host,agent,available] |
Solaris: Zabbix agent ping |
The agent always returns 1 for this item. It could be used in combination with nodata() for the availability check. |
Zabbix agent |
agent.ping |
Triggers
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
Solaris: Configured max number of processes is too low |
|
last(/Solaris by Zabbix agent/kernel.maxproc)<256 |
Info |
|
Solaris: Too many processes running |
|
avg(/Solaris by Zabbix agent/proc.num[,,run],5m)>30 |
Warning |
|
Solaris: Too many processes |
|
avg(/Solaris by Zabbix agent/proc.num[],5m)>300 |
Warning |
|
Solaris: Processor load is too high |
|
avg(/Solaris by Zabbix agent/system.cpu.load[percpu,avg1],5m)>5 |
Warning |
|
Solaris: 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(/Solaris by Zabbix agent/system.cpu.util[,iowait],5m)>20 |
Warning |
|
Solaris: Hostname was changed |
|
last(/Solaris by Zabbix agent/system.hostname,#1)<>last(/Solaris by Zabbix agent/system.hostname,#2) |
Info |
|
Solaris: Lack of free swap space |
It probably means that the systems requires more physical memory. |
last(/Solaris by Zabbix agent/system.swap.size[,pfree])<50 |
Warning |
|
Solaris: Host information was changed |
|
last(/Solaris by Zabbix agent/system.uname,#1)<>last(/Solaris by Zabbix agent/system.uname,#2) |
Info |
|
Solaris: Server has just been restarted |
|
change(/Solaris by Zabbix agent/system.uptime)<0 |
Info |
|
Solaris: /etc/passwd has been changed |
|
last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#1)<>last(/Solaris by Zabbix agent/vfs.file.cksum[/etc/passwd,sha256],#2) |
Warning |
|
Solaris: Lack of available memory on server |
|
last(/Solaris by Zabbix agent/vm.memory.size[available])<20M |
Average |
|
Solaris: 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(/Solaris by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0 |
Average |
Manual close: Yes |
LLD rule Network interface discovery
Name |
Description |
Type |
Key and additional info |
Network interface discovery |
The discovery of network interfaces as defined in the global regular expression "Network interfaces for discovery". |
Zabbix agent |
net.if.discovery |
Item prototypes for Network interface discovery
Name |
Description |
Type |
Key and additional info |
Interface {#IFNAME}: Incoming network traffic |
|
Zabbix agent |
net.if.in[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
Interface {#IFNAME}: Outgoing network traffic |
|
Zabbix agent |
net.if.out[{#IFNAME}] Preprocessing - Change per second
Custom multiplier: 8
|
LLD rule Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
Mounted filesystem discovery |
Discovery of different types of file systems as defined in the global regular expression "File systems for discovery". |
Zabbix agent |
vfs.fs.discovery |
Item prototypes for Mounted filesystem discovery
Name |
Description |
Type |
Key and additional info |
{#FSNAME}: Free inodes (percentage) |
|
Zabbix agent |
vfs.fs.inode[{#FSNAME},pfree] |
{#FSNAME}: Free disk space |
|
Zabbix agent |
vfs.fs.size[{#FSNAME},free] |
{#FSNAME}: Free disk space (percentage) |
|
Zabbix agent |
vfs.fs.size[{#FSNAME},pfree] |
{#FSNAME}: Total disk space |
|
Zabbix agent |
vfs.fs.size[{#FSNAME},total] |
{#FSNAME}: Used disk space |
|
Zabbix agent |
vfs.fs.size[{#FSNAME},used] |
Trigger prototypes for Mounted filesystem discovery
Name |
Description |
Expression |
Severity |
Dependencies and additional info |
{#FSNAME}: Free inodes is less than 20% |
|
last(/Solaris by Zabbix agent/vfs.fs.inode[{#FSNAME},pfree])<20 |
Warning |
|
{#FSNAME}: Free disk space is less than 20% |
|
last(/Solaris by Zabbix agent/vfs.fs.size[{#FSNAME},pfree])<20 |
Warning |
|
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
Link |
Source |
Compatibility |
Type, Technology |
Created Updated |
Rating |
Simple scripts and zabbix template for showing some disk statistics in Solaris
Simple scripts and zabbix template for showing some disk statisticsin Solaris
github.com/matejzero/zabbix-solaris-scripts
|
This ansible role can be used to install and configure zabbix-agent on RHEL 5/6/7 and Solaris 10 servers.
This ansible role install and configure zabbix-agent on Red Hat Enterprise Linux and Oracle Solaris servers.
github.com/kdiegorsantos/zabbix-agent
|
See all Zabbix community templates