Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
e196fc52
Commit
e196fc52
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
show only non OK servers
parent
b93e0bde
Branches
Branches containing commit
No related tags found
1 merge request
!220
show only non OK servers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_iml_backup_server
+3
-3
3 additions, 3 deletions
check_iml_backup_server
with
3 additions
and
3 deletions
check_iml_backup_server
+
3
−
3
View file @
e196fc52
...
@@ -117,11 +117,11 @@ case "$sMode" in
...
@@ -117,11 +117,11 @@ case "$sMode" in
echo
echo
# show servers grouped by status
# show servers grouped by status
for
mystatus
in
E D R
"
\?
"
D
"
\.
"
for
mystatus
in
E D R
"
\?
"
D
do
do
_getServerOfStatus
"
$mystatus
"
"
$data
"
srvlist
=
$(
_getServerOfStatus
"
$mystatus
"
"
$data
"
)
test
-n
"
$srvlist
"
&&
(
echo
"
$srvlist
"
;
echo
)
done
done
echo
-e
"
\e
[0m"
echo
"
$data
"
|
grep
"server.*start.*end"
echo
"
$data
"
|
grep
"server.*start.*end"
echo
echo
)
|
tr
'|'
':'
)
|
tr
'|'
':'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment