Last active
April 8, 2019 09:11
-
-
Save riton/f685fc8a245fff2a7ad9176813243726 to your computer and use it in GitHub Desktop.
Naemon servicedependency using comas - Full configuration at https://github.com/riton/naemon_servicedependencies_irc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define servicedependency { | |
hostgroup_name httpd_worker,httpd_proxy | |
service_description check httpd proc | |
dependent_host_name http-client | |
dependent_service_description check get http app health,check get http app statistics | |
execution_failure_criteria w,u,c | |
notification_failure_criteria w,u,c | |
} |
Author
riton
commented
Apr 8, 2019
Software versions:
[root@b878445f165c /]# rpm -qa '*naemon*'
naemon-1.0.10-0.noarch
naemon-livestatus-1.0.10-0.x86_64
naemon-thruk-1.0.10-0.noarch
libnaemon-1.0.10-0.x86_64
naemon-core-1.0.10-0.x86_64
[root@b878445f165c /]# rpm -qa '*thruk*'
thruk-base-2.28-1.x86_64
thruk-2.28-1.x86_64
libthruk-2.26-0.x86_64
thruk-plugin-reporting-2.28-1.x86_64
naemon-thruk-1.0.10-0.noarch
Livestatus query result:
[root@b878445f165c /]# echo -e "GET services\nFilter: description = check get http app health\nColumns: depends_exec, depends_notify\n" | unixcat /var/cache/naemon/live
;http-server-2|check httpd proc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment