Forum: Building VoltDB Applications

Post: Support for SNMP traps

Support for SNMP traps
prashanth
Dec 6, 2013
Hi,

Does VoltDB support sending SNMP traps during critical events like: database down, replication failed, failed to restore data etc.
If not supported, whats the best way to keep listening to these events ? Please note that getting alarmed on these events is very important in an application using VoltDB.
jpiekos
Dec 6, 2013
VoltDB does not have SNMP trap support. However, we do supply monitoring support via Nagios and New Relic.

You might want to start with looking at our nagios scripts that we provide in the monitoring/nagios directory found in the VoltDB kit. The scripts are described in http://voltdb.com/docs/MgtGuide/MonitorOther.php#MonitorNagios. In addition to the listed scripts, there is another called, get_voltdb_statistics, which can get any of the stats from the @Statistics sysproc.

John
prashanth
Dec 10, 2013
But should we need to start the Enterprise Manager for connecting to the JMX using a Jconsole ?
Would an URL like service:jmx:remoting-jmx://<host>:9999 work ?

What are the username/password for this connection ?
nshi
Dec 10, 2013
No, you don't need to start the Enterprise Manager to use JMX. By default, the JMX service listens on port 9090. You can simply use hostname:9090 in jconsole to connect to the server. Authentication is turned off, so you don't have to provide username and password.
jpiekos
Jan 17, 2017
VoltDB v6.9 now supports SNMP traps. See https://docs.voltdb.com/AdminGuide/MonitorChap.php