Perviously, the check ConsistencyPoints could be used to monitor the performance based on cp (consistency points) per second. The new check Wafl incorporates this function and is now available in check_netapp_pro.
$ ./ check_netapp_pro.pl Wafl -H cm1 -z cp_count -l 'back-to-back CP' NETAPP_PRO WAFL OK - 2 file systems checked. wafl (cluster1-01:kernel:wafl): 0.0/s cp_count (back-to-back CP) wafl (cluster1-02:kernel:wafl): 0.0/s cp_count (back-to-back CP) | wafl=0/s;10;20;0; wafl=0/s;10;20;0;
The help page and examples for the new Wafl check are available on netapp-monitoring.info.
Because of this change, further WAFL counters can be integrated more easily. The following command returns a list of all WAFL counters on your filer:
get_netapp_perfdata.pl -H your-filer -o wafl --discover=counters
The list is really long and includes, for instance:
------------------------------------------------------------------------------ total_cp_msecs Milliseconds spent in CP (millisec, delta, diag) ------------------------------------------------------------------------------ inode_cache_hit Inode cache hit count per second (per_sec, rate, diag) ------------------------------------------------------------------------------ inode_cache_hit_nodes Inode cache hit nodes count per second (per_sec, rate, diag) ------------------------------------------------------------------------------ inode_cache_hit_tohead Inode cache hit moved to head count per second (per_sec, rate, diag) ------------------------------------------------------------------------------ inode_cache_miss Inode cache miss count per second (per_sec, rate, diag) ------------------------------------------------------------------------------ inode_cache_miss_nodes Inode cache miss nodes count per second (per_sec, rate, diag) ------------------------------------------------------------------------------ inode_eject_time Instantaneous residence time of the last inode ejected in milliseconds (millisec, raw, diag) ------------------------------------------------------------------------------ inode_list_cnt inode list counts (none, raw, diag) Labels: NOSTATE, PRE_VALID, DBUF, DINO, CP_WAIT, NVLOG_WAIT, DIRTY_WAIT, USEFUL, UNUSED, RECYCLE, PRE_ALLOC, HAS_CLEANER, HIPRI_DBUF, HIPRI_DINO ------------------------------------------------------------------------------
Should you wish to integrate another counter in the Wafl check, please feel free to send a message to il@netapp-monitoring.info