三、安装nodutils: tar zxvf ndoutils-1.4b7.tar.gz cd ndoutils-1.4b7 ./configure --prefix=/usr/local/nagios --enable-mysql --disable-pgsql LDFLAGS=-L/app/mysql/lib --with-mysql-inc=/app/mysql/include/mysql --with-mysql-lib=/app/mysql/lib/mysql make && make install
六、创建ndo的mysql数据库及用户 CREATE DATABASE `nagios` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT select,insert,update,delete ON nagios.* TO nagios@localhost identified by 'nagios'; FLUSH PRIVILEGES ;