| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<title>ProFTPD module mod_snmp</title> |
| 5 |
</head> |
| 6 |
|
| 7 |
<body bgcolor=white> |
| 8 |
|
| 9 |
<hr> |
| 10 |
<center> |
| 11 |
<h2><b>ProFTPD module <code>mod_snmp</code></b></h2> |
| 12 |
</center> |
| 13 |
<hr><br> |
| 14 |
|
| 15 |
<p> |
| 16 |
The <code>mod_snmp</code> module implements SNMPv1 and SNMPv2, for monitoring |
| 17 |
of <code>proftpd</code> statistics via SNMP. |
| 18 |
|
| 19 |
<p> |
| 20 |
The <code>mod_snmp</code> module does <b>not</b> currently support: |
| 21 |
<ul> |
| 22 |
<li>SNMPv3 |
| 23 |
<li>AgentX |
| 24 |
<li>SNMP <code>Set</code> requests |
| 25 |
</ul> |
| 26 |
|
| 27 |
<p> |
| 28 |
The <code>mod_snmp</code> module is contained in the <code>mod_snmp/</code> |
| 29 |
directory, is intended for ProFTPD 1.3.4rc3 and later, and is not compiled by |
| 30 |
default. Installation instructions are discussed |
| 31 |
<a href="#Installation">here</a>. |
| 32 |
|
| 33 |
<p> |
| 34 |
The most current version of <code>mod_sftp</code> is distributed with the |
| 35 |
ProFTPD source code. |
| 36 |
|
| 37 |
<h2>Author</h2> |
| 38 |
<p> |
| 39 |
Please contact TJ Saunders <tj <i>at</i> castaglia.org> with any |
| 40 |
questions, concerns, or suggestions regarding this module. |
| 41 |
|
| 42 |
<h2>Thanks</h2> |
| 43 |
<p> |
| 44 |
<i>2013-01-09</i>: Thanks to <cliles <i>at</i> capario.com> for testing |
| 45 |
out most of the <code>mod_snmp</code> features, requesting additional useful |
| 46 |
functionality, and providing OpenNMS support/examples. |
| 47 |
|
| 48 |
<h2>Directives</h2> |
| 49 |
<ul> |
| 50 |
<li><a href="#SNMPAgent">SNMPAgent</a> |
| 51 |
<li><a href="#SNMPCommunity">SNMPCommunity</a> |
| 52 |
<li><a href="#SNMPEngine">SNMPEngine</a> |
| 53 |
<li><a href="#SNMPLog">SNMPLog</a> |
| 54 |
<li><a href="#SNMPMaxVariables">SNMPMaxVariables</a> |
| 55 |
<li><a href="#SNMPNotify">SNMPNotify</a> |
| 56 |
<li><a href="#SNMPOptions">SNMPOptions</a> |
| 57 |
<li><a href="#SNMPTables">SNMPTables</a> |
| 58 |
</ul> |
| 59 |
|
| 60 |
<p> |
| 61 |
<hr> |
| 62 |
<h3><a name="SNMPAgent">SNMPAgent</a></h3> |
| 63 |
<strong>Syntax:</strong> SNMPAgent master|agentx <em>address[:port] ...</em><br> |
| 64 |
<strong>Default:</strong> <em>None</em><br> |
| 65 |
<strong>Context:</strong> server config<br> |
| 66 |
<strong>Module:</strong> mod_snmp<br> |
| 67 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 68 |
|
| 69 |
<p> |
| 70 |
The <code>SNMPAgent</code> directive configures the <code>mod_snmp</code> |
| 71 |
module to act as a "master" SNMP agent/entity, or as an AgentX sub-agent. |
| 72 |
(<b>Note</b> that the AgentX capability is not currently implemented.) |
| 73 |
|
| 74 |
<p> |
| 75 |
The <em>address</em> parameter can be an IP address or a DNS name; this |
| 76 |
parameter configures the address/port on which <code>mod_snmp</code> will listen |
| 77 |
for UDP SNMP packets. By default, a port of 161 is assumed, use |
| 78 |
<em>address:port</em> to specify an alternate port, <i>e.g.</i>: |
| 79 |
<pre> |
| 80 |
SNMPAgent master localhost:1161 |
| 81 |
</pre> |
| 82 |
Note that IPv6 addresses should be enclosed in square brackets, as they can |
| 83 |
contain colons as well, <i>e.g.</i>: |
| 84 |
<pre> |
| 85 |
SNMPAgent master [::1]:1161 |
| 86 |
</pre> |
| 87 |
|
| 88 |
<p> |
| 89 |
Multiple addresses can be supplied, allowing <code>mod_snmp</code> to listen |
| 90 |
on multiple addresses/ports simultaneously: |
| 91 |
<pre> |
| 92 |
SNMPAgent master 1.2.3.4:1161 [a::f]:2262 |
| 93 |
</pre> |
| 94 |
|
| 95 |
<p> |
| 96 |
Note that the <code>SNMPAgent</code> directive is <b>required</b>. |
| 97 |
|
| 98 |
<p> |
| 99 |
<hr> |
| 100 |
<h3><a name="SNMPCommunity">SNMPCommunity</a></h3> |
| 101 |
<strong>Syntax:</strong> SNMPCommunity <em>community</em><br> |
| 102 |
<strong>Default:</strong> <em>None</em><br> |
| 103 |
<strong>Context:</strong> server config<br> |
| 104 |
<strong>Module:</strong> mod_snmp<br> |
| 105 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 106 |
|
| 107 |
<p> |
| 108 |
The <code>SNMPCommunity</code> directive configures the <em>community</em> |
| 109 |
string (effectively a passphrase) used for authenticating SNMPv1 and SNMPv2 |
| 110 |
messages. |
| 111 |
|
| 112 |
<p> |
| 113 |
Note that the <code>SNMPCommunity</code> directive is <b>required</b>. |
| 114 |
|
| 115 |
<p> |
| 116 |
<hr> |
| 117 |
<h3><a name="SNMPEngine">SNMPEngine</a></h3> |
| 118 |
<strong>Syntax:</strong> SNMPEngine <em>on|off</em><br> |
| 119 |
<strong>Default:</strong> <em>off</em><br> |
| 120 |
<strong>Context:</strong> server config<br> |
| 121 |
<strong>Module:</strong> mod_snmp<br> |
| 122 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 123 |
|
| 124 |
<p> |
| 125 |
The <code>SNMPEngine</code> directive controls whether the <code>mod_snmp</code> |
| 126 |
will run as an SNMP agent, and handle SNMP messages. |
| 127 |
|
| 128 |
<p> |
| 129 |
<hr> |
| 130 |
<h3><a name="SNMPLog">SNMPLog</a></h3> |
| 131 |
<strong>Syntax:</strong> SNMPLog <em>file|"none"</em><br> |
| 132 |
<strong>Default:</strong> <em>None</em><br> |
| 133 |
<strong>Context:</strong> server config<br> |
| 134 |
<strong>Module:</strong> mod_snmp<br> |
| 135 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 136 |
|
| 137 |
<p> |
| 138 |
The <code>SNMPLog</code> directive is used to specify a log file for |
| 139 |
<code>mod_snmp</code>'s reporting. The <em>file</em> parameter given must be |
| 140 |
the full path to the file to use for logging. |
| 141 |
|
| 142 |
<p> |
| 143 |
Note that this path must <b>not</b> be to a world-writable directory and, |
| 144 |
unless <code>AllowLogSymlinks</code> is explicitly set to <em>on</em> |
| 145 |
(generally a bad idea), the path must <b>not</b> be a symbolic link. |
| 146 |
|
| 147 |
<p> |
| 148 |
<hr> |
| 149 |
<h3><a name="SNMPNotify">SNMPNotify</a></h3> |
| 150 |
<strong>Syntax:</strong> SNMPNotify <em>address[:port]</em><br> |
| 151 |
<strong>Default:</strong> <em>None</em><br> |
| 152 |
<strong>Context:</strong> server config, <code><VirtualHost></code>, <code><Global></code><br> |
| 153 |
<strong>Module:</strong> mod_snmp<br> |
| 154 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 155 |
|
| 156 |
<p> |
| 157 |
The <code>SNMPNotify</code> directive is used to specify the <em>address</em> |
| 158 |
of any SNMP manager that should receive <b>any</b> notification (<i>i.e.</i> |
| 159 |
SNMPv2 trap) that <code>mod_snmp</code> can generated. Read <a href="#Notifications">here</a> for more details on the types of notifications that |
| 160 |
<code>mod_snmp</code> supports. |
| 161 |
|
| 162 |
<p> |
| 163 |
The <em>address</em> parameter can be an IP address or DNS name. By default, |
| 164 |
a port number of 162 is assumed. To specify the port number, use: |
| 165 |
<pre> |
| 166 |
SNMPNotify <em>address</em>:<em>port</em> |
| 167 |
</pre> |
| 168 |
|
| 169 |
<p> |
| 170 |
Multiple <code>SNMPNotify</code> directives can be configured; |
| 171 |
<code>mod_snmp</code> will send notifications to <i>all</i> of them. |
| 172 |
|
| 173 |
<p> |
| 174 |
<hr> |
| 175 |
<h3><a name="SNMPOptions">SNMPOptions</a></h3> |
| 176 |
<strong>Syntax:</strong> SNMPOptions <em>opt1 ...</em><br> |
| 177 |
<strong>Default:</strong> <em>None</em><br> |
| 178 |
<strong>Context:</strong> server config<br> |
| 179 |
<strong>Module:</strong> mod_snmp<br> |
| 180 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 181 |
|
| 182 |
<p> |
| 183 |
The <code>SNMPOptions</code> directive is used to configure various optional |
| 184 |
behaviors of <code>mod_snmp</code>. |
| 185 |
|
| 186 |
<p> |
| 187 |
Example: |
| 188 |
<pre> |
| 189 |
SNMPOptions RestartClearsCounters |
| 190 |
</pre> |
| 191 |
|
| 192 |
<p> |
| 193 |
The currently implemented options are: |
| 194 |
<ul> |
| 195 |
<li><code>RestartClearsCounters</code><br> |
| 196 |
<p> |
| 197 |
This option will cause <code>mod_snmp</code> to clear/reset every |
| 198 |
counter (<i>except</i> for the <code>daemon.restartCount</code> counter) |
| 199 |
whenever <code>proftpd</code> is restarted via the SIGHUP signal. |
| 200 |
</ul> |
| 201 |
|
| 202 |
<p> |
| 203 |
<hr> |
| 204 |
<h3><a name="SNMPTables">SNMPTables</a></h3> |
| 205 |
<strong>Syntax:</strong> SNMPTables <em>path</em><br> |
| 206 |
<strong>Default:</strong> <em>None</em><br> |
| 207 |
<strong>Context:</strong> server config<br> |
| 208 |
<strong>Module:</strong> mod_snmp<br> |
| 209 |
<strong>Compatibility:</strong> 1.3.4rc3 and later |
| 210 |
|
| 211 |
<p> |
| 212 |
The <code>SNMPTables</code> directive is used to specify a directory that |
| 213 |
<code>mod_snmp</code> will use for storing its database files; these files |
| 214 |
are used for tracking the various statistics reported via SNMP. |
| 215 |
|
| 216 |
<p> |
| 217 |
<hr> |
| 218 |
<h2><a name="Installation">Installation</a></h2> |
| 219 |
The <code>mod_snmp</code> module is distributed with ProFTPD. For including |
| 220 |
<code>mod_snmp</code> as a statically linked module, use: |
| 221 |
<pre> |
| 222 |
$ ./configure --with-modules=mod_snmp ... |
| 223 |
</pre> |
| 224 |
Alternatively, <code>mod_snmp</code> can be built as a DSO module: |
| 225 |
<pre> |
| 226 |
$ ./configure --enable-dso --with-shared=mod_snmp ... |
| 227 |
</pre> |
| 228 |
Then follow the usual steps: |
| 229 |
<pre> |
| 230 |
$ make |
| 231 |
$ make install |
| 232 |
</pre> |
| 233 |
|
| 234 |
<p> |
| 235 |
<hr> |
| 236 |
<h2><a name="Usage">Usage</a></h2> |
| 237 |
|
| 238 |
<p> |
| 239 |
<b>Important Security Considerations</b><br> |
| 240 |
Do <b>not</b> configure <code>mod_snmp</code> to listen on a public Internet |
| 241 |
address. The information provided via <code>mod_snmp</code> can be used |
| 242 |
by attackers to gain more information about your running <code>proftpd</code>, |
| 243 |
including being able to determine whether their logins fail due to a wrong |
| 244 |
password (in which case, they know that that user name is valid) or not. It |
| 245 |
is <b>highly recommended</b> that you configure <code>mod_snmp</code> to only |
| 246 |
listen on internal/LAN addresses. Furthermore, you should employ a firewall |
| 247 |
rule that <b>rejects</b> any UDP packets from the public Internet to your |
| 248 |
<code>proftpd</code> instance. |
| 249 |
|
| 250 |
<p> |
| 251 |
<b>SNMP Listening Process</b><br> |
| 252 |
When <code>proftpd</code> starts up with <code>mod_snmp</code> enabled, the |
| 253 |
<code>mod_snmp</code> module will fork a new process that acts as the SNMP |
| 254 |
agent, receiving and responding to all SNMP requests. This SNMP listening |
| 255 |
process automatically switches to the privileges configured by the |
| 256 |
<code>User</code> and <code>Group</code> directives, and will also automatically |
| 257 |
<b>chroot</b> itself to a subdirectory of the <code>SNMPTables</code> directory, |
| 258 |
after which all root privileges are permanently dropped. |
| 259 |
|
| 260 |
<p> |
| 261 |
<b>Example Configuration</b><br> |
| 262 |
The <code>mod_snmp</code> module uses a UDP socket for listening for SNMP |
| 263 |
requests. Thus it does not require any separate |
| 264 |
<code><VirtualHost></code> sections, and does not interfere with the |
| 265 |
normal FTP operations. |
| 266 |
|
| 267 |
<p> |
| 268 |
Here is an example configuration for <code>mod_snmp</code>: |
| 269 |
<pre> |
| 270 |
<IfModule mod_snmp.c> |
| 271 |
SNMPEngine on |
| 272 |
SNMPLog /etc/proftpd/snmp/snmp.log |
| 273 |
|
| 274 |
# Configure the agent to listen on 1.2.3.4, port 161 |
| 275 |
SNMPAgent master 1.2.3.4 161 |
| 276 |
|
| 277 |
# Configure the SNMP community string |
| 278 |
SNMPCommunity MySnmpCommunity |
| 279 |
|
| 280 |
# Configure the directory that mod_snmp will use for its database files |
| 281 |
SNMPTables /var/proftpd/snmp |
| 282 |
</IfModule> |
| 283 |
</pre> |
| 284 |
|
| 285 |
<p> |
| 286 |
<b>Access Controls for SNMP Messages</b><br> |
| 287 |
Since the SNMPv1/SNMPv2 does not have authentication of "users" as such, |
| 288 |
the normal user/group-based ACLs that can be configured in <code>proftpd</code> |
| 289 |
have no effect on SNMP messages. |
| 290 |
|
| 291 |
<p> |
| 292 |
In order to provide IP-based access control, then, the <code>mod_snmp</code> |
| 293 |
module supports a <code><Limit SNMP></code> section, like the following: |
| 294 |
<p> |
| 295 |
Example: |
| 296 |
<pre> |
| 297 |
<Limit SNMP> |
| 298 |
# Allow SNMP packets from 10.x.x.x and 127.0.0.1 addresses |
| 299 |
Allow from 10., 127.0.0.1 |
| 300 |
DenyAll |
| 301 |
</Limit> |
| 302 |
</pre> |
| 303 |
It is easy to spoof the source address for UDP packets, however. So it is |
| 304 |
far better (and more secure) to use a firewall to restrict which UDP packets |
| 305 |
can reach the <code>mod_snmp</code> address/port. |
| 306 |
|
| 307 |
<p> |
| 308 |
<b>Logging</b><br> |
| 309 |
The <code>mod_snmp</code> module supports different forms of logging. The |
| 310 |
main module logging is done via the <code>SNMPLog</code> directive. For |
| 311 |
debugging purposes, the module also uses <a href="../howto/Tracing.html">trace logging</a>, via the module-specific log channels: |
| 312 |
<ul> |
| 313 |
<li>snmp |
| 314 |
<li>snmp.asn1 |
| 315 |
<li>snmp.db |
| 316 |
<li>snmp.mib |
| 317 |
<li>snmp.msg |
| 318 |
<li>snmp.notify |
| 319 |
<li>snmp.pdu |
| 320 |
<li>snmp.smi |
| 321 |
</ul> |
| 322 |
Thus for trace logging, to aid in debugging, you would use the following in |
| 323 |
your <code>proftpd.conf</code>: |
| 324 |
<pre> |
| 325 |
TraceLog /path/to/snmp-trace.log |
| 326 |
Trace snmp:20 |
| 327 |
</pre> |
| 328 |
This trace logging can generate large files; it is intended for debugging |
| 329 |
use only, and should be removed from any production configuration. |
| 330 |
|
| 331 |
<p> |
| 332 |
<b><code>mod_snmp</code> OIDs</b><br> |
| 333 |
<b>Note</b> that all <code>mod_snmp</code> OIDs begin with |
| 334 |
1.3.6.1.4.1.17852.2.2. The <code>ProFTPD</code> column in the table below |
| 335 |
contains the ProFTPD versions where the OID is present. |
| 336 |
|
| 337 |
<p> |
| 338 |
<table border=1 summary="ProFTPD SNMP OIDs"> |
| 339 |
<tr> |
| 340 |
<td> <b>OID</b> </td> |
| 341 |
<td> <b>Name</b> </td> |
| 342 |
<td> <b>Type</b> </td> |
| 343 |
<td> <b><code>ProFTPD</code></b> </td> |
| 344 |
<td> <b>Description</b> </td> |
| 345 |
</tr> |
| 346 |
|
| 347 |
|
| 348 |
<tr> |
| 349 |
<td> *.1.1.0 </td> |
| 350 |
<td> daemon.software </td> |
| 351 |
<td> STRING </td> |
| 352 |
<td> 1.3.4rc3+ </td> |
| 353 |
<td> Always "proftpd" </td> |
| 354 |
</tr> |
| 355 |
|
| 356 |
<tr> |
| 357 |
<td> *.1.2.0 </td> |
| 358 |
<td> daemon.version </td> |
| 359 |
<td> STRING </td> |
| 360 |
<td> 1.3.4rc3+ </td> |
| 361 |
<td> Version of <code>proftpd</code> </td> |
| 362 |
</tr> |
| 363 |
|
| 364 |
<tr> |
| 365 |
<td> *.1.3.0 </td> |
| 366 |
<td> daemon.admin </td> |
| 367 |
<td> STRING </td> |
| 368 |
<td> 1.3.4rc3+ </td> |
| 369 |
<td> Administrative contact, <i>i.e.</i> the <code>ServerAdmin</code> </td> |
| 370 |
</tr> |
| 371 |
|
| 372 |
<tr> |
| 373 |
<td> *.1.4.0 </td> |
| 374 |
<td> daemon.uptime </td> |
| 375 |
<td> TimeTicks </td> |
| 376 |
<td> 1.3.4rc3+ </td> |
| 377 |
<td> Uptime of the <code>proftpd</code> daemon </td> |
| 378 |
</tr> |
| 379 |
|
| 380 |
<tr> |
| 381 |
<td> *.1.5.0 </td> |
| 382 |
<td> daemon.vhostCount </td> |
| 383 |
<td> INTEGER </td> |
| 384 |
<td> 1.3.4rc3+ </td> |
| 385 |
<td> Number of vhosts (including "server config") configured </td> |
| 386 |
</tr> |
| 387 |
|
| 388 |
<tr> |
| 389 |
<td> *.1.6.0 </td> |
| 390 |
<td> daemon.connectionCount </td> |
| 391 |
<td> Gauge32 </td> |
| 392 |
<td> 1.3.4rc3+ </td> |
| 393 |
<td> Number of current connections </td> |
| 394 |
</tr> |
| 395 |
|
| 396 |
<tr> |
| 397 |
<td> *.1.7.0 </td> |
| 398 |
<td> daemon.connectionTotal </td> |
| 399 |
<td> Counter32 </td> |
| 400 |
<td> 1.3.4rc3+ </td> |
| 401 |
<td> Total number of connections since daemon started </td> |
| 402 |
</tr> |
| 403 |
|
| 404 |
<tr> |
| 405 |
<td> *.1.8.0 </td> |
| 406 |
<td> daemon.connectionRefusedTotal </td> |
| 407 |
<td> Counter32 </td> |
| 408 |
<td> 1.3.4rc3+ </td> |
| 409 |
<td> Total number of connections <b>refused</b> </td> |
| 410 |
</tr> |
| 411 |
|
| 412 |
<tr> |
| 413 |
<td> *.1.9.0 </td> |
| 414 |
<td> daemon.restartCount </td> |
| 415 |
<td> Counter32 </td> |
| 416 |
<td> 1.3.4rc3+ </td> |
| 417 |
<td> Total number of times daemon has been restarted </td> |
| 418 |
</tr> |
| 419 |
|
| 420 |
<tr> |
| 421 |
<td> *.1.10.0 </td> |
| 422 |
<td> daemon.segfaultCount </td> |
| 423 |
<td> Counter32 </td> |
| 424 |
<td> 1.3.4rc3+ </td> |
| 425 |
<td> Total number of <code>SIGSEGV</code> occurrences </td> |
| 426 |
</tr> |
| 427 |
|
| 428 |
<tr> |
| 429 |
<td> *.1.11.0 </td> |
| 430 |
<td> daemon.maxInstancesLimitCount </td> |
| 431 |
<td> Counter32 </td> |
| 432 |
<td> 1.3.4rc3+ </td> |
| 433 |
<td> Total number of times <code>MaxInstances</code> reached </td> |
| 434 |
</tr> |
| 435 |
|
| 436 |
|
| 437 |
<tr> |
| 438 |
<td> *.2.1.0 </td> |
| 439 |
<td> timeouts.idleTimeoutTotal </td> |
| 440 |
<td> Counter32 </td> |
| 441 |
<td> 1.3.4rc3+ </td> |
| 442 |
<td> Total number of times <code>TimeoutIdle</code> was reached </td> |
| 443 |
</tr> |
| 444 |
|
| 445 |
<tr> |
| 446 |
<td> *.2.2.0 </td> |
| 447 |
<td> timeouts.loginTimeoutTotal </td> |
| 448 |
<td> Counter32 </td> |
| 449 |
<td> 1.3.4rc3+ </td> |
| 450 |
<td> Total number of times <code>TimeoutLogin</code> was reached </td> |
| 451 |
</tr> |
| 452 |
|
| 453 |
<tr> |
| 454 |
<td> *.2.3.0 </td> |
| 455 |
<td> timeouts.noTransferTimeoutTotal </td> |
| 456 |
<td> Counter32 </td> |
| 457 |
<td> 1.3.4rc3+ </td> |
| 458 |
<td> Total number of times <code>TimeoutNoTransfer</code> was reached </td> |
| 459 |
</tr> |
| 460 |
|
| 461 |
<tr> |
| 462 |
<td> *.2.4.0 </td> |
| 463 |
<td> timeouts.stalledTimeoutTotal </td> |
| 464 |
<td> Counter32 </td> |
| 465 |
<td> 1.3.4rc3+ </td> |
| 466 |
<td> Total number of times <code>TimeoutStalled</code> was reached </td> |
| 467 |
</tr> |
| 468 |
|
| 469 |
|
| 470 |
<tr> |
| 471 |
<td> *.3.1.1.0 </td> |
| 472 |
<td> ftp.sessions.sessionCount </td> |
| 473 |
<td> Gauge32 </td> |
| 474 |
<td> 1.3.4rc3+ </td> |
| 475 |
<td> Number of current FTP sessions </td> |
| 476 |
</tr> |
| 477 |
|
| 478 |
<tr> |
| 479 |
<td> *.3.1.2.0 </td> |
| 480 |
<td> ftp.sessions.sessionTotal </td> |
| 481 |
<td> Counter32 </td> |
| 482 |
<td> 1.3.4rc3+ </td> |
| 483 |
<td> Total number of FTP sessions handled </td> |
| 484 |
</tr> |
| 485 |
|
| 486 |
<tr> |
| 487 |
<td> *.3.1.3.0 </td> |
| 488 |
<td> ftp.sessions.commandInvalidTotal </td> |
| 489 |
<td> Counter32 </td> |
| 490 |
<td> 1.3.4rc3+ </td> |
| 491 |
<td> Total number of invalid FTP commands received </td> |
| 492 |
</tr> |
| 493 |
|
| 494 |
|
| 495 |
<tr> |
| 496 |
<td> *.3.2.1.0 </td> |
| 497 |
<td> ftp.logins.loginTotal </td> |
| 498 |
<td> Counter32 </td> |
| 499 |
<td> 1.3.4rc3+ </td> |
| 500 |
<td> Total number of successful FTP logins </td> |
| 501 |
</tr> |
| 502 |
|
| 503 |
<tr> |
| 504 |
<td> *.3.2.2.0 </td> |
| 505 |
<td> ftp.logins.loginFailedTotal </td> |
| 506 |
<td> Counter32 </td> |
| 507 |
<td> 1.3.4rc3+ </td> |
| 508 |
<td> Total number of <b>failed</b> FTP logins </td> |
| 509 |
</tr> |
| 510 |
|
| 511 |
<tr> |
| 512 |
<td> *.3.2.3.0 </td> |
| 513 |
<td> ftp.logins.loginBadUserTotal </td> |
| 514 |
<td> Counter32 </td> |
| 515 |
<td> 1.3.4rc3+ </td> |
| 516 |
<td> Total number of failed FTP logins due to bad/wrong user name </td> |
| 517 |
</tr> |
| 518 |
|
| 519 |
<tr> |
| 520 |
<td> *.3.2.4.0 </td> |
| 521 |
<td> ftp.logins.loginBadPasswordTotal </td> |
| 522 |
<td> Counter32 </td> |
| 523 |
<td> 1.3.4rc3+ </td> |
| 524 |
<td> Total number of failed FTP logins due to bad password </td> |
| 525 |
</tr> |
| 526 |
|
| 527 |
<tr> |
| 528 |
<td> *.3.2.5.0 </td> |
| 529 |
<td> ftp.logins.loginGeneralErrorTotal </td> |
| 530 |
<td> Counter32 </td> |
| 531 |
<td> 1.3.4rc3+ </td> |
| 532 |
<td> Total number of failed FTP logins due to config/other issues </td> |
| 533 |
</tr> |
| 534 |
|
| 535 |
<tr> |
| 536 |
<td> *.3.2.6.0 </td> |
| 537 |
<td> ftp.logins.anonLoginCount </td> |
| 538 |
<td> Gauge32 </td> |
| 539 |
<td> 1.3.4rc3+ </td> |
| 540 |
<td> Number of current anonymous FTP logins </td> |
| 541 |
</tr> |
| 542 |
|
| 543 |
<tr> |
| 544 |
<td> *.3.2.7.0 </td> |
| 545 |
<td> ftp.logins.anonLoginTotal </td> |
| 546 |
<td> Counter32 </td> |
| 547 |
<td> 1.3.4rc3+ </td> |
| 548 |
<td> Total number of anonymous FTP logins </td> |
| 549 |
</tr> |
| 550 |
|
| 551 |
|
| 552 |
<tr> |
| 553 |
<td> *.3.3.1.0 </td> |
| 554 |
<td> ftp.dataTransfers.dirListCount </td> |
| 555 |
<td> Gauge32 </td> |
| 556 |
<td> 1.3.4rc3+ </td> |
| 557 |
<td> Number of directories currently being listed via FTP </td> |
| 558 |
</tr> |
| 559 |
|
| 560 |
<tr> |
| 561 |
<td> *.3.3.2.0 </td> |
| 562 |
<td> ftp.dataTransfers.dirListTotal </td> |
| 563 |
<td> Counter32 </td> |
| 564 |
<td> 1.3.4rc3+ </td> |
| 565 |
<td> Total number of directories listed via FTP </td> |
| 566 |
</tr> |
| 567 |
|
| 568 |
<tr> |
| 569 |
<td> *.3.3.3.0 </td> |
| 570 |
<td> ftp.dataTransfers.dirListFailedTotal </td> |
| 571 |
<td> Counter32 </td> |
| 572 |
<td> 1.3.4rc3+ </td> |
| 573 |
<td> Total number of directory list failures via FTP </td> |
| 574 |
</tr> |
| 575 |
|
| 576 |
<tr> |
| 577 |
<td> *.3.3.4.0 </td> |
| 578 |
<td> ftp.dataTransfers.fileUploadCount </td> |
| 579 |
<td> Gauge32 </td> |
| 580 |
<td> 1.3.4rc3+ </td> |
| 581 |
<td> Number of files currently being uploaded via FTP </td> |
| 582 |
</tr> |
| 583 |
|
| 584 |
<tr> |
| 585 |
<td> *.3.3.5.0 </td> |
| 586 |
<td> ftp.dataTransfers.fileUploadTotal </td> |
| 587 |
<td> Counter32 </td> |
| 588 |
<td> 1.3.4rc3+ </td> |
| 589 |
<td> Total number of files uploaded via FTP </td> |
| 590 |
</tr> |
| 591 |
|
| 592 |
<tr> |
| 593 |
<td> *.3.3.6.0 </td> |
| 594 |
<td> ftp.dataTransfers.fileUploadFailedTotal </td> |
| 595 |
<td> Counter32 </td> |
| 596 |
<td> 1.3.4rc3+ </td> |
| 597 |
<td> Total number of file upload failures via FTP </td> |
| 598 |
</tr> |
| 599 |
|
| 600 |
<tr> |
| 601 |
<td> *.3.3.7.0 </td> |
| 602 |
<td> ftp.dataTransfers.fileDownloadCount </td> |
| 603 |
<td> Gauge32 </td> |
| 604 |
<td> 1.3.4rc3+ </td> |
| 605 |
<td> Number of files currently being downloaded via FTP </td> |
| 606 |
</tr> |
| 607 |
|
| 608 |
<tr> |
| 609 |
<td> *.3.3.8.0 </td> |
| 610 |
<td> ftp.dataTransfers.fileDownloadTotal </td> |
| 611 |
<td> Counter32 </td> |
| 612 |
<td> 1.3.4rc3+ </td> |
| 613 |
<td> Total number of files downloaded via FTP </td> |
| 614 |
</tr> |
| 615 |
|
| 616 |
<tr> |
| 617 |
<td> *.3.3.9.0 </td> |
| 618 |
<td> ftp.dataTransfers.fileDownloadFailedTotal </td> |
| 619 |
<td> Counter32 </td> |
| 620 |
<td> 1.3.4rc3+ </td> |
| 621 |
<td> Total number of file download failures via FTP </td> |
| 622 |
</tr> |
| 623 |
|
| 624 |
<tr> |
| 625 |
<td> *.3.3.10.0 </td> |
| 626 |
<td> ftp.dataTransfers.kbUploadTotal </td> |
| 627 |
<td> Counter32 </td> |
| 628 |
<td> 1.3.4rc3+ </td> |
| 629 |
<td> Total number of KB uploaded via FTP </td> |
| 630 |
</tr> |
| 631 |
|
| 632 |
<tr> |
| 633 |
<td> *.3.3.11.0 </td> |
| 634 |
<td> ftp.dataTransfers.kbDownloadTotal </td> |
| 635 |
<td> Counter32 </td> |
| 636 |
<td> 1.3.4rc3+ </td> |
| 637 |
<td> Total number of KB downloaded via FTP </td> |
| 638 |
</tr> |
| 639 |
|
| 640 |
|
| 641 |
<tr> |
| 642 |
<td> *.4.1.0 </td> |
| 643 |
<td> snmp.packetsReceivedTotal </td> |
| 644 |
<td> Counter32 </td> |
| 645 |
<td> 1.3.4rc3+ </td> |
| 646 |
<td> Total number of SNMP packets received </td> |
| 647 |
</tr> |
| 648 |
|
| 649 |
<tr> |
| 650 |
<td> *.4.2.0 </td> |
| 651 |
<td> snmp.packetsSentTotal </td> |
| 652 |
<td> Counter32 </td> |
| 653 |
<td> 1.3.4rc3+ </td> |
| 654 |
<td> Total number of SNMP packets sent </td> |
| 655 |
</tr> |
| 656 |
|
| 657 |
<tr> |
| 658 |
<td> *.4.3.0 </td> |
| 659 |
<td> snmp.trapsSentTotal </td> |
| 660 |
<td> Counter32 </td> |
| 661 |
<td> 1.3.4rc3+ </td> |
| 662 |
<td> Total number of SNMP traps/notifications sent </td> |
| 663 |
</tr> |
| 664 |
|
| 665 |
<tr> |
| 666 |
<td> *.4.4.0 </td> |
| 667 |
<td> snmp.packetsAuthFailedTotal </td> |
| 668 |
<td> Counter32 </td> |
| 669 |
<td> 1.3.4rc3+ </td> |
| 670 |
<td> Total number of SNMP packets failing authentication check </td> |
| 671 |
</tr> |
| 672 |
|
| 673 |
<tr> |
| 674 |
<td> *.4.5.0 </td> |
| 675 |
<td> snmp.packetsDroppedTotal </td> |
| 676 |
<td> Counter32 </td> |
| 677 |
<td> 1.3.4rc3+ </td> |
| 678 |
<td> Total number of SNMP packets dropped </td> |
| 679 |
</tr> |
| 680 |
|
| 681 |
|
| 682 |
<tr> |
| 683 |
<td> *.5.1.1.0 </td> |
| 684 |
<td> ftps.tlsSessions.sessionCount </td> |
| 685 |
<td> Gauge32 </td> |
| 686 |
<td> 1.3.4rc3+ </td> |
| 687 |
<td> Number of current FTPS sessions </td> |
| 688 |
</tr> |
| 689 |
|
| 690 |
<tr> |
| 691 |
<td> *.5.1.2.0 </td> |
| 692 |
<td> ftps.tlsSessions.sessionTotal </td> |
| 693 |
<td> Counter32 </td> |
| 694 |
<td> 1.3.4rc3+ </td> |
| 695 |
<td> Total number of FTPS sessions handled </td> |
| 696 |
</tr> |
| 697 |
|
| 698 |
<tr> |
| 699 |
<td> *.5.1.3.0 </td> |
| 700 |
<td> ftps.tlsSessions.ctrlHandshakeFailedTotal </td> |
| 701 |
<td> Counter32 </td> |
| 702 |
<td> 1.3.5rc1+ </td> |
| 703 |
<td> Total number of failed control connection SSL/TLS handshakes </td> |
| 704 |
</tr> |
| 705 |
|
| 706 |
<tr> |
| 707 |
<td> *.5.1.4.0 </td> |
| 708 |
<td> ftps.tlsSessions.dataHandshakeFailedTotal </td> |
| 709 |
<td> Counter32 </td> |
| 710 |
<td> 1.3.5rc1+ </td> |
| 711 |
<td> Total number of failed data connection SSL/TLS handshakes </td> |
| 712 |
</tr> |
| 713 |
|
| 714 |
<tr> |
| 715 |
<td> *.5.1.5.0 </td> |
| 716 |
<td> ftps.tlsSessions.clearCommandChannelTotal </td> |
| 717 |
<td> Counter32 </td> |
| 718 |
<td> 1.3.4rc3+ </td> |
| 719 |
<td> Total number of successful CCC (Clear Command Channel) FTP commands </td> |
| 720 |
</tr> |
| 721 |
|
| 722 |
<tr> |
| 723 |
<td> *.5.1.6.0 </td> |
| 724 |
<td> ftps.tlsSessions.clearCommandChannelFailedTotal </td> |
| 725 |
<td> Counter32 </td> |
| 726 |
<td> 1.3.4rc3+ </td> |
| 727 |
<td> Total number of failed CCC (Clear Command Channel) FTP commands </td> |
| 728 |
</tr> |
| 729 |
|
| 730 |
<tr> |
| 731 |
<td> *.5.1.7.0 </td> |
| 732 |
<td> ftps.tlsSessions.verifyClientTotal </td> |
| 733 |
<td> Counter32 </td> |
| 734 |
<td> 1.3.5rc2+ </td> |
| 735 |
<td> Total number of successful client cert verifications </td> |
| 736 |
</tr> |
| 737 |
|
| 738 |
<tr> |
| 739 |
<td> *.5.1.8.0 </td> |
| 740 |
<td> ftps.tlsSessions.verifyClientFailedTotal </td> |
| 741 |
<td> Counter32 </td> |
| 742 |
<td> 1.3.4rc3+ </td> |
| 743 |
<td> Total number of failed client cert verifications </td> |
| 744 |
</tr> |
| 745 |
|
| 746 |
|
| 747 |
<tr> |
| 748 |
<td> *.5.2.1.0 </td> |
| 749 |
<td> ftps.tlsLogins.loginTotal </td> |
| 750 |
<td> Counter32 </td> |
| 751 |
<td> 1.3.4rc3+ </td> |
| 752 |
<td> Total number of successful FTPS logins </td> |
| 753 |
</tr> |
| 754 |
|
| 755 |
<tr> |
| 756 |
<td> *.5.2.2.0 </td> |
| 757 |
<td> ftps.tlsLogins.loginFailedTotal </td> |
| 758 |
<td> Counter32 </td> |
| 759 |
<td> 1.3.4rc3+ </td> |
| 760 |
<td> Total number of <b>failed</b> FTPS logins </td> |
| 761 |
</tr> |
| 762 |
|
| 763 |
<tr> |
| 764 |
<td> *.5.2.3.0 </td> |
| 765 |
<td> ftps.tlsLogins.loginBadUserTotal </td> |
| 766 |
<td> Counter32 </td> |
| 767 |
<td> 1.3.4rc3+ </td> |
| 768 |
<td> Total number of failed FTPS logins due to bad/wrong user name </td> |
| 769 |
</tr> |
| 770 |
|
| 771 |
<tr> |
| 772 |
<td> *.5.2.4.0 </td> |
| 773 |
<td> ftps.tlsLogins.loginBadPasswordTotal </td> |
| 774 |
<td> Counter32 </td> |
| 775 |
<td> 1.3.4rc3+ </td> |
| 776 |
<td> Total number of failed FTPS logins due to bad password </td> |
| 777 |
</tr> |
| 778 |
|
| 779 |
<tr> |
| 780 |
<td> *.5.2.5.0 </td> |
| 781 |
<td> ftps.tlsLogins.loginGeneralErrorTotal </td> |
| 782 |
<td> Counter32 </td> |
| 783 |
<td> 1.3.4rc3+ </td> |
| 784 |
<td> Total number of failed FTPS logins due to config/other issues </td> |
| 785 |
</tr> |
| 786 |
|
| 787 |
<tr> |
| 788 |
<td> *.5.2.6.0 </td> |
| 789 |
<td> ftps.tlsLogins.loginCertTotal </td> |
| 790 |
<td> Counter32 </td> |
| 791 |
<td> 1.3.4rc3+ </td> |
| 792 |
<td> Total number of FTPS logins succeeding due to the client cert (<i>e.g.</i> AllowDotLogin <code>TLSOption</code>, <code>TLSUserName</code>, <i>etc</i>) </td> |
| 793 |
</tr> |
| 794 |
|
| 795 |
|
| 796 |
<tr> |
| 797 |
<td> *.5.3.1.0 </td> |
| 798 |
<td> ftps.tlsDataTransfers.dirListCount </td> |
| 799 |
<td> Gauge32 </td> |
| 800 |
<td> 1.3.4rc3+ </td> |
| 801 |
<td> Number of directories currently being listed via FTPS </td> |
| 802 |
</tr> |
| 803 |
|
| 804 |
<tr> |
| 805 |
<td> *.5.3.2.0 </td> |
| 806 |
<td> ftps.tlsDataTransfers.dirListTotal </td> |
| 807 |
<td> Counter32 </td> |
| 808 |
<td> 1.3.4rc3+ </td> |
| 809 |
<td> Total number of directories listed via FTPS </td> |
| 810 |
</tr> |
| 811 |
|
| 812 |
<tr> |
| 813 |
<td> *.5.3.3.0 </td> |
| 814 |
<td> ftps.tlsDataTransfers.dirListFailedTotal </td> |
| 815 |
<td> Counter32 </td> |
| 816 |
<td> 1.3.4rc3+ </td> |
| 817 |
<td> Total number of directory list failures via FTPS </td> |
| 818 |
</tr> |
| 819 |
|
| 820 |
<tr> |
| 821 |
<td> *.5.3.4.0 </td> |
| 822 |
<td> ftps.tlsDataTransfers.fileUploadCount </td> |
| 823 |
<td> Gauge32 </td> |
| 824 |
<td> 1.3.4rc3+ </td> |
| 825 |
<td> Number of files currently being uploaded via FTPS </td> |
| 826 |
</tr> |
| 827 |
|
| 828 |
<tr> |
| 829 |
<td> *.5.3.5.0 </td> |
| 830 |
<td> ftps.tlsDataTransfers.fileUploadTotal </td> |
| 831 |
<td> Counter32 </td> |
| 832 |
<td> 1.3.4rc3+ </td> |
| 833 |
<td> Total number of files uploaded via FTPS </td> |
| 834 |
</tr> |
| 835 |
|
| 836 |
<tr> |
| 837 |
<td> *.5.3.6.0 </td> |
| 838 |
<td> ftps.tlsDataTransfers.fileUploadFailedTotal </td> |
| 839 |
<td> Counter32 </td> |
| 840 |
<td> 1.3.4rc3+ </td> |
| 841 |
<td> Total number of file upload failures via FTPS </td> |
| 842 |
</tr> |
| 843 |
|
| 844 |
<tr> |
| 845 |
<td> *.5.3.7.0 </td> |
| 846 |
<td> ftps.tlsDataTransfers.fileDownloadCount </td> |
| 847 |
<td> Gauge32 </td> |
| 848 |
<td> 1.3.4rc3+ </td> |
| 849 |
<td> Number of files currently being downloaded via FTPS </td> |
| 850 |
</tr> |
| 851 |
|
| 852 |
<tr> |
| 853 |
<td> *.5.3.8.0 </td> |
| 854 |
<td> ftps.tlsDataTransfers.fileDownloadTotal </td> |
| 855 |
<td> Counter32 </td> |
| 856 |
<td> 1.3.4rc3+ </td> |
| 857 |
<td> Total number of files downloaded via FTPS </td> |
| 858 |
</tr> |
| 859 |
|
| 860 |
<tr> |
| 861 |
<td> *.5.3.9.0 </td> |
| 862 |
<td> ftps.tlsDataTransfers.fileDownloadFailedTotal </td> |
| 863 |
<td> Counter32 </td> |
| 864 |
<td> 1.3.4rc3+ </td> |
| 865 |
<td> Total number of file download failures via FTPS </td> |
| 866 |
</tr> |
| 867 |
|
| 868 |
<tr> |
| 869 |
<td> *.5.3.10.0 </td> |
| 870 |
<td> ftps.tlsDataTransfers.kbUploadTotal </td> |
| 871 |
<td> Counter32 </td> |
| 872 |
<td> 1.3.4rc3+ </td> |
| 873 |
<td> Total number of KB uploaded via FTPS </td> |
| 874 |
</tr> |
| 875 |
|
| 876 |
<tr> |
| 877 |
<td> *.5.3.11.0 </td> |
| 878 |
<td> ftps.tlsDataTransfers.kbDownloadTotal </td> |
| 879 |
<td> Counter32 </td> |
| 880 |
<td> 1.3.4rc3+ </td> |
| 881 |
<td> Total number of KB downloaded via FTPS </td> |
| 882 |
</tr> |
| 883 |
|
| 884 |
|
| 885 |
<tr> |
| 886 |
<td> *.6.1.1.0 </td> |
| 887 |
<td> ssh.sshSessions.keyExchangeFailedTotal </td> |
| 888 |
<td> Counter32 </td> |
| 889 |
<td> 1.3.4c+ </td> |
| 890 |
<td> Total number of SSH2 key exchange failures </td> |
| 891 |
</tr> |
| 892 |
|
| 893 |
<tr> |
| 894 |
<td> *.6.1.2.0 </td> |
| 895 |
<td> ssh.sshSessions.clientCompressionTotal </td> |
| 896 |
<td> Counter32 </td> |
| 897 |
<td> 1.3.4c+ </td> |
| 898 |
<td> Total number of SSH2 sessions using client-to-server compression </td> |
| 899 |
</tr> |
| 900 |
|
| 901 |
<tr> |
| 902 |
<td> *.6.1.3.0 </td> |
| 903 |
<td> ssh.sshSessions.serverCompressionTotal </td> |
| 904 |
<td> Counter32 </td> |
| 905 |
<td> 1.3.4c+ </td> |
| 906 |
<td> Total number of SSH2 sessions using server-to-client compression </td> |
| 907 |
</tr> |
| 908 |
|
| 909 |
|
| 910 |
<tr> |
| 911 |
<td> *.6.2.1.0 </td> |
| 912 |
<td> ssh.sshLogins.hostbasedAuthTotal </td> |
| 913 |
<td> Counter32 </td> |
| 914 |
<td> 1.3.4c+ </td> |
| 915 |
<td> Total number of SSH2 hostbased authentications </td> |
| 916 |
</tr> |
| 917 |
|
| 918 |
<tr> |
| 919 |
<td> *.6.2.2.0 </td> |
| 920 |
<td> ssh.sshLogins.hostbasedAuthFailedTotal </td> |
| 921 |
<td> Counter32 </td> |
| 922 |
<td> 1.3.4c+ </td> |
| 923 |
<td> Total number of <b>failed</b> SSH2 hostbased authentications </td> |
| 924 |
</tr> |
| 925 |
|
| 926 |
<tr> |
| 927 |
<td> *.6.2.3.0 </td> |
| 928 |
<td> ssh.sshLogins.keyboardInteractiveAuthTotal </td> |
| 929 |
<td> Counter32 </td> |
| 930 |
<td> 1.3.4c+ </td> |
| 931 |
<td> Total number of SSH2 keyboard-interactive authentications </td> |
| 932 |
</tr> |
| 933 |
|
| 934 |
<tr> |
| 935 |
<td> *.6.2.4.0 </td> |
| 936 |
<td> ssh.sshLogins.keyboardInteractiveAuthFailedTotal </td> |
| 937 |
<td> Counter32 </td> |
| 938 |
<td> 1.3.4c+ </td> |
| 939 |
<td> Total number of <b>failed</b> SSH2 keyboard-interactive authentications </td> |
| 940 |
</tr> |
| 941 |
|
| 942 |
<tr> |
| 943 |
<td> *.6.2.5.0 </td> |
| 944 |
<td> ssh.sshLogins.passwordAuthTotal </td> |
| 945 |
<td> Counter32 </td> |
| 946 |
<td> 1.3.4c+ </td> |
| 947 |
<td> Total number of SSH2 password authentications </td> |
| 948 |
</tr> |
| 949 |
|
| 950 |
<tr> |
| 951 |
<td> *.6.2.6.0 </td> |
| 952 |
<td> ssh.sshLogins.passwordAuthFailedTotal </td> |
| 953 |
<td> Counter32 </td> |
| 954 |
<td> 1.3.4c+ </td> |
| 955 |
<td> Total number of <b>failed</b> SSH2 password authentications </td> |
| 956 |
</tr> |
| 957 |
|
| 958 |
<tr> |
| 959 |
<td> *.6.2.7.0 </td> |
| 960 |
<td> ssh.sshLogins.publickeyAuthTotal </td> |
| 961 |
<td> Counter32 </td> |
| 962 |
<td> 1.3.4c+ </td> |
| 963 |
<td> Total number of SSH2 publickey authentications </td> |
| 964 |
</tr> |
| 965 |
|
| 966 |
<tr> |
| 967 |
<td> *.6.2.8.0 </td> |
| 968 |
<td> ssh.sshLogins.publickeyAuthFailedTotal </td> |
| 969 |
<td> Counter32 </td> |
| 970 |
<td> 1.3.4c+ </td> |
| 971 |
<td> Total number of <b>failed</b> SSH2 publickey authentications </td> |
| 972 |
</tr> |
| 973 |
|
| 974 |
|
| 975 |
<tr> |
| 976 |
<td> *.7.1.1.0 </td> |
| 977 |
<td> sftp.sftpSessions.sessionCount </td> |
| 978 |
<td> Gauge32 </td> |
| 979 |
<td> 1.3.4c+ </td> |
| 980 |
<td> Number of current SFTP sessions </td> |
| 981 |
</tr> |
| 982 |
|
| 983 |
<tr> |
| 984 |
<td> *.7.1.2.0 </td> |
| 985 |
<td> sftp.sftpSessions.sessionTotal </td> |
| 986 |
<td> Counter32 </td> |
| 987 |
<td> 1.3.4c+ </td> |
| 988 |
<td> Total number of SFTP sessions handled </td> |
| 989 |
</tr> |
| 990 |
|
| 991 |
|
| 992 |
<tr> |
| 993 |
<td> *.7.2.1.0 </td> |
| 994 |
<td> sftp.sftpDataTransfers.dirListCount </td> |
| 995 |
<td> Gauge32 </td> |
| 996 |
<td> 1.3.4rc3+ </td> |
| 997 |
<td> Number of directories currently being listed via SFTP </td> |
| 998 |
</tr> |
| 999 |
|
| 1000 |
<tr> |
| 1001 |
<td> *.7.2.2.0 </td> |
| 1002 |
<td> sftp.sftpDataTransfers.dirListTotal </td> |
| 1003 |
<td> Counter32 </td> |
| 1004 |
<td> 1.3.4rc3+ </td> |
| 1005 |
<td> Total number of directories listed via SFTP </td> |
| 1006 |
</tr> |
| 1007 |
|
| 1008 |
<tr> |
| 1009 |
<td> *.7.2.3.0 </td> |
| 1010 |
<td> sftp.sftpDataTransfers.dirListFailedTotal </td> |
| 1011 |
<td> Counter32 </td> |
| 1012 |
<td> 1.3.4rc3+ </td> |
| 1013 |
<td> Total number of directory list failures via SFTP </td> |
| 1014 |
</tr> |
| 1015 |
|
| 1016 |
<tr> |
| 1017 |
<td> *.7.2.4.0 </td> |
| 1018 |
<td> sftp.sftpDataTransfers.fileUploadCount </td> |
| 1019 |
<td> Gauge32 </td> |
| 1020 |
<td> 1.3.4rc3+ </td> |
| 1021 |
<td> Number of files currently being uploaded via SFTP </td> |
| 1022 |
</tr> |
| 1023 |
|
| 1024 |
<tr> |
| 1025 |
<td> *.7.2.5.0 </td> |
| 1026 |
<td> sftp.sftpDataTransfers.fileUploadTotal </td> |
| 1027 |
<td> Counter32 </td> |
| 1028 |
<td> 1.3.4rc3+ </td> |
| 1029 |
<td> Total number of files uploaded via SFTP </td> |
| 1030 |
</tr> |
| 1031 |
|
| 1032 |
<tr> |
| 1033 |
<td> *.7.2.6.0 </td> |
| 1034 |
<td> sftp.sftpDataTransfers.fileUploadFailedTotal </td> |
| 1035 |
<td> Counter32 </td> |
| 1036 |
<td> 1.3.4rc3+ </td> |
| 1037 |
<td> Total number of file upload failures via SFTP </td> |
| 1038 |
</tr> |
| 1039 |
|
| 1040 |
<tr> |
| 1041 |
<td> *.7.2.7.0 </td> |
| 1042 |
<td> sftp.sftpDataTransfers.fileDownloadCount </td> |
| 1043 |
<td> Gauge32 </td> |
| 1044 |
<td> 1.3.4rc3+ </td> |
| 1045 |
<td> Number of files currently being downloaded via SFTP </td> |
| 1046 |
</tr> |
| 1047 |
|
| 1048 |
<tr> |
| 1049 |
<td> *.7.2.8.0 </td> |
| 1050 |
<td> sftp.sftpDataTransfers.fileDownloadTotal </td> |
| 1051 |
<td> Counter32 </td> |
| 1052 |
<td> 1.3.4rc3+ </td> |
| 1053 |
<td> Total number of files downloaded via SFTP </td> |
| 1054 |
</tr> |
| 1055 |
|
| 1056 |
<tr> |
| 1057 |
<td> *.7.2.9.0 </td> |
| 1058 |
<td> sftp.sftpDataTransfers.fileDownloadFailedTotal </td> |
| 1059 |
<td> Counter32 </td> |
| 1060 |
<td> 1.3.4rc3+ </td> |
| 1061 |
<td> Total number of file download failures via SFTP </td> |
| 1062 |
</tr> |
| 1063 |
|
| 1064 |
<tr> |
| 1065 |
<td> *.7.2.10.0 </td> |
| 1066 |
<td> sftp.sftpDataTransfers.kbUploadTotal </td> |
| 1067 |
<td> Counter32 </td> |
| 1068 |
<td> 1.3.4rc3+ </td> |
| 1069 |
<td> Total number of KB uploaded via SFTP </td> |
| 1070 |
</tr> |
| 1071 |
|
| 1072 |
<tr> |
| 1073 |
<td> *.7.2.11.0 </td> |
| 1074 |
<td> sftp.sftpDataTransfers.kbDownloadTotal </td> |
| 1075 |
<td> Counter32 </td> |
| 1076 |
<td> 1.3.4rc3+ </td> |
| 1077 |
<td> Total number of KB downloaded via SFTP </td> |
| 1078 |
</tr> |
| 1079 |
|
| 1080 |
|
| 1081 |
<tr> |
| 1082 |
<td> *.8.1.1.0 </td> |
| 1083 |
<td> scp.scpSessions.sessionCount </td> |
| 1084 |
<td> Gauge32 </td> |
| 1085 |
<td> 1.3.4c+ </td> |
| 1086 |
<td> Number of current SCP sessions </td> |
| 1087 |
</tr> |
| 1088 |
|
| 1089 |
<tr> |
| 1090 |
<td> *.8.1.2.0 </td> |
| 1091 |
<td> scp.scpSessions.sessionTotal </td> |
| 1092 |
<td> Counter32 </td> |
| 1093 |
<td> 1.3.4c+ </td> |
| 1094 |
<td> Total number of SCP sessions handled </td> |
| 1095 |
</tr> |
| 1096 |
|
| 1097 |
|
| 1098 |
<tr> |
| 1099 |
<td> *.8.2.1.0 </td> |
| 1100 |
<td> scp.scpDataTransfers.fileUploadCount </td> |
| 1101 |
<td> Gauge32 </td> |
| 1102 |
<td> 1.3.4rc3+ </td> |
| 1103 |
<td> Number of files currently being uploaded via SCP </td> |
| 1104 |
</tr> |
| 1105 |
|
| 1106 |
<tr> |
| 1107 |
<td> *.8.2.2.0 </td> |
| 1108 |
<td> scp.scpDataTransfers.fileUploadTotal </td> |
| 1109 |
<td> Counter32 </td> |
| 1110 |
<td> 1.3.4rc3+ </td> |
| 1111 |
<td> Total number of files uploaded via SCP </td> |
| 1112 |
</tr> |
| 1113 |
|
| 1114 |
<tr> |
| 1115 |
<td> *.8.2.3.0 </td> |
| 1116 |
<td> scp.scpDataTransfers.fileUploadFailedTotal </td> |
| 1117 |
<td> Counter32 </td> |
| 1118 |
<td> 1.3.4rc3+ </td> |
| 1119 |
<td> Total number of file upload failures via SCP </td> |
| 1120 |
</tr> |
| 1121 |
|
| 1122 |
<tr> |
| 1123 |
<td> *.8.2.4.0 </td> |
| 1124 |
<td> scp.scpDataTransfers.fileDownloadCount </td> |
| 1125 |
<td> Gauge32 </td> |
| 1126 |
<td> 1.3.4rc3+ </td> |
| 1127 |
<td> Number of files currently being downloaded via SCP </td> |
| 1128 |
</tr> |
| 1129 |
|
| 1130 |
<tr> |
| 1131 |
<td> *.8.2.5.0 </td> |
| 1132 |
<td> scp.scpDataTransfers.fileDownloadTotal </td> |
| 1133 |
<td> Counter32 </td> |
| 1134 |
<td> 1.3.4rc3+ </td> |
| 1135 |
<td> Total number of files downloaded via SCP </td> |
| 1136 |
</tr> |
| 1137 |
|
| 1138 |
<tr> |
| 1139 |
<td> *.8.2.6.0 </td> |
| 1140 |
<td> scp.scpDataTransfers.fileDownloadFailedTotal </td> |
| 1141 |
<td> Counter32 </td> |
| 1142 |
<td> 1.3.4rc3+ </td> |
| 1143 |
<td> Total number of file download failures via SCP </td> |
| 1144 |
</tr> |
| 1145 |
|
| 1146 |
<tr> |
| 1147 |
<td> *.8.2.7.0 </td> |
| 1148 |
<td> scp.scpDataTransfers.kbUploadTotal </td> |
| 1149 |
<td> Counter32 </td> |
| 1150 |
<td> 1.3.4rc3+ </td> |
| 1151 |
<td> Total number of KB uploaded via SCP </td> |
| 1152 |
</tr> |
| 1153 |
|
| 1154 |
<tr> |
| 1155 |
<td> *.8.2.8.0 </td> |
| 1156 |
<td> scp.scpDataTransfers.kbDownloadTotal </td> |
| 1157 |
<td> Counter32 </td> |
| 1158 |
<td> 1.3.4rc3+ </td> |
| 1159 |
<td> Total number of KB downloaded via SCP </td> |
| 1160 |
</tr> |
| 1161 |
|
| 1162 |
|
| 1163 |
<tr> |
| 1164 |
<td> *.9.1.1.0 </td> |
| 1165 |
<td> ban.connections.connectionBannedTotal </td> |
| 1166 |
<td> Counter32 </td> |
| 1167 |
<td> 1.3.5rc2+ </td> |
| 1168 |
<td> Total number of connections rejected by bans </td> |
| 1169 |
</tr> |
| 1170 |
|
| 1171 |
<tr> |
| 1172 |
<td> *.9.1.2.0 </td> |
| 1173 |
<td> ban.connections.userBannedTotal </td> |
| 1174 |
<td> Counter32 </td> |
| 1175 |
<td> 1.3.5rc2+ </td> |
| 1176 |
<td> Total number of connections rejected by user-specific bans </td> |
| 1177 |
</tr> |
| 1178 |
|
| 1179 |
<tr> |
| 1180 |
<td> *.9.1.3.0 </td> |
| 1181 |
<td> ban.connections.hostBannedTotal </td> |
| 1182 |
<td> Counter32 </td> |
| 1183 |
<td> 1.3.5rc2+ </td> |
| 1184 |
<td> Total number of connections rejected by host-specific bans </td> |
| 1185 |
</tr> |
| 1186 |
|
| 1187 |
<tr> |
| 1188 |
<td> *.9.1.4.0 </td> |
| 1189 |
<td> ban.connections.classBannedTotal </td> |
| 1190 |
<td> Counter32 </td> |
| 1191 |
<td> 1.3.5rc2+ </td> |
| 1192 |
<td> Total number of connections rejected by class-specific bans </td> |
| 1193 |
</tr> |
| 1194 |
|
| 1195 |
|
| 1196 |
<tr> |
| 1197 |
<td> *.9.2.1.0 </td> |
| 1198 |
<td> ban.bans.banCount </td> |
| 1199 |
<td> Gauge32 </td> |
| 1200 |
<td> 1.3.5rc2+ </td> |
| 1201 |
<td> Total number of bans currently in effect </td> |
| 1202 |
</tr> |
| 1203 |
|
| 1204 |
<tr> |
| 1205 |
<td> *.9.2.2.0 </td> |
| 1206 |
<td> ban.bans.banTotal </td> |
| 1207 |
<td> Counter32 </td> |
| 1208 |
<td> 1.3.5rc2+ </td> |
| 1209 |
<td> Total number of bans that were ever in effect </td> |
| 1210 |
</tr> |
| 1211 |
|
| 1212 |
<tr> |
| 1213 |
<td> *.9.2.3.0 </td> |
| 1214 |
<td> ban.bans.userBanCount </td> |
| 1215 |
<td> Gauge32 </td> |
| 1216 |
<td> 1.3.5rc2+ </td> |
| 1217 |
<td> Total number of user-specific bans currently in effect </td> |
| 1218 |
</tr> |
| 1219 |
|
| 1220 |
<tr> |
| 1221 |
<td> *.9.2.4.0 </td> |
| 1222 |
<td> ban.bans.userBanTotal </td> |
| 1223 |
<td> Counter32 </td> |
| 1224 |
<td> 1.3.5rc2+ </td> |
| 1225 |
<td> Total number of user-specific bans that were ever in effect </td> |
| 1226 |
</tr> |
| 1227 |
|
| 1228 |
<tr> |
| 1229 |
<td> *.9.2.5.0 </td> |
| 1230 |
<td> ban.bans.hostBanCount </td> |
| 1231 |
<td> Gauge32 </td> |
| 1232 |
<td> 1.3.5rc2+ </td> |
| 1233 |
<td> Total number of host-specific bans currently in effect </td> |
| 1234 |
</tr> |
| 1235 |
|
| 1236 |
<tr> |
| 1237 |
<td> *.9.2.6.0 </td> |
| 1238 |
<td> ban.bans.hostBanTotal </td> |
| 1239 |
<td> Counter32 </td> |
| 1240 |
<td> 1.3.5rc2+ </td> |
| 1241 |
<td> Total number of host-specific bans that were ever in effect </td> |
| 1242 |
</tr> |
| 1243 |
|
| 1244 |
<tr> |
| 1245 |
<td> *.9.2.7.0 </td> |
| 1246 |
<td> ban.bans.classBanCount </td> |
| 1247 |
<td> Gauge32 </td> |
| 1248 |
<td> 1.3.5rc2+ </td> |
| 1249 |
<td> Total number of class-specific bans currently in effect </td> |
| 1250 |
</tr> |
| 1251 |
|
| 1252 |
<tr> |
| 1253 |
<td> *.9.2.8.0 </td> |
| 1254 |
<td> ban.bans.classBanTotal </td> |
| 1255 |
<td> Counter32 </td> |
| 1256 |
<td> 1.3.5rc2+ </td> |
| 1257 |
<td> Total number of class-specific bans that were ever in effect </td> |
| 1258 |
</tr> |
| 1259 |
|
| 1260 |
</table> |
| 1261 |
|
| 1262 |
<p> |
| 1263 |
<b>SNMP MIB</b><br> |
| 1264 |
The MIB provided for <code>proftpd</code> is distributed with the |
| 1265 |
<code>mod_snmp</code> module source code, and will be installed by default. |
| 1266 |
It is contained in the "PROFTPD-MIB.txt" file, and uses SMIv2. |
| 1267 |
|
| 1268 |
<p> |
| 1269 |
<b>Suggested Future Features</b><br> |
| 1270 |
The following lists the features I hope to add to <code>mod_snmp</code>, |
| 1271 |
according to need, demand, inclination, and time: |
| 1272 |
<ul> |
| 1273 |
<li>AgentX support |
| 1274 |
<li>SNMPv3 support |
| 1275 |
<li>Controls support (<i>e.g.</i> for "ftpdctl snmp" action) |
| 1276 |
</ul> |
| 1277 |
|
| 1278 |
<p><a name="Notifications"></a> |
| 1279 |
<b>Notifications</b><br> |
| 1280 |
The <code>mod_snmp</code> module supports sending notifications (via SNMP |
| 1281 |
<i>traps</i>) whenever certain events occur or conditions are met. Note |
| 1282 |
that only SNMPv2 traps are generated; there is currently no support for |
| 1283 |
SNMPv1 traps. |
| 1284 |
|
| 1285 |
<p> |
| 1286 |
Currently supported notifications: |
| 1287 |
<ul> |
| 1288 |
<li><code>MaxInstances</code> limit exceeded |
| 1289 |
<li>Failed FTP login due to bad/wrong password |
| 1290 |
<li>Failed FTP login due to bad/unknown user name |
| 1291 |
</ul> |
| 1292 |
|
| 1293 |
<p> |
| 1294 |
To enable notifications, simply configure the address of an SNMP manager |
| 1295 |
that should be notified via the |
| 1296 |
<a href="#SNMPNotify"><code>SNMPNotify</code></a> directive. |
| 1297 |
|
| 1298 |
<p><a name="FAQ"> |
| 1299 |
<b>Frequently Asked Questions</b></a><br> |
| 1300 |
<font color=red>Question</font>: How can I query the <code>mod_snmp</code> |
| 1301 |
Agent process?<br> |
| 1302 |
<font color=blue>Answer</font>: You can test if your <code>proftpd</code> |
| 1303 |
supports SNMP with the <code>snmpwalk</code> program (<code>snmpwalk</code> is |
| 1304 |
a part of the |
| 1305 |
<a href="http://net-snmp.sourceforge.net"><code>Net-SNMP</code></a> project). |
| 1306 |
Note that you have to specify the SNMP port, which in <code>mod_snmp</code> is |
| 1307 |
configured via the <a href="#SNMPAgent"><code>SNMPAgent</code></a> directive. |
| 1308 |
|
| 1309 |
<p> |
| 1310 |
For example, you might try: |
| 1311 |
<pre> |
| 1312 |
# snmpwalk -m /path/to/PROFTPD-MIB.txt -v2c -Cc -c communitystring hostname:161 .1.3.6.1.4.1.17852.2.2 |
| 1313 |
</pre> |
| 1314 |
If it gives output like: |
| 1315 |
<pre> |
| 1316 |
enterprises.proftpd.modules.snmp.daemon.software = proftpd |
| 1317 |
enterprises.proftpd.modules.snmp.daemon.softwareVersion = ProFTPD Version 1.3.4rc4 (built at Sat Oct 22 2011 11:50:38 PDT) |
| 1318 |
enterprises.proftpd.modules.snmp.daemon.admin = [email protected] |
| 1319 |
</pre> |
| 1320 |
or |
| 1321 |
<pre> |
| 1322 |
PROFTPD-MIB::software.0 = String: proftpd |
| 1323 |
PROFTPD-MIB::softwareVersion.0 = STRING: ProFTPD Version 1.3.4rc4 (built at Sat Oct 22 2011 11:50:38 PDT) |
| 1324 |
PROFTPD-MIB::admin.0 = STRING: [email protected] |
| 1325 |
</pre> |
| 1326 |
or |
| 1327 |
<pre> |
| 1328 |
SNMPv2-SMI::enterprises.17852.2.2.1.1.0 = STRING: "proftpd" |
| 1329 |
SNMPv2-SMI::enterprises.17852.2.2.1.2.0 = STRING: "ProFTPD Version 1.3.4rc4 (built at Sat Oct 22 2011 11:50:38 PDT)" |
| 1330 |
SNMPv2-SMI::enterprises.17852.2.2.1.3.0 = STRING: "[email protected]" |
| 1331 |
</pre> |
| 1332 |
then your <code>proftpd</code> was compiled with the <code>mod_snmp</code> |
| 1333 |
module and it is working properly; you should be able to make nice statistics |
| 1334 |
out of it. |
| 1335 |
|
| 1336 |
<p> |
| 1337 |
<font color=red>Question</font>: Why doesn't the |
| 1338 |
<code>scp.scpDataTransfers</code> arc have any directory listing |
| 1339 |
counters/gauges, such as the <code>ftp.dataTransfers</code> and |
| 1340 |
<code>sftp.sftpDataTransfers</code> arcs do?<br> |
| 1341 |
<font color=blue>Answer</font>: The SCP protocol does not have the ability |
| 1342 |
to get <i>just</i> a directory listing; the protocol only transfers files. |
| 1343 |
|
| 1344 |
<p> |
| 1345 |
<hr> |
| 1346 |
<font size=2><b><i> |
| 1347 |
© Copyright 2011-2017 TJ Saunders<br> |
| 1348 |
All Rights Reserved<br> |
| 1349 |
</i></b></font> |
| 1350 |
<hr> |
| 1351 |
|
| 1352 |
</body> |
| 1353 |
</html> |