jenningsloy318 / panos_exporter

paloalto os expoter for prometheus
Apache License 2.0
21 stars 16 forks source link

PaloAlto CPU utilization bug #16

Open inetman28 opened 2 years ago

inetman28 commented 2 years ago

hi

as I got, both metrics related to cpu and dataplane utilization works only with pa3000 series, not higher

for example for pa5260 and pa5450 it can't collect some keys from device ;(

pa3250 output:

# HELP panos_data_plane_resource_util_cpu_load_average data plane cpu load average
# TYPE panos_data_plane_resource_util_cpu_load_average gauge
panos_data_plane_resource_util_cpu_load_average{coreid="0",domain="data_plane",dp="dp0"} 0
panos_data_plane_resource_util_cpu_load_average{coreid="1",domain="data_plane",dp="dp0"} 3
panos_data_plane_resource_util_cpu_load_average{coreid="10",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="11",domain="data_plane",dp="dp0"} 7
panos_data_plane_resource_util_cpu_load_average{coreid="2",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="3",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="4",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="5",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="6",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="7",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="8",domain="data_plane",dp="dp0"} 6
panos_data_plane_resource_util_cpu_load_average{coreid="9",domain="data_plane",dp="dp0"} 6

and for 5260 and 5450 there aren't (not present key panos_data_plane_resource_util_cpu_load_average in exporter)

I can provide any kind of info which you'll ask me

pawelos99 commented 1 year ago

Can you show the output of

curl -k -X GET 'https://<your_fw_ip>/api/?type=op&key=<api_key>&cmd=<show><running><resource-monitor><second><last>1</last></second></resource-monitor></running></show>'

where the api key can be generated by

curl -k -X POST 'https://10.130.128.20/api/?type=keygen&user=<user>&password=<password>'

and the logs from the panos_exporter when this happens?