Nagios apache access permission Solution

Source: Internet
Author: User

The Nagios web interface prompts that Apache should be the most commonly used deployment. It can be complicated, but on the Nagios apache platform, we only need simple functions, to verify the user, just add a little modification.

It appears as though you do not have permission to view information for any of the services you requested...
Open the cgi. cfg configuration file, which has a parameter:
Use_authentication = 1
To ensure system security, nagios sets this parameter. The default value is 1. If it is changed to 0, several Nagios apache problems are handled several times, my head is big and I have finally solved it.
Prompt when nrpe is in./configure
Checking for SSL... configure: error: Cannot find ssl libraries
Install openssl-devel.

Nagios apacheweb interface prompt
It appears as though you do not have permission to view information for any of the services you requested...
Open the cgi. cfg configuration file, which has a parameter:
Use_authentication = 1
To ensure system security, nagios sets this parameter. The default value is 1, which can be changed to 0.

In Service Commands Enable configurations for this service, the error Sorry Dave, I can't let you do that...
It seems that you have chosen to not use the authentication functionality of the CGIs.
I don't want to be personally responsible for what may happen as a result of allowing unauthorized users to issue commands to Nagios, so you'll have to disable this safeguard if you are really stubborn and want to invite trouble.
Read the section on CGI authentication in the HTML documentation to learn how you can enable authentication and why you shoshould want.
Modify the cgi. cfg file
Modify use_authentication = 1 (default). If no value is added, restart the nagios service.


Is not allowed to connect to this MySQL server
Server (nagios server 192.168.0.132)
#/Usr/local/nagios/libexec/check_mysql-H 192.168.0.207-u root-p xukixu
The following error may occur: Host '192. 168.0.132 'is not allowed to connect to this MySQL server.
Therefore, you only need to authorize the user to access mysql on the client.

Nagios client (client 192.168.0.207)
# Mysql-uroot-pabcd
Mysql> grant all privileges on *. *
Root@192.168.0.132
Identified by 'abcd;
Mysql> flush privileges;
Mysql> quit;

  1. Free SMS prompt configuration in Nagios Feixin linux
  2. The IIS server cannot be shared with apache.
  3. Implementation of the Nagios network management module in Linux
  4. Does IIS 7.0 become the source of Apache?
  5. Message reported IIS 6 exceeds Apache for the first time

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.