<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
In the case of check_dd.pl, you could modify the script to use a
config file<br>
(check_dd.conf or some such). When nagios calls the script it will
pass in the<br>
default warning/critical thresholds, and the script can read in the
config file<br>
for exceptions. I'd parse the exceptions into a hash, then as the
script checks<br>
each filesystem, if there is an entry in the hash for that name use
the hash<br>
thresholds, otherwise use the default thresholds.<br>
The other choice would be to call the script once for each
filesystem and have it<br>
only report the results for the filesystem you pass in as a
parameter. If you only<br>
have 2, it would be feasible, but if there are dozens it's too much
trouble/overhead.<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 09/22/2014 08:51 PM, Cesar Allende
wrote:<br>
</div>
<blockquote
cite="mid:CABe7ztFgtv6sz1Ageh7z278AeAf1JP74x9oKY0SkTafqZ1+E6A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
i trying to monitor DataDomain filesystems using the
following plugins check_disk and <a moz-do-not-send="true"
href="http://check_disk_snmp.pl">check_disk_snmp.pl</a>
but they don't seem to find the filesystems i need which
are:<br>
<br>
/data and /ddvar<br>
<br>
</div>
is there any way to monitor Datadomain with one of these?<br>
<br>
<br>
</div>
Also i tried <a moz-do-not-send="true"
href="http://check_dd.pl">check_dd.pl</a> plugin, but i'm not
sure how to make it work with two different pairs of
thresholds...one for ddvar and then another one for data...<br>
<div>
<div><br>
DISKUSED WARNING - Index:58% /ddvar:7% Data:81% |'Index'=58
'ddvar'=7 'Data'=81<br>
<br>
<br>
</div>
<div>Kind regards.<br>
</div>
<div><br>
<div>
<div>
<div>
<div dir="ltr">César Anibal Allende<br>
Level 1 Operations Support - <a
moz-do-not-send="true"
href="http://www.edrans.com" target="_blank">www.edrans.com</a><br>
Las Vegas: +1 5057183014 | London: +44 20 3318 1571
| Buenos Aires: +54 11 5368 5839 - Ext. 8021<br>
<br>
<img
src="cid:part4.05030309.07050703@oit.gatech.edu"><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>