三、安裝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 ;