我需要一些好的网络监控工具。我试图找出为什么我的办公室网络如此拥挤/缓慢,我需要一些东西来让我查看网络中的所有机器,看看谁是小猪。
我已经安装了nagios,我想安装nrpe。在安装 NRPE 时,当我执行 (/home/abc/nrpe/configure)
./configure
Run Code Online (Sandbox Code Playgroud)
它在到达下一行后停止
...
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... configure: error: Cannot find ssl libraries
Run Code Online (Sandbox Code Playgroud)
我已经安装了 libssl-dev 和 openssl 包,因为我发现它们是解决此错误的方法。
我也尝试了以下选项
./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib
Run Code Online (Sandbox Code Playgroud)
但错误仍然存在。
对此有什么可能的解决方案?我使用 ubuntu 12.04 作为我的操作系统。提前致谢。
我正在遵循Nagios Ubuntu 快速入门说明。我在 Ubuntu 10.10 上安装 Nagios 3.2.3。
在文档的底部,它说我需要安装 mailx 和 postfix 包。(Postfix 已经安装。)但是当我尝试安装 mailx 时,我被问到要安装 3 个软件包中的哪一个:
$ sudo apt-get install mailx
[sudo] password for nagios:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mailx is a virtual package provided by:
mailutils 1:2.1+dfsg1-4ubuntu1
heirloom-mailx 12.4-1.1
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1
You should explicitly select one to install.
E: Package mailx has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我应该安装哪一个?
我想设置某种邮件服务器来将电子邮件从我的 gmail 帐户发送到另一封电子邮件。我怎样才能做到这一点?
我已经在我的 ec2 服务器中安装了 Nagios。现在我想安装check_snmp
插件。我发现这在以下位置不可用:
/usr/local/nagios/libexec
Run Code Online (Sandbox Code Playgroud)
我试过 :
sudo apt-get install nagios-plugins-snmp
Run Code Online (Sandbox Code Playgroud)
但我得到:
E: Unable to locate package nagios-plugins-snmp
Run Code Online (Sandbox Code Playgroud)
如何安装插件?
提前致谢。
刚刚在 Ubuntu Server 10.04 上安装了 nagios3。一个干净的安装。已安装所有插件。
nagios 状态映射仅发现了 localhost 和网关。有没有办法让它扫描我们的网络以及所有 Windows 服务器、路由器等?
我找不到任何自动化的方法来做到这一点。
我们的网络是一个大型学校网络,因此手动配置很困难。
我需要帮助来配置 Nagios,以便为 nagios 在网络上检测到的每个错误发送音频通知。
我在互联网上发现我需要安装 Festival 但我不知道如何配置 Nagios。
有谁能帮帮我吗?
Nagios 核心是 3.3.1。
我已安装nagios
用于监视和sendmail
发送邮件。从root
帐户测试时,我收到邮件,但从nagios
帐户发送邮件时却没有收到邮件。我用谷歌搜索,发现只有root
用户可以使用sendmail MTA
. 如何启用sendmail
从nagios
帐户发送邮件?
请注意,我不直接从本地计算机发送消息,而是使用我的 ISP/提供商中继。以下日志显示消息来自 时中继的错误nagios@
,但不显示来自 时的错误root@
。
猫 /var/log/maillog
Sep 19 15:52:32 ubuntubackup-chennai sendmail[6088]: q8JAMWXZ006088: from=nagios, size=237, class=0, nrcpts=1, msgid=<201209191022.q8JAMWXZ006088@localhost.localdomain>, relay=nagios@localhost
Sep 19 15:52:32 ubuntubackup-chennai sendmail[6089]: q8JAMWCn006089: from=<nagios@localhost.localdomain>, size=517, class=0, nrcpts=1, msgid=<201209191022.q8JAMWXZ006088@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 19 15:52:32 ubuntubackup-chennai sendmail[6088]: q8JAMWXZ006088: to=karthick.murugadhas@****.com, ctladdr=nagios (496/492), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30237, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q8JAMWCn006089 Message accepted for delivery) …
Run Code Online (Sandbox Code Playgroud)我正在尝试安装 nagios,但我想在 80 以外的端口上启动 Web 界面。我似乎找不到关于如何执行此操作的太多信息。任何帮助表示赞赏。谢谢
到达步骤时,请遵循此安装指南:
./configure --with-nagios-group=nagios --with-command-group=nagcmd -–with-mail=/usr/bin/sendmail
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
configure: error: unrecognized option: -–with-mail=/usr/bin/sendmail
Try `./configure --help' for more information.
Run Code Online (Sandbox Code Playgroud)
知道为什么吗?是否保存删除最后一个参数(-–with-mail=/usr/bin/sendmail)并继续?
我这样做是为了测试和配置阶段通过而没有错误,但我害怕暗示,当然在生产几天后我不想再次重新编译 nagios ;)