GithubHelp home page GithubHelp logo

doytsujin / gateway-email-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itrs-group/gateway-email-action

0.0 1.0 0.0 5 KB

Action scripts that Gateways will call to send alerts to a users email address

License: MIT License

Perl 100.00%

gateway-email-action's Introduction

Email scripts for Gateway 2

Introduction

This solution is provides several different perl script to for use with gateway2.

scripts

The scripts directory contains the available email scripts. email.pl Attempt at one stop shopping for multiple formats as opposed to having to maintain multiple scripts. Works for gateway user assignment and escalation. Accepts email addreses as either the userdata "eMail" or command line arguments. Makes subject nice and short so suitable for smartphones.

Symlinking this script to the following names helps invoke different functionality:

  • email_assign.pl -> email.pl
  • email_unassign.pl -> email.pl
  • email_escalate.pl -> email.pl

email_ws.pl Modification of email.pl to send dataviews as retrieved from webslinger to be sent as part of the email. Uses wget to access webslinger. As the webslinger URL is built using a static URL path you have to modify two lines at the top of the script.

  • webslingerHost = the host: port of the webslinger url
  • attributes = .Comma separated list of the attributes used by webslinger. Should match the webslinger.setup VIEW_PATH.

Symlinking this script to the following names helps invoke different functionality:

  • email_assign.pl -> email.pl
  • email_unassign.pl -> email.pl
  • email_escalate.pl -> email.pl

gateway-email-action's People

Contributors

stevelapp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.