[Xymon] Xymondash issues
John Alexander
john.alexander at preachain.org
Tue Feb 26 15:26:53 CET 2019
Hi Christian,
Thanks for the reply. Here is my wget post
wget http://xymon.imasneezer.com/xymondash/cgi/xymon-ack
--post-data="number=814407&msg=workingit&host=mini01.imasneezer.com&test=conn"
I see that xymon-ack is only looking for number, msg, host, and test in
the post. This follows the web console 400 error that I'm seeing when I
try to ack the alert.
John Alexander
On 2/25/2019 22:07, Christian Herzog wrote:
> Hi John,
>
> xymondash author here. Can you paste the request (or even better, open a
> github issue)?
>
> cheers,
> -Christian
>
>
> On Mon, Feb 25, 2019 at 04:07:35PM -0800, John Alexander wrote:
>> After more looking around, it appears that xymon-ack is returning a 400 Bad
>> Request message.
>>
>> Using wget to post the message as well as the web console show 400 errors.
>> It appears that the 400 is getting generated out of the
>> form_is_valid(form_dict) routine in xymon-ack.
>>
>> Any ideas? I'm not a python guy by any means.
>>
>> John A.
>>
>> On 2/25/2019 12:09, John Alexander wrote:
>>> Hi all,
>>>
>>> I am having some issues with the Xymondash interface. Everything works
>>> fine - it's properly displaying fault conditions, except that it will
>>> not acknowledge or disable alerts. I only get a pop-up saying "could
>>> not acknowledge test"
>>>
>>> xymon2json works just fine. I get good json output.
>>> xymon-ack gives nothing but a blank screen. Same with xymon-disable
>>>
>>> Acknowledging from the xymon "Acknowledge Alert" works fine.
>>>
>>> Here is my config.ini - I'm on CentOS 7 so python3 was installed as an
>>> addition.
>>>
>>> ---------------------------------------------------------------
>>>
>>> # location of xymon executable in your file system
>>> XYMONCLI="/home/xymon/server/bin/xymon"
>>>
>>> # location of ackinfo.sh executable in your file system
>>> XYMONACKINFOSH="/home/xymon/cgi-secure/ackinfo.sh"
>>>
>>> # absolute URL of Xymon's svcstatus
>>> XYMONSVCSTATUSURL="http://xymon.imasneezer.com/xymon-cgi/svcstatus" <---
>>> should this be svcstatus.sh?
>>>
>>> # location of Xymon's critical.cfg in your file system (if you have one)
>>> CRITICAL="/home/xymon/server/etc/critical.cfg"
>>>
>>> # relative URL of svcstatus.sh on your monitoring server
>>> XYMONURL="/xymon-cgi/svcstatus.sh"
>>>
>>> # relative URL of xymon-ack on your monitoring server
>>> XYMONACKURL="/xymondash/cgi/xymon-ack"
>>>
>>> # relative URL of xymon-disable on your monitoring server
>>> XYMONDISURL="/xymondash/cgi/xymon-disable"
>>>
>>> # relative URL of xymon2json on your monitoring server
>>> XYMONJSONURL="/xymondash/cgi/xymon2json"
>>>
>>> # host name of xymon server
>>> XYMONSERVER="xymon.imasneezer.com"
>>>
>>> # website title
>>> TITLE="Oak Street Medical xymon dashboard"
>>>
>>> # path to python3 interpreter
>>> PYTHON3="/usr/bin/env /opt/rh/rh-python36/root/usr/bin/python3"
>>>
>>> ---------------------
>>>
>>> Any ideas?
>>>
>>> John Alexander
>>>
>>>
>>> _______________________________________________
>>> Xymon mailing list
>>> Xymon at xymon.com
>>> http://lists.xymon.com/mailman/listinfo/xymon
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list