[Nagiosplug-help] check_disk 1.7 problem: Disk "/dev/sda3" not mounted or nonexistant
Justin Albstmeijer
justin at vlamea.com
Sat Jul 5 10:15:24 CEST 2003
fixed it,
I used a modified spec file that had the following configure option:
--with-df-command="df"
Removed this line, build de rpm again, problem solved..
> ok, well good luck, let me know if I can help.
>
> ----- 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 12:15 PM
> Subject: Re: [Nagiosplug-help] check_disk 1.7 problem: Disk "/dev/sda3"
> not
> mounted or nonexistant
>
>
>>
>> You are right..
>>
>> But still, it would result in the following command and output
>>
>> /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /
>> Disk "/" not mounted or nonexistant
>>
>> I had to compile my own nagios-plugin rpm , so may be something went
>> wrong
>> in that process..
>>
>> > actually it is the same.
>> > I just named the command in 'checkcommands.cfg' to check_local_disk
>> > I am using plugins version 1.3.0.
>> > try it just like I have it.
>> >
>> > ----- 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 12:05 PM
>> > Subject: Re: [Nagiosplug-help] check_disk 1.7 problem: Disk
>> "/dev/sda3"
>> > not
>> > mounted or nonexistant
>> >
>> >
>> >>
>> >> Thnx..
>> >> But you seem to use check_local_disk instead of check_disk.
>> >> Check_local_disk in not included in plugins version 1.3.0.
>> >>
>> >>
>> >> > 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