File: monitoring-linux.html

package info (click to toggle)
icinga 1.14.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 49,264 kB
  • sloc: ansic: 108,564; sql: 9,656; sh: 4,945; perl: 3,439; makefile: 1,213; php: 581; xml: 104
file content (135 lines) | stat: -rw-r--r-- 6,555 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>2.14. Monitoring Linux/Unix Machines</title>
<link rel="stylesheet" href="../stylesheets/icinga-docs.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<meta name="keywords" content="Supervision, Icinga, Nagios, Linux">
<link rel="home" href="index.html" title="Icinga Version 1.14 Documentation">
<link rel="up" href="ch02.html" title="Chapter 2. Getting Started">
<link rel="prev" href="monitoring-windows.html" title="2.13. Monitoring Windows Machines">
<link rel="next" href="monitoring-netware.html" title="2.15. Monitoring Netware Servers">
<script src="../js/jquery-min.js" type="text/javascript"></script><script src="../js/icinga-docs.js" type="text/javascript"></script>
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<CENTER><IMG src="../images/logofullsize.png" border="0" alt="Icinga" title="Icinga"></CENTER>
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">2.14. Monitoring Linux/Unix Machines</th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="monitoring-windows.html">Prev</a> </td>
<th width="60%" align="center">Chapter 2. Getting Started</th>
<td width="20%" align="right"> <a accesskey="n" href="monitoring-netware.html">Next</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="section" title="2.14. Monitoring Linux/Unix Machines">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="monitoring-linux"></a>2.14. <a name="monitoring_linux"></a>Monitoring Linux/Unix Machines</h2></div></div></div>
<div class="toc"><dl>
<dt><span class="section">2.14.1. <a href="monitoring-linux.html#introduction_linux">Introduction</a></span></dt>
<dt><span class="section">2.14.2. <a href="monitoring-linux.html#overview">Overview</a></span></dt>
</dl></div>
  

  <a class="indexterm" name="idm140381637478368"></a>

  <div class="section" title="2.14.1. Introduction">
<div class="titlepage"><div><div><h3 class="title">
<a name="introduction_linux"></a>2.14.1. Introduction</h3></div></div></div>
    

    <p>This document describes how you can monitor "private" services and attributes of Linux/UNIX servers, such as:</p>

    <div class="itemizedlist"><ul class="itemizedlist" type="disc">
<li class="listitem">
        <p>CPU load</p>
      </li>
<li class="listitem">
        <p>Memory usage</p>
      </li>
<li class="listitem">
        <p>Disk usage</p>
      </li>
<li class="listitem">
        <p>Logged in users</p>
      </li>
<li class="listitem">
        <p>Running processes</p>
      </li>
<li class="listitem">
        <p>etc.</p>
      </li>
</ul></div>

    <p>Publicly available services that are provided by Linux servers (HTTP, FTP, SSH, SMTP, etc.) can be monitored easily by following
    the documentation on <a class="link" href="monitoring-publicservices.html" title="2.18. Monitoring Publicly Available Services">monitoring publicly available services</a>.</p>

    <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.png"></td>
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top">
      <p>These instructions assume that you've installed Icinga according to the <a class="link" href="quickstart.html" title="2.3. Quickstart Installation Guides">quickstart
      guide</a>. The sample configuration entries below reference objects that are defined in the sample config files
      (<span class="emphasis"><em>commands.cfg</em></span>, <span class="emphasis"><em>templates.cfg</em></span>, etc.) that are installed if you follow the quickstart.</p>

      <p>If you installed a package then the sample files might be missing. The contents is listed <a class="link" href="sample-config.html" title="13.1. Sample configuration files and definitions">here</a> for reference.</p>
    </td></tr>
</table></div>
  </div>

  <div class="section" title="2.14.2. Overview">
<div class="titlepage"><div><div><h3 class="title">
<a name="overview"></a>2.14.2. Overview</h3></div></div></div>
    

    <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note">
<tr>
<td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../images/note.png"></td>
<th align="left">Note</th>
</tr>
<tr><td align="left" valign="top">
      <p>This document has not been completed. We would recommend you read the documentation on the <a class="link" href="addons.html#addons-nrpe">NRPE
      addon</a> for instructions on how to monitor a remote Linux/Unix server.</p>
    </td></tr>
</table></div>

    <p>There are several different ways to monitor attributes or remote Linux/Unix servers. One is by using shared SSH keys and the
    <span class="emphasis"><em>check_by_ssh</em></span> plugin to execute plugins on remote servers. This method will not be covered here, but can result in
    high load on your monitoring server if you are monitoring hundreds or thousands of services. The overhead of setting up/destroying SSH
    connections is the cause of this.</p>

    <div class="informalfigure">
      <div class="mediaobject"><img src="../images/nrpe.png"></div>
    </div>

    <p>Another common method of monitoring remote Linux/Unix hosts is to use the <a class="link" href="addons.html#addons-nrpe">NRPE addon</a>. NRPE
    allows you to execute plugins on remote Linux/Unix hosts. This is useful if you need to monitor local resources/attributes like disk
    usage, CPU load, memory usage, etc. on a remote host.</p>
  </div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="monitoring-windows.html">Prev</a> </td>
<td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td>
<td width="40%" align="right"> <a accesskey="n" href="monitoring-netware.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">2.13. Monitoring Windows Machines </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
<td width="40%" align="right" valign="top"> 2.15. Monitoring Netware Servers</td>
</tr>
</table>
</div>
<P class="copyright">© 1999-2009 Ethan Galstad, 2009-2017 Icinga Development Team, https://www.icinga.com</P>
</body>
</html>