Can you please provide url to access nagios db.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Can you please provide url to access nagios db.

Post by sgoffar »

Hi Team,

Can you please help to access nagios db through URL. Like application access URL(http://<url>/nagiosxi.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Can you please provide url to access nagios db.

Post 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.
Last edited by mcapra on Tue Aug 01, 2017 2:27 pm, edited 1 time in total.
Former Nagios employee
https://www.mcapra.com/
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Can you please provide url to access nagios db.

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Can you please provide url to access nagios db.

Post by tacolover101 »

what is your ultimate goal?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can you please provide url to access nagios db.

Post by lmiltchev »

Any updates, sgoffar?
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Can you please provide url to access nagios db.

Post by sgoffar »

Thanks for your response.I will check details and update you.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can you please provide url to access nagios db.

Post by lmiltchev »

Noted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
sgoffar
Posts: 122
Joined: Wed Sep 21, 2016 9:30 am

Re: Can you please provide url to access nagios db.

Post by sgoffar »

My goal is to access the db tables.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Can you please provide url to access nagios db.

Post 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?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can you please provide url to access nagios db.

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked