Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一项在正常工作时间内受到监控的服务,但有时,该服务会在最后一分钟进入关键状态。此严重状态将持续到非工作时间。
是否有设置在此时间段之外更改值?或者是否有人有脚本可以在超出其时间段时将其放入 cron 中以将某些服务标记为 OK?
对的,这是可能的。
在timeperiods.cfg中,定义您的自定义时间。
并在服务模板中使用那些定义的时间段(在 check_period¬ification_period 中)