How do I check that?
-----Original Message----- From: Christian Herzog <herzog at phys.ethz.ch> Sent: Tuesday, June 26, 2018 9:14 AM To: Root, Paul T <Paul.Root at CenturyLink.com> Cc: xymon at xymon.com Subject: RE: [Xymon] Project: Xymon dashboard
you haven't said anything about the first item: does the JSON CGI generate JSON? No need to bother with the frontend until it does.
sent from my mobile
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
As I said: call it from your browser. You might need to change the path of the Xymon cli commands (I'll add this to the README).
sent from my mobile
Paul,
Look at the python script and it has an example of what to feed xymon2json.
Christian,
I get the json response and there should be a message but the interface is all green with no other output. Also, I had to copy the python scripts to xymon-cgi since (for reasons I haven't dug into yet, apache refuses to recognize the files as CGI scripts).
=G=
On Tue, Jun 26, 2018 at 10:22 AM Root, Paul T <Paul.Root at centurylink.com> wrote:
How do I check that?
-----Original Message----- From: Christian Herzog <herzog at phys.ethz.ch> Sent: Tuesday, June 26, 2018 9:14 AM To: Root, Paul T <Paul.Root at CenturyLink.com> Cc: xymon at xymon.com Subject: RE: [Xymon] Project: Xymon dashboard
you haven't said anything about the first item: does the JSON CGI generate JSON? No need to bother with the frontend until it does.
sent from my mobile
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
I get the json response and there should be a message but the interface is all green with no other output. Also, I had to Are you using priorities? If not, you'll have to check 'other' and 'ack' in the settings. I should probably make that the default..
to xymon-cgi since (for reasons I haven't dug into yet, apache refuses to recognize the files as CGI scripts). well this might depend on a lot of things..
-- sent from my mobile
Selecting 'other' and 'ack' did get them to show up.
re:apache, yes...I just haven't taken the time to figure out exactly why at the moment and generally. I've seen uWSGI used for python...but that's a different issue. It's functional enough to play with at the moment.
=G=
On Tue, Jun 26, 2018 at 10:34 AM Christian Herzog <herzog at phys.ethz.ch> wrote:
I get the json response and there should be a message but the interface is all green with no other output. Also, I had to Are you using priorities? If not, you'll have to check 'other' and 'ack' in the settings. I should probably make that the default..
to xymon-cgi since (for reasons I haven't dug into yet, apache refuses to recognize the files as CGI scripts). well this might depend on a lot of things..
-- sent from my mobile
git pull everybody! I just updated the README with everything encountered so far. Sorry for your problems, but hey, that's what beta testers are for, right? We'll look into the Python 3.4 vs 3.6 issue tomorrow.
thanks, -Christian
Several issues I've noticed...
- after you get your first message, prio1, 2, 3 show back up and I cannot see any way to make them go away again.
- when you "marl as seen" everything from that point on shows up as seen...even new events
- Acknowledge doesn't seem to work
- when you hover over multiple events, only the content from the last event is shown (for all events)
- I see no way to unmark as seen
- once seen, you can no longer select it to see the info.
- the info page target really should be to "_blank"
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".
=G=
On Tue, Jun 26, 2018 at 11:06 AM Christian Herzog <daduke at phys.ethz.ch> wrote:
git pull everybody! I just updated the README with everything encountered so far. Sorry for your problems, but hey, that's what beta testers are for, right? We'll look into the Python 3.4 vs 3.6 issue tomorrow.
thanks, -Christian
Hi Galen,
thanks for your feedback!
- 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.
- 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..
- 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.
- 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
- I see no way to unmark as seen nope, wanna file a feature request?
- 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
- 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
- the settings are already set to not display them. I even tried resetting them and unsetting them to no effect.
- 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"?
- I'll need to try that...will get back to you
- I do see only one at a time but the content is always the same from the last one in the list
- I'll see about that
- Not sure how you're seeing it as when I click on it, nothing happens. Previous it would direct me to xymon info page.
- 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!
- 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.
- 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..
- 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.
- 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
- I see no way to unmark as seen nope, wanna file a feature request?
- 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
- 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
- I haven't been able to replicate this at home...
- 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
- xymon-ack does test ok...this is another case of it's works at home
- 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
- 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:
- the settings are already set to not display them. I even tried resetting them and unsetting them to no effect.
- 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"?
- I'll need to try that...will get back to you
- I do see only one at a time but the content is always the same from the last one in the list
- I'll see about that
- Not sure how you're seeing it as when I click on it, nothing happens. Previous it would direct me to xymon info page.
- 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!
- 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.
- 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..
- 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.
- 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
- I see no way to unmark as seen nope, wanna file a feature request?
- 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
- 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
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:
- I haven't been able to replicate this at home...
- 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
- xymon-ack does test ok...this is another case of it's works at home
- 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
- 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:
- the settings are already set to not display them. I even tried resetting them and unsetting them to no effect.
- 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"?
- I'll need to try that...will get back to you
- I do see only one at a time but the content is always the same from the last one in the list
- I'll see about that
- Not sure how you're seeing it as when I click on it, nothing happens. Previous it would direct me to xymon info page.
- 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!
- 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.
- 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..
- 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.
- 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
- I see no way to unmark as seen nope, wanna file a feature request?
- 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
- 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/
participants (4)
-
daduke@phys.ethz.ch
-
herzog@phys.ethz.ch
-
Paul.Root@CenturyLink.com
-
solitaryr@gmail.com