[Nagiosplug-help] nagios plugin with perl script
Kyle Smith
kyles at apple.com
Wed Sep 17 21:59:34 CEST 2008
O yes you are right, check_disk uses free space values to determine if
disk space is ok or not.
You should write your own plugin if this will not work for you.
good luck
kyle
On Sep 17, 2008, at 12:51 PM, Kalpesh Patel wrote:
> Just to make sure...
>
> I am asking for getting used disk space not free disk space as per
> my original mail.
>
> Will this do?
>
> On Wed, Sep 17, 2008 at 3:44 PM, Kyle Smith <kyles at apple.com> wrote:
> Use check_disk and the -p flag, follow -p with your nfs mounted
> filesystem
>
> good luck
>
> kyle
>
> On Sep 17, 2008, at 12:33 PM, Kalpesh Patel wrote:
>
>> but this is for checking local disks not NFS/mounts..right?
>>
>> I want to check the used disk space for all type of file systems.
>>
>> On Wed, Sep 17, 2008 at 1:21 PM, Alex Dehaini
>> <alexdehaini at gmail.com> wrote:
>> udr check_local_disk plugin
>>
>> On Wed, Sep 17, 2008 at 5:15 PM, Kalpesh Patel
>> <kalpesh2582 at gmail.com> wrote:
>> Hi,
>>
>> I am using perl script to get used disk space. I have to pass
>> variavle for the particular file system.
>> I need help in using this script with check_nrpe plugin.
>>
>> For Ex. check_disk_used --dir=/var
>>
>> output = Used Disk space on /var == 161.26MB 1.73%
>>
>> How can I use this script with check_nrpe ?
>>
>> Is there any plugin i can use to get used disk space?
>>
>> Thanks,
>> Kalpesh
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Nagiosplug-help mailing list
>> Nagiosplug-help at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>> ::: Please include plugins version (-v) and OS when reporting any
>> issue.
>> ::: Messages without supporting info will risk being sent to /dev/
>> null
>>
>>
>>
>>
>> --
>> Alex Dehaini
>> Developer
>> Site - www.alexdehaini.com
>> Email - alexdehaini at gmail.com
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
>> Nagiosplug-help mailing list
>> Nagiosplug-help at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>> ::: Please include plugins version (-v) and OS when reporting any
>> issue.
>> ::: Messages without supporting info will risk being sent to /dev/
>> null
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080917/c9c782a0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2413 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080917/c9c782a0/attachment.bin>
More information about the Help
mailing list