Page 1 of 1

Where's NagiosXI DB locate? can it be connected and collect?

Posted: Wed Dec 19, 2018 6:03 am
by xpertech
Where's the NagiosXI DB locate?
Is there possible to connect to NagiosXI DB and collect or get some value?

Re: Where's NagiosXI DB locate? can it be connected and coll

Posted: Wed Dec 19, 2018 3:33 pm
by npolovenko
Hello, @xpertech. Sure, you can connect to the nagiosxi database in mysql:
mysql -u root -pnagiosxi nagiosxi
mysql -u root -pnagiosxi nagios
mysql -u root -pnagiosxi nagiosql
But be careful because one wrong command can damage the DB and make Nagios unrecoverable.

I suggest creating a backup of NagiosXI before you do anything with the database.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf