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
2c29a17e
Commit
2c29a17e
authored
3 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
check_psqlserver: add iml default help header
parent
59b35806
No related branches found
No related tags found
1 merge request
!295
Simple task/7546 icinga check für ablaufende gitlab tokens
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
check_file_age
+2
-2
2 additions, 2 deletions
check_file_age
check_psqlserver
+2
-7
2 additions, 7 deletions
check_psqlserver
with
4 additions
and
9 deletions
check_file_age
+
2
−
2
View file @
2c29a17e
...
...
@@ -62,10 +62,10 @@ PARAMETERS:
-c, --critical VALUE
critical level in days (default:
$iLimitCritical
)
-w
.
--warning VALUE
-w
,
--warning VALUE
warning level in days (default:
$iLimitWarning
)
-f --filter FILTER
-f
,
--filter FILTER
filter for filenames (default:
${
filter_files
}
EXAMPLE:
...
...
This diff is collapsed.
Click to expand it.
check_psqlserver
+
2
−
7
View file @
2c29a17e
...
...
@@ -21,6 +21,7 @@
# 2023-06-16 v0.7 <axel.hahn@unibe.ch> update help text
# 2023-08-30 v0.8 <axel.hahn@unibe.ch> reverse return code in ph.hasParamoption to unix like return codes: 0=true; <>0 = false
# 2023-09-18 v0.9 <axel.hahn@unibe.ch> prevent broken pipe message in journallog
# 2025-02-11 v1.0 <axel.hahn@unibe.ch> add default banner for IML checks
# ======================================================================
...
...
@@ -111,13 +112,7 @@ EOF
function
_usage
(){
local
_self
=
$(
basename
$0
)
cat
<<
EOH
______________________________________________________________________
${
self_APPNAME
}
:: v
${
self_APPVERSION
}
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
$(
ph.showImlHelpHeader
)
USAGE:
$_self
[OPTIONS] -m METHOD
...
...
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