Welcome to mirror list, hosted at ThFree Co, Russian Federation.

template_app_squid_snmp.yaml « squid_snmp « app « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 38c1bee2cddda4970dfa2ff54255d0c038b6d605 (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
zabbix_export:
  version: '6.2'
  date: '2022-06-07T19:36:45Z'
  template_groups:
    -
      uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
  templates:
    -
      uuid: 8e5236f799b347a8ae90a979198be85e
      template: 'Squid SNMP'
      name: 'Squid SNMP'
      description: |
        Template for monitoring Squid caching proxy via SNMP
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/409339-discussion-thread-for-official-zabbix-template-squid
        
        Template tooling version used: 0.41
      groups:
        -
          name: Templates/Applications
      items:
        -
          uuid: 86cc718ce21b4ff9b0a09479ae3fc130
          name: 'Squid: Service ping'
          type: SIMPLE
          key: 'net.tcp.service[tcp,,{$SQUID.HTTP.PORT}]'
          history: 7d
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: health
            -
              tag: component
              value: network
          triggers:
            -
              uuid: 7e0f0a9e8a9d4f6193946e4f8cd4a2e3
              expression: 'last(/Squid SNMP/net.tcp.service[tcp,,{$SQUID.HTTP.PORT}])=0'
              name: 'Squid: Port {$SQUID.HTTP.PORT} is down'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 6d7f0f6b0f89462e96e86940b779eb69
          name: 'Squid: CPU usage'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.5.0
          key: 'squid[cacheCpuUsage]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'The percentage use of the CPU'
          tags:
            -
              tag: component
              value: cpu
        -
          uuid: 960b137ab773492ab3073e108575e4fc
          name: 'Squid: File descriptor count - current used'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.12.0
          key: 'squid[cacheCurrentFileDescrCnt]'
          history: 7d
          value_type: FLOAT
          description: 'Number of file descriptors in use'
          tags:
            -
              tag: component
              value: system
        -
          uuid: 37b45201f8444583b01e0df5af2bc14e
          name: 'Squid: File descriptor count - current maximum'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.13.0
          key: 'squid[cacheCurrentFileDescrMax]'
          history: 7d
          value_type: FLOAT
          description: 'Highest number of file descriptors in use'
          tags:
            -
              tag: component
              value: system
        -
          uuid: 910afdc20767408f90d1bc5b7a9fd6a4
          name: 'Squid: Objects LRU expiration age'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.8.0
          key: 'squid[cacheCurrentLRUExpiration]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Storage LRU Expiration Age'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            -
              tag: component
              value: objects
        -
          uuid: 26b8b1a25dc74099b61813905477b414
          name: 'Squid: File descriptor count - current reserved'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.11.0
          key: 'squid[cacheCurrentResFileDescrCnt]'
          history: 7d
          value_type: FLOAT
          description: 'Reserved number of file descriptors'
          tags:
            -
              tag: component
              value: system
        -
          uuid: 35f3009401b6449d95988d9ee7a621a7
          name: 'Squid: Cache swap current size'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.14.0
          key: 'squid[cacheCurrentSwapSize]'
          history: 7d
          value_type: FLOAT
          units: B
          description: 'Storage Swap Size'
          tags:
            -
              tag: component
              value: memory
            -
              tag: component
              value: storage
        -
          uuid: 0789a0fa3e3b42a08a5e5bf8d0307970
          name: 'Squid: Objects unlinkd requests'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.9.0
          key: 'squid[cacheCurrentUnlinkRequests]'
          history: 7d
          value_type: FLOAT
          description: 'Requests given to unlinkd'
          tags:
            -
              tag: component
              value: objects
        -
          uuid: 6bc024be663b466ca677941130e11f50
          name: 'Squid: File descriptor count - current available'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.10.0
          key: 'squid[cacheCurrentUnusedFDescrCnt]'
          history: 7d
          value_type: FLOAT
          description: 'Available number of file descriptors'
          tags:
            -
              tag: component
              value: system
          triggers:
            -
              uuid: 40c41c87e46443f886506da5e580657e
              expression: 'last(/Squid SNMP/squid[cacheCurrentUnusedFDescrCnt])<{$SQUID.FILE.DESC.WARN.MIN}'
              name: 'Squid: Squid is running out of file descriptors'
              event_name: 'Squid: Squid is running out of file descriptors (<{$SQUID.FILE.DESC.WARN.MIN})'
              priority: WARNING
              tags:
                -
                  tag: scope
                  value: performance
        -
          uuid: 1aecf10756f949999c8f3fe5ce9c2a32
          name: 'Squid: DNS server replies per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.3.2.0
          key: 'squid[cacheDnsReplies]'
          history: 7d
          value_type: FLOAT
          description: 'Number of external dns server replies'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: dns
            -
              tag: component
              value: replies
        -
          uuid: e5f647c77bdb498e9cc286795bc4077c
          name: 'Squid: DNS server requests per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.3.1.0
          key: 'squid[cacheDnsRequests]'
          history: 7d
          value_type: FLOAT
          description: 'Number of external dns server requests'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: dns
            -
              tag: component
              value: requests
        -
          uuid: 3f4366896dd84b8ab78d6e3dc8a6ab63
          name: 'Squid: DNS service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.8.5
          key: 'squid[cacheDnsSvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'DNS service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: dns
        -
          uuid: 99448052f1a34e15a5c042124db7b651
          name: 'Squid: DNS service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.8.60
          key: 'squid[cacheDnsSvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'DNS service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: dns
        -
          uuid: 0aea1fe702004d65919fc010c971c3b5
          name: 'Squid: FQDN cache hits per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.2.3.0
          key: 'squid[cacheFqdnHits]'
          history: 7d
          value_type: FLOAT
          description: 'Number of FQDN Cache hits'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: dns
            -
              tag: component
              value: hits
        -
          uuid: 2dea9b707b844d32b65a2d479ddb7d72
          name: 'Squid: FQDN cache misses per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.2.6.0
          key: 'squid[cacheFqdnMisses]'
          history: 7d
          value_type: FLOAT
          description: 'Number of FQDN Cache misses'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: dns
            -
              tag: component
              value: misses
        -
          uuid: 1dad3f381c174b869c73f55cd831b40a
          name: 'Squid: FQDN cache requests per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.2.2.0
          key: 'squid[cacheFqdnRequests]'
          history: 7d
          value_type: FLOAT
          description: 'Number of FQDN Cache requests'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: dns
            -
              tag: component
              value: requests
        -
          uuid: 633a70cd41c44f2c895148a7ae394acd
          name: 'Squid: HTTP all service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.2.5
          key: 'squid[cacheHttpAllSvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP all service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: http
        -
          uuid: d3aa021743134d97af9dd8840b0ef692
          name: 'Squid: HTTP all service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.2.60
          key: 'squid[cacheHttpAllSvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP all service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: http
        -
          uuid: 7f5bd8f89ea0495ea87c294fb8c606dd
          name: 'Squid: HTTP Errors sent per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.3.0
          key: 'squid[cacheHttpErrors]'
          history: 7d
          value_type: FLOAT
          description: 'Number of HTTP Errors sent to clients'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: errors
            -
              tag: component
              value: http
        -
          uuid: 0c4fd7c154a44442a3cec82ba4026b7d
          name: 'Squid: HTTP hit service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.5.5
          key: 'squid[cacheHttpHitSvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP hit service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: http
        -
          uuid: a642c99d6c3f4f5e8ec218459fd76f04
          name: 'Squid: HTTP hit service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.5.60
          key: 'squid[cacheHttpHitSvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP hit service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: http
        -
          uuid: adfe3e2fc775400991d2ea2f06218daf
          name: 'Squid: HTTP Hits sent from cache per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.2.0
          key: 'squid[cacheHttpHits]'
          history: 7d
          value_type: FLOAT
          description: 'Number of HTTP Hits sent to clients from cache'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: http
        -
          uuid: f2366a6008cb4dc7856904ea5c6631dd
          name: 'Squid: HTTP traffic received per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.4.0
          key: 'squid[cacheHttpInKb]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Number of HTTP traffic received from clients'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: http
            -
              tag: component
              value: network
        -
          uuid: f8fa271a272442369b6cbc4fb1a2decc
          name: 'Squid: HTTP miss service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.3.5
          key: 'squid[cacheHttpMissSvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP miss service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: http
            -
              tag: component
              value: misses
        -
          uuid: 23e5a3bd6e9a4c50a7d54336a6afc1e1
          name: 'Squid: HTTP miss service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.3.60
          key: 'squid[cacheHttpMissSvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'HTTP miss service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: http
            -
              tag: component
              value: misses
        -
          uuid: ff6b7946363d44bba5721c82c8f84df7
          name: 'Squid: HTTP traffic sent per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.5.0
          key: 'squid[cacheHttpOutKb]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Number of HTTP traffic sent to clients'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: http
            -
              tag: component
              value: network
        -
          uuid: bde307ead15d48859a97e35e52327d50
          name: 'Squid: ICP traffic received per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.9.0
          key: 'squid[cacheIcpKbRecv]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Number of ICP traffic received'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: network
        -
          uuid: 7234b612b50a45e0a1bb69654e2e784d
          name: 'Squid: ICP traffic transmitted per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.8.0
          key: 'squid[cacheIcpKbSent]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Number of ICP traffic transmitted'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: network
        -
          uuid: 9ee83c13fa6d41dfb8bfea91c02341b9
          name: 'Squid: ICP messages received per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.7.0
          key: 'squid[cacheIcpPktsRecv]'
          history: 7d
          value_type: FLOAT
          description: 'Number of ICP messages received'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: icp
        -
          uuid: dee7d8cf211b4ad0a645a8d6d4f24c31
          name: 'Squid: ICP messages sent per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.6.0
          key: 'squid[cacheIcpPktsSent]'
          history: 7d
          value_type: FLOAT
          description: 'Number of ICP messages sent'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: icp
        -
          uuid: cb9d0c300beb47568e99ff7966e1b10e
          name: 'Squid: ICP query service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.6.5
          key: 'squid[cacheIcpQuerySvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'ICP query service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: queries
        -
          uuid: 9130a0bc53144fe992b701aa9159ff70
          name: 'Squid: ICP query service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.6.60
          key: 'squid[cacheIcpQuerySvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'ICP query service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: queries
        -
          uuid: 35a7585432b3467585ff98b23e610d82
          name: 'Squid: ICP reply service time per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.7.5
          key: 'squid[cacheIcpReplySvcTime.5]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'ICP reply service time per 5 minutes'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: replies
        -
          uuid: 94eab55af41a465196588d08acbacb56
          name: 'Squid: ICP reply service time per hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.7.60
          key: 'squid[cacheIcpReplySvcTime.60]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'ICP reply service time per hour'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.001'
          tags:
            -
              tag: component
              value: icp
            -
              tag: component
              value: replies
        -
          uuid: c5409583483e4024aabaab500bcb637a
          name: 'Squid: IP cache hits per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.1.3.0
          key: 'squid[cacheIpHits]'
          history: 7d
          value_type: FLOAT
          description: 'Number of IP Cache hits'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: ip
        -
          uuid: 8e474d2fd410472bb03024d2a2361b5d
          name: 'Squid: IP cache misses per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.1.6.0
          key: 'squid[cacheIpMisses]'
          history: 7d
          value_type: FLOAT
          description: 'Number of IP Cache misses'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: ip
            -
              tag: component
              value: misses
        -
          uuid: dc837a887c3c463a9011d923dbbfbc0f
          name: 'Squid: IP cache requests per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.4.1.2.0
          key: 'squid[cacheIpRequests]'
          history: 7d
          value_type: FLOAT
          description: 'Number of IP Cache requests'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: ip
            -
              tag: component
              value: requests
        -
          uuid: 70786920f94f41eeb0fc525c2e6431cf
          name: 'Squid: Memory maximum resident size'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.6.0
          key: 'squid[cacheMaxResSize]'
          history: 7d
          value_type: FLOAT
          units: B
          description: 'Maximum Resident Size'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: d84c3a3633784f77bf9375bf59da490b
          name: 'Squid: Memory maximum cache size'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.2.5.1.0
          key: 'squid[cacheMemMaxSize]'
          history: 7d
          value_type: FLOAT
          units: B
          description: 'The value of the cache_mem parameter'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: c14fe87f87ca48f39bbe765db60e0a41
          name: 'Squid: Memory cache usage'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.3.0
          key: 'squid[cacheMemUsage]'
          history: 7d
          value_type: FLOAT
          units: B
          description: 'Total accounted memory'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1024'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 387bbd61d3bd469baa6c560afe8a18ae
          name: 'Squid: Objects count'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.7.0
          key: 'squid[cacheNumObjCount]'
          history: 7d
          value_type: FLOAT
          description: 'Number of objects stored by the cache'
          tags:
            -
              tag: component
              value: objects
        -
          uuid: 1e648a20db904e92ae4ec0c3f9037a99
          name: 'Squid: HTTP requests received per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.1.1.0
          key: 'squid[cacheProtoClientHttpRequests]'
          history: 7d
          value_type: FLOAT
          description: 'Number of HTTP requests received'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: http
            -
              tag: component
              value: requests
        -
          uuid: 31f3e3bb57d645ff8df6b9b8d1b70a49
          name: 'Squid: Byte hit ratio per 1 minute'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.10.1
          key: 'squid[cacheRequestByteRatio.1]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
        -
          uuid: e19775b9c83648d58655a1130c5771e4
          name: 'Squid: Byte hit ratio per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.10.5
          key: 'squid[cacheRequestByteRatio.5]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
        -
          uuid: ffb3fc17631f4cd6b55ed6eefd2e6cea
          name: 'Squid: Byte hit ratio per 1 hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.10.60
          key: 'squid[cacheRequestByteRatio.60]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
        -
          uuid: a4ba5af69dd64fd8acf707ee1eaaeb32
          name: 'Squid: Request hit ratio per 1 minute'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.9.1
          key: 'squid[cacheRequestHitRatio.1]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: requests
        -
          uuid: b5ae7935e9be40e18c3020820a7865c7
          name: 'Squid: Request hit ratio per 5 minutes'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.9.5
          key: 'squid[cacheRequestHitRatio.5]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: requests
        -
          uuid: b09f7a1d9dc340b88106016586099dba
          name: 'Squid: Request hit ratio per 1 hour'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.2.2.1.9.60
          key: 'squid[cacheRequestHitRatio.60]'
          history: 7d
          value_type: FLOAT
          description: 'Byte Hit Ratios'
          tags:
            -
              tag: component
              value: hits
            -
              tag: component
              value: requests
        -
          uuid: 69e4fb088c6949ac94eabcb892df46ab
          name: 'Squid: Cache swap high water mark'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.2.5.3.0
          key: 'squid[cacheSwapHighWM]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Cache Swap High Water Mark'
          tags:
            -
              tag: component
              value: memory
            -
              tag: component
              value: storage
        -
          uuid: 221e583d7cf2455b9d848462de4b1e9a
          name: 'Squid: Cache swap low water mark'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.2.5.4.0
          key: 'squid[cacheSwapLowWM]'
          history: 7d
          value_type: FLOAT
          units: '%'
          description: 'Cache Swap Low Water Mark'
          tags:
            -
              tag: component
              value: memory
            -
              tag: component
              value: storage
        -
          uuid: 215aefddd30e41aea54e30678f290215
          name: 'Squid: Cache swap directory size'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.2.5.2.0
          key: 'squid[cacheSwapMaxSize]'
          history: 7d
          value_type: FLOAT
          units: B
          description: 'The total of the cache_dir space allocated'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          tags:
            -
              tag: component
              value: memory
            -
              tag: component
              value: storage
        -
          uuid: 38ad99f9b30c4d729030ceab6575f4f5
          name: 'Squid: Sys page faults per second'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.3.1.1.0
          key: 'squid[cacheSysPageFaults]'
          history: 7d
          value_type: FLOAT
          description: 'Page faults with physical I/O'
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: faults
        -
          uuid: 67460731d9c94166870874239c9a60da
          name: 'Squid: Uptime'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.1.3.0
          key: 'squid[cacheUptime]'
          delay: 5m
          history: 7d
          units: s
          description: 'The Uptime of the cache in timeticks (in hundredths of a second) with preprocessing'
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 89efc9400197427fa718395286dd3583
              expression: 'last(/Squid SNMP/squid[cacheUptime])<10m'
              name: 'Squid: Squid has been restarted'
              event_name: 'Squid: Squid has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: d7c7f0faa1f64745be774e30e6f0b68f
          name: 'Squid: Version'
          type: SNMP_AGENT
          snmp_oid: 1.3.6.1.4.1.3495.1.2.3.0
          key: 'squid[cacheVersionId]'
          history: 7d
          trends: '0'
          value_type: TEXT
          description: 'Cache Software Version'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: c5991152d2da4df7ae0d978233c5a859
              expression: 'last(/Squid SNMP/squid[cacheVersionId],#1)<>last(/Squid SNMP/squid[cacheVersionId],#2) and length(last(/Squid SNMP/squid[cacheVersionId]))>0'
              name: 'Squid: Squid version has been changed'
              event_name: 'Squid: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Squid version has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
      tags:
        -
          tag: class
          value: application
        -
          tag: target
          value: squid
      macros:
        -
          macro: '{$SQUID.FILE.DESC.WARN.MIN}'
          value: '100'
          description: 'The threshold for minimum number of available file descriptors'
        -
          macro: '{$SQUID.HTTP.PORT}'
          value: '3128'
          description: 'http_port configured in squid.conf (Default: 3128)'
        -
          macro: '{$SQUID.PAGE.FAULT.WARN}'
          value: '90'
          description: 'The threshold for sys page faults rate in percent of received HTTP requests'
        -
          macro: '{$SQUID.SNMP.COMMUNITY}'
          value: public
          description: 'SNMP community allowed by ACL in squid.conf'
        -
          macro: '{$SQUID.SNMP.PORT}'
          value: '3401'
          description: 'snmp_port configured in squid.conf (Default: 3401)'
      valuemaps:
        -
          uuid: 1bd791d250e441aeb1c73e499d96e98e
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
  triggers:
    -
      uuid: 89a1cfe0f02f4da880f197c2e5605db8
      expression: 'avg(/Squid SNMP/squid[cacheSysPageFaults],5m)>avg(/Squid SNMP/squid[cacheProtoClientHttpRequests],5m)/100*{$SQUID.PAGE.FAULT.WARN}'
      name: 'Squid: High sys page faults rate'
      event_name: 'Squid: High sys page faults rate (>{$SQUID.PAGE.FAULT.WARN}% of received HTTP requests)'
      priority: WARNING
      tags:
        -
          tag: scope
          value: performance
    -
      uuid: 5676f1e02dc7413fb1a34543ccaf1384
      expression: 'last(/Squid SNMP/squid[cacheCurrentSwapSize])>last(/Squid SNMP/squid[cacheSwapHighWM])*last(/Squid SNMP/squid[cacheSwapMaxSize])/100'
      name: 'Squid: Swap usage is more than high watermark'
      event_name: 'Squid: Swap usage is more than high watermark (>{ITEM.VALUE2}%)'
      opdata: 'Used: {ITEM.LASTVALUE1}'
      priority: HIGH
      tags:
        -
          tag: scope
          value: capacity
        -
          tag: scope
          value: performance
    -
      uuid: 2cf87472ebf74239bb782580448f696c
      expression: 'last(/Squid SNMP/squid[cacheCurrentSwapSize])>last(/Squid SNMP/squid[cacheSwapLowWM])*last(/Squid SNMP/squid[cacheSwapMaxSize])/100'
      name: 'Squid: Swap usage is more than low watermark'
      event_name: 'Squid: Swap usage is more than low watermark (>{ITEM.VALUE2}%)'
      opdata: 'Used: {ITEM.LASTVALUE1}'
      priority: WARNING
      tags:
        -
          tag: scope
          value: capacity
        -
          tag: scope
          value: performance
  graphs:
    -
      uuid: d8bb2c1dac8a4cb5999d29227a8510e6
      name: 'Squid: DNS lookup statistics'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheDnsRequests]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheDnsReplies]'
    -
      uuid: e301cc76e0ff4e22bc66a46b19230c33
      name: 'Squid: Domain name (FQDN) cache statistics'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheFqdnRequests]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheFqdnHits]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheFqdnMisses]'
    -
      uuid: 22556883f0a04b6999013d1a5ce58382
      name: 'Squid: File descriptor usage'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheCurrentFileDescrCnt]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheCurrentUnusedFDescrCnt]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheCurrentResFileDescrCnt]'
    -
      uuid: 647af850b9914d7b803c7f509f4c4f71
      name: 'Squid: HTTP Traffic'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpInKb]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpOutKb]'
    -
      uuid: c3d9ac16b3e24067b1041b93ee8aaebe
      name: 'Squid: IP address cache statistics'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIpRequests]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIpHits]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIpMisses]'
    -
      uuid: 7b9f0d0f6558432b83375e2fcd082812
      name: 'Squid: Memory'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheMaxResSize]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheMemMaxSize]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheMemUsage]'
    -
      uuid: d4b916fb3ea14e55b3e9799b85d8e40b
      name: 'Squid: Objects cache statistics'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheNumObjCount]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheCurrentUnlinkRequests]'
    -
      uuid: af823298924d47b09e17eeff093da448
      name: 'Squid: Service timing statistics'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpAllSvcTime.5]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpAllSvcTime.60]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpMissSvcTime.5]'
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpMissSvcTime.60]'
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpHitSvcTime.5]'
        -
          sortorder: '5'
          color: 6C59DC
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheHttpHitSvcTime.60]'
        -
          sortorder: '6'
          color: AC8C14
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIcpQuerySvcTime.5]'
        -
          sortorder: '7'
          color: 611F27
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIcpQuerySvcTime.60]'
        -
          sortorder: '8'
          color: F230E0
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIcpReplySvcTime.5]'
        -
          sortorder: '9'
          color: FFAD40
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheIcpReplySvcTime.60]'
        -
          sortorder: '10'
          color: 40CDFF
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheDnsSvcTime.5]'
        -
          sortorder: '11'
          color: 40FFA0
          item:
            host: 'Squid SNMP'
            key: 'squid[cacheDnsSvcTime.60]'