Skip to content

Commit

Permalink
Add DISASTER threshold on disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
jjmartres committed Oct 29, 2013
1 parent 6d12707 commit 2045afe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zbx-templates/zbx-windows/zbx-windows-envmon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Triggers
--------

* **[DISASTER]** => Host is UNREACHABLE or DOWN
* **[DISASTER]** => Discovery: Free disk space is less than {$DISK\_THRESHOLD\_DISASTER}% on each disk
* **[HIGH]** => Application audit failure message(s) logged in eventlog
* **[HIGH]** => DNS resolution failed
* **[HIGH]** => CPU usage exceeded {$CPU\_THRESHOLD\_HIGH}%
Expand Down Expand Up @@ -127,6 +128,7 @@ Macros
* **{$HOST_ROLE}** => User defined server role
* **{$CPU\_THRESHOLD\_WARN}** => Warning threshold value for CPU usage. Default value is 60 (percent).
* **{$CPU\_THRESHOLD\_HIGH}** => High threshold value for CPU usage. Default value is 90 (percent).
* **{$DISK\_THRESHOLD\_DISASTER}** => Disaster threshold value for disk usage. Default value is 4 (percent).
* **{$DISK\_THRESHOLD\_WARN}** => Warning threshold value for disk usage. Default value is 20 (percent).
* **{$DISK\_THRESHOLD\_HIGH}** => High threshold value for disk usage. Default value is 10 (percent).
* **{$QUOTA\_THRESHOLD\_CRIT}** => Critical threshold value for quota usage. Default value is 2147483648 (Bytes), 2GB.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1801,6 +1801,15 @@
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{ZBX-WINDOWS-ENVMON:vfs.fs.size[{#FSNAME},pfree].last(0)}&gt;{$DISK_THRESHOLD_DISASTER} &amp; {ZBX-WINDOWS-ENVMON:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;{$DISK_THRESHOLD_HIGH}</expression>
<name>Free disk space is less than {$DISK_THRESHOLD_DISASTER}% on volume {#FSNAME}</name>
<url/>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
</trigger_prototype>
<trigger_prototype>
<expression>{ZBX-WINDOWS-ENVMON:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;{$DISK_THRESHOLD_HIGH}</expression>
<name>Free disk space is less than {$DISK_THRESHOLD_HIGH}% on {#FSNAME}</name>
Expand Down Expand Up @@ -2633,6 +2642,10 @@
<macro>{$CPU_THRESHOLD_WARN}</macro>
<value>60</value>
</macro>
<macro>
<macro>{$DISK_THRESHOLD_DISASTER}</macro>
<value>4</value>
</macro>
<macro>
<macro>{$DISK_THRESHOLD_HIGH}</macro>
<value>10</value>
Expand Down

0 comments on commit 2045afe

Please sign in to comment.