netapp.pl and monitoring limits

Roald Lygre roaldly at gmail.com
Fri Jun 12 09:06:33 CEST 2009


Hi!

We have just started using Xymon/Hobbit and  netapp.pl to monitor two
Netapps, and have  set the quota monitoring limits like this in
netapp.ini:

/vol/s50/saa4Q           = 10G:101%

thinking (after reading the comments in netapp.ini) that this would
give a warning when there is 10G of free disk space (and  a red alarm
if it ever reaches 101%)

But we get alarms like this:

/vol/s50/saa4  (5.2G free - 2.60%) has reached the defined WARNING level (10G)

while the actual data are:

Full Qtree Path                            Total        Used
Available %Used Vol/Qtree
/vol/s50/saa4                             200.0G        5.2G
194.8G     3% s50/saa4

So the script obviously takes the 10G warning limit as a limit of disk
usage, not available space.

This seems to be contrary to the explanation in netapp.pl:
"
# NEW [filername] parameters for netapp.pl version 1.05
# /vol/vol0D            = warn:panic # Warning/Panic level for disk
space  /vol/vol0
# /vol/vol0I            = warn:panic # Warning/Panic level for inode
usage /vol/vol0
# /vol/vol0/.snapshotS  = warn:panic # Warning/Panic level for
snapshot /vol/vol0/.snapshot
# /vol/vol0/qtree1Q     = warn:panic # Warning/Panic level for qtree
/vol/vol0/qtree1
#
# All those parameters will accept 2 parameters separated by ":".
# The first is the warning level (yellow) and the second the panic level (red)
# Each of them can be in the 2 form:
# a) a percentage like 95% or 57.43% that is checked against the
volume percent used space/inode
# b) an absolute value like 200 or 200000 that can be followed by a
modifier (k,m,g,t)
#    that is checked against the free space/inode on the volume
# You can mix the 2 form in the same check so for example:
# /vol/vol0D    = 95.50%:5G
"

Any ideas if there is an easy fix for this?

-Roald



More information about the Xymon mailing list