[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: filesystem monitoring
From: |
Martin Pala |
Subject: |
Re: filesystem monitoring |
Date: |
Mon, 30 Dec 2002 20:36:45 +0100 |
User-agent: |
KMail/1.4.3 |
On Monday 30 December 2002 17:03, Jan-Henrik Haukeland wrote:
> Martin Pala <address@hidden> writes:
> > i'm working on filesystem monitoring little bit - is there any other
> > who can give it a stab?
>
> I can pick up in a week (after I get the zervlet beta out). What have
> you done so far?
Not too much - only function that reads the data from superblock + helper
function that validates mountpoint given in the statement or find a
mountpoint for given block special device. The main function returns data in
common structure - it gives informations about filesystem type, blocks (size,
total, free) + inodes (total+free).
It is based on statfs()/statvfs() family but it isn't yet ready for solaris
and BSD (every system use this function with own modifications - monit
function should make it transparent for the rest of program).
It isn't integrated to the monit yet (configuration statements, etc. - as i
said - i'm working on it "little bit" :)
I'll have holidays next week (i'm lucky :) and i want to work more on it, so i
will send what i'll have after next week.
Martin