Hi Team,
Can you please help to access nagios db through URL. Like application access URL(http://<url>/nagiosxi.
Can you please provide url to access nagios db.
Can you please provide url to access nagios db.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Can you please provide url to access nagios db.
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.
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/
https://www.mcapra.com/
Re: Can you please provide url to access nagios db.
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.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Can you please provide url to access nagios db.
what is your ultimate goal?
Re: Can you please provide url to access nagios db.
Any updates, sgoffar?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Can you please provide url to access nagios db.
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
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Can you please provide url to access nagios db.
Noted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Can you please provide url to access nagios db.
My goal is to access the db tables.
Regards,
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Sk Abdul Goffar
Nagios Version:Nagios XI 5.4.8
OS:CentOS release 6.5
Re: Can you please provide url to access nagios db.
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?
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.
As previously stated this type of access to the databases are not available via URL like you are requesting.sgoffar wrote:My goal is to access the db tables.