Skip navigation
Currently Being Moderated

14.1 Email and Pager Alerts

VERSION 3  Click to view document history
Created on: Oct 11, 2011 5:00 PM by Zenoss API - Last Modified:  Oct 11, 2011 5:16 PM by Zenoss API

 1. Email and Pager Alerts

You can send alerts to users via email (SMTP) or pager (SNPP). Many operating systems include an SMTP server (such as Sendmail or Postfix) with their distributions. If your operating system does not include a mail server, you must install one or specify a separate SMTP server in the system settings. Many pagers can accept messages via email, but  Resource Manager also provides the option of sending pages via SNPP if you specify an SNPP server in settings.

 1.1. Editing SMTP and SNPP Information

Follow these steps to edit SMTP and SNPP settings.

Note

You must be logged in to a user account with management privileges.

  1. From the Navigation menu, select Advanced.

    The Settings page appears.

     

    Figure 14.1. Settings

    Settings

  2. Change the following SMTP settings as needed:

     

    Table 14.1. SMTP Options

    FieldDescription
    SMTP HostSet to the value of your corporate email server.
    SMTP PortSpecify the port number (usually port 25).
    SMTP UsernameEnter a value if your mail server requires authentication; otherwise, leave this blank.
    SMTP PasswordEnter a value if your mail server requires authentication; otherwise, leave this blank.
    From Address for EmailEnter a value if you want email to come from a specific email address.
    Use TLS?Select this option if you use transport layer security for your email alerts.

  3. If you want to send pages, enter a value in the Page Command field. The pageCommand variable enables the system to execute pageCommand when a page is sent, and writes the message to the standard input of the subshell. The command prints any error messages to standard output. This enables a wider ranging of paging customization.

    The standard page command is:

    $ZENHOME/bin/zensnpp localhost 444 $RECIPIENT

    This uses ZENHOME to send the page from the localhost; however, you can use any page command customizations you prefer. In this case $RECIPIENT is the paging address for the user, as set in the settings for each user.

Comments (0)