找回密码
 立即注册
本机the邮件smtp | 邮电通讯系统 2022-06-30 71 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Nagios发警告邮件默认是采用本机的smtp服务,可以查看commands.cfg中关于发邮件的命令的定义,使用本机的mail命令,这就需要开启本机的smtp服务,为了安全可以在防火墙上设置拒绝其他的机器连本机的25号端口.假如网络里面有一个邮件服务器(比如公司自己的邮件服务器),则可以直接使用这台现有的邮件服务器,不用开启本机的smtp服务,只需要重新定义命令使用第三方软件sendEmail.

(Nagios sends a warning email. By default, the native SMTP service is used. You can view commands For the definition of the command for sending e-mail in CFG, if the local mail command is used, the local SMTP service needs to be enabled. For security, you can set port 25 on the firewall to deny other machines from connecting to the local machine If there is a mail server in the network (such as the company's own mail server), you can directly use the existing mail server. Instead of starting the local SMTP service, you just need to redefine the command and use the third-party software sendemail)

[下载]10035333175.rar




上一篇:cacti软件
下一篇:nagios完整配置文档(第一版)