Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of Redhat configuration nagios Parameter description

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you the "Redhat configuration nagios parameter description example analysis", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and study the "Redhat configuration nagios parameter description example analysis" this article.

Parameter description

The period of time during which the service is notified of a status, which is defined in the previous timeperiods.cfg.

Service_notification_period 24x7

The period of time notified when something happens to the host, which is defined in the previous timeperiods.cfg.

Host_notification_period 24x7

When the service has a w-alarm (warning), u-unknown (unkown), c-serious (critical), r-return from exception to normal, notify the contact in these four cases

Service_notification_options w,u,c,r

When the host appears d ­­­- down (down), u-returns unreachable (unreachable), r-returns to normal from an abnormal situation, and notifies the contact in these three cases

Host_notification_options d,u,r

Service problem notification uses the command notify-service-by-email, which is defined in commands.cfg and is used to send e-mail to contacts. It can be different in the version of nagios2.x. You can check it out in commands.cfg. Here, you can also set the method of sending text messages to notify contacts, provided that you configure a script to send knowledge, and add commands used to send scripts to commands.cfg.

Service_notification_commands notify-service-by-email

Similarly, when there is a problem with the host, it is also the way to notify the contact by email.

Host_notification_commands notify-host-by-email

Specify the email address of the person you contact

Email yaozhan189@163.com

Contact's mobile phone, as long as SMS notification is supported. Sending alerts by SMS is not enabled here.

The above is all the contents of the article "sample Analysis of Redhat configuration nagios parameters description". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report