[ClusterLabs] crm_mon output to html-file - is there a way to manipulate the html-file ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Fri May 3 16:32:22 EDT 2019


----- Am 3. Mai 2019 um 19:37 schrieb Christopher Lumens clumens at redhat.com:

>> The output of the webpage is quite nice, you get a short and quick overview.
>> Only some inactive resources are displayed in yellow which is impossible to
>> read.
>> 
>> Is there a way to configure the output of the hmtl-file so that it's better
>> readable ?
> 
> All the formatting is hardcoded, so you cannot change it.  Coincidentally, I am
> working on this stuff right now and one of the things I am working on doing is
> making it so you can specify a stylesheet.  So hopefully in the future you
> will be able to change things.
> 
> For now, I guess you'll have to post-process it with sed or something.

I don't know much about cgi-scripts. With -w i can write the output from crm_mon to a cgi-script.
Wouldn't it be possible to read the output in the script e.g. with python and then
write a html-file with desired design ?

Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Stellv. Aufsichtsratsvorsitzender: MinDirig. Dr. Manfred Wolter
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671



More information about the Users mailing list