{"id":487,"date":"2019-02-22T01:54:18","date_gmt":"2019-02-22T01:54:18","guid":{"rendered":"https:\/\/monyog.jp\/?p=487"},"modified":"2019-03-07T02:22:40","modified_gmt":"2019-03-07T02:22:40","slug":"%e9%80%9a%e7%9f%a5%e3%81%a8%e3%83%a1%e3%83%b3%e3%83%86%e3%83%8a%e3%83%b3%e3%82%b9","status":"publish","type":"post","link":"https:\/\/smart-style.main.jp\/monyogjp\/static\/document\/487\/index.html","title":{"rendered":"\u901a\u77e5\u3068\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9"},"content":{"rendered":"
\u3055\u307e\u3056\u307e\u306a\u901a\u77e5\u30c1\u30e3\u30cd\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002SQL Diagnostic Manager\u3067\u751f\u6210\u3055\u308c\u308b\u30a2\u30e9\u30fc\u30c8\u3092\u9001\u4fe1\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u5fc5\u8981\u306a\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u3001\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n
<\/p>\n
\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001SQL Diagnostic Manager\u304b\u3089\u53d7\u3051\u53d6\u308b\u30a2\u30e9\u30fc\u30c8\u901a\u77e5\u306e\u5185\u5bb9\u306e\u5f62\u5f0f\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002 [$ALERT_TYPE]\uff1a<\/strong>\u3053\u308c\u306f\u30a2\u30e9\u30fc\u30c8\u306e\u91cd\u5927\u5ea6\u3092\u8868\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u3067\u304d\u308b\u5024\u306f\u3001Critical\u3001Warning\u3001Stable\u3001INFO\u3067\u3059\u3002\u30a2\u30e9\u30fc\u30c8\u306e\u7a2e\u985e\u306f\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u304c\u751f\u6210\u3055\u308c\u305f\u30a2\u30e9\u30fc\u30c8\u306e\u7a2e\u985e\u306b\u57fa\u3065\u3044\u3066\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002\u30a2\u30e9\u30fc\u30c8\u306e\u7a2e\u985e\u306f\u4ee5\u4e0b\u306e\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u8a2d\u5b9a\u3055\u308c\u307e\u3059\uff1a<\/p>\n [$SERVER_NAME]\uff1a<\/strong>\u30a2\u30e9\u30fc\u30c8\u304c\u751f\u6210\u3055\u308c\u305f\u30b5\u30fc\u30d0\u30fc\u540d\u3002\u6ce8\u610f<\/strong>\u3001\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u4e0d\u8db3\u306e\u30e1\u30fc\u30eb\u3067\u306f\u3001server_name\u306fSQLDM-Host \u3067\u3059\u3002<\/p>\n [$MSG_DETAILS]\uff1a<\/strong>\u3053\u308c\u306f\u30a2\u30e9\u30fc\u30c8\u306e\u8a73\u7d30\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 1\u3064\u306e\u96fb\u5b50\u30e1\u30fc\u30eb\u306b1\u3064\u4ee5\u4e0a\u306e\u30e2\u30cb\u30bf\u30fc\u30a2\u30e9\u30fc\u30c8\u304c\u3042\u308b\u5834\u5408\u3001\u3053\u308c\u306f\u96fb\u5b50\u30e1\u30fc\u30eb\u5185\u306b\u30a4\u30d9\u30f3\u30c8\u6570\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u201cn Events\u201d\u306e\u2018n\u2019\u306f\u3001\u201c\u30a4\u30d9\u30f3\u30c8\u306e\u5408\u8a08\u6570\u201d\u3067\u3059\u3002<\/p>\n \u4f8b\uff1aSQL DM for MySQL | Critical | Production | 2 Events.<\/p>\n <\/p>\n \u3053\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u306f\u3001SMTP\u30b5\u30fc\u30d0\u30fc\u30a2\u30c9\u30ec\u30b9\u3068\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u9001\u4fe1\u5074\u306e\u201cfrom\u201d\u30a2\u30c9\u30ec\u30b9\u306e\u6307\u5b9a\u6642\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n \u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30e9\u30fc\u30c8\u306e\u69cb\u6210\u306b\u95a2\u3059\u308b\u554f\u984c\u306e\u307b\u3068\u3093\u3069\u306f\u3001\u4e3b\u306b\u3001FROM\/TO\uff08\u767a\u4fe1\u5143\uff0f\u5b9b\u5148\uff09\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u7121\u52b9\u306a\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5f62\u5f0f\u3092\u6307\u5b9a\u3057\u305f\u306e\u304c\u539f\u56e0\u3067\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u767b\u9332\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n <\/p>\n \u8a73\u3057\u3044\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u81ea\u52d5\u30a2\u30e9\u30fc\u30c8\u901a\u77e5\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n <\/p>\n \u3053\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001SNMP\u306e\u8a2d\u5b9a\u3068SQL Diagnostic Manager\u3067\u4f7f\u7528\u3067\u304d\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n Settings -> Notification & Maintenance -> SNMP<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001SNMP\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n <\/p>\n Settings -> Notification & Maintenance -> PAGERDUTY<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001PagerDuty\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n PagerDuty\u306e\u7d71\u5408\u306b\u3088\u308a\u3001PagerDuty\u30b5\u30fc\u30d3\u30b9\u306b\u30a2\u30e9\u30fc\u30c8\u3092\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n SQL Diagnostic Manager\u306e\u30a2\u30e9\u30fc\u30c8\u304c\u9001\u4fe1\u3055\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u306e\u7d71\u5408\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3001\u9001\u4fe1\u3055\u308c\u308b\u30a2\u30e9\u30fc\u30c8\u306e\u7a2e\u985e\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u201c\u30c6\u30b9\u30c8\u201d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u7d71\u5408\u304c\u6b63\u5e38\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n \u307e\u305f\u3001SQL Diagnostic Manager\u306b\u767b\u9332\u3055\u308c\u305f\u8907\u6570\u306e\u7570\u306a\u308b\u30b5\u30fc\u30d0\u30fc\u306e\u8981\u4ef6\u306b\u57fa\u3065\u3044\u3066\u8907\u6570\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30eb\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u65b0\u3057\u3044\u30eb\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u3067CREATE NEW RULE\uff08\u65b0\u3057\u3044\u30eb\u30fc\u30eb\u306e\u4f5c\u6210\uff09<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n <\/p>\n \u8ffd\u52a0\u3059\u308b\u7d71\u5408\u30ad\u30fc\u306bAPI<\/strong>\u3068\u3057\u3066\u7d71\u5408\u306e\u7a2e\u985e\u304c\u542b\u307e\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n <\/p>\n Settings -> Notification & Maintenance -> SLACK<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001SLACK\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n SQL Diagnostic Manager\u306bSlack\u3092\u7d71\u5408\u3057\u3066\u3001SQL Diagnostic Manager\u304b\u3089Slack\u30c1\u30e3\u30f3\u30cd\u30eb\u3078\u306e\u30a2\u30e9\u30fc\u30c8\u3068\u901a\u77e5\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n SLY CHANNEL\u30d5\u30a3\u30fc\u30eb\u30c9\u306bSQL Diagnostic Manager\u30a2\u30e9\u30fc\u30c8\u3092\u9001\u4fe1\u3059\u308b\u30c1\u30e3\u30cd\u30eb\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3001WEHHOOK URL\u30d5\u30a3\u30fc\u30eb\u30c9\u306bIncoming Webhook\u3092\u5165\u529b\u3057\u3066\u3001\u5e0c\u671b\u306e\u30a2\u30e9\u30fc\u30c8\u306e\u7a2e\u985e\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u30eb\u30fc\u30eb\u304c\u6b63\u5e38\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u306f\u3001Test\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u30eb\u30fc\u30eb\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\u3002<\/p>\n <\/p>\n <\/p>\n Settings -> Notification & Maintenance -> SYSLOG<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001SYSLOG\u8a2d\u5b9a\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n \u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001SQL Diagnostic Manager\u306f\uff08SQL Diagnostic Manager\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30de\u30b7\u30f3\u306e\uff09Syslog\u306b\u30a2\u30e9\u30fc\u30c8\u3068\u901a\u77e5\u3092\u66f8\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n <\/p>\n \u3053\u308c\u306f\u3001Linux\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306e\u307f\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n <\/p>\n \u3053\u306eMaintenance\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30c7\u30fc\u30bf\u53ce\u96c6\u3068\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u3064\u3044\u3066\u30a2\u30e9\u30fc\u30c8\u306e\u4e21\u65b9\u307e\u305f\u306f\u3044\u305a\u308c\u304b\u3092\u6709\u52b9\uff0f\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n Settings -> Notification & Maintenance -> Maintenance<\/strong>\u3092\u4f7f\u7528\u3057\u3066\u3001\u767b\u9332\u6e08\u307f\u306e\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u95a2\u3059\u308bdata collection\uff08\u30c7\u30fc\u30bf\u53ce\u96c6\uff09\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u30a2\u30e9\u30fc\u30c8\u3092\u6709\u52b9\uff0f\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u3055\u307e\u3056\u307e\u306a\u901a\u77e5\u30c1\u30e3\u30cd\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002… <\/p>\n
\n\u30c7\u30d5\u30a9\u30eb\u30c8\u5f62\u5f0f\uff1aSDM for MYSQL | [$ALERT_TYPE] | [$SERVER_NAME] | [$MSG_DETAILS]<\/strong><\/p>\n\n
\n
\n\u4f8b\uff1aSDM for MySQL | Critical | Production | Excessive Privileges: Number Of Users Having Globa\u2026
\nSDM for MySQL | Critical | SQLDM-Host | Low Disk Space.<\/li>\n<\/ol>\n<\/li>\n\n
\n\u4f8b: SQL DM for MySQL | Warning | 5.7.18 128 | MySQL Logs: General log - Enabled? - Yes.<\/li>\n<\/ol>\n<\/li>\n
\n\u4f8b\uff1aSQL DM for MySQL | Stable | Staging | Current Connections: Currently running threads - 1.<\/li>\n\n
\n\u4f8b\uff1aSQL DM for MySQL | Info | Testing | Server configuration change detected.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n
\n\u4f8b\u3048\u3070\u3001\u201cLinux: CPU usage - 74.4%\u201d\u307e\u305f\u306f\u201cLong Running Query: QUERY\u201d\u307e\u305f\u306f\u201cServer configuration change detected\u201d\u307e\u305f\u306f\u201cServer restarted\u201d\u3002<\/p>\n\u30e1\u30fc\u30eb\uff08SMTP\uff09<\/h2>\n
\n
\n\u4f8b: me@here.com<\/a>\u3001you@there.com<\/a>\u3001somebody@somewhere.com<\/a><\/strong><\/strong><\/li>\n\u6ce8\u610f<\/strong><\/h4>\n
\u6ce8\u610f<\/strong><\/h4>\n
SNMP<\/strong><\/h2>\n
\n
\nSNMP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3001\u30c8\u30e9\u30c3\u30d7\u3092\u8868\u3059\u96e3\u89e3\u306a\u6570\u5b57\u3092\u30c7\u30b3\u30fc\u30c9\u3059\u308b\u306b\u306f\u3001SQL Diagnostic Manager\u306eManagement Information Base (MIB)<\/strong>\u3092SNMP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u8aad\u307f\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002MIB\u30d5\u30a1\u30a4\u30eb\u306f\u3001SQL Diagnostic Manager\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001SQL Diagnostic Manager\u306e\u30d6\u30e9\u30a6\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u3042\u308b\u30ea\u30f3\u30af\u304b\u3089\u3082\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n\u30c8\u30e9\u30c3\u30d7\u306e\u7a2e\u985e\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\uff1a<\/h3>\n
\n
\n\u30e2\u30cb\u30bf\u30fc\u30c8\u30e9\u30c3\u30d7\u306f\u3001Send notifications over SNMP\uff08SNMP\u3067\u901a\u77e5\u3092\u9001\u4fe1\uff09\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6709\u52b9\u306a\u3068\u304d\u306b\u9001\u4fe1\u3055\u308c\u3001\u5bfe\u5fdc\u3059\u308b\u30ab\u30a6\u30f3\u30bf\u30fc\u3067\u306f\u3001MOM\u306b\u3088\u308a\u3001\u30e1\u30fc\u30eb\u30a2\u30e9\u30fc\u30c8\u304c\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n
PagerDuty<\/h2>\n
\u6ce8\u610f<\/strong><\/h4>\n
Slack<\/h2>\n
SYSLOG<\/h2>\n
\u6ce8\u610f<\/strong><\/h4>\n
Maintenance\uff08\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\uff09<\/h2>\n
\u5909\u66f4\u65b9\u6cd5\u306f\uff1f<\/h3>\n