Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of Nagios apache access

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the problem of Nagios apache access". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of Nagios apache access".

The Nagios web interface suggests that Apache should be our most commonly used deployment, and it can be complicated, but on the Nagios apache platform, we only need simple features, and we just need to modify it a little to verify the user.

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 with a parameter:

Use_authentication=1

In order to ensure the security of the system, nagios sets this parameter, which defaults to 1, which can be changed to 0. The problem of Nagios apache has been installed several times, changed to several versions of the system, and the head is big, and finally solved.

Nrpe prompts when. / configure

Checking for SSL... Configure: error: Cannot find ssl libraries

Just install the 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 with a parameter:

Use_authentication=1

In order to ensure the security of the system, nagios sets this parameter, which defaults to 1 and can be changed to 0.

Enable notifications for this service Times wrong Sorry Dave, I can't let you do that... in Service Commands

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 should want to.

Modify the cgi.cfg file

Modify use_authentication=1 (default) and restart the nagios service if it is not added.

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

An error may occur at this time: Host '192.168.0.132' is not allowed to connect to this MySQL server

So all you have to do is to do an mysql authorized user access on the client side.

Nagios client (client 192.168.0.207)

# mysql-uroot-pabcd

Mysql > grant all privileges on *. * to

Root@192.168.0.132

Identified by 'abcd

Mysql > flush privileges

Mysql > quit

Thank you for your reading. the above is the content of "how to solve the problem of Nagios apache access". After the study of this article, I believe you have a deeper understanding of how to solve the problem of Nagios apache access, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report