@@ -18,54 +18,55 @@ class Instance(Plugin):
1818 # ('graph name', color, side), units, delta
1919
2020 ("xact_commit" , "transactions[committed]" , "Transactions Committed" ,
21- ("PostgreSQL Instance: Transactions Rate" , "578159" , 0 ),
21+ ("PostgreSQL Instance: Transactions Rate" , "00CC00" , 0 ),
22+ Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
23+ ("xact_rollback" , "events[xact_rollback]" , "Rollback Events" ,
24+ ("PostgreSQL Instance: Transactions Rate" , "FF5656" , 0 ),
25+
2226 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
2327 ("blks_hit" , "blocks[hit]" , "Blocks Hit" ,
24- ("PostgreSQL Instance: Blocks Rate" , "7EB29B " , 0 ),
28+ ("PostgreSQL Instance: Blocks Rate" , "87C2B9 " , 0 ),
2529 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
2630 ("blks_read" , "blocks[read]" , "Blocks Read" ,
2731 ("PostgreSQL Instance: Blocks Rate" , "793F5D" , 0 ),
2832 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
2933
3034 ("conflicts" , "events[conflicts]" , "Conflict Events" ,
31- ("PostgreSQL Instance: Events" , "9C8A4E " , 0 ),
35+ ("PostgreSQL Instance: Events" , "00CC00 " , 0 ),
3236 Plugin .UNITS .none , Plugin .DELTA .simple_change ),
3337 ("deadlocks" , "events[deadlocks]" , "Deadlock Events" ,
34- ("PostgreSQL Instance: Events" , "3B415A " , 0 ),
38+ ("PostgreSQL Instance: Events" , "FF5656 " , 0 ),
3539 Plugin .UNITS .none , Plugin .DELTA .simple_change ),
36- ("xact_rollback" , "events[xact_rollback]" , "Rollback Events" ,
37- ("PostgreSQL Instance: Transactions Rate" , "E57862" , 0 ),
38- Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
3940
4041 ("temp_bytes" , "temp[bytes]" , "Temp Bytes Written" ,
4142 ("PostgreSQL Instance: Temp Files" , "00B0B8" , 0 ),
4243 Plugin .UNITS .bytes , Plugin .DELTA .simple_change ),
4344 ("temp_files" , "temp[files]" , "Temp Files Created" ,
44- ("PostgreSQL Instance: Temp Files" , "0082A5 " , 1 ),
45+ ("PostgreSQL Instance: Temp Files" , "006AAE " , 1 ),
4546 Plugin .UNITS .none , Plugin .DELTA .simple_change ),
4647
4748 # stacked
4849 ("tup_deleted" , "tuples[deleted]" , "Tuples Deleted" ,
49- ("PostgreSQL Instance: Tuples" , "3B415A " , 0 ),
50+ ("PostgreSQL Instance: Tuples" , "FF5656 " , 0 ),
5051 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
5152 ("tup_fetched" , "tuples[fetched]" , "Tuples Fetched" ,
52- ("PostgreSQL Instance: Tuples" , "7EB29B " , 0 ),
53+ ("PostgreSQL Instance: Tuples" , "006AAE " , 0 ),
5354 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
5455 ("tup_inserted" , "tuples[inserted]" , "Tuples Inserted" ,
55- ("PostgreSQL Instance: Tuples" , "00B0B8 " , 0 ),
56+ ("PostgreSQL Instance: Tuples" , "00CC00 " , 0 ),
5657 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
5758 ("tup_returned" , "tuples[returned]" , "Tuples Returned" ,
58- ("PostgreSQL Instance: Tuples" , "9C8A4E " , 1 ),
59+ ("PostgreSQL Instance: Tuples" , "001219 " , 1 ),
5960 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
6061 ("tup_updated" , "tuples[updated]" , "Tuples Updated" ,
61- ("PostgreSQL Instance: Tuples" , "6A4F5F " , 0 ),
62+ ("PostgreSQL Instance: Tuples" , "9C8A4E " , 0 ),
6263 Plugin .UNITS .none , Plugin .DELTA .speed_per_second ),
6364 ]
6465 Items_pg_12 = [
6566 # key, zbx_key, description,
6667 # ('graph name', color, side), units, delta
6768 ("checksum_failures" , "events[checksum_failures]" , "checksum_failures Events" ,
68- ("PostgreSQL Instance: Events" , "793F5D " , 0 ),
69+ ("PostgreSQL Instance: Events" , "006AAE " , 0 ),
6970 Plugin .UNITS .none , Plugin .DELTA .simple_change )
7071 ]
7172
0 commit comments