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 <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/
[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&servi...
-----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 <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/
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon 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.
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 <herzog at phys.ethz.ch> 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 <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/
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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
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 <herzog at phys.ethz.ch> 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
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.: +49-541-969-2347, FAX: -2470
Hi all,
- 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'
The xymon command is hardcoded in xymon2json (may need to be adapted): return ['/usr/lib/xymon/server/bin/xymon 0 ' + cmd]
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 <dirk.kastens at uni-osnabrueck.de> 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.: +49-541-969-2347, FAX: -2470
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.: +49-541-969-2347, FAX: -2470
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 < dirk.kastens at uni-osnabrueck.de> 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.: +49-541-969-2347, FAX: -2470
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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.: +49-541-969-2347, FAX: -2470
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
--
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/
This appears to have worked so far.
=G=
On Thu, Jun 28, 2018 at 9:36 AM Christian Herzog <herzog at phys.ethz.ch> 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.: +49-541-969-2347, FAX: -2470
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- 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/
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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.: +49-541-969-2347, FAX: -2470
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- Viele Gruesse,
Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Albrechtstr. 28, 49069 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: -2470
participants (5)
-
dirk.kastens@uni-osnabrueck.de
-
dominique.frise@unil.ch
-
herzog@phys.ethz.ch
-
Paul.Root@CenturyLink.com
-
solitaryr@gmail.com