Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
a59fc5fb
Commit
a59fc5fb
authored
6 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Icinga snmp queries
parent
44803ece
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Sdi/icinga.xml
+27
-2
27 additions, 2 deletions
Doc/Sdi/icinga.xml
with
27 additions
and
2 deletions
Doc/Sdi/icinga.xml
+
27
−
2
View file @
a59fc5fb
...
...
@@ -131,13 +131,38 @@
<command>
aptitude
</command>
<option>
install
</option>
<option>
nagios-plugins
</option>
.
</para>
</listitem>
<listitem>
<para>
Configure a http(s) check of your web server. After successful
configuration shut down the apache2 service and wait for error
messeges to emerge.
</para>
</listitem>
<listitem>
<para>
Check your local
<productname>
Ldap
</productname>
server.
</para>
</listitem>
</orderedlist>
</section>
<section
xml:id=
"sdi_icinga_sect_snmp"
>
<title><xref
linkend=
"glo_SNMP"
/>
based checks
</title>
<para/>
<para>
Use the
<link
xlink:href=
"http://nagios.manubulon.com/snmp_storage.html"
>
Snmp storage
check
</link>
plugin to check your root (/) file system allocation.
Configure lower thresholds to achieve a warning message.
</para>
<para>
This requires
<command
xlink:href=
"https://linux.die.net/man/8/snmpd"
>
snmpd
</command>
configuration on your monitored server side:
</para>
<screen>
apt-get install snmpd
</screen>
<para>
File /etc/snmp/snmpd.conf might contain:
</para>
<programlisting
language=
"none"
>
rocommunity mi-snmp
includeAllDisks
</programlisting>
</section>
<section
xml:id=
"sdi_icinga2_checkBySsh"
>
...
...
@@ -283,7 +308,7 @@ sdi10b> cp id_rsa.pub authorized_keys</screen>
<filename>
/home/nagioscheck/.ssh/id_rsa
</filename>
private key to
<filename>
/etc/icinga2/nagioscheck_id_rsa
</filename>
. Since the
<productname>
Icinga
</productname>
process running with the nagios user
is requires read access we change the ownnership accordingly:
</para>
is requires read access we change the ownnership accordingly:
</para>
<screen>
chown nagios.nagios nagioscheck_id_rsa
</screen>
</listitem>
...
...
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