[Xymon] Project: Xymon dashboard
Christian Herzog
herzog at phys.ethz.ch
Wed Jun 27 07:08:40 CEST 2018
thanks Galen for further testing.
Do you think you could send me your JSON file(s)? Right now I can't figure out
if your issues originate in data retrieval (python) or its processing (JS).
Having your JSON I could test it locally.
thanks,
-Christian
On Tue, Jun 26, 2018 at 09:38:25PM -0400, Galen Johnson wrote:
> 1) I haven't been able to replicate this at home...
> 2) the "mark all seen" throws the following error...but does still 'work'
>
> Uncaught Error: Syntax error, unrecognized expression: [data-host=
> fqdn.example.com]
> at Function.oe.error (jquery.js:2)
> at oe.tokenize (jquery.js:2)
> at oe.select (jquery.js:2)
> at Function.oe [as find] (jquery.js:2)
> at w.fn.init.find (jquery.js:2)
> at new w.fn.init (jquery.js:2)
> at w (jquery.js:2)
> at HTMLDivElement.<anonymous> (main.js:354)
> at Function.each (jquery.js:2)
> at w.fn.init.each (jquery.js:2)
> at XMLHttpRequest.processData [as callback] (main.js:350)
> at XMLHttpRequest.xhr.onload (main.js:442)
>
> I'm not seeing anything obvious...but that's not saying much
>
> 3) xymon-ack does test ok...this is another case of it's works at home
> 4) this behaves the same at home but the red tests do change the hover text
> but blue and yellow only shows the last item same as before
> 5)
> 6) I notice this only appears to happen when 'mark all seen' is active it
> also resets the hidden columns to be visible and nothing short of deleting
> the cookie clears that up. Are you doing anything else to make the link
> unavailble (like z-index)?
>
>
>
> On Tue, Jun 26, 2018 at 1:37 PM Galen Johnson <solitaryr at gmail.com> wrote:
>
> > 1) the settings are already set to not display them. I even tried
> > resetting them and unsetting them to no effect.
> > 2) each event should have it's own id not a shared id (I'm assuming as I
> > have to had time to dig into the code) otherwise how can you say "I've not
> > seen this one"?
> > 3) I'll need to try that...will get back to you
> > 4) I do see only one at a time but the content is always the same from the
> > last one in the list
> > 5) I'll see about that
> > 6) Not sure how you're seeing it as when I click on it, nothing happens.
> > Previous it would direct me to xymon info page.
> > 7) thanks
> >
> > If I can figure some of these out, I may try my hand at a pull request
> > (may not be soon).
> >
> > =G=
> >
> > On Tue, Jun 26, 2018 at 11:52 AM Christian Herzog <daduke at phys.ethz.ch>
> > wrote:
> >
> >> Hi Galen,
> >>
> >> thanks for your feedback!
> >>
> >> > 1) after you get your first message, prio1, 2, 3 show back up and I
> >> > cannot see any way to make them go away again.
> >> I'm not sure I understand. You mean the columns prio* are there? You can
> >> hide empty columns in the settings.
> >>
> >> > 2) when you "marl as seen" everything from that point on shows up as
> >> > seen...even new events
> >> that's very hard to imagine since this button stores a list of test IDs
> >> in a cookie - how can it guess future IDs? If you want, you can take a
> >> look at the cookie and see what's in there..
> >>
> >> > 3) Acknowledge doesn't seem to work
> >> did you check that xymon-ack works? The JS is just calling that. The
> >> xymon-ack header also tells you how to try from the command line.
> >>
> >> > 4) when you hover over multiple events, only the content from the last
> >> > event is shown (for all events)
> >> you mean you get several tooltips? You should only see one at a time
> >>
> >> > 5) I see no way to unmark as seen
> >> nope, wanna file a feature request?
> >>
> >> > 6) once seen, you can no longer select it to see the info.
> >> the host info? "works for me" of course, 'seen' really only adds a CSS
> >> class, so this shouldn't have any influence on the link
> >>
> >> > 7) the info page target really should be to "_blank"
> >> I've been thinking about this but wasn't convinced. Your vote has been
> >> recorded!
> >>
> >> > I haven't dug into the code to see what/why but wanted to share what
> >> > I've seen so far so others can corroborate or let me know "it's just
> >> you".
> >> I'd appreciate any insight since some of your issues I cannot even
> >> imagine..
> >>
> >> thanks,
> >> -Christian
> >>
> >>
--
Dr. Christian Herzog <herzog at phys.ethz.ch> support: +41 44 633 26 68
IT Services Group, HPT H 8 voice: +41 44 633 39 50
Department of Physics, ETH Zurich
8093 Zurich, Switzerland http://nic.phys.ethz.ch/
More information about the Xymon
mailing list