[hobbit] client file check
dOCtoR MADneSs
doctor at makelofine.org
Mon Jul 6 21:57:05 CEST 2009
Scot Kreienkamp a écrit :
> Hi everyone…
>
>
>
> Does anyone know how the client file check works? My client is running
> as a non-privileged user and trying to check a file in the Postgres
> directory, which of course it doesn’t have access to. I would let it
> use sudo if I could, but adding sudo to the ls command in the client
> config doesn’t do anything. So what mechanism does the client use to do
> file checks?
>
>
>
> Thanks,
>
>
>
> Scot Kreienkamp
>
>
>
Hi,
You could try something like this :
in local-client.cfg add a section for this host :
[my_host]
file:`sudo ls /your/file`
and in hobbit-clients.cfg add a line in your host section :
HOST=my_host
FILE /your/file YOUR_SWITCHES
anyone disagree with it ?
More information about the Xymon
mailing list