文件名称:nrpe监控mysql.docx
文件大小:13KB
文件格式:DOCX
更新时间:2016-06-11 08:03:39
nrpe 监控 mysql
nagios监控mysql服务器: 1、建立专用数据库: [root@svr3 ~]# /usr/local/webserver/mysql/bin/mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 51910 Server version: 5.5.3-m3-log Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database nagios; Query OK, 1 row affected (0.00 sec) mysql> grant select on nagios.* to nagios@'%' identified by '123qweasd'; Query OK, 0 rows affected (0.00 sec)