Hello Heiner,
you can find an
example callback script, which writes an e-mail to the storage admin after
a specific event occurs in the slide 21 of the presentation "Keep
your Spectrum Scale cluster HEALTHY with MAPS":
https://www.spectrumscaleug.org/wp-content/uploads/2020/04/SSSD20DE-Keep-your-Spectrum-Scale-cluster-HEALTHY-with-MAPS.pdf
>> As there
is just one script to handle all events the script probably should
be a small mediator that just checks if an event-specific script
exists and calls this asynchronously.
The script startup
+ the check must be quick.
The call in the
case if the relevant event occurs, should be quick, but does not have to,
if we assume, that this only happens rarely.
Mit freundlichen Grüßen
/ Kind regards
Pavel Safre
Software
Engineer
IBM Systems
Group, IBM Spectrum Scale Development
Dept.
M925
|
|
| Phone: | | IBM
Deutschland Research & Development GmbH | |
| Email: | psafre@de.ibm.com | Am
Weiher 24 |
| | 65451
Kelsterbach |
|
| IBM
Data Privacy Statement |
IBM
Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats:
Gregor Pillen Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart,
HRB 243294 |
From:
"Billich
Heinrich Rainer (ID SD)" <heinrich.billich@id.ethz.ch>
To:
gpfsug
main discussion list <gpfsug-discuss@spectrumscale.org>
Date:
24.06.2020
10:59
Subject:
[EXTERNAL]
[gpfsug-discuss] Example /var/mmfs/etc/eventsCallback script?
Sent
by: gpfsug-discuss-bounces@spectrumscale.org
Hello,
I’m
looking for an example script /var/mmfs/etc/eventsCallback to add callbacks
for system health events. I searched the installation and googled but didn’t
found one. As there is just one script to handle all events the script
probably should be a small mediator that just checks if an event-specific
script exists and calls this asynchronously. I think I’ve seen something
similar before, but can’t find it.
https://www.ibm.com/support/knowledgecenter/en/STXKQY_5.0.4/com.ibm.spectrum.scale.v5r04.doc/bl1adv_createscriptforevents.htm
Thank
you,
Heiner
--
=======================
Heinrich
Billich
ETH
Zürich
Informatikdienste
Tel.:
+41 44 632 72 56
heinrich.billich@id.ethz.ch
========================
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss