Create a template First
Create a discovery rule in a template
Mounted filesystem discovery
Vfs.fs.discovery
Filters for and/or {#FSTYPE} matches @File systems for discovery
Project prototype 1
Free disk space on {#FSNAME}
vfs.fs.size[{#FSNAME},free]
Number of the non-positive
Decimal digits
Unit is b
Both the stored value and the display value are unchanged
Apply set to FileSystem
Project prototype 2
Free disk space on {#FSNAME} (percentage)
vfs.fs.size[{#FSNAME},pfree]
Number of the non-positive
Decimal digits
Unit is b
Application Set is Filesystenm
Project prototype 3
Free inodes on {#FSNAME} (percentage)
vfs.fs.inode[{#FSNAME},pfree]
Number of the non-positive
Decimal digits
Unit is b
Apply set to FileSystem
Project prototype 4
Total disk space on {#FSNAME}
vfs.fs.size[{#FSNAME},total]
Number of the non-positive
Decimal digits
Unit is b
Application Set is Filedydtem
Project Prototype 5
Used disk space on {#FSNAME}
vfs.fs.size[{#FSNAME},used]
Number of the non-positive
Decimal digits
Unit is b
Application Set is filesystem
These five simple project prototypes can be added according to your actual needs
Create a new graphic prototype
Disk space usage {#FSNAME}
Add two prototypes in. Free disk space on {#FSNAME} and total disk space on {#FSNAME}
Add Trigger
New Trigger 1
Free inodes are less than 20% on volume {#FSNAME}
Expression {server template:vfs.fs.inode[{#FSNAME},pfree].last (0)}<20
New Plus Trigger 2
Free disk space was less than 20% on volume {#FSNAME}
Expression is
|
{Server template:vfs.fs.size[{#FSNAME},pfree]. Last (0)} <20 |
after the template is added, you can manually add the host or use the host to find the way to add the host.