The most recent check_netapp_pro code release includes 2 important bug fixes which users might like to test. The first relates to call- and store files getting too big and the second to VolumeAutosize crashes on some volumes. Both bugs are fixed in the RC and next major releases. 1. The call files were sometimes reported to be too large. After investigation it transpired the --store-descriptions parameter was being ignored in certain cases.``` $ ls -lh /…/calls/10.242.106.71 total 6712 -rw-r–r– 1 ila staff 385K 22 Nov 16:59 volume_history.143912378.call -rw-r–r– 1 ila staff 387K 22 Nov 17:03 volume_history.143912605.call -rw-r–r– 1 ila staff 387K 22 Nov 17:29 volume_history.143914188.call -rw-r–r– 1 ila staff 124K 22 Nov 18:21 volume_history.143917294.call -rw-r–r– 1 ila staff 122K 22 Nov 18:22 volume_history.143917375.call
The code was modified at approx. 18:00 and the size difference are clear to see showing the bug being fixed. 2. The _VolumeAutosize_ was an issue for the newer 4.0 released codebase, where we unexpectedly encountered undefined values from the nodes themselves.
$ ./check_netapp_pro.pl VolumeAutosize -H $HOSTNAME -w =MAX/100*20 -c =MAX/100*10 …
Use of uninitialized value $X0N20 in string eq at …/checks/VolumeAutosize.pm line 123.
Use of uninitialized value $X0N21 in subtraction (-) at …/checks/VolumeAutosize.pm line 150.
Use of uninitialized value $X0N22 in subtraction (-) at …/checks/VolumeAutosize.pm line 150.
Use of uninitialized value $X0N29 in concatenation (.) or string at …/lib/Il/SysMon/CheckPlugin/Metrics.pm line 594.
Use of uninitialized value in substitution iterator at …/lib/Il/SysMon/CheckPlugin/Metrics.pm line 931.
The threshold-formula ‘/100*20’ evaluates to nothing.
Comments