Skip to content

Commit 2e087a1

Browse files
committed
Merge branch 'main' into feature/system-ha-peer
2 parents 8233b94 + 12f2352 commit 2e087a1

9 files changed

+1110
-268
lines changed

README.md

Lines changed: 4 additions & 268 deletions
Original file line numberDiff line numberDiff line change
@@ -33,274 +33,8 @@ Open an issue if your favorite metric is missing.
3333

3434
For example PromQL usage, see [EXAMPLES](EXAMPLES.md).
3535

36-
Supported metrics right now as follows.
37-
38-
Global:
39-
40-
* _Network/Dns/Latency_
41-
* `fortigate_network_dns_latency_`
42-
* _System/SensorInfo_
43-
* `fortigate_sensor_alarm_status`
44-
* `fortigate_sensor_fan_rpm`
45-
* `fortigate_sensor_temperature_celsius`
46-
* `fortigate_sensor_voltage_volts`
47-
* `fortigate_sensor_thresholds`
48-
* _System/Status_
49-
* `fortigate_version_info`
50-
* _System/Transceivers_
51-
* `fortigate_interface_transceivers`
52-
* _System/Time/Clock_
53-
* `fortigate_time_seconds`
54-
* _System/Resource/Usage_
55-
* `fortigate_cpu_usage_ratio`
56-
* `fortigate_memory_usage_ratio`
57-
* `fortigate_current_sessions`
58-
* _System/HAChecksums_
59-
* `fortigate_ha_member_has_role`
60-
* _System/HaPeer_
61-
* `fortigate_ha_peer_priority`
62-
* _System/Ntp/Status_
63-
* `fortigate_system_ntp_delay_seconds`
64-
* `fortigate_system_ntp_dispersion_seconds`
65-
* `fortigate_system_ntp_dispersion_peer_seconds`
66-
* `fortigate_system_ntp_expires_seconds`
67-
* `fortigate_system_ntp_offset_seconds`
68-
* `fortigate_system_ntp_reftime_seconds`
69-
* `fortigate_system_ntp_stratum`
70-
* _License/Status_
71-
* `fortigate_license_vdom_usage`
72-
* `fortigate_license_vdom_max`
73-
* _WebUI/State_
74-
* `fortigate_last_reboot_seconds`
75-
* `fortigate_last_snapshot_seconds`
76-
77-
Per-VDOM:
78-
79-
* _System/Resource/Usage/VDOM_
80-
* `fortigate_vdom_cpu_usage_ratio`
81-
* `fortigate_vdom_memory_usage_ratio`
82-
* `fortigate_vdom_current_sessions`
83-
* _Firewall/Policies_
84-
* `fortigate_policy_active_sessions`
85-
* `fortigate_policy_bytes_total`
86-
* `fortigate_policy_hit_count_total`
87-
* `fortigate_policy_packets_total`
88-
* _Firewall/IpPool_
89-
* `fortigate_ippool_available_ratio`
90-
* `fortigate_ippool_used_ips`
91-
* `fortigate_ippool_total_ips`
92-
* `fortigate_ippool_clients`
93-
* `fortigate_ippool_used_items`
94-
* `fortigate_ippool_total_items`
95-
* `fortigate_ippool_pba_per_ip`
96-
* _System/Fortimanager/Status_
97-
* `fortigate_fortimanager_connection_status`
98-
* `fortigate_fortimanager_registration_status`
99-
* _System/Interface_
100-
* `fortigate_interface_link_up`
101-
* `fortigate_interface_speed_bps`
102-
* `fortigate_interface_transmit_packets_total`
103-
* `fortigate_interface_receive_packets_total`
104-
* `fortigate_interface_transmit_bytes_total`
105-
* `fortigate_interface_receive_bytes_total`
106-
* `fortigate_interface_transmit_errors_total`
107-
* `fortigate_interface_receive_errors_total`
108-
* _System/Interface/Transceivers_
109-
* `fortigate_inteface_transceivers_info`
110-
* _System/SDNConnector_
111-
* `fortigate_system_sdn_connector_status`
112-
* `fortigate_system_sdn_connector_last_update_seconds`
113-
* _System/VDOMResource_
114-
* `fortigate_vdom_resource_cpu_usage`
115-
* `fortigate_vdom_resource_memory_usage`
116-
* `fortigate_vdom_resource_setup_rate`
117-
* `fortigate_vdom_resource_deletable`
118-
* `fortigate_vdom_resource_object_id`
119-
* `fortigate_vdom_resource_object_custom_max`
120-
* `fortigate_vdom_resource_object_custom_min_value`
121-
* `fortigate_vdom_resource_object_custom_max_value`
122-
* `fortigate_vdom_resource_object_guaranted`
123-
* `fortigate_vdom_resource_object_guaranted_max_value`
124-
* `fortigate_vdom_resource_object_guaranted_min_value`
125-
* `fortigate_vdom_resource_object_global_max`
126-
* `fortigate_vdom_resource_object_current_usage`
127-
* `fortigate_vdom_resource_object_usage_percentage`
128-
* _User/Fsso_
129-
* `fortigate_user_fsso_info`
130-
* _VPN/Ssl/Connections_
131-
* `fortigate_vpn_connections`
132-
* `fortigate_vpn_users`
133-
* _VPN/Ssl/Stats_
134-
* `fortigate_vpn_ssl_users`
135-
* `fortigate_vpn_ssl_tunnels`
136-
* `fortigate_vpn_ssl_connections`
137-
* _VPN/IPSec_
138-
* `fortigate_ipsec_tunnel_receive_bytes_total`
139-
* `fortigate_ipsec_tunnel_transmit_bytes_total`
140-
* `fortigate_ipsec_tunnel_up`
141-
* _Wifi/APStatus_
142-
* `fortigate_wifi_access_points`
143-
* `fortigate_wifi_fabric_clients`
144-
* `fortigate_wifi_fabric_max_allowed_clients`
145-
* _Log/Fortianalyzer/Status_
146-
* `fortigate_log_fortianalyzer_registration_info`
147-
* `fortigate_log_fortianalyzer_logs_received`
148-
* _Log/Fortianalyzer/Queue_
149-
* `fortigate_log_fortianalyzer_queue_connections`
150-
* `fortigate_log_fortianalyzer_queue_logs`
151-
* _Log/DiskUsage_
152-
* `fortigate_log_disk_used_bytes`
153-
* `fortigate_log_disk_total_bytes`
154-
155-
Per-HA-Member and VDOM:
156-
* _System/HAStatistics_
157-
* `fortigate_ha_member_info`
158-
* `fortigate_ha_member_cpu_usage_ratio`
159-
* `fortigate_ha_member_memory_usage_ratio`
160-
* `fortigate_ha_member_network_usage_ratio`
161-
* `fortigate_ha_member_sessions`
162-
* `fortigate_ha_member_packets_total`
163-
* `fortigate_ha_member_virus_events_total`
164-
* `fortigate_ha_member_bytes_total`
165-
* `fortigate_ha_member_ips_events_total`
166-
167-
Per-Link and VDOM:
168-
* _System/LinkMonitor_
169-
* `fortigate_link_status`
170-
* `fortigate_link_latency_seconds`
171-
* `fortigate_link_latency_jitter_seconds`
172-
* `fortigate_link_packet_loss_ratio`
173-
* `fortigate_link_packet_sent_total`
174-
* `fortigate_link_packet_received_total`
175-
* `fortigate_link_active_sessions`
176-
* `fortigate_link_bandwidth_tx_byte_per_second`
177-
* `fortigate_link_bandwidth_rx_byte_per_second`
178-
* `fortigate_link_status_change_time_seconds`
179-
180-
Per-SDWAN and VDOM:
181-
* _VirtualWAN/HealthCheck_
182-
* `fortigate_virtual_wan_status`
183-
* `fortigate_virtual_wan_latency_seconds`
184-
* `fortigate_virtual_wan_latency_jitter_seconds`
185-
* `fortigate_virtual_wan_packet_loss_ratio`
186-
* `fortigate_virtual_wan_packet_sent_total`
187-
* `fortigate_virtual_wan_packet_received_total`
188-
* `fortigate_virtual_wan_active_sessions`
189-
* `fortigate_virtual_wan_bandwidth_tx_byte_per_second`
190-
* `fortigate_virtual_wan_bandwidth_rx_byte_per_second`
191-
* `fortigate_virtual_wan_status_change_time_seconds`
192-
193-
Per-BGP-Neighbor and VDOM:
194-
* _BGP/Neighbors/IPv4_
195-
* `fortigate_bgp_neighbor_ipv4_info`
196-
* _BGP/Neighbors/IPv6_
197-
* `fortigate_bgp_neighbor_ipv6_info`
198-
* _BGP/NeighborPaths/IPv4_
199-
* `fortigate_bgp_neighbor_ipv4_paths`
200-
* `fortigate_bgp_neighbor_ipv4_best_paths`
201-
* _BGP/NeighborPaths/IPv6_
202-
* `fortigate_bgp_neighbor_ipv6_paths`
203-
* `fortigate_bgp_neighbor_ipv6_best_paths`
204-
205-
Per-OSPF-Neighbor and VDOM:
206-
* _OSPF/Neighbors_
207-
* `fortigate_ospf_neighbor_info`
208-
209-
Per-VirtualServer and VDOM:
210-
* _Firewall/LoadBalance_
211-
* `fortigate_lb_virtual_server_info`
212-
213-
Per-RealServer for each VirtualServer and VDOM:
214-
* _Firewall/LoadBalance_
215-
* `fortigate_lb_real_server_info`
216-
* `fortigate_lb_real_server_mode`
217-
* `fortigate_lb_real_server_status`
218-
* `fortigate_lb_real_server_active_sessions`
219-
* `fortigate_lb_real_server_rtt_seconds`
220-
* `fortigate_lb_real_server_processed_bytes_total`
221-
222-
Per-Certificate:
223-
* _System/AvailableCertificates_
224-
* `fortigate_certificate_info`
225-
* `fortigate_certificate_valid_from_seconds`
226-
* `fortigate_certificate_valid_to_seconds`
227-
* `fortigate_certificate_cmdb_references`
228-
229-
Per-VDOM and Wifi-Client:
230-
* _Wifi/Clients_
231-
* `fortigate_wifi_client_info`
232-
* `fortigate_wifi_client_data_rate_bps`
233-
* `fortigate_wifi_client_bandwidth_rx_bps`
234-
* `fortigate_wifi_client_bandwidth_tx_bps`
235-
* `fortigate_wifi_client_signal_strength_dBm`
236-
* `fortigate_wifi_client_signal_noise_dBm`
237-
* `fortigate_wifi_client_tx_discard_ratio`
238-
* `fortigate_wifi_client_tx_retries_ratio`
239-
240-
Per-VDOM and managed access point:
241-
* _Wifi/ManagedAP_
242-
* `fortigate_wifi_managed_ap_info`
243-
* `fortigate_wifi_managed_ap_join_time_seconds`
244-
* `fortigate_wifi_managed_ap_cpu_usage_ratio`
245-
* `fortigate_wifi_managed_ap_memory_free_bytes`
246-
* `fortigate_wifi_managed_ap_memory_bytes_total`
247-
248-
Per-VDOM, managed access point and radio:
249-
* _Wifi/ManagedAP_
250-
* `fortigate_wifi_managed_ap_radio_info`
251-
* `fortigate_wifi_managed_ap_radio_client_count`
252-
* `fortigate_wifi_managed_ap_radio_operating_tx_power_ratio`
253-
* `fortigate_wifi_managed_ap_radio_operating_channel_utilization_ratio`
254-
* `fortigate_wifi_managed_ap_radio_bandwidth_rx_bps`
255-
* `fortigate_wifi_managed_ap_radio_rx_bytes_total`
256-
* `fortigate_wifi_managed_ap_radio_tx_bytes_total`
257-
* `fortigate_wifi_managed_ap_radio_interfering_aps`
258-
* `fortigate_wifi_managed_ap_radio_tx_power_ratio`
259-
* `fortigate_wifi_managed_ap_radio_tx_discard_ratio`
260-
* `fortigate_wifi_managed_ap_radio_tx_retries_ratio`
261-
262-
Per-VDOM, managed access point and interface:
263-
* _Wifi/ManagedAP_
264-
* `fortigate_wifi_managed_ap_interface_rx_bytes_total`
265-
* `fortigate_wifi_managed_ap_interface_tx_bytes_total`
266-
* `fortigate_wifi_managed_ap_interface_rx_packets_total`
267-
* `fortigate_wifi_managed_ap_interface_tx_packets_total`
268-
* `fortigate_wifi_managed_ap_interface_rx_errors_total`
269-
* `fortigate_wifi_managed_ap_interface_tx_errors_total`
270-
* `fortigate_wifi_managed_ap_interface_rx_dropped_packets_total`
271-
* `fortigate_wifi_managed_ap_interface_tx_dropped_packets_total`
272-
273-
Per-VDOM, managed switch and interface:
274-
* _Switch/ManagedSwitch_
275-
* `fortigate_managed_switch_collisions_total`
276-
* `fortigate_managed_switch_crc_alignments_total`
277-
* `fortigate_managed_switch_fragments_total`
278-
* `fortigate_managed_switch_info`
279-
* `fortigate_managed_switch_jabbers_total`
280-
* `fortigate_managed_switch_l3_packets_total`
281-
* `fortigate_managed_switch_max_poe_budget_watt`
282-
* `fortigate_managed_switch_port_info`
283-
* `fortigate_managed_switch_port_power_status`
284-
* `fortigate_managed_switch_port_power_watt`
285-
* `fortigate_managed_switch_port_status`
286-
* `fortigate_managed_switch_rx_bcast_packets_total`
287-
* `fortigate_managed_switch_rx_bytes_total`
288-
* `fortigate_managed_switch_rx_drops_total`
289-
* `fortigate_managed_switch_rx_errors_total`
290-
* `fortigate_managed_switch_rx_mcast_packets_total`
291-
* `fortigate_managed_switch_rx_oversize_total`
292-
* `fortigate_managed_switch_rx_packets_total`
293-
* `fortigate_managed_switch_rx_ucast_packets_total`
294-
* `fortigate_managed_switch_tx_bcast_packets_total`
295-
* `fortigate_managed_switch_tx_bytes_total`
296-
* `fortigate_managed_switch_tx_drops_total`
297-
* `fortigate_managed_switch_tx_errors_total`
298-
* `fortigate_managed_switch_tx_mcast_packets_total`
299-
* `fortigate_managed_switch_tx_oversize_total`
300-
* `fortigate_managed_switch_tx_packets_total`
301-
* `fortigate_managed_switch_tx_ucast_packets_total`
302-
* `fortigate_managed_switch_under_size_total`
303-
36+
For Supported metrics see the [metrics documentation](metrics.md).
37+
30438
## Usage
30539

