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
!306
OP#7938 Icinga Check Disk Performance messen
https://projects.iml.unibe.ch/work_packages/7938
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
OP#7938 Icinga Check Disk Performance messen
https://projects.iml.unibe.ch/work_packages/7938
simple-task/7546-icinga-check-für-ablaufende-gitlab-tokens
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
simple-task/7546-icinga-check-für-ablaufende-gitlab-tokens
into
master
3 months ago
Overview
0
Commits
2
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
21dabe4c
Prev
Next
Show latest version
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
21dabe4c
update check for zero in ph.toUnit()
· 21dabe4c
Hahn Axel (hahn)
authored
3 months ago
inc_pluginfunctions
+
2
−
1
View file @ 21dabe4c
Edit in single-file editor
Open in Web IDE
Show full file
@@ -42,6 +42,7 @@
# 2023-09-05 v1.14 <axel.hahn@unibe.ch> ph.require - show error below status line
# 2023-09-14 v1.15 <axel.hahn@unibe.ch> add ph.showtimer; fix broken pipe messages in journallog
# 2024-05-30 v1.16 <axel.hahn@unibe.ch> updatate link to online help (Daux replaces "-"" to "_")
# 2025-04-01 v1.17 <axel.hahn@unibe.ch> update check for zero in ph.toUnit()
# ======================================================================
@@ -329,7 +330,7 @@ function ph.toUnit(){
local
_digits
=
${
3
:-
0
}
local
_dots
if
[
"
$_value
"
-eq
"0"
]
;
then
if
[
"
$_value
"
=
"0"
]
;
then
echo
"0"
return
0
fi
Loading