-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzbx_pcf_template.xml
3280 lines (3280 loc) · 176 KB
/
zbx_pcf_template.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.4</version>
<date>2018-01-12T19:59:37Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template Pivotal Cloud Foundry</template>
<name>Template Pivotal Cloud Foundry</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Diego Brain/Cell Metrics</name>
</application>
<application>
<name>Diego Brain Metrics</name>
</application>
<application>
<name>Diego Cell Metrics</name>
</application>
<application>
<name>Diego Database Metrics</name>
</application>
<application>
<name>Doppler Metrics</name>
</application>
<application>
<name>HTTP</name>
</application>
<application>
<name>Router Metrics</name>
</application>
<application>
<name>VM Metrics</name>
</application>
</applications>
<items/>
<discovery_rules>
<discovery_rule>
<name>Diego Brain and Cell Discovery</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx.discovery[beans,"org.cloudfoundry:deployment=cf,job=*ieg*,index=*,ip=*"]</key>
<delay>5m</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions>
<condition>
<macro>{#JMXJOB}</macro>
<value>diego_cell|diego_brain</value>
<operator>8</operator>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<lifetime>1d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Consul Health Check</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.route_emitter\.ConsulDownMode"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Consul emits its health status periodically.
0 means the system is healthy
1 means that route emitter detects that Consul is down.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Brain/Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Route Emitter Time to Sync</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.route_emitter\.RouteEmitterSyncDuration"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>s</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Time in ns that the active route-emitter took to perform its synchronization pass.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Brain/Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>0.000000001</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.route_emitter\.ConsulDownMode"].avg(5m)}<>0</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>Consul Down on {#JMXJOB} - {#JMXIP}!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. During upgrades, reduce the Consul server nodes to 1 and then upgrade.
2. Outside of an upgrade, consider disaster recovery for Consul.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.route_emitter\.RouteEmitterSyncDuration"].avg(5m)}>10</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>Route Emitter Time to Sync too Long on {#JMXJOB} - {#JMXIP}!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. Investigate the route_emitter and Diego BBS logs for errors.
2. Verify that app routes are functional by making a request to an app, pushing an app and pinging it, or if applicable, checking that your smoke tests have passed.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
</discovery_rule>
<discovery_rule>
<name>Diego Cell Discovery</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx.discovery[beans,"org.cloudfoundry:deployment=cf,job=*iego_cell,index=*,ip=*"]</key>
<delay>5m</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions/>
</filter>
<lifetime>1d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Disk Space Remaining</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingDisk"]</key>
<delay>1m</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Remaining amount of disk in MiB available for this Diego cell to allocate to containers.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>1048576</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Memory Remaining</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingMemory"]</key>
<delay>1m</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Remaining amount of memory in MiB available for this Diego cell to allocate to containers.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>1048576</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Container Count</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.ContainerCount"]</key>
<delay>1m</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Cell Rep Time to Sync</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.RepBulkSyncDuration"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>s</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Time in ns that the Diego Cell Rep took to sync the ActualLRPs that it claimed with its actual garden containers.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>0.000000001</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Cell Health</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.UnhealthyCell"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Diego Cell Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingDisk"].min(5m)}<{$DIEGO_LOW_DISK_SEV0:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Has Low Disk Space!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>5</priority>
<description>1. Assign more resources to the cells or assign more cells.
2. Scale additional cells using Ops Manager.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingDisk"].min(5m)}<{$DIEGO_LOW_DISK_SEV1:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Has Low Disk Space!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. Assign more resources to the cells or assign more cells.
2. Scale additional cells using Ops Manager.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.UnhealthyCell"].max(5m)}=1</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} is Down!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. Investigate Diego cell servers for faults and errors.
2. If a particular cell or cells appear problematic, pull logs for that cell, as well as the BBS logs before contacting Pivotal Support.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingMemory"].max(5m)}<{$DIEGO_LOW_MEMORY_SEV0:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Low On Memory!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>5</priority>
<description>1. Assign more resources to the cells or assign more cells.
2. Scale additional Diego cells using Ops Manager.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.CapacityRemainingMemory"].max(5m)}<{$DIEGO_LOW_MEMORY_SEV1:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Low On Memory!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. Assign more resources to the cells or assign more cells.
2. Scale additional Diego cells using Ops Manager.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.RepBulkSyncDuration"].avg(15m)}>{$DIEGO_SYNC_TIME_SEV0:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Time to Sync too long!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>5</priority>
<description>1. Investigate BBS logs for faults and errors.
2. If a particular cell or cells appear problematic, pull logs for the cells and the BBS logs before contacting Pivotal Support.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
<trigger_prototype>
<expression>{Template Pivotal Cloud Foundry:jmx[{#JMXOBJ},"opentsdb\.nozzle\.rep\.RepBulkSyncDuration"].avg(15m)}>{$DIEGO_SYNC_TIME_SEV1:"{#JMXJOB}"}</expression>
<recovery_mode>0</recovery_mode>
<recovery_expression/>
<name>{#JMXJOB} - {#JMXIP} Time to Sync too long!</name>
<correlation_mode>0</correlation_mode>
<correlation_tag/>
<url/>
<status>0</status>
<priority>4</priority>
<description>1. Investigate BBS logs for faults and errors.
2. If a particular cell or cells appear problematic, pull logs for the cells and the BBS logs before contacting Pivotal Support.</description>
<type>0</type>
<manual_close>0</manual_close>
<dependencies/>
<tags/>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
</discovery_rule>
<discovery_rule>
<name>Router Discovery</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx.discovery[beans,"org.cloudfoundry:deployment=cf,job=*outer,index=*,ip=*"]</key>
<delay>5m</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>2</evaltype>
<formula/>
<conditions>
<condition>
<macro>{#JMXJOB}</macro>
<value>isolated_router</value>
<operator>8</operator>
<formulaid>B</formulaid>
</condition>
<condition>
<macro>{#JMXJOB}</macro>
<value>router</value>
<operator>8</operator>
<formulaid>A</formulaid>
</condition>
</conditions>
</filter>
<lifetime>1d</lifetime>
<description/>
<item_prototypes>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Router Bad Gateways</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.bad_gateways"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>The lifetime number of bad gateways, or 502 responses, from Gorouter itself, emitted per Gorouter instance.
The Gorouter emits a `502 bad gateway error` when it has a route in the routing table and, in attempting to make a connection to the backend, finds that the backend does not exist.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Router Handling Latency</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.latency"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>s</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>The time in milliseconds that the Gorouter takes to handle requests to its app endpoints. This is the average round trip response time to an app, which includes router handling.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>0.001</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Time Since Last Route Registered</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.ms_since_last_registry_update"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>s</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Time in milliseconds since the last route register was received, emitted per Gorouter instance.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>1</type>
<params>0.001</params>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Number of Route Registrations Received</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.registry_message\.route-emitter"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Reports the lifetime number of route registration messages received by the Gorouter. The metric is emitted for each Gorouter instance.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Router 5XX http Status Code Errors</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.responses.5xx"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>The lifetime number of requests completed by the Gorouter VM for HTTP status family 5xx, server errors, emitted per Gorouter instance.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Number of Route Registrations Sent</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.route_emitter\.MessagesEmitted"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>Reports the lifetime number of route registration messages sent by the Route Emitter component. The metric is emitted for each Route Emitter.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Router Throughput</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.total_requests"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>The lifetime number of requests completed by the Gorouter VM, emitted per Gorouter instance</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Router Metrics</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing>
<step>
<type>10</type>
<params/>
</step>
</preprocessing>
<jmx_endpoint>service:jmx:rmi:///jndi/rmi://{HOST.CONN}:{HOST.PORT}/jmxrmi</jmx_endpoint>
<application_prototypes/>
<master_item_prototype/>
</item_prototype>
<item_prototype>
<name>{#JMXJOB} - {#JMXIP} - Total Router Routes</name>
<type>16</type>
<snmp_community/>
<snmp_oid/>
<key>jmx[{#JMXOBJ},"opentsdb\.nozzle\.gorouter\.total_routes"]</key>
<delay>30s</delay>
<history>7d</history>
<trends>365d</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username>{$PCFJMXUSER}</username>
<password>{$PCFJMXPASSWORD}</password>
<publickey/>
<privatekey/>
<port/>
<description>The current total number of routes registered with the Gorouter, emitted per Gorouter instance</description>
<inventory_link>0</inventory_link>
<applications>
<application>