Go to main content

手册页部分 1:用户命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

traptoemail (1)

名称

traptoemail - snmptrapd handler script to convert snmp traps into emails

用法概要

traptoemail [-f FROM] [-s SMTPSERVER] ADDRESSES

描述

traptoemail(1)                     Net-SNMP                     traptoemail(1)



NAME
       traptoemail  -  snmptrapd  handler  script  to  convert snmp traps into
       emails

SYNOPSIS
       traptoemail [-f FROM] [-s SMTPSERVER] ADDRESSES

DESCRIPTION
       converts snmp traps into email messages.

OPTIONS
       -f FROM
              sender address, defaults to "root"

       -s SMTPSERVER
              SMTP server, defaults to "localhost"

       ADDRESSES
              recipient addresses



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------------+
       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE          |
       +---------------+---------------------------------+
       |Availability   | system/management/snmp/net-snmp |
       +---------------+---------------------------------+
       |Stability      | Volatile                        |
       +---------------+---------------------------------+

NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded   from    https://sourceforge.net/projects/net-
       snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.net-snmp.org/.



V5.8                              16 Nov 2006                   traptoemail(1)