3
<TITLE>Nagios plugins</TITLE>
4
<META NAME="Keywords" CONTENT="nagios,plugins,perl,snmp,proy">
5
<STYLE type="text/css">
7
.Default { font-family: verdana,arial,serif; font-size: 10pt; }
8
.ProgramTitle { font-family: verdana,arial,serif; font-size: 18pt; font-weight: bold;}
9
.Copyright { font-family: verdana,arial,serif; font-size: 10pt;}
10
.Email { font-family: verdana,arial,serif; font-size: 10pt;}
11
.NewsItem { font-family: verdana,arial,serif; font-size: 8pt; }
12
.NewsItemOdd { font-family: verdana,arial,serif; font-size: 8pt; background-color: #DBDBDB;}
13
.NewsItemEven { font-family: verdana,arial,serif; font-size: 8pt; background-color: #C4C2C2;}
14
.NewsItemUrgent { font-family: verdana,arial,serif; font-size: 8pt; background-color: #ccff99;}
15
.NewsItemDate { font-family: verdana,arial,serif; font-size: 8pt; font-weight: bold; }
16
.SectionTitle { font-family: verdana,arial,serif; font-size: 9pt; font-weight: bold; text-decoration: underline;}
17
.SectionBody { font-family: verdana,arial,serif; font-size: 8pt; }
18
.ModificationDate { font-family: verdana,arial,serif; font-size: 7pt; }
19
.Disclaimer { font-family: verdana,arial,serif; font-size: 8pt; }
20
A.SideNavBarItem { font-family: verdana,arial,serif; background-color : black; color: #e7e7e7; font-size: 9pt; font-weight: bold; text-decoration: none; }
21
A.SideNavBarItem:Hover { font-family: verdana,arial,serif; background-color : black; color: #ccff33; font-size: 9pt; font-weight: bold; text-decoration: none; }
22
A.SideNavBarHotItem { font-family: verdana,arial,serif; background-color : black; color: #ffcc66; font-size: 9pt; font-weight: bold; text-decoration: none; }
23
A.SideNavBarHotItem:Hover { font-family: verdana,arial,serif; background-color : black; color: #ccff33; font-size: 9pt; font-weight: bold; text-decoration: none; }
27
<body background="img/sideback.jpg" bgcolor="#FFFFFF" text="black" class="Default">
28
<table width="100%" border="0">
31
<table width="100%" border="0" valign=top>
33
<td class="ProgramTitle"> SNMP plugins for Nagios</td>
37
<p class="SectionTitle" align="right">Last update : April 19 2007</p>
38
<p class="SectionTitle" align="left">About </p>
39
<p class="SectionBody">The general idea of these scripts is to check
40
as many things as possible with snmp (how do you install NRPE on
41
Cisco or AS/400 ?) : disks, memory, load, interface, running procsses,
44
<p class="SectionBody">The other idea is to select disks, interfaces,
45
process using regular expressions <br>
47
- it is possible to test more than one disk/int/process in one Nagios
48
check (ex : eth* instead of eth0,eth1,eth2,...)<br>
50
- you only have to provide a unique part of the name to select a
51
disk/int/process (ex : "C:" instead of "C:\ Label:
52
Serial Number xxxxxxx" makes it easy to use on multiple Windows
54
<p class="SectionBody">Most of these scripts can make performance
56
<p class="SectionBody">Enjoy and give me feedback !<br>
58
All code here is under GPL licence. <br>
60
<p class="SectionTitle"> If you want to be informed when I release
62
or if you have some advices, feedback, questions, go to the project's
63
sourceforge page : <a href="http://sourceforge.net/projects/nagios-snmp">nagios-snmp</a></p>
64
<p class="SectionBody">Please send me your feedback : <br>
65
- Test with embeded Perl<br>
66
- Test on various systems<br>
67
- Bugs, advices, comments, RFE, etc...<br>
69
<p class="SectionBody">Run the scripts with '-h' to get help.</p>
74
<p class="SectionTitle"> </p>
75
<p class="SectionTitle">Requirements</p>
76
<p class="SectionBody"> - Perl in /usr/bin/perl - if not run 'perl
77
script' or change the path in the scripts first line <br>
79
- file 'utils.pm' in diretory /usr/local/nagios/libexec or change
80
the line "use libs /usr/local/nagios/libexec/" in the scripts<br>
82
<p class="SectionBody"><a href="index_commands.html" class="SectionTitle">Configurations
84
<p class="SectionTitle">Plugins<br>
86
<table border="1" cellspacing="5">
88
<td class="NewsItemDate" valign = top>
89
<p><a href="snmp_storage.html">check_snmp_storage</a><br>
93
<td class="SectionBody">
94
<p>This scripts checks by snmp (1,2c,3) disks, memory, swap,
95
everthing in hrStorage table. <br>
96
Disk selection can be done by perl regexp on description,
97
index or type to select one or multiple storages.<br>
99
Vérifie par snmp v1 ou v3 (merci à V. Carpentier)
100
l'occupation des disques, mais aussi de la swap, de la mémoire,
101
etc.. tout ce qui est disponible en snmp par la table hrStorage.<br>
102
Les disques sont sélectionnables par expression régulière
104
<p><a href="snmp_storage.html">Details</a></p>
108
<td class="NewsItemDate" valign = top>
109
<p><a href="snmp_int.html">check_snmp_int</a><br>
113
<td class="SectionBody">
114
<p>Checks by snmp (1,2c,3) interface state and usage. Interfaces
115
can be selected by regexp.<br>
116
It is possible to check the input/output bandwidth and error
117
rate of the interface.<br>
119
Vérifie par snmp v1 ou v3 l'état des interfaces
121
Ce script permet d'utiliser des expressions régulières
122
pour sélectionner les interfaces : ex 'eth' va vérifier
124
Il permet également de lister toutes les interfaces
125
disponibles sur la machine cible (option -v). </p>
126
<p><a href="snmp_int.html">Details</a></p>
130
<td class="NewsItemDate" valign = top>
131
<p><a href="snmp_process.html">check_snmp_process</a></p>
132
<p><a href="check_snmp_process.pl"><br>
136
<td class="SectionBody">
137
<p>Checks by snmp (1,2c,3) the number (can be 1) of processes
138
matching a perl regexp.<br>
139
The script can also check memory and cpu usage of processes.</p>
140
<p>Vérifie par snmp v1 ou v3 (idem) le nombre de process
141
sur un hôte.<br>
142
Ce script permet d'utiliser des expressions régulières
143
pour sélectionner les process.<br>
144
Il est également possible de vérifier l'utilisation
145
mémoire et CPU de la machine.<br>
146
Il permet également de lister touts les process disponibles
147
sur la machine cible (option -v). </p>
148
<p><a href="snmp_load.html">Details</a></p>
152
<td class="NewsItemDate" valign = top>
153
<p><a href="snmp_load.html">check_snmp_load</a></p>
156
<td class="SectionBody">
157
<p>Checks by snmp (1,2c,3) cpu or average load. <br>
158
Works on Linux, Windows, Cisco, AS400, HP Procurve, LinkProof,
159
Blucoat, Nokia, Fortinet, Netscreen,HP-UX.</p>
160
<p> Vérifie par snmp (1,2c,3) la charge ou l'ocupation
163
<p><a href="snmp_load.html">Details.</a></p>
167
<td class="NewsItemDate" valign = top>
168
<p><a href="snmp_mem.html">check_snmp_mem</a></p>
171
<td class="SectionBody">
172
<p>Checks by snmp (1,2c,3) : <br>
173
- Memory and swap usage on Linux/Net-snmp<br>
174
- Memory usage on cisco routers or Pix<br>
175
- Memory usage on HP Procurve switchs<br>
176
For memory check on other OS (Windows, AS400) see the description
178
<p>Vérifcation de <br>
179
- l'utilisation mémoire et swap sur Linux/Net-snmp<br>
180
- l'utilisation mémoire sur Cisco (routeurs et Pix).<br>
181
- l'utilisation mémoire sur Switch Hp Procurve.<br>
182
Pour d'autres SE (Windows, AS400), aller à la page
184
<p><a href="snmp_mem.html">Détail</a></p>
188
<td class="NewsItemDate" valign = top>
189
<p><a href="snmp_vrrp.html">check_snmp_vrrp</a></p>
192
<td class="SectionBody">
193
<p>Checks the vrrp state of all the interface of a host. You
194
can specify if they must be master or backup.<br>
195
Supported platforms : Nokia IP (vrrp & clustering), Linkproof,
197
<p>Verifie l'état vrrp des interfaces d'un host.</p>
201
<td class="NewsItemDate" valign = top>
202
<p><a href="snmp_cpfw.html">check_snmp_cpfw</a></p>
205
<td class="SectionBody">
206
<p>Checks the state of Checkpoint Firewall-1 modules (SVN, HA,
207
FW, MGMT) and active connexions (tested on NG).<br>
208
Snmp extensions must be activated</p>
209
<p>Vérifie l'état des modules Checkpoint Fw-1
210
(HA, SVN, MGMT, FW) et les connexions actives. Testé
212
L'extension SNMP doit être activée sur les modules.</p>
213
<p><a href="snmp_cpfw.html">Détail</a></p>
217
<td class="NewsItemDate" valign = top>
218
<p><a href="snmp_windows.html">check_snmp_win</a></p>
221
<td class="SectionBody">
222
<p>Checks windows services state with snmp.</p>
223
<p>Véifie l'état de services Windows par snmp.</p>
224
<p><a href="snmp_windows.html">Détail</a></p>
228
<td class="SectionBody">
229
<p><a href="snmp_css.html" class="NewsItemDate">check_snmp_css</a></p>
232
<td class="SectionBody">Checks css services state</td>
235
<td class="SectionBody">
236
<p><a href="snmp_env.html" class="NewsItemDate">check_snmp_env</a></p>
239
<td class="SectionBody">Checks environemental status (fan, temp,
240
power supply) on Cisco, Nokia, Bluecoat, IronPort, Foundry.</td>
247
<p class="SectionTitle">Compatibility matrix : </p>
248
<table width="100%" border="2" class="SectionBody" cellspacing="3">
250
<td class="SectionTitle">System</td>
251
<td class="SectionTitle">check_snmp_storage</td>
252
<td class="SectionTitle">check_snmp_int</td>
253
<td class="SectionTitle">check_snmp_process</td>
254
<td class="SectionTitle">check_snmp_mem</td>
255
<td class="SectionTitle">check_snmp_load</td>
261
- '/home', '/var'<br>
262
- 'Swap', 'Real Memory'<br>
269
<td>OK (mem & swap)</td>
284
See check_snmp_storage for virtual mem</p>
289
<td>Cisco/HP switch</td>
292
- 'Giga' : all gigabits<br>
293
- 'Fast.*0.1[1234]' : checks FastEternet0/11 to 0/14.</td>
301
- '-m RAM -s' to get all RAM<br>
302
- 'System ASP' : Disk<br>
308
See check_snmp_storage</p>
326
<p class="SectionBody">This project is hosted on : <br>
327
<A href="http://sourceforge.net/projects/nagios-snmp"> <IMG src="http://sourceforge.net/sflogo.php?group_id=134917&type=5" width="210" height="62" border="0" alt="SourceForge.net Logo" /></A>
329
<p class="SectionBody"> Nagios and the Nagios logo are registered
330
trademarks of Ethan Galstad.</p>