6.20.08 - Enabling snmpd and smpdtrapd Service - Aster Database

Teradata AsterĀ® Database 6.20 Release Notes

Product
Aster Database
Release Number
6.20.08
Published
November 2019
Language
English (United States)
Last Update
2019-11-12
dita:mapPath
vux1500568440584.ditamap
dita:ditavalPath
External-only.ditaval

Aster uses snmp for alerting. Users could configure events in Aster to send them email alerts ('ncli events list subscriptions') and it uses its own configuration file /home/beehive/config/snmpd.conf.

Starting with 6.20.06, snmpd service will be disabled by default and anyone wants to configure email alerts then they should enable this service before adding any subsctiptions.

To enable snmpd and snmptrad service, add the following lines to the appropriate configuration file on queen node and clone the file to all the nodes.

  1. Add the following lines to /home/beehive/config/procmgmtConfigs/coordinator.cfg:
    {
       "jobUser": "beehive",
       "jobUser": "beehive",
       "jobName": "Net-SNMP on REPLACE_NODE_IP",
       "Tasks": [
       {
          "taskName": "Net-SNMP Agent / Manager Daemon",
          "nodeIps": "REPLACE_NODE_IP",
          "executableLocation": "/usr/sbin/snmpd",
          "executableArgs": "-f,-c,/home/beehive/config/snmpd.conf,udp:19678",
          "maxTaskRestarts": -1
       }
       ]
    },
    {
       "jobUser": "beehive",
       "jobName": "Net-SNMP Trap Handler on REPLACE_NODE_IP",
       "Tasks": [
       {
          "taskName": "Net-SNMP Trap Handler Daemon",
          "nodeIps": "REPLACE_NODE_IP",
          "executableLocation": "/usr/sbin/snmptrapd",
          "executableArgs": "-f,-c,/home/beehive/config/snmptrapd.conf,udp:19679",
          "maxTaskRestarts": -1
       }
       ]
    }
    
  2. Add the following lines to /home/beehive/config/procmgmtConfigs/worker.cfg:
    {
       "jobUser": "beehive",
       "jobUser": "beehive",
       "jobName": "Net-SNMP on REPLACE_NODE_IP",
       "Tasks": [
       {
          "taskName": "Net-SNMP Agent / Manager Daemon",
          "nodeIps": "REPLACE_NODE_IP",
          "executableLocation": "/usr/sbin/snmpd",
          "executableArgs": "-f,-c,/home/beehive/config/snmpd.conf,udp:19678",
          "maxTaskRestarts": -1
              }
       ]
       }
    
  3. Add the following lines to /home/beehive/config/procmgmtConfigs/loader.cfg:
    {
       "jobUser": "beehive",
       "jobUser": "beehive",
       "jobName": "Net-SNMP on REPLACE_NODE_IP",
       "Tasks": [
       {
          "taskName": "Net-SNMP Agent / Manager Daemon",
          "nodeIps": "REPLACE_NODE_IP",
          "executableLocation": "/usr/sbin/snmpd",
          "executableArgs": "-f,-c,/home/beehive/config/snmpd.conf,udp:19678",
          "maxTaskRestarts": -1
       }
       ]
    }
    
  4. Restart Aster database.