30640
Example:
@@ -446,12 +180,14 @@ To improve security, limit permissions to required ones only (least privilege pr
446180
|Log/DiskUsage | loggrp.config |api/v2/monitor/log/current-disk-usage |
447181
|Network/Dns/Latency | sysgrp.cfg |api/v2/monitor/network/dns/latency |
448182
|System/AvailableCertificates | *any* |api/v2/monitor/system/available-certificates |
183+
|System/Central-management/Status | sysgrp.cfg |api/v2/monitor/system/central-management/status|
449184
|System/Fortimanager/Status | sysgrp.cfg |api/v2/monitor/system/fortimanager/status |
450185
|System/HAStatistics | sysgrp.cfg |api/v2/monitor/system/ha-statistics<br>api/v2/cmdb/system/ha |
451186
|System/Ha-peer | sysgrp.cfg |api/v2/monitor/system/ha-peer |
452187
|System/Interface | netgrp.cfg |api/v2/monitor/system/interface/select |
453188
|System/Interface/Transceivers| *any* |api/v2/monitor/system/interface/transceivers |
454189
|System/LinkMonitor | sysgrp.cfg |api/v2/monitor/system/link-monitor |
190+
|System/Performance/Status | sysgrp.cfg |api/v2/monitor/system/performance/status |
455191
|System/Ntp/Status | netgrp.cfg |api/v2/monitor/system/ntp/status |
456192
|System/Resource/Usage | sysgrp.cfg |api/v2/monitor/system/resource/usage |
457193
|System/Resource/Usage/VDOM | sysgrp.cfg |api/v2/monitor/system/resource/usage |

0 commit comments

Comments
 (0)