From Gary.McKenner@rac.com.au Wed Jun 24 08:23:57 2026 From: Gary.McKenner@rac.com.au To: xymon@xymon.com Subject: [Xymon] Creating a custom nongreeen.html Date: Wed, 15 Jun 2016 10:36:24 +0800 Message-ID: <7F56F34AE3157545A3604D653C725BD0093E7735D5@EXCMBX01.rac.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4009687193003861367==" --===============4009687193003861367== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, A few months ago I managed to get xymongen to create a custom non-green.html = that only has red status , this file red.html is created every minute along w= ith non-green.html , critical.html & xymon.html I cannot remember where I added the extra config to run this extra non-green.= sh filtering out only the red status and has no eventlog or acklog. I seem to recall adding an extra stanza to a file to create this custom file = but I cannot remember where the file is. I ran a strace of the scheduled xymongen command exactly as it is run by Xymo= n and you can see the red.html file being created after the normal non-green.= html # strace -f ./xymongen --recentgifs --subpagecolumns=3D2 --report > /tmp/xymo= ngen.txt3 2>&1 ... open("nongreen.html.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 3 open("/usr/share/xymon/web/stdnongreen_header", O_RDONLY) =3D 4 fstat(4, {st_mode=3DS_IFREG|0644, st_size=3D1221, ...}) =3D 0 read(4, " |
\n\n
\n\n
| In-Reply-To: <7F56F34AE3157545A3604D653C725BD0093E7735D5@EXCMBX01.rac.com.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4347486937943833101==" --===============4347486937943833101== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Please refer to my two e-mails to the list from earlier in the month (that no-one responded to!) * [Xymon] Xymon all red page minor bug question and patch SebA http://lists.xymon.com/archive/2016-June/043562.html * [Xymon] Xymon custom colour (wallboard) page SebA http://lists.xymon.com/archive/2016-June/043563.html Kind regards, SebA _____ From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of McKenner, Gary Sent: 15 June 2016 03:36 To: xymon at xymon.com Subject: [Xymon] Creating a custom nongreeen.html Hi, A few months ago I managed to get xymongen to create a custom non-green.html that only has red status , this file red.html is created every minute along with non-green.html , critical.html & xymon.html I cannot remember where I added the extra config to run this extra non-green.sh filtering out only the red status and has no eventlog or acklog. I seem to recall adding an extra stanza to a file to create this custom file but I cannot remember where the file is. I ran a strace of the scheduled xymongen command exactly as it is run by Xymon and you can see the red.html file being created after the normal non-green.html # strace -f ./xymongen --recentgifs --subpagecolumns=2 --report > /tmp/xymongen.txt3 2>&1 ... open("nongreen.html.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3 open("/usr/share/xymon/web/stdnongreen_header", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=1221, ...}) = 0 read(4, " |
\n\n

\n\n
|