Xymon Mailing List Archive search

monitoring listen local socket

list Robert Schetterer
Mon, 14 Feb 2011 12:08:37 +0100
Message-Id: <user-dd94401f63b1@xymon.invalid>

Am 14.02.2011 11:03, schrieb Henrik Størner:
In <user-5182ce55e919@xymon.invalid> Robert Schetterer <user-56c160449604@xymon.invalid> writes:
anyone an example with how to monitor
a socket for exist and listen in hobbit-clients
i.e
/var/run/clamav/clamav-milter.ctl
i am not sure with file statement and/or/nor ports
You could do it with a check in the Xymon client.
In client-local.cfg, add
  file:/var/run/clamav/clamav-milter.ctl
to have the client send information about this
(socket) file. Then in the analysis.cfg config
(hobbit-clients.cfg in older versions), add

   HOST=blabla
      FILE /var/run/clamav/clamav-milter.ctl type=socket COLOR=red

This should give you an alert if the file does not
exist, or it is not a socket-type file.


Regards,
Henrik

thx for recommend
done it , still not works
any idea how to debug?

-- 
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria