Page 1 of 1
Can you please provide url to access nagios db.
Posted: Mon Jul 31, 2017 6:52 am
by sgoffar
Hi Team,
Can you please help to access nagios db through URL. Like application access URL(http://<url>/nagiosxi.
Re: Can you please provide url to access nagios db.
Posted: Mon Jul 31, 2017 8:23 am
by mcapra
If you're referring to an application like
phpMyAdmin, such an application does not exist. I would absolutely not install phpMyAdmin on top of Nagios XI.
You should be able to use any generic MySQL client to access the database on
localhost:3306. The default database root user is
root:nagiosxi.
I would
not advise doing any sort of writing to the database directly as this can make your Nagios XI installation unstable. If you need to pull data from the database, it's best to use the REST API (see the "Help" section of the Nagios XI GUI for usage) or to create a read-only MySQL user.
Re: Can you please provide url to access nagios db.
Posted: Mon Jul 31, 2017 9:03 am
by eloyd
Totally agree with @mcapra. Knowing what you want to do might help us suggest alternatives, some of which may be existing functionality within Nagios XI already.
Re: Can you please provide url to access nagios db.
Posted: Mon Jul 31, 2017 9:18 am
by tacolover101
what is your ultimate goal?
Re: Can you please provide url to access nagios db.
Posted: Mon Jul 31, 2017 10:00 am
by lmiltchev
Any updates, sgoffar?
Re: Can you please provide url to access nagios db.
Posted: Tue Aug 01, 2017 6:36 am
by sgoffar
Thanks for your response.I will check details and update you.
Re: Can you please provide url to access nagios db.
Posted: Tue Aug 01, 2017 11:35 am
by lmiltchev
Noted.
Re: Can you please provide url to access nagios db.
Posted: Tue Aug 29, 2017 9:46 am
by sgoffar
My goal is to access the db tables.
Re: Can you please provide url to access nagios db.
Posted: Tue Aug 29, 2017 9:52 am
by eloyd
I would say that "access[ing] the db tables" is a tactic or technique used to achieve your goal, but your goal has still not been stated. Why do you want to access the tables? This is like someone asking how to access the Windows registry. Accessing it is easy, but the bigger question is really WHY do you want to access it?
Re: Can you please provide url to access nagios db.
Posted: Tue Aug 29, 2017 9:59 am
by scottwilkerson
sgoffar wrote:My goal is to access the db tables.
As previously stated this type of access to the databases are not available via URL like you are requesting.