Z.SysAdmin (Portico/Z v0.1.0)

Things that EXPLO SysAdmins do

Link to this section Summary

Functions

Send a notification to the SysAdmin team

Send reminders to EXPLO staff to review emails that they should be monitoring.

Synchronize Portico's LDAP Users and Groups with Google

Link to this section Functions

Link to this function

notify_sysadmins(message, opts \\ [])

Send a notification to the SysAdmin team

Takes some opts:

  • subject - Subject line of the notification email
  • from - Email address from which the notification will be sent
  • recipients - List of email addresses to receive the message eg ["pat@explo.org", "chris@explo.org"]
Link to this function

send_email_manager_reminder()

Send reminders to EXPLO staff to review emails that they should be monitoring.

Messages are only sent to emails that are linked in the manager_email of a ZSchema.Account.

Synchronize Portico's LDAP Users and Groups with Google

This basically just emits a HiveAtom message:

{z, staff, sync_ldap}

This message will be imported by the HIVE Monitor, which lives in the same building as our LDAP server. The HIVE Monitor runs the LDAP sync itself.