[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Monitoring /tmp usage
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Monitoring /tmp usage
- From: Henrik "Størner" <henrik (at) hswn.dk>
- Date: Thu, 20 Jan 2011 12:22:58 +0000 (UTC)
- Newsgroups: lists.hobbit
- Organization: Linux Users Inc.
- References: <BC6FF8D396D71F49A12774CD99598081492C75 (at) pcsexch.phillycarshare.loc> <BC6FF8D396D71F49A12774CD99598081492C75 (at) pcsexch.phillycarshare.loc> <4D3751E5.6050705 (at) umdnj.edu>
- User-agent: nn/6.7.3
In <4D3751E5.6050705 (at) umdnj.edu> Ryan Novosielski <novosirj (at) umdnj.edu> writes:
>On 01/19/2011 03:38 PM, Rob Munsch wrote:
>> [df]
>> Filesystem 1024-blocks Used Available Capacity Mounted on
>> /dev/hdv1 3768053780 1050316584 2717737196 28% /
>>
>> [mount]
>> /dev/hdv1 on / type ufs (defaults)
>> none on /proc type proc (defaults)
>> none on /tmp type tmpfs (size=128m,mode=1777,nosuid,noexec,nodev)
>
>It is possible that your problem stems from the fact that /tmp is type
>"none" and that a grep looking for /dev would fail. I'm not exactly sure
>what Xymon looks for, but I had to manually change some scripts
>associated with BB to look for even ZFS filesystems which do not have
>devices under / (or at least they don't appear to from df's POV).
Precisely. The "df" data does not have info about /tmp, so you need
to look at the Xymon client script running on the server to have
it report data for non-physical filesystems. Look at the
~xymon/client/bin/xymonclient-OSNAME.sh script (or "hobbit" ditto).
By default, non-physical filesystems are excluded.
Regards,
Henrik