Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
f5f7b789
Commit
f5f7b789
authored
Sep 08, 2020
by
Marian Babik
Browse files
fixed legacy metrics definition
parent
c063e6c6
Changes
1
Show whitespace changes
Inline
Side-by-side
nagios/config/etf_plugin_cms.py
View file @
f5f7b789
...
...
@@ -47,17 +47,8 @@ WN_METRICS = {
'CE-cms-xrootd-fallback.sing'
:
'org.cms.WN-xrootd-fallback-/cms/Role=lcgadmin'
}
WN_METRICS_LEGACY
=
(
# metrics that don't provide summary (SFT/SAME metrics)
'org.cms.WN-analysis-/cms/Role=lcgadmin'
,
'org.cms.WN-isolation-/cms/Role=lcgadmin'
,
'org.cms.WN-basic-/cms/Role=lcgadmin'
,
'org.cms.WN-env-/cms/Role=lcgadmin'
,
'org.cms.WN-frontier-/cms/Role=lcgadmin'
,
'org.cms.WN-mc-/cms/Role=lcgadmin'
,
'org.cms.WN-squid-/cms/Role=lcgadmin'
,
'org.cms.WN-xrootd-access-/cms/Role=lcgadmin'
,
'org.cms.WN-xrootd-fallback-/cms/Role=lcgadmin'
)
# legacy SFT/SAME metrics which are not nagios compliant
WN_METRICS_LEGACY
=
[
x
for
x
in
WN_METRICS
.
keys
()
if
'CE'
in
x
]
def
run
(
url
,
ipv6
=
False
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment