check_disk behaviour for SAN hiccups

Voon, Ton Ton.Voon at egg.com
Wed Jun 25 14:42:05 CEST 2003


Jim,

Thanks for the report. I've made a patch for r1_3_0, check_disk v 1.7.2.3,
so that it will return critical if the filesystem is missing.

Note that it will return critical if you specify only one filesystem. For
multiple fs (eg, -p "/ /ora_backup /tmp"), it will still return only a
warning. I'm thinking of a neater solution for the 1.4 release.

Ton

> -----Original Message-----
> From:	Carroll, Jim P [Contractor] [SMTP:jcarro10 at sprintspectrum.com]
> Sent:	Wednesday, June 18, 2003 10:40 PM
> To:	Subhendu Ghosh
> Cc:	nagios-devel at lists.sourceforge.net
> Subject:	RE: [Nagios-devel] check_disk behaviour for SAN hiccups
> 
> Sorry, I should have specified the incantation.
> 
> Yes, I was specifying the specific partition.  :)
> 
> jc
> 
> 
> > -----Original Message-----
> > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> > Sent: Wednesday, June 18, 2003 4:37 PM
> > To: Carroll, Jim P [Contractor]
> > Cc: nagios-devel at lists.sourceforge.net
> > Subject: Re: [Nagios-devel] check_disk behaviour for SAN hiccups
> > 
> > 
> > 
> > Were you asking for the specific partition with check_disk?
> > If so - it should probably be a critical instead of warning...
> > 
> > -sg
> > 
> > 
> > On Wed, 18 Jun 2003, Carroll, Jim P [Contractor] wrote:
> > 
> > > A firmware upgrade was applied to our Hitachi SAN last 
> > night.  One of the hosts attached to it burped and didn't 
> > recover.  Here's one of the alerts that Nagios gave us:
> > > 
> > > [quote]
> > > ***** Nagios 1.1 *****
> > > 
> > > Notification Type: PROBLEM
> > > 
> > > Service: Space on /ora_backup
> > > Host: itdmln16
> > > Address: itdmln16
> > > State: WARNING
> > > 
> > > Date/Time: Tue Jun 17 22:52:19 CDT 2003
> > > 
> > > Additional Info:
> > > 
> > > Disk /ora_backup not mounted or nonexistant
> > > [end quote]
> > > 
> > > Should this only be a 'warning'?
> > > 
> > > When one of my peers tried to do an 'ls' on the root 
> > directory, he got the brief listing of the various files, 
> > directories and mount points.  When he tried to do an "ls 
> > -l", he got a couple I/O errors and then the long listing for 
> > all the files, directories and mount points, minus the 2 
> > SAN-based mount points.
> > > 
> > > Granted, this is a funky result for a single system; all 
> > the other hosts connected to the same SAN didn't have any 
> > such problem.  Still, it would have been nice if the plugin 
> > had returned a 'critical' instead of a 'warning', as that 
> > notification would have also been sent to the on-call pager.
> > > 
> > > jc
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU 
> > Hosting Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% 
> > Monthly Commission!
> > > INetU Dedicated Managed Hosting 
> http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Nagios-devel mailing list
> > Nagios-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-devel
> > 
> 
> -- 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php




More information about the Developers mailing list