Ticket #253 (closed defect: Fixed)
Potentially confusing values for Nagioslocation description in web setup
| Reported by: | kmyerqsv | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | Centreon-2.0 |
| Component: | CentCore | Version: | RC5 |
| Keywords: | Cc: |
Description
In step 6 of the web setup, the value of the MySQL location and Nagios location can be set. In my setup, MySQL is a remote server and Nagios is installed on the local host. The way the text is worded states:
Nagios location (localhost if blank)
Since my Nagios host is localhost, I left it blank. However, in Step 11, where the SQL GRANT statements are created, it uses the value for Nagioslocation, which results in a GRANT statement looking like something of user@localhost. It really should be user@…. Things would work fine if Nagios and MySQL were running on the same host, but this isn't the case for a remotely hosted MySQL server. Suggestion would be to change the Nagios location description field to not default to localhost, or add verbage that localhost only works if everything is on the same server.
