[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] NFS mounts in disk section
- To: hobbit (at) hswn.dk
- Subject: RE: [hobbit] NFS mounts in disk section
- From: "Xymon User in Richmond" <hobbit (at) epperson.homelinux.net>
- Date: Mon, 14 Jun 2010 11:34:21 -0400
- Importance: Normal
- References: <AANLkTilzDBcLRAQA8KXX5HYLATz6_sUnWXicAB1ulHyG (at) mail.gmail.com>,<027D0CFA48C98F4B87D51D40F36DE42706EB254F (at) ltivw-p-ml01.LIFETOUCH.NET> <BAY147-w34CA12B03AE5C811198209B4DC0 (at) phx.gbl>
- User-agent: SquirrelMail/1.4.20-1.fc12
On Mon, June 14, 2010 09:35, wiskbroom (at) hotmail.com wrote:
>
>
>>
>> You need to edit hobbitclient-sunos.sh
>>
>> The following line:
>> FSTYPES=`/bin/df -n -l|awk '{print $3}'|egrep -v
>> "^proc|^fd|^mntfs|^ctfs|^devfs|^objfs|^nfs"|sort|uniq`
>>
>> Remove nfs
>
>
> df when using "-l" should never show NFS, this must be something else.
>
>>
>> -----Original Message-----
>> From: Paulo Estrela [mailto:paulojbe (at) gmail.com]
>> Sent: Friday, June 11, 2010 8:40 AM
>> To: hobbit (at) hswn.dk
>> Subject: [hobbit] NFS mounts in disk section
>>
>> Hi,
>>
>> I'm using Xymon 4.2.3 to monitor some UNIX/Linux servers. Serveral of
>> them mounts NFS exports via automount from a NetApp Filer that I don't
>> have access. Is it possible to show these mounts like partitions in
>> disk section? Now I have this:
>>
>
?? I don't see anything in the OP indicating that the issue is with Solaris.
The disk check is one of the murkier, dirtier pieces of Xymon/Hobbit.
Although hobbitclient.cfg has variables for DF and DFCMD, it also has
(accurate) comments that they are not used anywhere. You do have to hack
the OS specific client script to alter the df behavior. For Solaris, you
need to edit the hobbitclient-sunos.sh line noted above and remove both
the "-l" and the superfluous "nfs". For Linux, you need to edit
hobbitclient-linux.sh and change the "df -Pl" to "df -P", at least in the
version I'm running.