On Thu, Mar 20, 2008 at 01:26:59PM -0500, Mike Mestnik wrote: > On Thu, Mar 20, 2008 at 04:28:12PM +0100, Jan Wagner wrote: > > Hi Mike, > > > > On Thursday 20 March 2008 16:05, Mike Mestnik wrote: > > > Looks like this file is needed in the configuration for the default config > > > to work properly. > > > > could you please specify the symptoms? > > > > Thanks and with kind regards, Jan. > > Ahh, I found it: > > mephisto:/etc/nagios2# /usr/lib/nagios/plugins/check_disk -w 20% -c 10% > DISK UNKNOWN - free space:| > mephisto:/etc/nagios2# cat /etc/fstab > # UNCONFIGURED FSTAB FOR BASE SYSTEM > mephisto:/etc/nagios2# df > Filesystem 1K-blocks Used Available Use% Mounted on > mephisto:/etc/nagios2# df -a > Filesystem 1K-blocks Used Available Use% Mounted on > proc 0 0 0 - /proc > sysfs 0 0 0 - /sys > mephisto:/etc/nagios2# df -h . > Filesystem Size Used Avail Use% Mounted on > - 151G 60G 83G 42% / > > Looks like there is no way to simply add a root mount w/o mounting > something. I tried: > rootfs / rootfs rw 0 0 > none / none rw 0 0 > - / ext3 rw 0 0 > /dev/tmp / ext3 rw 0 0 > > > Perhaps this should be a known bug, wontfix. > Opps, what was I thinking (not fstab, but mtab):
/etc/mtab: rootfs / rootfs rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 mephisto:/etc/nagios2# /usr/lib/nagios/plugins/check_disk -w 20% -c 10% DISK OK - free space: / 84885 MB (58% inode=98%);| /=61242MB;123158;138553;0;153948 > Backstorry: > The base arch is ppc64(the rather bitrotten port). If you have a G5 I > suggest you install etch and not this port. I got here by running > "debootstrap --arch powerpc etch /ppc32-lenny". I use schroot and > upgraded to lenny(needed nagiosgrapher). Then I installed > nagiosgrapher and nagios2. I changed the port apache uses. > > The base system has this config... > > /etc/schroot/schroot.conf: > [ppc32-lenny] > type=plain > description=Debian ppc 32-bit > location=/ppc32-lenny > priority=3 > users=mmestnik > root-users=root > aliases=lenny32 > personality=linux32 > > /etc/fstab: > /proc /ppc32-lenny/proc none rbind 0 0 > /dev /ppc32-lenny/dev none rbind 0 0 > /sys /ppc32-lenny/sys none rbind 0 0 > /tmp /ppc32-lenny/tmp none rbind 0 0 > /home /ppc32-lenny/home none rbind 0 0 > /media /ppc32-lenny/media none rbind 0 0 > /lib/modules /ppc32-lenny/lib/modules none rbind 0 0 > /var/run/dbus /ppc32-lenny/var/run/dbus none rbind 0 0 > /var/run/cups /ppc32-lenny/var/run/cups none rbind 0 0 > /var/db/nscd /ppc32-lenny/var/db/nscd none rbind 0 0 > /var/run/nscd /ppc32-lenny/var/run/nscd none rbind 0 0 > > /etc/rc.local: > schroot -c ppc32-lenny -- su -c /etc/init.d/rc\ 2 - > > -- > /**************************************************************** > * Mike Mestnik: Junior Admin 612-395-8932 * > * [EMAIL PROTECTED] VISI * > ****************************************************************/ > Alt address: [EMAIL PROTECTED] -- /**************************************************************** * Mike Mestnik: Junior Admin 612-395-8932 * * [EMAIL PROTECTED] VISI * ****************************************************************/ Alt address: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]