Hi all
I;ve been trying to track done why some events cause two identical alerts to be sent. To help debugging, I added the CFID variable to the alerts and the value was 151. Line 151 is the "include" line :)
Any chance of getting Xymon to give the line number of the include file?
Thanks
On Thu, February 5, 2015 6:01 pm, Colin Coe wrote:
Hi all
I;ve been trying to track done why some events cause two identical alerts to be sent. To help debugging, I added the CFID variable to the alerts and the value was 151. Line 151 is the "include" line :)
Any chance of getting Xymon to give the line number of the include file?
Thanks
That might be tricky, but the line numbers given from the --dump-config option to xymond_alert will match up with the CFID given out there. Perhaps that would be enough to track down the offending entry?
HTH,
-jc
OK, you're now officially a legend. Many thanks, that did it.
On Fri, Feb 6, 2015 at 11:22 AM, J.C. Cleaver <cleaver at terabithia.org> wrote:
On Thu, February 5, 2015 6:01 pm, Colin Coe wrote:
Hi all
I;ve been trying to track done why some events cause two identical alerts to be sent. To help debugging, I added the CFID variable to the alerts and the value was 151. Line 151 is the "include" line :)
Any chance of getting Xymon to give the line number of the include file?
Thanks
That might be tricky, but the line numbers given from the --dump-config option to xymond_alert will match up with the CFID given out there. Perhaps that would be enough to track down the offending entry?
HTH,
-jc
participants (2)
-
cleaver@terabithia.org
-
colin.coe@gmail.com