1. Place the new alarm script in the monitor server of tky/bjn under the path/usr/lib64/nagios/plugins/ 2. In the monitor server of tky/bjn, set the slot in the/usr/lib64/nagios/plugins path_ Eva_ Email.sh uses the cp command and changes the name to alarm_ Eva_ Email.sh。 3. Remove/stack from the Jenkins server/etc/httpd/conf.d/path of tky/bjn_ Proxyconf, backup before deleting, and save the newly specified teams_ Place proxy. conf in the path/etc/httpd/conf. d/ 4. Enter the ncof interface through the URL. 5. Click on the "Contact" button on the left, select "nagiosadmin and nagiosadmin rp", modify the "service notification commands and host notification commands" attributes, and modify the file names inside to include our new rule script and conf file names, Modify the 'email address' attribute and delete it。 6. Click on the "Generate Nagios config" button on the left to take effect the modified configuration. 7. Rely on the AP group to confirm if there are any omissions in the monitoring content.【Description】翻译成中文
时间: 2024-04-22 08:25:29 浏览: 198
1. 将新的告警脚本放置在tky/bjn的监控服务器上的路径/usr/lib64/nagios/plugins/下。
2. 在tky/bjn的监控服务器上,将slot设置在/usr/lib64/nagios/plugins路径下的Eva_Email.sh脚本中,并将其更名为alarm_Eva_Email.sh。
3. 从Jenkins服务器中删除/备份/etc/httpd/conf.d/tky/bjn_Proxyconf路径下的文件,并将新指定的teams_Place proxy.conf保存在路径/etc/httpd/conf.d/下。
4. 通过URL进入ncof界面。
5. 点击左侧的"Contact"按钮,选择"nagiosadmin和nagiosadmin rp",修改"service notification commands和host notification commands"属性,并修改内部的文件名以包含我们的新规则脚本和conf文件名,修改"email address"属性并删除它。
6. 点击左侧的"Generate Nagios config"按钮以使修改后的配置生效。
7. 依靠AP组确认监控内容是否有遗漏。【Description】
相关问题
.删除tky/bjn的jenkins服务器/etc/httpd/conf.d/路径下的/slack_proxy.conf,删除前进行备份,将新规的teams_proxy.conf放到/etc/httpd/conf.d/路径下。翻译成英语
.在tky/bjn的Jenkins服务器中,删除/etc/httpd/conf.d/路径下的/slack_proxy.conf文件,并在删除之前进行备份。然后将新规则的teams_proxy.conf文件放置到/etc/httpd/conf.d/路径下。
In the Jenkins server of tky/bjn, remove the /etc/httpd/conf.d/slack_proxy.conf file and create a backup before deleting it. Then, place the newly configured teams_proxy.conf file in the /etc/httpd/conf.d/ directory.
阅读全文
相关推荐













