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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!220
show only non OK servers
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
show only non OK servers
6907_backup_server
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
show only non OK servers
Hahn Axel (hahn)
requested to merge
6907_backup_server
into
master
Dec 21, 2023
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
e196fc52
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
e196fc52
show only non OK servers
· e196fc52
Hahn Axel (hahn)
authored
Dec 21, 2023
check_iml_backup_server
+
3
−
3
View file @ e196fc52
Edit in single-file editor
Open in Web IDE
Show full file
@@ -117,11 +117,11 @@ case "$sMode" in
echo
# show servers grouped by status
for
mystatus
in
E D R
"
\?
"
D
"
\.
"
for
mystatus
in
E D R
"
\?
"
D
do
_getServerOfStatus
"
$mystatus
"
"
$data
"
srvlist
=
$(
_getServerOfStatus
"
$mystatus
"
"
$data
"
)
test
-n
"
$srvlist
"
&&
(
echo
"
$srvlist
"
;
echo
)
done
echo
-e
"
\e
[0m"
echo
"
$data
"
|
grep
"server.*start.*end"
echo
)
|
tr
'|'
':'
Loading