[hobbit] hsfs in hobbitclient-sunos.sh

Kruse, Jason K. jason.kruse at teldta.com
Fri Sep 29 17:01:56 CEST 2006


Personally, I'm against excluding them in the list of filesystems.
Having 150+ servers it's nice to know when someone on the team has left
OS CD's in the drives.  I handle the situation by putting a disk rule in
place for the standard location they are mounted.

        DISK    "%^/cdrom" 1 102 GROUP=root

Perhaps a change to hobbitd_client might be more appropriate to handle
this type of media.  Something that lets us know a CD is in the box yet
doesn't send data points for the RRD's.

Jason

> -----Original Message-----
> From: Dominique Frise [mailto:Dominique.Frise at unil.ch]
> Sent: Friday, September 29, 2006 12:22 AM
> To: hobbit at hswn.dk
> Subject: [hobbit] hsfs in hobbitclient-sunos.sh
> 
> Hi,
> 
> The FSTYPES in hobbitclient-sunos.sh does not exclude cdrom file
systems
> (hsfs).
> 
> To correct:
> 
> [bb at iris bin]$ diff -u hobbitclient-sunos.sh
hobbitclient-sunos.sh.dist
> --- hobbitclient-sunos.sh	Thu Sep 28 12:07:13 2006
> +++ hobbitclient-sunos.sh.dist	Sat Aug 19 10:20:00 2006
> @@ -22,7 +22,7 @@
> 
>   echo "[df]"
>   # All of this because Solaris df cannot show multiple fs-types, or
> exclude
> certain fs types.
> -FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
> "^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs|^lofs|^hsfs"|sort|uniq`
> +FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
> "^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs|^lofs"|sort|uniq`
>   if test "$FSTYPES" = ""; then FSTYPES="ufs"; fi
>   set $FSTYPES
>   /bin/df -F $1 -k | grep -v " /var/run"
> 
> 
> 
> Dominique
> UNIL - University of Lausanne
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 




More information about the Xymon mailing list