We started testing the connectivity ofoffload DB and Nagios. The Nagios server was able to connect to all 3 offloading DB's.
But when we are trying to access the NAgiosXI from web console its throwing the error connection failed: Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (22).
while we are stop the mariadb services it will throws that error.
and these are configuration files: vi /usr/local/nagios/etc/ndo2db.cfg
vi /usr/local/nagiosxi/html/config.inc.php
and kindly please check the below attachments. and please do the needful help.
Regards
Sai kiran
access the NAgiosXI from web console its throwing the error
access the NAgiosXI from web console its throwing the error
You do not have the required permissions to view the files attached to this post.
Re: access the NAgiosXI from web console its throwing the er
Did you follow ALL OF THE STEPS, outlined in the document below?
https://assets.nagios.com/downloads/nag ... Server.pdf
It seems like that in the configs, your database server is still set as "localhost"... You should have:
Please revisit our official document on the topic, and make sure you followed all steps.
https://assets.nagios.com/downloads/nag ... Server.pdf
It seems like that in the configs, your database server is still set as "localhost"... You should have:
Code: Select all
"dbserver" => '<IP_OF_MYSQL_OR_MARIADB_SERVER>'
Be sure to check out our Knowledgebase for helpful articles and solutions!