[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
logfetch "trigger" option doesn't appear to work as documented
- To: hobbit (at) hswn.dk
- Subject: logfetch "trigger" option doesn't appear to work as documented
- From: <j.sansford (at) ntlworld.com>
- Date: Thu, 22 Oct 2009 10:58:27 +0100
- Sensitivity: Normal
Hi all,
it seems the logfetch "trigger" option doesn't work as documented for our clients. We have configured in client-local.cfg:
[servera]
log:/var/adm/messages:10240
trigger scsi
And in hobbit-clients.cfg:
HOST=servera
LOG /var/adm/messages "%scsi: WARNING" COLOR=RED
My understanding is that because of the option "trigger", that the client should send all lines in the log file with the pattern "scsi" in it to the xymon server. In my experience however this is not the case and it just sends the last 10240 bytes. Have I configured something incorrectly or does the trigger command not work? I have also checked on the client that the logfetch cfg file contains the trigger option, which it does.
Many thanks,
James.