"Alerting:" not populated on web page
list John Thurston
I have entries defined in my alerts.cfg I have the [alert] task ENABLED in my tasks.cfg When I use 'xymond_alert --dump-config', the result appears as I expect. When I use 'xymond_alert --test . . .', it indicates a mail message will be sent (if I supply an appropriate combination of times, duration, color, and test). But the "Alerting:" section of the host's "info" web-page remains stubbornly empty, saying only "No alerts defined". I can't figure out why. Does anyone have ideas? This installation is running Xymon 4.3.30-1.el7.terabithia on CentOS 7 I have a similar, but older, installation running Xymon 4.3.28 on Solaris 10, where it displays as I expect. -- -- Do things because you should, not just because you can. John Thurston XXX-XXX-XXXX user-ce4d79d99bab@xymon.invalid Department of Administration State of Alaska
list Andy Smith
Doesnt the Alerting table reflect the contents of critical.cfg ?
▸
On 24/03/2021 17:14, John Thurston wrote:I have entries defined in my alerts.cfg I have the [alert] task ENABLED in my tasks.cfg When I use 'xymond_alert --dump-config', the result appears as I expect. When I use 'xymond_alert --test? . . .', it indicates a mail message will be sent (if I supply an appropriate combination of times, duration, color, and test). But the "Alerting:" section of the host's "info" web-page remains stubbornly empty, saying only "No alerts defined". I can't figure out why. Does anyone have ideas? This installation is running Xymon 4.3.30-1.el7.terabithia on CentOS 7 I have a similar, but older, installation running Xymon 4.3.28 on Solaris 10, where it displays as I expect.
list John Thurston
Maybe it is the intersection of alerts.cfg and critical.cfg? I duno as we don't use the critical.cfg anywhere. But having beat, hacked, bent, poured through the source, run gobs of 'xymonboard' queries, enabled/disabled selinux, flipped --debug switches, added and removed files from alerts.d/ . . . it is working as expected. I'll be darned if I can figure out why.
▸
--
Do things because you should, not just because you can.
John Thurston XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
On 3/24/2021 11:58 AM, Andy Smith wrote:Doesnt the Alerting table reflect the contents of critical.cfg ?
list Carl Melgaard
Hi, Top posting, sorry in advance. Something I found broke my 4.3.30-1 terabithia installation was this peculiar "bug"? This NEEDS to be last in hosts.cfg: # needs to be last in file # include additional host configurations directory /etc/xymon/hosts.d Atleast that broke enadis for me - perhaps it breaks other things? Regards, Carl
▸
-----Oprindelig meddelelse-----
Fra: Xymon <xymon-bounces at xymon.com> P? vegne af John Thurston
Sendt: 24. marts 2021 21:26
Til: xymon at xymon.com
Emne: Re: [Xymon] "Alerting:" not populated on web page
Maybe it is the intersection of alerts.cfg and critical.cfg?
I duno as we don't use the critical.cfg anywhere.
But having beat, hacked, bent, poured through the source, run gobs of 'xymonboard' queries, enabled/disabled selinux, flipped --debug switches, added and removed files from alerts.d/ . . . it is working as expected. I'll be darned if I can figure out why.
--
Do things because you should, not just because you can.
John Thurston XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska
On 3/24/2021 11:58 AM, Andy Smith wrote:Doesnt the Alerting table reflect the contents of critical.cfg ?