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: [email protected] 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)" <[email protected]> To: gpfsug main discussion list <[email protected]> Date: 24.06.2020 10:59 Subject: [EXTERNAL] [gpfsug-discuss] Example /var/mmfs/etc/eventsCallback script? Sent by: [email protected] 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 [email protected] ======================== _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listinfo_gpfsug-2Ddiscuss&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=HpP3ZY4lzoY061XISjKwWNDf8lPpYfwOC8vIoe9GoQ4&m=Hc5qL6HxhxEhM4HUBV4RlUww_xybP1YDBLJE4kufPGg&s=nxhqIUDvyK1EZLPzZNuOkgTb5gZRbRojsoMq7m5vWbU&e=
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
