Retrieving SNMP statistics for email analysis based on a time period using the CLI

Prev Next

Use the CLI commands in this procedure to retrieve the SNMP statistics for email analysis over a time frame.

To retrieve SNMP statistics for email analysis based on a time period:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify the number of days, hours, or minutes.

    • To specify a number of days:

      hostname (config) # email-analysis snmp stat-interval <number> days

      where <number> is the number of days.

    • To specify a number of hours:

      hostname (config) # email-analysis snmp stat-interval <number> hours

      where <number> is the number of hours.

    • To specify a number of minutes:

      hostname (config) # email-analysis snmp stat-interval <number> minute

      where <number> is the number of minutes.

    • To retrieve all statistics:

      hostname (config) # email-analysis snmp stat-interval 0 hours
  3. View the status of email analysis, including the time period to retrieve the SNMP statistics from the appliance.

    hostname (config) # show email-analysis
    Email-Analysis:
    enabled:                   yes
    mode:                      block-email
    interface:                 pether3
    interface ipv4 address:      172.17.74.68
    interface ipv6 address:    2001:470:84a7:1720:225:90ff:fef3:2476
    TLS receive mode:          none
    TLS default deliv. mode:   none
    MTA certificate name:      system-self-signed
    Password-protected objs:   yes
    cipher list:               compatible
    minimum protocol version:  tls1.2
    Controlled-live-mode enabled: no
    URL dynamic analysis enabled: yes
    URL overlay detection enabled: yes
    SNMP statistics interval:  1 (days)  1 (hours) 5 (minutes)
    Email-Analysis Policy:
      Analyze URLs in body:      yes
      Analyze attachments:          yes
      Analyze email using YARA:     yes
      .....

    The "SNMP statistics interval:" line displays the time period to retrieve the SNMP statistics from the Email Security - Server appliance.

  4. Save your changes.

    hostname (config) # write memory