hsfs in hobbitclient-sunos.sh
list Dominique Frise
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
list Jason K. Kruse
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:user-78ab6673b600@xymon.invalid]
Sent: Friday, September 29, 2006 12:22 AM
To: user-ae9b8668bcde@xymon.invalid
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
list Henrik Størner
▸
On Fri, Sep 29, 2006 at 10:01:56AM -0500, Kruse, Jason K. wrote:
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.
I'm think about having the client handle the output from "mount" to check for cd's, USB-dongles etc. that you may want to react on. The current clients already report the "mount" data, so it's purely a server-side change. Regards, Henrik
list Francesco Duranti
It should be good also for nfs mount ... We had problem in the past with some oracle filesystem not getting mounted by the machine and it could be nice to be sure they're mounted Francesco
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, September 29, 2006 5:22 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hsfs in hobbitclient-sunos.sh On Fri, Sep 29, 2006 at 10:01:56AM -0500, Kruse, Jason K. wrote: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.I'm think about having the client handle the output from "mount" to check for cd's, USB-dongles etc. that you may want to react on. The current clients already report the "mount" data, so it's purely a server-side change. Regards, Henrik
list David Gore
Just keep in mind that an nfs mount that is not working will hang the client, and you will get no reports, although you will get purples that you may not see in the middle of the night. ~David
▸
Francesco Duranti wrote:It should be good also for nfs mount ... We had problem in the past with some oracle filesystem not getting mounted by the machine and it could be nice to be sure they're mounted Francesco-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, September 29, 2006 5:22 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hsfs in hobbitclient-sunos.sh On Fri, Sep 29, 2006 at 10:01:56AM -0500, Kruse, Jason K. wrote: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.I'm think about having the client handle the output from "mount" to check for cd's, USB-dongles etc. that you may want to react on. The current clients already report the "mount" data, so it's purely a server-side change. Regards, Henrik
list Nicolas Dorfsman
▸
Le 29 sept. 06 à 17:01, Kruse, Jason K. a écrit :
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.This test is running to test where there is not enough space ! If you're using it to test room temperature, you're alone. Your exclude line doesn't work for lofi devices. Many CDs/DVDs now are delivered thru the Net as ISO images. To be honest my burner is running one or two times per year. I do make lofi devices and mount instead. The best is to exclude hsfs...and we can't do that for now from config. So I love to see this added to next release, instead of have to chmod and vi the script.
list Francesco Duranti
Well my problem was on nfs mount that didn't get mounted at all at boot. If I'm not wrong at least on linux machine df will hung but the mount command will not hung but it will show the nfs mount and you don't get any warning.
▸
-----Original Message----- From: David Gore [mailto:user-3e5761c68b56@xymon.invalid] Sent: Friday, September 29, 2006 5:48 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hsfs in hobbitclient-sunos.sh Just keep in mind that an nfs mount that is not working will hang the client, and you will get no reports, although you will get purples that you may not see in the middle of the night. ~David Francesco Duranti wrote:It should be good also for nfs mount ... We had problem in the past > with some oracle filesystem not getting mounted by the machine and it > could be nice to be sure they're mountedFrancesco-----Original Message-----From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, September 29, 2006 5:22 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] hsfs in hobbitclient-sunos.sh On Fri, Sep 29, 2006 at 10:01:56AM -0500, Kruse, Jason K. wrote: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.I'm think about having the client handle the output from "mount" to >> check for cd's, USB-dongles etc. that you may want to react on. The current clients already report the "mount" data, so it's purely a >> server-side change. Regards, Henrik