SSH tunneling for MySQL

Property nameDescription
_sshhostHost machine on which SSH server is running.
_sshuserUsername to access the SSH server.
_sshportPort on which SSH server is listening.
Range: 1 .. 65535
Defaluts: “22”
_sshauthtypeSSH authentication type.
Permitted values: key,password
Default: password
_sshpasswordSSH user’s password for password based authentication.
_sshprivatekeySSH user’s private ‘key’ for key based authentication.
Note The key must be url encoded. For example line endings \r\n must be encoded to %0A and ” ” (white space) to +.
_sshpassphrasePassphrase for private key file (if any) for key based authentication.

SSL encryption for MySQL

Property nameDescription
_cacertificateThe digital certificate issued by CA.
Note The key must be url encoded. For example line endings ‘rn’ must be encoded to ‘%0A’ and ” ” (white space) to “+”.
_sslcipherEncryption algorithm like DES, AES etc.
Note The key must be url encoded. For example line endings ‘rn’ must be encoded to ‘%0A’ and ” ” (white space) to “+”.
_usesslauthSSL client authentication type.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_clientkeyPrivate key of the client that is needed for encryption.
_clientcertificateThe client certificate.

SSH settings

To enable and use SSH for reading logs via SFTP and/or OS monitoring, the following query parameters are required:

Property nameDescription
_osmonitoringEnable or disable SSH settings for OS monitoring/reading MySQL logs via SFTP.
Permitted values: yes/no; true,false;1/0
Default: no
_ostypeOS monitoring is available for Linux systems only. Setting to “Linux”, SQL DM for MySQL can monitor system related metrics like CPU consumption, Memory Usage, etc.
Permitted values: linux,rds
.
_ossameasmysqltunnelUses the same SSH details provided for SSH tunneling. Setting to “yes” will use the details provided for SSH tunneling to MySQL for this registration.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_sshsystemhostHost machine on which SSH server is running.
_sshsystemuserUsername to access the SSH server.
_sshsystemportPort on which SSH server is listening.
Range: 1 ..65535
Default: “22”
_sshsystemauthtypeSSH authentication type to be used.
_sshsystempasswordSSH user’s password for password based authentication.
_sshsystemprivatekeySSH user’s private ‘key’ for key based authentication.
Note The key must be url encoded. For example line endings ‘rn’ must be encoded to ‘%0A’ and ” ” (white space) to “+”.
_sshsystempassphrasePassphrase for your private key file (if any) for ‘key’ based authentication.

Notification settings

Property nameDescription
_mailalertsSetting to “yes” will send alerts/notifications via email.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_snmpalertsSetting to “yes” will trigger SNMP traps on event of alerts.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_mailaddressSQL DM for MySQL will send alerts to the email addresses specified under _mailaddress. Accepts comma (,) separated list of email addresses.
_mailaddresscriticalSQL DM for MySQL will send critical alerts to the email addresses specified under _mailaddresscritical.
_mailaddresswarningSQL DM for MySQL will send warning alerts to the email addresses specified under _mailaddresswarning
_mailaddressotherSQL DM for MySQL will send other alerts such as MySQL server restart and MySQL configuration changes to the email addresses specified under _mailaddressother.
_writetosyslogSeting to yes will route the alert notifications to syslog.
Permitted values: yes/no; true,false; 1/0
_slackalertsSetting to “yes” will route alerts/notifications to the Slack room.
Permitted values: yes/no
_slackrulenameSpecify the Slack Rule to be used.
_pagerdutyalertsSetting to “yes” will route alerts/notifications to the PagerDuty.
Permitted values: yes/no
_pagerdutyrulenameSpecify the PagerDuty rule to be used.
_alertableintervalNumber of times to wait before sending the alerts.
Default: “1”
_notifyserverconfigchangeSQL DM for MySQL will send an alert whenever there is a change in MySQL configuration.
Permitted values: yes/no; true,false; 1/0
Default: “yes”
_notifyserverrestartSQL DM for MySQL will send an alert whenever the server restarts.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_briefemailEnable or disable detailed email notification.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_notifystableNotify stable alerts when monitor goes into alert-able state and then becomes stable.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_notifytillstableKeeps notifying the user until the counter becomes stable.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_reminderintervalDefines the number of data collections after which the user receives the notification until the counter becomes stable.
Default: “5”

Data collection settings

Property nameDescription
_datacollectionEnable data collection for server. SQL DM for MySQL will not collect data for this registration if data collection is disabled.
Permitted values: yes/no; true,false; 1/0
Default: “yes”
_datacollectionintervalThe interval for the data collections in seconds.
Default: “300” seconds (5 minutes)
_dataretentiontimeData purging interval for the server. Timeframe should be specified in seconds.
Default: “604800” (7 days)

Replication settings

Property nameDescription
_replicationslaveConsider a server as slave server.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_autoregisterslavesRegister all slave servers.
Permitted values: yes/no; true,false; 1/0
Default: “no”

Galera Settings

Property nameDescription
_autoregistergaleranodesAuto-register all galera nodes.
Permitted values: yes/no; true,false; 1/0
Default: “no”

Error log monitoring

Property nameDescription
_enableerrorlogTo enable error log monitoring.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_errorlogreadmodeMode to read the error log file.
Permitted values: sftp, local, rds
Default: “local”
_errorlogpathMySQL error log path.
Default: “/var/log/mysql/server-err.log”
_dbidentifierA unique name to identify your RDS/Aurora instance.
_instanceregionThe region in which your instance is hosted, e.g: us-east-1.
_accesskeyA 20 character long key ID, is generated from AWS Mangement Console.
_secretkeyA 40 character long key ID, is generated from AWS Management Console.

