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.
-
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 } ] }
-
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 } ] }
-
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 } ] }
- Restart Aster database.