From lworman@wittenberg.edu Wed Jun 24 08:22:07 2026 From: lworman@wittenberg.edu To: xymon@xymon.com Subject: [Xymon] Date/Time options for Report URLs Date: Tue, 05 Feb 2013 17:14:36 +0000 Message-ID: <95531FD725172C49A282912A9560CC404ED8ADAB@Mailbox1.wittenberg.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2622498040890640982==" --===============2622498040890640982== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable We are using a display management system to cycle through the various report= displays that Xymon generates, for example the "Top Changes" & "Event Log" r= eports. Right now I have figured out how to setup the URL to generate the rep= ort for today, but the problem is that I have to manually update the display = manager to pass the URL with today's date in order to get today's information: The URL is (using xymon.com as the example site): http://www.xymon.com/xymon-cgi/topchanges.sh?FROMTIME=3D2013/02/05 at 00:00:0= 0&TOTIME=3D&HOSTMATCH=3D&EXHOSTMATCH=3D&PAGEMATCH=3D&PATHLIST=3D&EXPAGEMATCH= =3D&TESTMATCH=3D&EXTESTMATCH=3D&COLORMATCH=3D&COUNTTYPE=3Devents&TOP=3D10&Sen= d=3DShow If you notice the "FROMTIME=3D" section has it manually entered in as '2013/0= 2/05 at 00:00:00', which I have to update every day to the new date. Actually= I have it set to '2013/02/01 at 00:00:00' and have it as a monthly view, but= I would like it to be a daily view, as well as not have to change it every d= ay/month. My question is are any of the following options possibilities? 1. Be able to pass some key words on the URL such as TODAY, YESTERDAY, TOMORR= OW. So that I could construct the URL as simply "FROMTIME=3DToday" or "FROMTI= ME=3DYESTERDAY", this way Xymon would just pass me the data for the day. 2. Could I pass the date/time without the "@00:00:00", and have Xymon assume = 00:00:00. Since I can have the display management system sort of pass the dat= e dynamically, but I can't have it append the @00:00:00. So if I could constr= uct the URL in the following manner "FROMTIME=3D2013/02/05&TOTIME=3D2013/02/0= 6" I would get the report for 2013/02/05 3. Possibly even change the format of the "FROMTIME=3D" to MM/DD/YYYY , again= without the @00:00:00, so it can work more with US date/time options? --===============2622498040890640982==-- From david.baldwin@ausport.gov.au Wed Jun 24 08:22:07 2026 From: david.baldwin@ausport.gov.au To: xymon@xymon.com Subject: [Xymon] Date/Time options for Report URLs Date: Thu, 07 Feb 2013 09:50:34 +1100 Message-ID: <5112DE3A.3050008@ausport.gov.au> In-Reply-To: <95531FD725172C49A282912A9560CC404ED8ADAB@Mailbox1.wittenberg.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5661410914167235847==" --===============5661410914167235847== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Lionel, Not sure what system you are using for rotating web pages, but I have a browser which loads the following page 'bbcycle.html' (you will need to substitute for http://xymonhost and probably modify some of the URLs in the pages list) - it would be pretty trivial to add some Javascript to generate the daily URL string you need and add to pages list. David. bbcycle.html > We are using a display management system to cycle through the various repo= rt displays that Xymon generates, for example the "Top Changes" & "Event Log"= reports. Right now I have figured out how to setup the URL to generate the r= eport for today, but the problem is that I have to manually update the displa= y manager to pass the URL with today's date in order to get today's informati= on: > > The URL is (using xymon.com as the example site): > http://www.xymon.com/xymon-cgi/topchanges.sh?FROMTIME=3D2013/02/05 at 00:00= :00&TOTIME=3D&HOSTMATCH=3D&EXHOSTMATCH=3D&PAGEMATCH=3D&PATHLIST=3D&EXPAGEMATC= H=3D&TESTMATCH=3D&EXTESTMATCH=3D&COLORMATCH=3D&COUNTTYPE=3Devents&TOP=3D10&Se= nd=3DShow > > If you notice the "FROMTIME=3D" section has it manually entered in as '2013= /02/05 at 00:00:00', which I have to update every day to the new date. Actual= ly I have it set to '2013/02/01 at 00:00:00' and have it as a monthly view, b= ut I would like it to be a daily view, as well as not have to change it every= day/month. > > My question is are any of the following options possibilities? > > 1. Be able to pass some key words on the URL such as TODAY, YESTERDAY, TOMO= RROW. So that I could construct the URL as simply "FROMTIME=3DToday" or "FROM= TIME=3DYESTERDAY", this way Xymon would just pass me the data for the day. > > 2. Could I pass the date/time without the "@00:00:00", and have Xymon assum= e 00:00:00. Since I can have the display management system sort of pass the d= ate dynamically, but I can't have it append the @00:00:00. So if I could cons= truct the URL in the following manner "FROMTIME=3D2013/02/05&TOTIME=3D2013/02= /06" I would get the report for 2013/02/05 > > 3. Possibly even change the format of the "FROMTIME=3D" to MM/DD/YYYY , aga= in without the @00:00:00, so it can work more with US date/time options? > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon --=20 David Baldwin - Senior Systems Administrator (Datacentres + Networks) Information and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617 -----------------------------------------------------------------------------= -------- Keep up to date with what's happening in Australian sport visit http://www.au= sport.gov.au This message is intended for the addressee named and may contain confidential= and privileged information. If you are not the intended recipient please not= e that any form of distribution, copying or use of this communication or the = information in it is strictly prohibited and may be unlawful. If you receive = this message in error, please delete it and notify the sender. -----------------------------------------------------------------------------= -------- --===============5661410914167235847==-- From lworman@wittenberg.edu Wed Jun 24 08:22:08 2026 From: lworman@wittenberg.edu To: xymon@xymon.com Subject: [Xymon] Date/Time options for Report URLs Date: Fri, 08 Feb 2013 16:03:10 +0000 Message-ID: <95531FD725172C49A282912A9560CC404ED8F7DC@Mailbox1.wittenberg.edu> In-Reply-To: <5112DE3A.3050008@ausport.gov.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3709048777462379955==" --===============3709048777462379955== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable David, Thanks for the information and the idea of using a javascript page to do wha= t I was thinking. To that end I wrote the following page and put it on our xy= mon server, to allow me to pass some simple 'dates'. It is a bit hackneyed, b= ut the nice thing about this is that I can put links from our other site to a= llow people to easily click on link that says "Today's Top Changes" or "Top c= hange's this month" and it will get there, without having to fiddle with date= s on each page I want to link from. ---begin commontopchanges.html--- =20 ---End commontopchanges.html--- Lionel M. Worman -----Original Message----- From: David Baldwin [mailto:david.baldwin at ausport.gov.au]=20 Sent: Wednesday, February 06, 2013 5:51 PM To: Lionel Worman Cc: 'xymon at xymon.com' Subject: Re: [Xymon] Date/Time options for Report URLs Lionel, Not sure what system you are using for rotating web pages, but I have a brows= er which loads the following page 'bbcycle.html' (you will need to substitute= for http://xymonhost and probably modify some of the URLs in the pages list)= - it would be pretty trivial to add some Javascript to generate the daily UR= L string you need and add to pages list. David. bbcycle.html > We are using a display management system to cycle through the various repo= rt displays that Xymon generates, for example the "Top Changes" & "Event Log"= reports. Right now I have figured out how to setup the URL to generate the r= eport for today, but the problem is that I have to manually update the displa= y manager to pass the URL with today's date in order to get today's informati= on: > > The URL is (using xymon.com as the example site): > http://www.xymon.com/xymon-cgi/topchanges.sh?FROMTIME=3D2013/02/05 at 00:00 > :00&TOTIME=3D&HOSTMATCH=3D&EXHOSTMATCH=3D&PAGEMATCH=3D&PATHLIST=3D&EXPAGEMA= TCH=3D& > TESTMATCH=3D&EXTESTMATCH=3D&COLORMATCH=3D&COUNTTYPE=3Devents&TOP=3D10&Send= =3DShow > > If you notice the "FROMTIME=3D" section has it manually entered in as '2013= /02/05 at 00:00:00', which I have to update every day to the new date. Actual= ly I have it set to '2013/02/01 at 00:00:00' and have it as a monthly view, b= ut I would like it to be a daily view, as well as not have to change it every= day/month. > > My question is are any of the following options possibilities? > > 1. Be able to pass some key words on the URL such as TODAY, YESTERDAY, TOMO= RROW. So that I could construct the URL as simply "FROMTIME=3DToday" or "FROM= TIME=3DYESTERDAY", this way Xymon would just pass me the data for the day. > > 2. Could I pass the date/time without the "@00:00:00", and have Xymon=20 > assume 00:00:00. Since I can have the display management system sort=20 > of pass the date dynamically, but I can't have it append the=20 > @00:00:00. So if I could construct the URL in the following manner=20 > "FROMTIME=3D2013/02/05&TOTIME=3D2013/02/06" I would get the report for=20 > 2013/02/05 > > 3. Possibly even change the format of the "FROMTIME=3D" to MM/DD/YYYY , aga= in without the @00:00:00, so it can work more with US date/time options? > _______________________________________________ > Xymon mailing list > Xymon at xymon.com > http://lists.xymon.com/mailman/listinfo/xymon -- David Baldwin - Senior Systems Administrator (Datacentres + Networks) Informa= tion and Communication Technology Services Australian Sports Commission http://ausport.gov.au Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616 david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617 -----------------------------------------------------------------------------= -------- Keep up to date with what's happening in Australian sport visit http://www.au= sport.gov.au This message is intended for the addressee named and may contain confidential= and privileged information. If you are not the intended recipient please not= e that any form of distribution, copying or use of this communication or the = information in it is strictly prohibited and may be unlawful. If you receive = this message in error, please delete it and notify the sender. -----------------------------------------------------------------------------= -------- --===============3709048777462379955==--