Slow query log and General query log settings

Property nameDescription
_logreadmodeMode to read the General and Slow query log files.
Permitted values: sftp, local, rds
Default: “local”
_querylogdestinationRead logs stored either from FILE or TABLE.
Permitted values: file, table
Default: “file”
_enableslowqueryTo enable slow query log monitoring.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_slowquerylogpathPath for slow log.
Default: /var/log/mysql/server-slow.log
_enablegeneralqueryTo enable general query log monitoring.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_generalquerylogpathPath for general log.
Default: /var/log/mysql/server-general.log
_dbidentifierA unique name to identify your RDS/Aurora instance.
_instanceregionThe region in which your instance is hosted, e.g: us-east-1.
_accesskeyA 20 character long key ID, is generated from AWS Management Console.
_secretkeyA 40 character long key ID, is generated from AWS Management Console.

Audit log settings

Property nameDescription
_auditlogreadmodeMode to read Audit log.
Permitted values: sftp, local, rds
Default: “local”
_enableauditlogTo enable audit log monitoring.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_auditlogpathPath for audit log.
Default: /var/lib/mysql/server_audit.log
_dbidentifierA unique name to identify your RDS/Aurora instance.
_instanceregionThe region in which your instance is hosted, e.g: us-east-1.
_accesskeyA 20 character long key ID, is generated from AWS Management Console.
_secretkeyA 40 character long key ID, is generated from AWS Management Console.

Sniffer settings

Property nameDescription
_enablesnifferEnable or disable sniffer analysis.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_sniffermodeSpecifying a way to populate sniffer data for analysis.
Permitted values: processlist, performanceschema, proxy
Default: “processlist”
_monitorlongrunningqueriesMonitor only long running queries, executing beyond the specified time.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_longrunningquerytimeThe time which qualifies a query as long running query (in seconds).
Default: “10”
_ignorequeriesbyuserA filter to ignore queries by a user.
_longrunningqueryactionThe action to be performed for long running queries.
Permitted values: notify, kill, notifyandkill
Default: notify
_monitorlockedqueriesMonitors for queries in the locked state.
Permitted values: yes/no; true,false; 1/0
Default: “no”
_snifferproxyhostMySQL proxy host.
_snifferproxyportMySQL proxy port.
_sniffingintervalThis interval specifies how frequently SQL DM for MySQL should “sniff” MySQL server (in seconds).
Default: “1”
_snifferpurgingintervalSpecifying a timeframe to purge the data collected (in seconds).
Default: “259200” (3 days)
_snifferfilteruserA filter to sniff queries only by specified users.
_snifferfilterhostA filter to sniff queries only by specified hosts.
_sniffquerystartingwithTo sniff queries starting with the string.
_snifferlongquerymailSetting to “yes” will enable SQL DM for MySQL to send mail alerts for long running queries.
Permitted values: yes/no
_snifferlongquerymailtoSQL DM for MySQL will send long running query alert to the email addresses specified under _snifferlongquerymailto
_snifferlongquerytrapSetting to “yes” will enable SQL DM for MySQL to send SNMP traps for the long running queries.
Permitted values: yes/no
_snifferlongquerywritetosyslogSetting to “yes” will enable SQL DM for MySQL to write the alerts for the long running queries to the syslog of the host machine of SQL DM for MySQL.
Permitted values: yes/no
_snifferlongqueryslackSetting to “yes” will enable SQL DM for MySQL to route the alerts to the Slack room for the long running queries.
Permitted values: yes/no
_snifferlongqueryslackruleSpecify the Slack rule to be used for sending the Long running query alerts.
_snifferlongquerypagerdutySetting to “yes” will enable SQL DM for MySQL to route the alerts to PagerDuty for the long running queries.
Permitted values: yes/no
_snifferlongquerypagerdutyruleSpecify the PagerDuty rule to be used for sending the Long running query alerts.

Deadlock monitoring settings

Property nameDescription
_enabledeadlockmonitoringEnable or disable InnoDB deadlock monitoring. Turning this ON will help in tracing deadlocks reported by “SHOW INNODB STATUS”.
Permitted values: yes/no; true,false; 1/0
Default: “no”

Manage Monitors settings

Property nameDescription
_disabledmonitorgroupsThis specifies the monitor groups that are to be disabled for the server. Comma-separated Group IDs may be supplied. To know the Group IDs of the various monitor groups, you may hover over the Monitor Groups in Customize -> Manage Monitor Groups. For example, if you want to disable, Binary Log (Group ID: 17), Replication (Group ID : 19) and MySQL Cluster(Group ID: 27), the parameters will be 17,19,27
Default: 7,14,22

Real-Time Mode Setting

Property nameDescription
_realtimemodeFor setting up Real-Time monitoring mode.
Permitted values: processlist/performanceschema
Default: “processlist”

Connection Settings

Property nameDescription
_mysqlconnecttimeoutSpecify MySQL connection timeout.
Default: “30” seconds
_sshconnecttimeoutSpecify SSH tunnel connection timeout.
Default: “30” seconds
_sshsystemconnecttimeoutSpecify SSH connection timeout.
Default: “30” seconds
Copyright © 2026 Webyog Inc. All Rights Reserved.