hi.if you got problem of connecting ndoutils to nagios with that title type of error then you can do chmod to your config files.
[root@localhost etc]# chmod 666 ndo2db.cfg
[root@localhost etc]# chmod 666 ndomod.cfg
[root@localhost etc]# chmod 666 ndomod.cfg
after that you can try to tail nagios log. I'm sure that it will not error again instead it will show as:
ndomod: Successfully connected to data sink
whoops..!! don't forget to give your ndouser permission in mysql
mysql> create user 'ndouser'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on nagios.* to 'ndouser'@'localhost' identified by 'ndopassword';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Query OK, 0 rows affected (0.00 sec)
mysql> grant all on nagios.* to 'ndouser'@'localhost' identified by 'ndopassword';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
goodluck :p
К сожаление не помогло, ubuntu 12.04 =(
ReplyDeleteThanks
ReplyDelete