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
!84
getOS from /etc/os-release first
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
getOS from /etc/os-release first
6361-fix-ceph-io
into
master
Overview
0
Commits
2
Pipelines
0
Changes
3
Merged
Hahn Axel (hahn)
requested to merge
6361-fix-ceph-io
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
3
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ee5a25ba
2 commits,
2 years ago
3 files
+
108
−
64
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
docs/20_Checks/check_snmp_data.md
+
26
−
8
View file @ ee5a25ba
Edit in single-file editor
Open in Web IDE
Show full file
@@ -14,7 +14,7 @@ Start the script without parameter to get the help.
______________________________________________________________________
CHECK_SNMP_DATA
v0.
6
v0.
8
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
@@ -23,22 +23,40 @@ ______________________________________________________________________
SNMP performance data of Synology storages.
USAGE:
./
check_snmp_data
-h hostname [-C communitystring] -m method
check_snmp_data
[options] -h SNMPTARGET
PARAMETERS:
-h hostname as fqdn or ip address
-C communitystr optional: community string for snmp; default is public
-v verbose output
-a STRING
authentication params for snmpwalk/ snmpget to connect to target;
default: \"-v2c -c public\" (Snmpv2 with community string \"public\")
-h SNMPTARGET
as fqdn or ip address; default: localhost
-f FILE
read authentication from config file
default: "/etc/icinga2/snmp.cfg"
-m method what to show
method is one of ...
about About... general device infos
cpu CPU usage
load System load
netio Network IO (experimental)
mem Memory status
netio Network IO
synodisc Synology Disc usage
synotemp Synology NAS temperature
disc Disc usage
synoio Synology Space IO
-v verbose output
CONFIG FILE:
The config file can be multiline and has the syntax
[SNMPTARGET[,target2]]:[auth parameters]
The auth parameters set the version and all needed values to connect.
Snmp v2 uses a community string.
Snmp v3 is highly recommended (you should disable Snmp v2) and needs
a user and password.
EXAMPLE:
./check_snmp_data -h 192.168.100.12 -v -m cpu
check_snmp_data -h 192.168.100.12 -v -m cpu
```
Loading