下载之家:安全、高速、放心的绿色下载站!

当前位置:首页软件下载游戏娱乐详细列表

Nagios V4.4.1 最新版

Nagios V4.4.1 最新版
  • 软件分类: 游戏娱乐
  • 软件大小: 1.66 MB
  • 软件语言: 简体中文
  • 授权方式: 免费软件
  • 运行环境: Win ALL
  • 更新时间: 2022-07-02
  • 软件介绍
  • 下载地址
  • 同类推荐
  • 相关文章

Nagios是一款免费的网络监视工具,能有效监控Windows、Linux和Unix的主机状态,交换机路由器等网络设置,打印机等。Nagios对各系统的网络设备及网络进行各方面的监控,能够让用户轻松了解自己电脑的各种信息。

Nagios v4.4.1 最新版

Nagios功能特色

1、NAGIOS中文版拥有自动的日志滚动功能;

2、可以支持并实现对主机的冗余监控;

3、可选的WEB界面用于查看当前的网络状态、通知和故障历史、日志文件等;

4、可以通过手机查看系统监控信息;

5、可指定自定义的事件处理控制器;

6、监控网络服务(SMTP、POP3、HTTP、NNTP、PING等);

7、监控主机资源(处理器负荷、磁盘利用率等);

8、简单地插件设计使得用户可以方便地扩展自己服务的检测方法;

9、并行服务检查机制;

10、具备定义网络分层结构的能力,用"parent"主机定义来表达网络主机间的关系,这种关系可被用来发现和明晰主机宕机或不可达状态;

11、当服务或主机问题产生与解决时将告警发送给联系人(通过EMail、短信、用户定义方式);

12、可以定义一些处理程序,使之能够在服务或者主机发生故障时起到预防作用;

Nagios常见问题

问题1

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

临时解决:

sed -i 's/use_authentication=1/use_authentication=0/g' /usr/local/nagios/etc/cgi.cfg

(取消了认证 可以浏览主机状态 但是无法在 nagios web端 执行外部命令 )

解决:

登陆 nagios web接口的用户,需要和 /usr/local/nagios/etc/cgi.cfg 里面配置的用户匹配,没有可以手动添加,用逗号隔开。

问题2:

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

原因 : 未开启认证

解决:开启认证可解决问题,编辑文件 /usr/local/nagios/etc/cgi.cfg,将 use_authentication 值设成1 (0/1 关闭/开启)use_authentication=1,并重启 nagios service nagios restart

问题3:

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.

原因 : 认证用户不正确

开启认证:认证的用户必须是 cgi.cfg 配置文件里有的 默认是 nagiosadmin,如果你新建的其他用户,需要添加进去,多用户用逗号分开

authorized_for_system_information=nagiosadmin

authorized_for_configuration_information=nagiosadmin

authorized_for_system_commands=nagiosadmin

authorized_for_all_services=nagiosadmin

authorized_for_all_hosts=nagiosadmin

authorized_for_all_service_commands=nagiosadmin

authorized_for_all_host_commands=nagiosadmin

如果不是 nagiosadmin 需要到后面添加,例子 authorized_for_system_information=nagiosadmin,admin

问题4:

调用外部命令错误,可能权限不够

解决:

临时解决:

chown -R nagios.nagcmd /usr/local/nagios/var/rw

chmod -R 777 /usr/local/nagios/var/rw

为什么说临时解决 ? 因为重启nagios后,权限会还原,还是没权限执行。

解决:

在安装 nagios 时,就要把用户选对,然后再安装。

./configure --with-group=nagios --with-user=nagios --with-command-group=nagcmd --with-gd-lib=/usr/lib --with-gd-inc=/usr/include

make all

make install

make install-init

make install-config

make install-commandmode

===

rw agios.cmd 权限是 nagios.nagios,还需要把 web用户 加入到 nagios组里 这样才有权限执行 nagios.cmd

问题5:

3D浏览错误,提示下载 statuswrl.cgi

解决: 需安装3D浏览插件

原因是未安装支持vrml 3D浏览的插件,vrml 面向对象的三维造型语言,需要安装 vrml 支持插件才能浏览,Cortona VRML Client 是一个优秀的VRML浏览插件

问题6:

查看帮助文档时,无法看到图片

原因是url错误

图片源地址 //nagios_ip/pub/images/reachability1.png

实际地址 /usr/local/nagios/share/docs/images/reachability1.png

解决:配置apache加入别名

Alias /pub "/usr/local/nagios/share/docs"

apachectl restart

重启apache 问题解决

nagios的这些常见问题以及解决办法你学会了吗?相信这是一份很有用的资源,希望这些办法能够帮你解决困扰。

点击查看更多: Nagios

下载声明

推荐使用[迅雷]下载,使用 [360压缩]解压本站软件。

本站提供的一些商业软件是供学习研究之用,如用于商业用途,请购买正版。

本站提供的[Nagios V4.4.1 最新版]资源来源互联网,版权归该下载资源的合法拥有者所有。