Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
[root@localhost Documentos]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 86
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> SHOW GRANTS FOR 'ndoutils'@'localhost';
+-----------------------------------------------------------------------------------------------------------------+
| Grants for ndoutils@localhost |
+-----------------------------------------------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'ndoutils'@'localhost' IDENTIFIED BY PASSWORD '*59CEA604D47257BE41050920CF424B4ADAEE5120' |
| GRANT ALL PRIVILEGES ON `nagios`.* TO 'ndoutils'@'localhost' WITH GRANT OPTION |
+-----------------------------------------------------------------------------------------------------------------+
2 rows in set (0.00 sec)
MariaDB [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| nagios |
| performance_schema |
| test |
+--------------------+
5 rows in set (0.00 sec)
Editing the ndo2db.cfg file, enabling debul_level=-1 and restarting ndo2 services and nagios does not generate the file /usr/local/nagios/var/ndo2db.debug.
Could you please indicate the correct sequence to generate the log, I'm sorry, I'm not very expert in Centos.