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 OS 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 Zenoss also provides the option of sending pages via SNPP if you specify an SNPP server in settings.
To edit SMTP and SNPP settings:
While logged in to a user account with management privileges, from the Navigation menu, click Settings.
The Settings Tab appears.
Change the following SMTP settings, as necessary:
Table 14.1. SMTP Options
Field Description SMTP Host Set the SMTP Host value to your corporate email server. SMTP Port Usually port 25. SMTP Username Leave this field blank. SMTP Password Leave this field blank. From Address for Emails Enter 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. Enter a Page Command as necessary if you are using the system to send pages. The pageCommand variable enables the system 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 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.