Administration Guide

  • Docs Home
  • Community Home

1. Email and Pager Settings

You can send Zenoss 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 OS does not include a mail server, you must install one or specify a separate SMTP server in the Zenoss settings. Many pagers can accept messages via email, but Zenoss also provides the option of sending pages via SNPP if you specify an SNPP server in Zenoss settings.

1.1. Setting SMTP and SNPP Information

To edit Zenoss SMTP and SNPP settings:

  1. While logged in to a user account with management privileges, from the Navigation menu, click Settings.

    The Settings Tab appears.

    Figure 14.1. Zenoss Settings - Settings Tab

    Zenoss Settings - Settings Tab

  2. Change the following SMTP settings, as necessary:

    Table 14.1. SMTP Options

    FieldDescription
    SMTP HostSet the SMTP Host value to your corporate email server.
    SMTP PortUsually port 25.
    SMTP UsernameLeave this field blank.
    SMTP PasswordLeave this field blank.
    From Address for EmailsEnter 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. Enter a Page Command as necessary if you are using Zenoss to send pages. The pageCommand variable enables Zenoss to execute the 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 Zenoss 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 want. In this case $RECIPIENT is actually the paging address for the user, as set in the settings for each user.