monitor directory size?
Dirk H. Schulz
dirk.schulz at kinzesberg.de
Tue Feb 14 20:48:48 CET 2006
Hi HP,
HP Geeza schrieb:
> From what i can tell though check_snmp_storage.pl only allows you to
> check for particular kinds of storage settings....what i need to do is
> monitor the size of a directory on a remote windows server for
> example, d:\data
>
> i am using nsclient at the moment but can't monitor directory size
> (only disk space). Is there a way to monitor a directories size via
> snmp????
As far as I understand SNMP it is quite easy to tell: If there is an
object for that in the MIB of the SNMP client on this windows machine,
then it should be fairly easy to rewrite check_snmp_storage.pl (or write
your own script) to query that object.
So have a look at the MIB of your SNMP service on the winX box.
Dirk
>
>
>> From: Hendrik Baecker <b00mer at gmx.net>
>> To: nagios-users at lists.sourceforge.net
>> Subject: Re: [Nagios-users] monitor directory size?
>> Date: Mon, 13 Feb 2006 12:44:00 +0100
>>
>> Google for: "check_snmp_storage.pl"
>>
>>
>> HP Geeza schrieb:
>>
>>> Hi All,
>>>
>>> I was wondering whether it is possible to monitor the size of a
>>> directory (eg find out how big it is in in MB or GBs) and then send
>>> an alert when the size goes over a certain threshold?
>>>
>>> Any help would be great!
>>>
>>> _________________________________________________________________
>>> The new MSN Search Toolbar now includes Desktop search!
>>> http://toolbar.msn.co.uk/
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>> log files
>>> for problems? Stop! Download the new AJAX search engine that makes
>>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>>>
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>> ::: Please include Nagios version, plugin version (-v) and OS when
>>> reporting any issue. ::: Messages without supporting info will risk
>>> being sent to /dev/null
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue. ::: Messages without supporting info will risk
>> being sent to /dev/null
>
>
> _________________________________________________________________
> Are you using the latest version of MSN Messenger? Download MSN
> Messenger 7.5 today! http://messenger.msn.co.uk
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue. ::: Messages without supporting info will risk
> being sent to /dev/null
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list