[Xymon] *nix xymon client directories size (DU change is possible?)
Colin Coe
colin.coe at gmail.com
Sat Apr 9 07:24:55 CEST 2011
If you do your "zfs list pool"(?) on a UFS file system does it give an error?
If so, you could try something like: "zfs list pool <additioanl args>
2> /dev/null || du <additional args>"
Just a thought...
CC
On Sat, Apr 9, 2011 at 12:59 PM, Soporte Infraestructura Operativa y
Almacenamiento <soopal at ice.go.cr> wrote:
> Hi all:
> after reviewing the mailist archive and read the wiki...I came with one question..
> AFAIK the DIR monitoring/track will use a DU on the xymon client (*nix ones). I need to monitor/track some directories on ZFS and they are Big.
> I mean 880GB or more. a simple du -sh or just du takes at least 45min.
> Of course; doing a zfs list pool/zfs gave me the same data that a du but almost instantaneously...
> So my question do I can override which command is used to DIR monitoring ? Or I must go with a script that do zfs list and push that data to rrd as independent test?
>
> To make things worst I have mixed UFS/ZFS structures, but just need to monitor/track some of them.
>
> Thanks a lot for any input!
>
> Este mensaje de correo electr?nico, incluidos los archivos adjuntos, es para el uso exclusivo de la persona a la que se ha enviado, y puede contener informaci?n que sea confidencial o protegida legalmente. Si usted no es el destinatario, o ha recibido este mensaje por error, no est? autorizado a copiar, distribuir, o utilizar de alguna manera este mensaje. Por favor notifique inmediatamente al remitente por correo electr?nico y suprimir permanentemente este mensaje y los archivos adjuntos. No se otorga ninguna garant?a de que este e-mail est? libre de errores o virus.
> INSTITUTO COSTARRICENSE DE ELECTRICIDAD
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
--
RHCE#805007969328369
More information about the Xymon
mailing list