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
ce3b04ad
Commit
ce3b04ad
authored
3 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
check_cpu: fix typo in output
parent
88521145
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_cpu
+3
-3
3 additions, 3 deletions
check_cpu
with
3 additions
and
3 deletions
check_cpu
+
3
−
3
View file @
ce3b04ad
...
@@ -65,7 +65,7 @@ PARAMETERS:
...
@@ -65,7 +65,7 @@ PARAMETERS:
None.
None.
EXAMPLE:
EXAMPLE:
$(
basename
$0
)
-w 60 -c 80 -
i
40
$(
basename
$0
)
-w 60 -c 80 -
p
40
EOF
EOF
}
}
...
@@ -131,10 +131,10 @@ else
...
@@ -131,10 +131,10 @@ else
if
[
"
$(
echo
"
${
cpuNonIdle
}
>
${
iCriticalLimit
}
"
| bc
)
"
-eq
1
]
;
then
if
[
"
$(
echo
"
${
cpuNonIdle
}
>
${
iCriticalLimit
}
"
| bc
)
"
-eq
1
]
;
then
ph.setStatus
"critical"
ph.setStatus
"critical"
sInfo
=
"HINT : cpu usage is high - check pr
e
ocesses"
sInfo
=
"HINT : cpu usage is high - check processes"
else
else
ph.setStatus
"warning"
ph.setStatus
"warning"
sInfo
=
"HINT : cpu usage is high - check pr
e
ocesses"
sInfo
=
"HINT : cpu usage is high - check processes"
fi
fi
fi
fi
fi
fi
...
...
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