[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:54:51 EDT 2019


----- Am 3. Mai 2019 um 22:32 schrieb Bernd Lentes bernd.lentes at helmholtz-muenchen.de:
>> 
>> 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 ?

It's easier.
crm_mon -w writes to stdout, so it's easy to process it with sed.

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