Project: Xymon dashboard
list Christian Herzog
Hi all, for the past 3 weeks we've been working on a new Xymon web frontend that better fits our needs of managing our somewhat extensive (~ 900 hosts) setup. It's now in a state of being ready for daily use, so we would like to announce it in case somebody else is interested: https://github.com/daduke/Xymondash Let us know if you have comments or even pull requests! cheers, -Christian -- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
list Paul Root
[Mon Jun 25 07:54:19 2018] [error] [client 10.5.136.192] 2018-06-25 07:54:19.762837 Sendto failed: Connection refused, referer: https://nsmdenvp117.corp.intranet/xymon-cgi/showgraph.sh?host=iadnasp1&service=ports&graph_width=576&graph_height=120&disp=iadnasp1&nostale&color=green&graph_start=1529758446&graph_end=1529931246&action=menu
▸
-----Original Message----- From: Xymon <xymon-bounces at xymon.com> On Behalf Of Christian Herzog Sent: Tuesday, June 26, 2018 6:08 AM To: xymon at xymon.com Subject: [Xymon] Project: Xymon dashboard Hi all, for the past 3 weeks we've been working on a new Xymon web frontend that better fits our needs of managing our somewhat extensive (~ 900 hosts) setup. It's now in a state of being ready for daily use, so we would like to announce it in case somebody else is interested: https://github.com/daduke/Xymondash Let us know if you have comments or even pull requests! cheers, -Christian -- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
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.
list Galen Johnson
Christian Do you happen to have more instructions than "check out repo and maybe change some paths"? I got that far and page loaded but it was basically empty. Nothing was populated. What else do you need to do to get it to work properly? thanks =G= On Tue, Jun 26, 2018 at 7:15 AM Christian Herzog <user-5bd58cd9da64@xymon.invalid>
▸
wrote:
Hi all, for the past 3 weeks we've been working on a new Xymon web frontend that better fits our needs of managing our somewhat extensive (~ 900 hosts) setup. It's now in a state of being ready for daily use, so we would like to announce it in case somebody else is interested: https://github.com/daduke/Xymondash Let us know if you have comments or even pull requests! cheers, -Christian -- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
list Christian Herzog
Hi Galen,
▸
Do you happen to have more instructions than "check out repo and maybe change some paths"? I got that far and page loaded but it was basically empty. Nothing was populated. What else do you need to do to get it to work properly?
well first off, does xymon2json produce the JSON (you can check in your browser)? If that's the case, the JS interface should either show content or produce an error message... The CGIs have to run on the Xymon server as they call Xymon cli. good luck, -Christian
list Christian Herzog
First thing I've found is the xymon2json wants python3. I only had python2 installed. I added python3.4 but that did nothing.
ok I'll add this requirement in the README.
As it stands, it doesn't work at all in Internet Explorer.
it sure does, my colleagues are using it.
I do get the menu, reload and eye in the corner using firefox. The menu comes up but no servers or tests actually come up.
is xymon2json producing the JSON? Open its URL in the browser and see if you get the output. Once this works, the JS interface will either show output or an error message. good luck, -Christian
list Paul Root
No error message. I get the 3 icons in the corner only in Firefox, the title and a column line of prio1 prio2 prio3 other acked These do nothing. On IE (version 11) , I get a box with a 10 in it, a pull down of min - hours - days. And a dialog box saying 'working on it'. That's it. In firefox and chrome, the help dialog (mark all as seen, reload data, open settings) come up. The menu will come up. Checking boxes works, I can change the font. No output no error message.
▸
-----Original Message-----
From: Christian Herzog <user-5bd58cd9da64@xymon.invalid>
Sent: Tuesday, June 26, 2018 8:55 AM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
Cc: xymon at xymon.com
Subject: Re: [Xymon] Project: Xymon dashboard
First thing I've found is the xymon2json wants python3. I only had python2 installed. I added python3.4 but that did nothing.
ok I'll add this requirement in the README.
As it stands, it doesn't work at all in Internet Explorer.
it sure does, my colleagues are using it.
I do get the menu, reload and eye in the corner using firefox. The menu comes up but no servers or tests actually come up.
is xymon2json producing the JSON? Open its URL in the browser and see if you get the output. Once this works, the JS interface will either show output or an error message. good luck, -Christian 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.
list Dirk Kastens
Hi, same here. I have one host on my critical view with PRIO1 status, but it doesn't show up on the Xymondash. Am 26.06.2018 um 16:07 schrieb Root, Paul T:
▸
No error message. I get the 3 icons in the corner only in Firefox, the title and a column line of prio1 prio2 prio3 other acked These do nothing.
--
Viele Gruesse,
Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Christian Herzog
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
list Galen Johnson
I think it's actually the hardcoded paths in your python scripts. You might want to consider parameterizing those. =G= On Tue, Jun 26, 2018 at 9:50 AM Christian Herzog <user-5bd58cd9da64@xymon.invalid>
▸
wrote:
Hi Galen,Do you happen to have more instructions than "check out repo and maybe change some paths"? I got that far and page loaded but it was basically empty. Nothing was populated. What else do you need to do to get it to work properly?well first off, does xymon2json produce the JSON (you can check in your browser)? If that's the case, the JS interface should either show content or produce an error message... The CGIs have to run on the Xymon server as they call Xymon cli. good luck, -Christian
list Christian Herzog
You have a point there... -- sent from my mobile
list Paul Root
How do I check that?
▸
-----Original Message-----
From: Christian Herzog <user-5bd58cd9da64@xymon.invalid>
Sent: Tuesday, June 26, 2018 9:14 AM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
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.
list Christian Herzog
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
list Galen Johnson
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 <user-76fdb6883669@xymon.invalid>
▸
wrote:
How do I check that? -----Original Message----- From: Christian Herzog <user-5bd58cd9da64@xymon.invalid> Sent: Tuesday, June 26, 2018 9:14 AM To: Root, Paul T <user-76fdb6883669@xymon.invalid> 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.
list Paul Root
Call what from my browser? Do you mean the xymon2json script?
▸
-----Original Message-----
From: Christian Herzog <user-5bd58cd9da64@xymon.invalid>
Sent: Tuesday, June 26, 2018 9:26 AM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
Cc: xymon at xymon.com
Subject: RE: [Xymon] Project: Xymon dashboard
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
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.
list Christian Herzog
▸
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
list Christian Herzog
Yes of course, that's what providing the data! -- sent from my mobile
list Paul Root
[Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] Traceback (most recent call last): [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] File "/var/www/cgi-bin/xymon2json", line 97, in <module> [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] xymon_lines = run_command(xymondboard_cmd()).splitlines() [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] File "/var/www/cgi-bin/xymon2json", line 53, in run_command [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] cmd = subprocess.run(command, shell=True, timeout=1, [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] AttributeError: 'module' object has no attribute 'run' [Tue Jun 26 09:41:13 2018] [error] [client 10.188.12.3] Premature end of script headers: xymon2json
▸
-----Original Message-----
From: Christian Herzog <user-5bd58cd9da64@xymon.invalid>
Sent: Tuesday, June 26, 2018 9:35 AM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>
Cc: xymon at xymon.com
Subject: RE: [Xymon] Project: Xymon dashboard
Yes of course, that's what providing the data!
--
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.
list Dirk Kastens
Same here. OK, maybe it's because I only have python 2.6 and not python3. Am 26.06.2018 um 13:07 schrieb Christian Herzog:
▸
Hi all, for the past 3 weeks we've been working on a new Xymon web frontend that better fits our needs of managing our somewhat extensive (~ 900 hosts) setup. It's now in a state of being ready for daily use, so we would like to announce it in case somebody else is interested: https://github.com/daduke/Xymondash Let us know if you have comments or even pull requests! cheers, -Christian
-- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Dominique Frise
Hi all,
1. I had to use Python 3.6; 3.4 throws errors like :
Traceback (most recent call last):
File "./xymon2json", line 97, in <module>
xymon_lines = run_command(xymondboard_cmd()).splitlines()
File "./xymon2json", line 53, in run_command
cmd = subprocess.run(command, shell=True, timeout=1,
AttributeError: 'module' object has no attribute 'run'
2. The xymon command is hardcoded in xymon2json (may need to be adapted):
return ['/usr/lib/xymon/server/bin/xymon 0 ' + cmd]
3. The link to critical.cfg in cgi dir may need customization
lrwxrwxrwx. 1 xymon xymon 23 Jun 26 14:13 critical.cfg -> /etc/xymon/critical.cfg
HTH,
Dominique
▸
De : Xymon <xymon-bounces at xymon.com> de la part de Dirk Kastens <user-e4253f8fc63b@xymon.invalid>
Envoyé : mardi 26 juin 2018 16:48
À : xymon at xymon.com
Objet : Re: [Xymon] Project: Xymon dashboard
Same here. OK, maybe it's because I only have python 2.6 and not python3.
Am 26.06.2018 um 13:07 schrieb Christian Herzog:Hi all, for the past 3 weeks we've been working on a new Xymon web frontend that better fits our needs of managing our somewhat extensive (~ 900 hosts) setup. It's now in a state of being ready for daily use, so we would like to announce it in case somebody else is interested: https://github.com/daduke/Xymondash Let us know if you have comments or even pull requests! cheers, -Christian
-- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Galen Johnson
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 <user-5bd58cd9da64@xymon.invalid>
▸
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 toAre 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
list Christian Herzog
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
list Galen Johnson
Several issues I've noticed... 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. 2) when you "marl as seen" everything from that point on shows up as seen...even new events 3) Acknowledge doesn't seem to work 4) when you hover over multiple events, only the content from the last event is shown (for all events) 5) I see no way to unmark as seen 6) once seen, you can no longer select it to see the info. 7) 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 <user-fec9f5c94b90@xymon.invalid>
▸
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
list Christian Herzog
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 time5) 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
list Dirk Kastens
Hi,
I just got it to work on my system.
- I had to install python 3.6.
- I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing
main.js:
const XYMONURL = '/xymon-cgi/svcstatus.sh';
const XYMONACKURL = '/xymon-cgi/xymon-ack';
const XYMONJSONURL = '/xymon-cgi/xymon2json';
- I had to change the path to xymon in xymon2json on line 77:
return ['/usr/bin/xymon 0 ' + cmd]
I didn't make any further testing for the moment.
▸
--
Viele Gruesse,
Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Galen Johnson
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 <user-fec9f5c94b90@xymon.invalid>
▸
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 time5) 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 link7) 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
list Galen Johnson
Actually, there are 3 paths you need to change...see Dominique's earlier response. =G= On Tue, Jun 26, 2018 at 12:15 PM Dirk Kastens <
▸
user-e4253f8fc63b@xymon.invalid> wrote:
Hi,
I just got it to work on my system.
- I had to install python 3.6.
- I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing
main.js:
const XYMONURL = '/xymon-cgi/svcstatus.sh';
const XYMONACKURL = '/xymon-cgi/xymon-ack';
const XYMONJSONURL = '/xymon-cgi/xymon2json';
- I had to change the path to xymon in xymon2json on line 77:
return ['/usr/bin/xymon 0 ' + cmd]
I didn't make any further testing for the moment.
--
Viele Gruesse,
Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Galen Johnson
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 <user-fc632e705d24@xymon.invalid> 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 <user-fec9f5c94b90@xymon.invalid> 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 time5) 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 link7) 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
list Christian Herzog
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 <user-fc632e705d24@xymon.invalid> 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 <user-fec9f5c94b90@xymon.invalid> 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 time5) 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 link7) 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 <user-5bd58cd9da64@xymon.invalid> 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/
list Christian Herzog
Hi all, I just fixed a major issue that prevented Xymondash from properly working for some of you. If it didn't work yesterday, you might want to give the current commit another go. best,
▸
-Christian
On Tue, Jun 26, 2018 at 06:15:11PM +0200, Dirk Kastens wrote:Hi,
I just got it to work on my system.
- I had to install python 3.6.
- I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing
main.js:
const XYMONURL = '/xymon-cgi/svcstatus.sh';
const XYMONACKURL = '/xymon-cgi/xymon-ack';
const XYMONJSONURL = '/xymon-cgi/xymon2json';
- I had to change the path to xymon in xymon2json on line 77:
return ['/usr/bin/xymon 0 ' + cmd]
I didn't make any further testing for the moment.
--
Viele Gruesse,
Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
-- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
list Galen Johnson
This appears to have worked so far. =G= On Thu, Jun 28, 2018 at 9:36 AM Christian Herzog <user-5bd58cd9da64@xymon.invalid>
▸
wrote:
Hi all, I just fixed a major issue that prevented Xymondash from properly working for some of you. If it didn't work yesterday, you might want to give the current commit another go. best, -Christian On Tue, Jun 26, 2018 at 06:15:11PM +0200, Dirk Kastens wrote:Hi, I just got it to work on my system. - I had to install python 3.6. - I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing main.js: const XYMONURL = '/xymon-cgi/svcstatus.sh'; const XYMONACKURL = '/xymon-cgi/xymon-ack'; const XYMONJSONURL = '/xymon-cgi/xymon2json'; - I had to change the path to xymon in xymon2json on line 77: return ['/usr/bin/xymon 0 ' + cmd] I didn't make any further testing for the moment. -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470-- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
list Dirk Kastens
Hi, great, works for me. It would be nice, if you could change the page title into a variable: index.html: <title>ISG D-PHYS xymon dashboard</title> ... <h1 class="text-white">ISG D-PHYS xymon dashboard</h1> Am 28.06.2018 um 15:36 schrieb Christian Herzog:
▸
Hi all, I just fixed a major issue that prevented Xymondash from properly working for some of you. If it didn't work yesterday, you might want to give the current commit another go. best, -Christian On Tue, Jun 26, 2018 at 06:15:11PM +0200, Dirk Kastens wrote:Hi, I just got it to work on my system. - I had to install python 3.6. - I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing main.js: const XYMONURL = '/xymon-cgi/svcstatus.sh'; const XYMONACKURL = '/xymon-cgi/xymon-ack'; const XYMONJSONURL = '/xymon-cgi/xymon2json'; - I had to change the path to xymon in xymon2json on line 77: return ['/usr/bin/xymon 0 ' + cmd] I didn't make any further testing for the moment. -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
-- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Dominique Frise
Hi, My colleagues found this addon awesome but have a small feature request. Would it be possible to integrate the current date/time (like on all Xymon pages) on the same line as the title ? Thanks,
▸
Dominique
De : Xymon <xymon-bounces at xymon.com> de la part de Christian Herzog <user-5bd58cd9da64@xymon.invalid>
Envoyé : jeudi, 28 juin 2018 15:36
À : xymon at xymon.com
Objet : Re: [Xymon] Project: Xymon dashboard
Hi all,
I just fixed a major issue that prevented Xymondash from properly
working for some of you. If it didn't work yesterday, you might want to give
the current commit another go.
best,
-Christian
On Tue, Jun 26, 2018 at 06:15:11PM +0200, Dirk Kastens wrote:Hi,
I just got it to work on my system.
- I had to install python 3.6.
- I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing
main.js:
const XYMONURL = '/xymon-cgi/svcstatus.sh';
const XYMONACKURL = '/xymon-cgi/xymon-ack';
const XYMONJSONURL = '/xymon-cgi/xymon2json';
- I had to change the path to xymon in xymon2json on line 77:
return ['/usr/bin/xymon 0 ' + cmd]
I didn't make any further testing for the moment.
--
Viele Gruesse,
Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Albrechtstr. 28, 49069 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
-- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/
list Mario Andre
Hi guys, Great work. My xymon2json is working fine but my xymondash screen is still black. Any hint? I´m using hobbit 4.3 but json is able to get monitoring data. Thanks & regards, Mario On Thu, Jul 5, 2018 at 6:58 AM Dominique Frise <user-78ab6673b600@xymon.invalid>
▸
wrote:
Hi, My colleagues found this addon awesome but have a small feature request. Would it be possible to integrate the current date/time (like on all Xymon pages) on the same line as the title ? Thanks, Dominique *De :* Xymon <xymon-bounces at xymon.com> de la part de Christian Herzog < user-5bd58cd9da64@xymon.invalid> *Envoyé :* jeudi, 28 juin 2018 15:36 *À :* xymon at xymon.com *Objet :* Re: [Xymon] Project: Xymon dashboard Hi all, I just fixed a major issue that prevented Xymondash from properly working for some of you. If it didn't work yesterday, you might want to give the current commit another go. best, -Christian On Tue, Jun 26, 2018 at 06:15:11PM +0200, Dirk Kastens wrote:Hi, I just got it to work on my system. - I had to install python 3.6. - I had to copy the cgi scripts to /usr/share/xymon/cgi-bin, changing main.js: const XYMONURL = '/xymon-cgi/svcstatus.sh'; const XYMONACKURL = '/xymon-cgi/xymon-ack'; const XYMONJSONURL = '/xymon-cgi/xymon2json'; - I had to change the path to xymon in xymon2json on line 77: return ['/usr/bin/xymon 0 ' + cmd] I didn't make any further testing for the moment. -- Viele Gruesse, Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +XX-XXX-XXX-XXXX, FAX: -2470-- Dr. Christian Herzog <user-5bd58cd9da64@xymon.invalid> 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/