Friday, June 1, 2012

nagios 3 + ndoutils-1.5 问题

环境: CentOS 6 ,Nagios3.2 , ndoutils-1.5.
错误

Feb 28 19:04:37 monitor nagios: ndomod: Successfully connected to data sink. 0
queued items to flush.
Feb 28 19:04:37 monitor nagios: Event broker module
'/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.
Feb 28 19:04:37 monitor nagios: Finished daemonizing... (New PID=3160)
Feb 28 19:04:37 monitor ndo2db-3x: Error: queue send error.


需要设置

kernel.msgmax = 131072000
kernel.msgmnb = 131072000
kernel.msgmni = 65536000


中文问题解决:
设置为UTF-8
[client]
default-character-set=utf8

[mysql]
default-character-set=utf8

[mysqld]
default-character-set = utf8
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8

No comments:

Post a Comment