Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
eaf89850
Commit
eaf89850
authored
Jun 25, 2022
by
Andrey Vertiprahov
Browse files
Merge branch 'cherry-pick-
e6ae586b
' into 'release-22.1'
release-22.1:Backport!6406 See merge request
!6408
parents
e5285cb3
64c91dbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Generic/get_metrics.py
View file @
eaf89850
...
...
@@ -365,6 +365,8 @@ class Script(BaseScript, metaclass=MetricScriptBase):
return
False
if
f
.
mt_matcher
and
not
getattr
(
self
,
f
.
mt_matcher
,
False
):
return
False
if
f
.
mt_access
==
"S"
and
not
self
.
has_snmp
():
return
False
return
True
pref
=
self
.
get_access_preference
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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