Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nagios-plugins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Lysator
nagios-plugins
Commits
16653714
Commit
16653714
authored
19 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Mention that this is kept under Subversion
parent
a4d6fce2
No related branches found
No related tags found
Loading
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
check_cups
+4
-0
4 additions, 0 deletions
check_cups
check_saned
+4
-0
4 additions, 0 deletions
check_saned
with
8 additions
and
0 deletions
check_cups
+
4
−
0
View file @
16653714
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
# Check that the oldest entry in the CUPS queue is new enough.
# Check that the oldest entry in the CUPS queue is new enough.
#
#
# Usage: check_cups queue
# Usage: check_cups queue
#
# This check script is maintained in a Subversion repository at
# http://lsvn.lysator.liu.se/svnroot/nagios-plugins. Contact
# <ceder@lysator.liu.se> for commit access.
import
os
import
os
import
time
import
time
...
...
This diff is collapsed.
Click to expand it.
check_saned
+
4
−
0
View file @
16653714
...
@@ -8,6 +8,10 @@
...
@@ -8,6 +8,10 @@
# by "scanimage -L", the state should be OK if the scanner was seen
# by "scanimage -L", the state should be OK if the scanner was seen
# within the last hour, and WARNING if it was seen within the last
# within the last hour, and WARNING if it was seen within the last
# day.
# day.
#
# This check script is maintained in a Subversion repository at
# http://lsvn.lysator.liu.se/svnroot/nagios-plugins. Contact
# <ceder@lysator.liu.se> for commit access.
TMPFILE
=
`
tempfile
`
TMPFILE
=
`
tempfile
`
scanimage
-L
>
$TMPFILE
2>&1
scanimage
-L
>
$TMPFILE
2>&1
...
...
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