On 12/03/2014 09:55 AM, Root, Paul T wrote:
Did you restart xymon when you made your change before.
Client-local.cfg is not re-read unless xymon is restarted.
Hi Paul
Actually, as I understand it, when a client checks in, it requests its settings from the Xymon server which reads that file and sends the correct block based on the client's OS, or CLASS etc.
Then, on a client's next report in, the client uses the new settings.
You can watch this happen by making a change to the client-local.cfg on the server and then running this on a client:
watch cat ~xymon/client/tmp/logfetch.*.cfg
Within a few minutes (once the client checks in), this file will contain the new settings.
So, when changes are made to client-local.cfg the changes may take up to ten minutes to propagate - assuming default 5 minute report cycle.
Bill
-- Bill Arlofski Reverse Polarity, LLC http://www.revpol.com/ -- Not responsible for anything below this line --