This repository was archived by the owner on Mar 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmod_snmp.html
1350 lines (1176 loc) · 42.5 KB
/
mod_snmp.html
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!-- $Id: mod_snmp.html,v 1.3 2011/10/19 17:16:52 tj Exp tj $ -->
<!-- $Source: /home/tj/proftpd/modules/doc/RCS/mod_snmp.html,v $ -->
<html>
<head>
<title>ProFTPD module mod_snmp</title>
</head>
<body bgcolor=white>
<hr>
<center>
<h2><b>ProFTPD module <code>mod_snmp</code></b></h2>
</center>
<hr><br>
<p>
The <code>mod_snmp</code> module implements SNMPv1 and SNMPv2, for monitoring
of <code>proftpd</code> statistics via SNMP.
<p>
The <code>mod_snmp</code> module does <b>not</b> currently support:
<ul>
<li>SNMPv3
<li>AgentX
<li>SNMP <code>Set</code> requests
</ul>
<p>
The <code>mod_snmp</code> module is contained in the <code>mod_snmp/</code>
directory, is intended for ProFTPD 1.3.4rc3 and later, and is not compiled by
default. Installation instructions are discussed
<a href="#Installation">here</a>.
<p>
The most current version of <code>mod_snmp</code> can be found at:
<pre>
<a href="https://github.com/Castaglia/proftpd-mod_snmp">https://github.com/Castaglia/proftpd-mod_snmp</a>
</pre>
<h2>Author</h2>
<p>
Please contact TJ Saunders <tj <i>at</i> castaglia.org> with any
questions, concerns, or suggestions regarding this module.
<h2>Thanks</h2>
<p>
<i>2013-01-09</i>: Thanks to <cliles <i>at</i> capario.com> for testing
out most of the <code>mod_snmp</code> features, requesting additional useful
functionality, and providing OpenNMS support/examples.
<h2>Directives</h2>
<ul>
<li><a href="#SNMPAgent">SNMPAgent</a>
<li><a href="#SNMPCommunity">SNMPCommunity</a>
<li><a href="#SNMPEngine">SNMPEngine</a>
<li><a href="#SNMPLog">SNMPLog</a>
<li><a href="#SNMPMaxVariables">SNMPMaxVariables</a>
<li><a href="#SNMPNotify">SNMPNotify</a>
<li><a href="#SNMPOptions">SNMPOptions</a>
<li><a href="#SNMPTables">SNMPTables</a>
</ul>
<p>
<hr>
<h2><a name="SNMPAgent">SNMPAgent</a></h2>
<strong>Syntax:</strong> SNMPAgent master|agentx <em>address[:port]</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPAgent</code> directive configures the <code>mod_snmp</code>
module to act as a "master" SNMP agent/entity, or as an AgentX sub-agent.
(<b>Note</b> that the AgentX capability is not currently implemented.)
<p>
The <em>address</em> parameter can be an IP address or a DNS name; this
parameter configures the address/port on which <code>mod_snmp</code> will listen
for UDP SNMP packets. By default, a port of 161 is assumed, use
<em>address:port</em> to specify an alternate port, <i>e.g.</i>:
<pre>
SNMPAgent master localhost:1161
</pre>
<p>
Note that the <code>SNMPAgent</code> directive is <b>required</b>.
<p>
<hr>
<h2><a name="SNMPCommunity">SNMPCommunity</a></h2>
<strong>Syntax:</strong> SNMPCommunity <em>community</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPCommunity</code> directive configures the <em>community</em>
string (effectively a passphrase) used for authenticating SNMPv1 and SNMPv2
messages.
<p>
Note that the <code>SNMPCommunity</code> directive is <b>required</b>.
<p>
<hr>
<h2><a name="SNMPEngine">SNMPEngine</a></h2>
<strong>Syntax:</strong> SNMPEngine <em>on|off</em><br>
<strong>Default:</strong> <em>off</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPEngine</code> directive controls whether the <code>mod_snmp</code>
will run as an SNMP agent, and handle SNMP messages.
<p>
<hr>
<h2><a name="SNMPLog">SNMPLog</a></h2>
<strong>Syntax:</strong> SNMPLog <em>file|"none"</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPLog</code> directive is used to specify a log file for
<code>mod_snmp</code>'s reporting. The <em>file</em> parameter given must be
the full path to the file to use for logging.
<p>
Note that this path must <b>not</b> be to a world-writable directory and,
unless <code>AllowLogSymlinks</code> is explicitly set to <em>on</em>
(generally a bad idea), the path must <b>not</b> be a symbolic link.
<p>
<hr>
<h2><a name="SNMPNotify">SNMPNotify</a></h2>
<strong>Syntax:</strong> SNMPNotify <em>address[:port]</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config", <code><VirtualHost></code>, <code><Global></code><br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPNotify</code> directive is used to specify the <em>address</em>
of any SNMP manager that should receive <b>any</b> notification (<i>i.e.</i>
SNMPv2 trap) that <code>mod_snmp</code> can generated. Read <a href="#Notifications">here</a> for more details on the types of notifications that
<code>mod_snmp</code> supports.
<p>
The <em>address</em> parameter can be an IP address or DNS name. By default,
a port number of 162 is assumed. To specify the port number, use:
<pre>
SNMPNotify <em>address</em>:<em>port</em>
</pre>
<p>
Multiple <code>SNMPNotify</code> directives can be configured;
<code>mod_snmp</code> will send notifications to <i>all</i> of them.
<p>
<hr>
<h2><a name="SNMPOptions">SNMPOptions</a></h2>
<strong>Syntax:</strong> SNMPOptions <em>opt1 ...</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPOptions</code> directive is used to configure various optional
behaviors of <code>mod_snmp</code>.
<p>
Example:
<pre>
SNMPOptions RestartClearsCounters
</pre>
<p>
The currently implemented options are:
<ul>
<li><code>RestartClearsCounters</code><br>
<p>
This option will cause <code>mod_snmp</code> to clear/reset every
counter (<i>except</i> for the <code>daemon.restartCount</code> counter)
whenever <code>proftpd</code> is restarted via the SIGHUP signal.
</ul>
<p>
<hr>
<h2><a name="SNMPTables">SNMPTables</a></h2>
<strong>Syntax:</strong> SNMPTables <em>path</em><br>
<strong>Default:</strong> <em>None</em><br>
<strong>Context:</strong> "server config"<br>
<strong>Module:</strong> mod_snmp<br>
<strong>Compatibility:</strong> 1.3.4rc3 and later
<p>
The <code>SNMPTables</code> directive is used to specify a directory that
<code>mod_snmp</code> will use for storing its database files; these files
are used for tracking the various statistics reported via SNMP.
<p>
<hr>
<h2><a name="Installation">Installation</a></h2>
To install <code>mod_snmp</code>, go to the third-party module area in
the proftpd source code and unpack the <code>mod_snmp</code> source tarball:
<pre>
cd <i>proftpd-dir</i>/contrib/
tar zxvf /path/to/mod_snmp-<i>version</i>.tar.gz
</pre>
after unpacking the latest proftpd-1.3.4 (or later) source code. For including
<code>mod_snmp</code> as a staticly linked module:
<pre>
./configure --with-modules=mod_snmp ...
</pre>
Alternatively, <code>mod_snmp</code> can be built as a DSO module:
<pre>
./configure --enable-dso --with-shared=mod_snmp ...
</pre>
Then follow the usual steps:
<pre>
make
make install
</pre>
<p>
<hr>
<h2><a name="Usage">Usage</a></h2>
<p>
<p>
<b>Important Security Considerations</b><br>
Do <b>not</b> configure <code>mod_snmp</code> to listen on a public Internet
address. The information provided via <code>mod_snmp</code> can be used
by attackers to gain more information about your running <code>proftpd</code>,
including being able to determine whether their logins fail due to a wrong
password (in which case, they know that that user name is valid) or not. It
is <b>highly recommended</b> that you configure <code>mod_snmp</code> to only
listen on internal/LAN addresses. Furthermore, you should employ a firewall
rule that <b>rejects</b> any UDP packets from the public Internet to your
<code>proftpd</code> instance.
<p>
<b>SNMP Listening Process</b><br>
When <code>proftpd</code> starts up with <code>mod_snmp</code> enabled, the
<code>mod_snmp</code> module will fork a new process that acts as the SNMP
agent, receiving and responding to all SNMP requests. This SNMP listening
process automatically switches to the privileges configured by the
<code>User</code> and <code>Group</code> directives, and will also automatically
<b>chroot</b> itself to a subdirectory of the <code>SNMPTables</code> directory,
after which all root privileges are permanently dropped.
<p>
<b>Example Configuration</b><br>
The <code>mod_snmp</code> module uses a UDP socket for listening for SNMP
requests. Thus it does not require any separate
<code><VirtualHost></code> sections, and does not interfere with the
normal FTP operations.
<p>
Here is an example configuration for <code>mod_snmp</code>:
<pre>
<IfModule mod_snmp.c>
SNMPEngine on
SNMPLog /etc/proftpd/snmp/snmp.log
# Configure the agent to listen on 1.2.3.4, port 161
SNMPAgent master 1.2.3.4 161
# Configure the SNMP community string
SNMPCommunity MySnmpCommunity
# Configure the directory that mod_snmp will use for its database files
SNMPTables /var/proftpd/snmp
</IfModule>
</pre>
<p>
<b>Access Controls for SNMP Messages</b><br>
Since the SNMPv1/SNMPv2 does not have authentication of "users" as such,
the normal user/group-based ACLs that can be configured in <code>proftpd</code>
have no effect on SNMP messages.
<p>
In order to provide IP-based access control, then, the <code>mod_snmp</code>
module supports a <code><Limit SNMP></code> section, like the following:
<p>
Example:
<pre>
<Limit SNMP>
# Allow SNMP packets from 10.x.x.x and 127.0.0.1 addresses
Allow from 10., 127.0.0.1
DenyAll
</Limit>
</pre>
It is easy to spoof the source address for UDP packets, however. So it is
far better (and more secure) to use a firewall to restrict which UDP packets
can reach the <code>mod_snmp</code> address/port.
<p>
<b>Logging</b><br>
The <code>mod_snmp</code> module supports different forms of logging. The
main module logging is done via the <code>SNMPLog</code> directive. For
debugging purposes, the module also uses <a href="http://www.proftpd.org/docs/howto/Tracing.html">trace logging</a>, via the module-specific "snmp" and
"snmp.db" log channels. Thus for trace logging, to aid in debugging, you
would use the following in your <code>proftpd.conf</code>:
<pre>
TraceLog /path/to/snmp-trace.log
Trace snmp:20
</pre>
This trace logging can generate large files; it is intended for debugging
use only, and should be removed from any production configuration.
<p>
<b><code>mod_snmp</code> OIDs</b><br>
<b>Note</b> that all <code>mod_snmp</code> OIDs begin with
1.3.6.1.4.1.17852.2.2. The <code>ProFTPD</code> column in the table below
contains the ProFTPD versions where the OID is present.
<p>
<table border=1>
<tr>
<td> <b>OID<b> </td>
<td> <b>Name<b> </td>
<td> <b>Type<b> </td>
<td> <b><code>ProFTPD</code><b> </td>
<td> <b>Description<b> </td>
</tr>
<!-- daemon arc -->
<tr>
<td> *.1.1.0 </td>
<td> daemon.software </td>
<td> STRING </td>
<td> 1.3.4rc3+ </td>
<td> Always "proftpd" </td>
</tr>
<tr>
<td> *.1.2.0 </td>
<td> daemon.version </td>
<td> STRING </td>
<td> 1.3.4rc3+ </td>
<td> Version of <code>proftpd</code> </td>
</tr>
<tr>
<td> *.1.3.0 </td>
<td> daemon.admin </td>
<td> STRING </td>
<td> 1.3.4rc3+ </td>
<td> Administrative contact, <i>i.e.</i> the <code>ServerAdmin</code> </td>
</tr>
<tr>
<td> *.1.4.0 </td>
<td> daemon.uptime </td>
<td> TimeTicks </td>
<td> 1.3.4rc3+ </td>
<td> Uptime of the <code>proftpd</code> daemon </td>
</tr>
<tr>
<td> *.1.5.0 </td>
<td> daemon.vhostCount </td>
<td> INTEGER </td>
<td> 1.3.4rc3+ </td>
<td> Number of vhosts (including "server config") configured </td>
</tr>
<tr>
<td> *.1.6.0 </td>
<td> daemon.connectionCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of current connections </td>
</tr>
<tr>
<td> *.1.7.0 </td>
<td> daemon.connectionTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of connections since daemon started </td>
</tr>
<tr>
<td> *.1.8.0 </td>
<td> daemon.connectionRefusedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of connections <b>refused</b> </td>
</tr>
<tr>
<td> *.1.9.0 </td>
<td> daemon.restartCount </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times daemon has been restarted </td>
</tr>
<tr>
<td> *.1.10.0 </td>
<td> daemon.segfaultCount </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of <code>SIGSEGV</code> occurrences </td>
</tr>
<tr>
<td> *.1.11.0 </td>
<td> daemon.maxInstancesLimitCount </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times <code>MaxInstances</code> reached </td>
</tr>
<!-- timeouts arc -->
<tr>
<td> *.2.1.0 </td>
<td> timeouts.idleTimeoutTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times <code>TimeoutIdle</code> was reached </td>
</tr>
<tr>
<td> *.2.2.0 </td>
<td> timeouts.loginTimeoutTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times <code>TimeoutLogin</code> was reached </td>
</tr>
<tr>
<td> *.2.3.0 </td>
<td> timeouts.noTransferTimeoutTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times <code>TimeoutNoTransfer</code> was reached </td>
</tr>
<tr>
<td> *.2.4.0 </td>
<td> timeouts.stalledTimeoutTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of times <code>TimeoutStalled</code> was reached </td>
</tr>
<!-- ftp.sessions arc -->
<tr>
<td> *.3.1.1.0 </td>
<td> ftp.sessions.sessionCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of current FTP sessions </td>
</tr>
<tr>
<td> *.3.1.2.0 </td>
<td> ftp.sessions.sessionTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of FTP sessions handled </td>
</tr>
<tr>
<td> *.3.1.3.0 </td>
<td> ftp.sessions.commandInvalidTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of invalid FTP commands received </td>
</tr>
<!-- ftp.logins arc -->
<tr>
<td> *.3.2.1.0 </td>
<td> ftp.logins.loginTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of successful FTP logins </td>
</tr>
<tr>
<td> *.3.2.2.0 </td>
<td> ftp.logins.loginFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of <b>failed</b> FTP logins </td>
</tr>
<tr>
<td> *.3.2.3.0 </td>
<td> ftp.logins.loginBadUserTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTP logins due to bad/wrong user name </td>
</tr>
<tr>
<td> *.3.2.4.0 </td>
<td> ftp.logins.loginBadPasswordTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTP logins due to bad password </td>
</tr>
<tr>
<td> *.3.2.5.0 </td>
<td> ftp.logins.loginGeneralErrorTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTP logins due to config/other issues </td>
</tr>
<tr>
<td> *.3.2.6.0 </td>
<td> ftp.logins.anonLoginCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of current anonymous FTP logins </td>
</tr>
<tr>
<td> *.3.2.7.0 </td>
<td> ftp.logins.anonLoginTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of anonymous FTP logins </td>
</tr>
<!-- ftp.dataTransfers arc -->
<tr>
<td> *.3.3.1.0 </td>
<td> ftp.dataTransfers.dirListCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of directories currently being listed via FTP </td>
</tr>
<tr>
<td> *.3.3.2.0 </td>
<td> ftp.dataTransfers.dirListTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of directories listed via FTP </td>
</tr>
<tr>
<td> *.3.3.3.0 </td>
<td> ftp.dataTransfers.dirListFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of directory list failures via FTP </td>
</tr>
<tr>
<td> *.3.3.4.0 </td>
<td> ftp.dataTransfers.fileUploadCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of files currently being uploaded via FTP </td>
</tr>
<tr>
<td> *.3.3.5.0 </td>
<td> ftp.dataTransfers.fileUploadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of files uploaded via FTP </td>
</tr>
<tr>
<td> *.3.3.6.0 </td>
<td> ftp.dataTransfers.fileUploadFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of file upload failures via FTP </td>
</tr>
<tr>
<td> *.3.3.7.0 </td>
<td> ftp.dataTransfers.fileDownloadCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of files currently being downloaded via FTP </td>
</tr>
<tr>
<td> *.3.3.8.0 </td>
<td> ftp.dataTransfers.fileDownloadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of files downloaded via FTP </td>
</tr>
<tr>
<td> *.3.3.9.0 </td>
<td> ftp.dataTransfers.fileDownloadFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of file download failures via FTP </td>
</tr>
<tr>
<td> *.3.3.10.0 </td>
<td> ftp.dataTransfers.kbUploadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of KB uploaded via FTP </td>
</tr>
<tr>
<td> *.3.3.11.0 </td>
<td> ftp.dataTransfers.kbDownloadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of KB downloaded via FTP </td>
</tr>
<!-- snmp arc -->
<tr>
<td> *.4.1.0 </td>
<td> snmp.packetsReceivedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of SNMP packets received </td>
</tr>
<tr>
<td> *.4.2.0 </td>
<td> snmp.packetsSentTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of SNMP packets sent </td>
</tr>
<tr>
<td> *.4.3.0 </td>
<td> snmp.trapsSentTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of SNMP traps/notifications sent </td>
</tr>
<tr>
<td> *.4.4.0 </td>
<td> snmp.packetsAuthFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of SNMP packets failing authentication check </td>
</tr>
<tr>
<td> *.4.5.0 </td>
<td> snmp.packetsDroppedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of SNMP packets dropped </td>
</tr>
<!-- ftps.tlsSessions arc -->
<tr>
<td> *.5.1.1.0 </td>
<td> ftps.tlsSessions.sessionCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of current FTPS sessions </td>
</tr>
<tr>
<td> *.5.1.2.0 </td>
<td> ftps.tlsSessions.sessionTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of FTPS sessions handled </td>
</tr>
<tr>
<td> *.5.1.3.0 </td>
<td> ftps.tlsSessions.ctrlHandshakeFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.5rc1+ </td>
<td> Total number of failed control connection SSL/TLS handshakes </td>
</tr>
<tr>
<td> *.5.1.4.0 </td>
<td> ftps.tlsSessions.dataHandshakeFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.5rc1+ </td>
<td> Total number of failed data connection SSL/TLS handshakes </td>
</tr>
<tr>
<td> *.5.1.5.0 </td>
<td> ftps.tlsSessions.clearCommandChannelTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of successful CCC (Clear Command Channel) FTP commands </td>
</tr>
<tr>
<td> *.5.1.6.0 </td>
<td> ftps.tlsSessions.clearCommandChannelFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed CCC (Clear Command Channel) FTP commands </td>
</tr>
<tr>
<td> *.5.1.7.0 </td>
<td> ftps.tlsSessions.verifyClientTotal </td>
<td> Counter32 </td>
<td> 1.3.5rc2+ </td>
<td> Total number of successful client cert verifications </td>
</tr>
<tr>
<td> *.5.1.8.0 </td>
<td> ftps.tlsSessions.verifyClientFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed client cert verifications </td>
</tr>
<!-- ftps.tlsLogins -->
<tr>
<td> *.5.2.1.0 </td>
<td> ftps.tlsLogins.loginTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of successful FTPS logins </td>
</tr>
<tr>
<td> *.5.2.2.0 </td>
<td> ftps.tlsLogins.loginFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of <b>failed</b> FTPS logins </td>
</tr>
<tr>
<td> *.5.2.3.0 </td>
<td> ftps.tlsLogins.loginBadUserTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTPS logins due to bad/wrong user name </td>
</tr>
<tr>
<td> *.5.2.4.0 </td>
<td> ftps.tlsLogins.loginBadPasswordTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTPS logins due to bad password </td>
</tr>
<tr>
<td> *.5.2.5.0 </td>
<td> ftps.tlsLogins.loginGeneralErrorTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of failed FTPS logins due to config/other issues </td>
</tr>
<tr>
<td> *.5.2.6.0 </td>
<td> ftps.tlsLogins.loginCertTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<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>
</tr>
<!-- ftps.tlsDataTransfers -->
<tr>
<td> *.5.3.1.0 </td>
<td> ftps.tlsDataTransfers.dirListCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of directories currently being listed via FTPS </td>
</tr>
<tr>
<td> *.5.3.2.0 </td>
<td> ftps.tlsDataTransfers.dirListTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of directories listed via FTPS </td>
</tr>
<tr>
<td> *.5.3.3.0 </td>
<td> ftps.tlsDataTransfers.dirListFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of directory list failures via FTPS </td>
</tr>
<tr>
<td> *.5.3.4.0 </td>
<td> ftps.tlsDataTransfers.fileUploadCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of files currently being uploaded via FTPS </td>
</tr>
<tr>
<td> *.5.3.5.0 </td>
<td> ftps.tlsDataTransfers.fileUploadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of files uploaded via FTPS </td>
</tr>
<tr>
<td> *.5.3.6.0 </td>
<td> ftps.tlsDataTransfers.fileUploadFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of file upload failures via FTPS </td>
</tr>
<tr>
<td> *.5.3.7.0 </td>
<td> ftps.tlsDataTransfers.fileDownloadCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of files currently being downloaded via FTPS </td>
</tr>
<tr>
<td> *.5.3.8.0 </td>
<td> ftps.tlsDataTransfers.fileDownloadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of files downloaded via FTPS </td>
</tr>
<tr>
<td> *.5.3.9.0 </td>
<td> ftps.tlsDataTransfers.fileDownloadFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of file download failures via FTPS </td>
</tr>
<tr>
<td> *.5.3.10.0 </td>
<td> ftps.tlsDataTransfers.kbUploadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of KB uploaded via FTPS </td>
</tr>
<tr>
<td> *.5.3.11.0 </td>
<td> ftps.tlsDataTransfers.kbDownloadTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of KB downloaded via FTPS </td>
</tr>
<!-- ssh.sshSessions arc -->
<tr>
<td> *.6.1.1.0 </td>
<td> ssh.sshSessions.keyExchangeFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 key exchange failures </td>
</tr>
<tr>
<td> *.6.1.2.0 </td>
<td> ssh.sshSessions.clientCompressionTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 sessions using client-to-server compression </td>
</tr>
<tr>
<td> *.6.1.3.0 </td>
<td> ssh.sshSessions.serverCompressionTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 sessions using server-to-client compression </td>
</tr>
<!-- ssh.sshLogins arc -->
<tr>
<td> *.6.2.1.0 </td>
<td> ssh.sshLogins.hostbasedAuthTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 hostbased authentications </td>
</tr>
<tr>
<td> *.6.2.2.0 </td>
<td> ssh.sshLogins.hostbasedAuthFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of <b>failed</b> SSH2 hostbased authentications </td>
</tr>
<tr>
<td> *.6.2.3.0 </td>
<td> ssh.sshLogins.keyboardInteractiveAuthTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 keyboard-interactive authentications </td>
</tr>
<tr>
<td> *.6.2.4.0 </td>
<td> ssh.sshLogins.keyboardInteractiveAuthFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of <b>failed</b> SSH2 keyboard-interactive authentications </td>
</tr>
<tr>
<td> *.6.2.5.0 </td>
<td> ssh.sshLogins.passwordAuthTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 password authentications </td>
</tr>
<tr>
<td> *.6.2.6.0 </td>
<td> ssh.sshLogins.passwordAuthFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of <b>failed</b> SSH2 password authentications </td>
</tr>
<tr>
<td> *.6.2.7.0 </td>
<td> ssh.sshLogins.publickeyAuthTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SSH2 publickey authentications </td>
</tr>
<tr>
<td> *.6.2.8.0 </td>
<td> ssh.sshLogins.publickeyAuthFailedTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of <b>failed</b> SSH2 publickey authentications </td>
</tr>
<!-- sftp.sftpSessions arc -->
<tr>
<td> *.7.1.1.0 </td>
<td> sftp.sftpSessions.sessionCount </td>
<td> Gauge32 </td>
<td> 1.3.4c+ </td>
<td> Number of current SFTP sessions </td>
</tr>
<tr>
<td> *.7.1.2.0 </td>
<td> sftp.sftpSessions.sessionTotal </td>
<td> Counter32 </td>
<td> 1.3.4c+ </td>
<td> Total number of SFTP sessions handled </td>
</tr>
<!-- sftp.sftpDataTransfers arc -->
<tr>
<td> *.7.2.1.0 </td>
<td> sftp.sftpDataTransfers.dirListCount </td>
<td> Gauge32 </td>
<td> 1.3.4rc3+ </td>
<td> Number of directories currently being listed via SFTP </td>
</tr>
<tr>
<td> *.7.2.2.0 </td>
<td> sftp.sftpDataTransfers.dirListTotal </td>
<td> Counter32 </td>
<td> 1.3.4rc3+ </td>
<td> Total number of directories listed via SFTP </td>
</tr>
<tr>
<td> *.7.2.3.0 </td>
<td> sftp.sftpDataTransfers.dirListFailedTotal </td>
<td> Counter32 </td>