Outlines the structure for the response received from the resource monitoring endpoint in PAN-OS, providing detailed insights into resource usage, such as CPU load, for data processors.

interface ResourceMonitorResponse {
    response: {
        result: {
            resource-monitor: {
                data-processors: {
                    dp0: {
                        minute: {
                            cpu-load-average: {
                                entry: {
                                    coreid: string;
                                    value: string;
                                };
                            }[];
                        };
                    };
                };
            };
        };
        status: string;
    };
}

Properties

Properties

response: {
    result: {
        resource-monitor: {
            data-processors: {
                dp0: {
                    minute: {
                        cpu-load-average: {
                            entry: {
                                coreid: string;
                                value: string;
                            };
                        }[];
                    };
                };
            };
        };
    };
    status: string;
}

The response wrapper that includes the status of the request, as well as the result data.

Type declaration

  • result: {
        resource-monitor: {
            data-processors: {
                dp0: {
                    minute: {
                        cpu-load-average: {
                            entry: {
                                coreid: string;
                                value: string;
                            };
                        }[];
                    };
                };
            };
        };
    }

    The result object, which contains detailed resource monitoring data.

    • resource-monitor: {
          data-processors: {
              dp0: {
                  minute: {
                      cpu-load-average: {
                          entry: {
                              coreid: string;
                              value: string;
                          };
                      }[];
                  };
              };
          };
      }

      The resource-monitor object containing information about data processors.

      • data-processors: {
            dp0: {
                minute: {
                    cpu-load-average: {
                        entry: {
                            coreid: string;
                            value: string;
                        };
                    }[];
                };
            };
        }

        The data-processors object that includes statistics for different processors.

        • dp0: {
              minute: {
                  cpu-load-average: {
                      entry: {
                          coreid: string;
                          value: string;
                      };
                  }[];
              };
          }

          Represents the first data processor (dp0) and contains its minute-level statistics.

          • minute: {
                cpu-load-average: {
                    entry: {
                        coreid: string;
                        value: string;
                    };
                }[];
            }

            Minute-level resource statistics including CPU load averages.

            • cpu-load-average: {
                  entry: {
                      coreid: string;
                      value: string;
                  };
              }[]

              An array of objects containing CPU load average information per core.

  • status: string

    The status of the resource monitoring request, usually 'success' or 'error'.

Generated using TypeDoc