cms_checks_v6.cfg 1.35 KB
Newer Older
Marian Babik's avatar
Marian Babik committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
metrics = {
   "CMS feed diff" : {
        "ocsp" : 0,
        "command" : "/usr/lib64/nagios/plugins/check_feed_diff",
        "args" : {},
        "interval" : 180,
        "retry_interval" : 180,
        "max_check_attempts" : 1,
        "ocsp" : 0,
        "nagios_command" : "ncgx_check",
   },
   "check_live" : {
        "command" : "/usr/lib64/nagios/plugins/check_live",
        "args" : {},
        "interval" : 15,
        "retry_interval" : 15,
        "max_check_attempts" : 1,
        "ocsp" : 0,
        "nagios_command" : "ncgx_check",
   },
   "SAM3 diff" : {
        "extends" : "check_ardiff",
   }
}

checks = [
   [ 'localhost', "CMS VO feed", {"extends": "check_http", "args" : {"-u" : "/dashboard/request.py/cmssitemapbdii", "-H" : "etf.cern.ch", "-p" : 20000, "-t" : 60, "-s" : '"CMS Topology Information"', "--onredirect" : "follow"}} ],
   [ 'localhost', "ETF Livestatus Stats", {"extends": "check_live"} ],
   [ 'localhost', "org.globus.GridProxy-Valid-/cms/Role=production" ],
   [ 'localhost', "org.globus.GridProxy-Valid-cms" ],
   [ 'localhost', "SAM3 diff", {"args" : {"--prod-link": "wlcg-sam-cms.cern.ch",
                                          "--qa-link": "wlcg-sam-cms-dev.cern.ch",
                                          "--prod-profile": "CMS_CRITICAL",
                                          "--qa-profile": "CMS_CRITICAL"}} ],
]