|Version 153 (modified by 2 years ago) ( diff ),|
Table of Contents
- SAMBRO MOBILE APP
- An Introduction to SAMBRO (Sahana Alerting and Messaging Broker)
- Frequently Asked Question - SAMBRO
The user guide provides a set of step-by-step instructions from installing, customizing, and operationaizing SAMBRO software to issue and manage alerts. It is intended for all user levels: novices to experts. The guide is structured to take you through an actual implementation with real world examples and data.
How to use the Guide
The user guide is designed to quickly access relevant information for performing a user's role specific task. The topics are ordered such as that the most frequently used activities are listed first, like subscribing to alerts, and the seldom used, one time Admin type activities, are listed at the bottom. We have segmented the role specific work flow topics. If you are a particular user searching for a topic, first navigate to the type of user you are and then select the work flow activity:
- How to receive alerts? Steps for first registering in SAMBRO as a Subscriber (Closed User Group; e.g. first-responder) to receive location, event type, and warning priority specific messages as well as public alerts
- How to create, authorize, and disseminate alerts? Instructions for Alerting Authorities for managing the process of issuing alerts to Closed User Groups (CUGs) and the Public
- How to implement SAMBRO for your alerting needs? For Super Users to define the user roles/responsibilities, message qualifiers, message templates, first-responder groups, and standard operating procedures.
- How to install and operationalize SAMBRO software? Guides a Systems Administrator through installation and customization process to get SAMBRO up and running.
Role Specific Topics
User Roles and Permissions
While Sahana allows for defining various user roles and permissions to the customer's liking, SAMBRO has identified five major roles. The roles and their functions are defined in the table below
|Authenticated / Subscriber||Receiving alerts through defined communication modes||Edit own contact details (email, phone, name, ...) -> pr_contact, pr_person|
|Alert Editor||Can create the CAP Message and submit that for approval||cap_alert (Create, Read, Update),|
pr_group [person' group](CRUD),
Admin Based Subscription pr_subscription (CRUD)
|Alert Approver||Besides Authorizing Message to disseminate, they can also act as CAP Editor||cap_alert (Create, Read, Update, Review, Approve),|
pr_group [person' group](CRUD),
Admin Based Subscription pr_subscription (CRUD)
|Implementer/ Administrator||Normally one time implementation||superuser, has access to all the functions|
Subscribers (Alert Recipients)
CAUTION! SAMBRO has the option of subscribing to external feeds (both CAP Feed and RSS Feed) that can be rendered in the SAMBRO News Feeds column in the home page. That Implementation specific process should not be mistaken with the subscription work flows discussed in this section, which is specific to subscribing to SAMBRO feeds
There are two types of alert recipients: Public and CUGs. Public can subscribe to RRS/Atom and Social Media feeds. CUGs have all the privileges the pubic has plus other options to receive email and SMS alerts filtered by location, event type, and warning priority.
- Request for an account; if you don't have one already
- RSS/Atom Feeds for your alert hub or RSS/Atom Reader for all alerts
- Email, SMS, FTP and GCM subscription to receive and filter alerts
- Social Media - link to Twitter, FaceBook news feeds applying the instructions given by the Administrator
- View Alerts and interpret them on a map and complete
- Filter Alerts
- Testing the subscription to alerts
Publishers (Alert Issuers)
The section discusses ways and means for creating a CAP message, having it authorized, and then issuing (or disseminating) to the subscribers
- Create a message for the first time and as a message originator
- Update a message using an existing message
- Cancel a message that has been wrongly issued or the event is cancelled
- Error a message that has error (in information or data)
- Clear a message when the event has subsided to inform the subscribers with an 'All Clear' message
- Import particular alert from the alert URL to relay the alert
- Authorizing and Approving Alerts
- Relaying of alerts
- Testing the publishing of alerts
Implementers (Super Users)
The section is for CAP Implementers for orienting the CAP Broker in the country or implementation specific context.
- Manage Users by associating them with the relevant roles and alerting authority
- Edit First-Responder compulsory messaging lists to force messages (i.e. Admin/Implementer defined subscriber lists)
- Create Message Templates for categories of events and user groups
- Predefined Alert Area polygon and area description developments
- Update Register of Alerting Authorities; i.e. setup your organizational structure and alerting jurisdictions
- Define CAP implementation specific information such as Waring priorities, Event types, Incident tables, ...
- Configure Broker with identifier, warning priorities, and other relevant implementation or country context information
- Subscribe to external feeds
- Testing the implementation after setup, configuration, and adding users
- Requesting for an account in SAMBRO
- Changing the social media link in the footer of the index and the alert hub page
- Download and install the GIS Data needed for the Lx of your country
- Map area display while importing alert (geocode or polygon)
- Setting up SMS gateway
- Setting up the twitter account
- Setting up the facebook account
- run script:
- when asked - "What template should we use?" type "SAMBRO" (without the quotes)
- ALTERNATIVELY - if you have already installed the generic eden and want to change it to the 'SAMBRO' template, do this ...
- using your preferred text editor (e.g. gedit, nano, so on):
- edit the file ../web2py/applications/eden/models/000_config.py
sudo nano ~//web2py/applications/eden/models/000_config.py
- change settings.base.template = ("SAMBRO")
- change directory to ../web2py/applications/eden/ and run the command "clean" (without quotes) in your terminal command line
cd ~//web2py/applications/eden/ clean
- change the director to web2py/ and, in your terminal command line, run the command "python web2py.py -a eden" (without the quotes) to start
cd ~//web2py/applications/eden/ python web2py.py -a eden
- Use the browser to check if it all works!
Installation with own Git branch
Steps for INSTALLING your SAMBRO instance
- [OPTIONAL] Branch an instance of the Sahana Eden code to a new github repository of your own. This would allow you to manage your own customized implementation such as with changing the theme. Ohterwise, ignore this step and pull the code from the main github repository; explained in the subsequent step.
- Activate the script to automatically pull the latest version of the code from your github repository.
- Install the Sahana Eden software with web2py framework and other dependencies.
- Recommend that you install on a Linux server
- Open your terminal and go to your web2py path, by default it will be saved on your home directory
This is useful if you want to run the EDEN with in your organisation (network) without having the public IP (but remember you cannot access it outside, so recommend you get the public IP) (see http://web2py.com/books/default/chapter/29/04/the-core#Command-line-options for more detail)
cd ~web2py python web2py.py -i your.ip.address -p port.number -a 'your password'
- Setup the server with a Public IP to be visible over the Internet
- Configure the installation to send receive SMS, Email.
- Activate the SAMBRO template by changing the default template. Follow
Steps for CUSTOMIZING your SAMBRO instance
- Customize relevant settings to configure the instance to the Implementer's liking
- Customize the CAP Broker for the implementation context (e.g Admin contact details, banner or logo changes
- Basic Administration tasks for activating an instance for the users
- Testing the installation to ensure all SAMBRO specific features are functional
- The Email Generating Function is called get_html_email_content and is available here
- The SMS Generating function is called get_sms_content and is available here
- The email heading generating function is called get_email_subject and is available in /templates/SAMBRO/config.py at here
Depending upon your role and responsibility, you might see all, some or none of the menu item. I will describe the meaning and purpose of each of them here. The purpose will be same no matter what role you are assigned with.
- The Home Page for the system. In case of Philippines, the home page is the alert hub page.
- The Alerts has Option Menus for creating, approving alerts. As well as preparing the templates, predefined alerting areas, warning classifications for the event as well as managing events, and viewing the approved and incomplete alert.
- Alert Hub menu shows the map and tabular form of the CAP compiled alerts coming from the external system.The external alerts can be relayed through the system.
- Organizations menu lets you manage your organization, assign the CAP OID, create branches and label CAP OID in branches as well.
- Persons menu allows you to create the person, edit their contact details, manage address, education, map settings etc. Also, you can create a group of person from the Options Menu in the Persons Menu.
NB: The person may not be authenticated user, ie. you can create a person, send them alerts etc without allowing them to login to the system, assigning any roles etc. Of course, you can allow them too.
- Recipients allows the administrator to manage the list of people as well as the group of person who are forced to receive the alerts.
- Map menu allows you to perform various GIS related tasks in the system like managing layers, maintaining the hierarchy of the administrative division, defining styles, projection system, layers for WMS, and many others.
Click on Alerts and you will get the Options Menu.
Design and Specifications
For advance users or developers interested in the SAMBRO software design requirements and specifications are discussed in the
CAP Broker BluePrint