monitors:bb-zfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
monitors:bb-zfs [2020/04/20 08:02] – [bb-zfs.ksh] freesoftwareserversmonitors:bb-zfs [2020/04/21 01:11] (current) – [bb-zfs.ksh] freesoftwareservers
Line 1: Line 1:
 ====== bb-zfs ====== ====== bb-zfs ======
  
-^ Author | [[ everett.vernon@gmail.com | Vernon Everett ]] | +^ Author         | [[everett.vernon@gmail.com| Vernon Everett ]]  
-^ Compatibility | Xymon 4.2 | +^ Compatibility  | Xymon 4.2                                      
-^ Requirements | ZFS | +^ Requirements   | ZFS                                            
-^ Download | None | +^ Download       | None                                           
-^ Last Update | 2010-07-21 |+^ Last Update    2020-04-20                                     |
  
 ===== Description ===== ===== Description =====
Line 16: Line 16:
     [zfs]     [zfs]
         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
-        CMD $HOBBITCLIENTHOME/ext/bb-zfs.sh+        CMD $HOBBITCLIENTHOME/ext/bb-zfs.ksh
         LOGFILE $HOBBITCLIENTHOME/logs/zfs.log         LOGFILE $HOBBITCLIENTHOME/logs/zfs.log
         INTERVAL 5m         INTERVAL 5m
Line 36: Line 36:
 </code> </code>
   * In hobbitserver.cfg, add the following line   * In hobbitserver.cfg, add the following line
-<code> SPLITNCV_zfs="*:GAUGE"+<code> GRAPHS="...,xymond,zfs" 
 +TEST2RRD="...,xymond,zfs=ncv" 
 +SPLITNCV_zfs="*:GAUGE"
 </code> </code>
- 
-  * Add zfs=ncv to TEST2RRD= 
-  * Add zfs to GRAPHS= 
  
 ===== Source ===== ===== Source =====
Line 57: Line 56:
 # Add Available/Free to table # Add Available/Free to table
 # Full "zpool status" always displayed # Full "zpool status" always displayed
-# Fix Graph Error 
 # Set DEGRADED=RED # Set DEGRADED=RED
 # DISKYELL=90 & DISKRED=95 # DISKYELL=90 & DISKRED=95
Line 63: Line 61:
 DISKYELL=90 DISKYELL=90
 DISKRED=95 DISKRED=95
-SNAPRED=90  # Days old +SNAPRED=90      # Days old 
-SNAPYELL=60 # Days old +SNAPYELL=60     # Days old 
-SNAPCOL=true  # Set to true if snapshot age should effect test colour +SNAPCOL=true    # Set to true if snapshot age should effect test colour 
-CHECKSNAPS=false # Set to true to do snapshot checking+CHECKSNAPS=true # Set to true to do snapshot checking
 TEST="zfs" TEST="zfs"
 DISPCOLOR="green" DISPCOLOR="green"
Line 201: Line 199:
   * **2013-07-16**   * **2013-07-16**
     * Changed graphing FNPATTERN to **^**zfs,(.*).rrd\\ Without the ^ it will pick up and try and graph any rrd file with the string "zfs," in the file name.      * Changed graphing FNPATTERN to **^**zfs,(.*).rrd\\ Without the ^ it will pick up and try and graph any rrd file with the string "zfs," in the file name. 
 +  * **2020-04-20**
 +    * Update to new "zpool list -h" format
 +    * Add Available/Free to table
 +    * Full "zpool status" always displayed
 +    * Set DEGRADED=RED
 +    * DISKYELL=90 & DISKRED=95
  • monitors/bb-zfs.1587369732.txt.gz
  • Last modified: 2020/04/20 08:02
  • by freesoftwareservers