简体   繁体   English

Centreon / Icinga:服务指挥

[英]Centreon/Icinga: command by services

I was wondering if it could be possible to recognize how a command is comformed with any services in Centreon? 我想知道是否可以识别Centreon中任何服务的命令格式? For example, which services contain the 'check_uptime' command? 例如,哪些服务包含“ check_uptime”命令?

Maybe its possible using some sql magic queries but I'ver done that. 也许可以使用一些sql魔术查询,但是我已经做到了。

Though your question reminded me of this week's icinga2 api development where dependency tracking for objects has been implemented - this is important in case someone deletes a checkcommand at runtime, with many hosts/services depending on it. 尽管您的问题使我想起了本周的icinga2 api开发,该开发中已实现了对象的依赖跟踪-但是如果有人在运行时删除带有许多主机/服务的checkcommand,这很重要。 By default the api will deny removal, but cascading deletes would cause the entire dependency tree being deleted. 默认情况下,api会拒绝删除,但是级联删除会导致整个依赖树被删除。

A side-effect from that development is the output of such object dependencies inside the status query for these objects. 这种开发的副作用是这些对象的状态查询中此类对象依赖项的输出。

Check the screenshot over here: https://twitter.com/dnsmichi/status/637586226711764992 在此处查看屏幕截图: https : //twitter.com/dnsmichi/status/637586226711764992

It may not help you now, but with 2.4 being released in November. 现在可能对您没有帮助,但是2.4将于11月发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM