[Nagiosplug-help] check_disk 1.7 problem: Disk "/dev/sda3" not mounted or nonexistant

Oriz L. Miller omiller at wirelessfrontier.net
Sat Jul 5 18:38:19 CEST 2003


Here are my config's

define service{
        use                             generic-service
        host_name                       nagios.alpine
        service_description             / Free Space
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  staff.alpine
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_local_disk!20%!10%!/
        }

df
Filesystem  512-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a      1014940    75932   888262     8%    /
/dev/wd0d      1015004        2   964252     0%    /tmp
/dev/wd0e      8121774  1160712  6554974    15%    /usr
/dev/wd0f     47761150    23008 45350086     0%    /var


define command{
        command_name    check_local_disk
        command_line    $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
        }





----- Original Message ----- 
From: "Justin Albstmeijer" <justin at vlamea.com>
To: "Oriz L. Miller" <omiller at wirelessfrontier.net>
Cc: <nagiosplug-help at lists.sourceforge.net>
Sent: Saturday, July 05, 2003 9:33 AM
Subject: Re: [Nagiosplug-help] check_disk 1.7 problem: Disk "/dev/sda3" not
mounted or nonexistant


> > with the -p switch just use /
> > not /dev/sda3
>
> /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /
> Disk "/" not mounted or nonexistant
>
> same result.
>
> >
> >
> > ----- Original Message -----
> > From: "Justin Albstmeijer" <justin at vlamea.com>
> > To: <nagiosplug-help at lists.sourceforge.net>
> > Sent: Saturday, July 05, 2003 6:26 AM
> > Subject: [Nagiosplug-help] check_disk 1.7 problem: Disk "/dev/sda3" not
> > mounted or nonexistant
> >
> >
> >> Hi,
> >>
> >> Any idea what the problem is?
> >>
> >> /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda3
> >> Disk "/dev/sda3" not mounted or nonexistant
> >>
> >> df /dev/sda3
> >> Filesystem           1K-blocks      Used Available Use% Mounted on
> >> /dev/sda3             26683960   1472732  23855744   6% /
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> >> Data Reports, E-commerce, Portals, and Forums are available now.
> >> Download today and enter to win an XBOX or Visual Studio .NET.
> >>
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> >> _______________________________________________
> >> 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
> >>
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> 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
>





More information about the Help mailing list