zoukankan      html  css  js  c++  java
  • nagios维护之常见问题

    一、重启nagios 报错:

      Starting nagios:This account is currently not available.     #这个账户目前不可用;

      

      解决方法:

        a、编辑/etc/passwd

          把 nagios:x:501:501::/home/nagios:/sbin/nologin   修改为:

          nagios:x:501:501::/home/nagios:/bin/bash 

        b、重启nagios

    二、nagios 监控出现It appears as though you do not have permission

      监控页面出现    

    It appears as though you do not have permission to view information for any of the hosts you requested...

    If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file.

      解决方法:

        a、修改/usr/local/nagios/etc/cgi.cfg 

          use_authentication=1 #把1修改为0

        b、重启nagios

        

    IT运维开发路上的点点滴滴。。。
  • 相关阅读:
    数组(array)
    亲戚(relative)
    [ZJOI2016]小星星
    P4782 【模板】2-SAT 问题
    CF1065F Up and Down the Tree
    CF1065C Make It Equal
    CF1060F Shrinking Tree
    CF1060E Sergey and Subway(点分治)
    CF1060D Social Circles
    CF1060C Maximum Subrectangle
  • 原文地址:https://www.cnblogs.com/weijie0717/p/4767986.html
Copyright © 2011-2022 走看看