Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x](backport #40686) x-pack/metricbeat/module/panw: Add a new module #40867

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 17, 2024

Proposed commit message

The Metricbeat panos module collects metrics from a Palo Alto firewall. It contains metricsets corresponding to the following requirements:

  • Temperature
  • HA Interfaces
  • Logical interfaces
  • Power consumption alarms
  • Fan alarms
  • Disk use
  • BGP status
  • IPSec Tunnels
  • GlobalProtect sessions
  • GlobalProtect Gateway utilization
  • System resources
  • License expiration
  • Certificate expirations

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Disruptive User Impact

This is a new module and does not affect other modules.

How to test this PR locally

I have not created tests yet for this. Looking at other modules there seems to be a variety of approaches, so I would be looking for some guidance on this.


This is an automatic backport of pull request #40686 done by [Mergify](https://mergify.com).

* initial module creation

* panos.system metricset running

* remove testing data

* panos.disk metricset working

* rename metricset

* change metricset name

* bgp_peers metricset working

* temperature metricset

* more metricsets

* use MetricSetFields

* license notices

* update fields.yml

* added doc

* refactor down to 4 metricsets

* more cleanup

* cleanup field names

* remove yml

* panos.yml.disabled

* PR comment fixes

* more PR comments addressed. Still to do: tests

* Changes to:
	- move tunnels from vpn to interfaces metricset
	- address PR comments for field names in field.yml
	- split local/peer addresses into host and port for bgp
	- handle license expires of "never"

* Fixes for PR comments

* add license header

* add pango package

* mage check && mage update

* remove mappings & make update

* make linter happy

* add the untracked docs

* update the fields.yml

* update the fields.yml with example fields to make python integ tests happy

* make docs check happy and update codeowners

* add result of 'mage update' in x-pack/metricbeat

---------

Co-authored-by: subham sarkar <subham.sarkar@elastic.co>
Co-authored-by: tommyers-elastic <106530686+tommyers-elastic@users.noreply.github.com>
(cherry picked from commit cc2c925)
@mergify mergify bot requested review from a team as code owners September 17, 2024 20:41
@mergify mergify bot added the backport label Sep 17, 2024
@mergify mergify bot requested review from AndersonQ and khushijain21 and removed request for a team September 17, 2024 20:41
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 17, 2024
@botelastic
Copy link

botelastic bot commented Sep 17, 2024

This pull request doesn't have a Team:<team> label.

Copy link
Contributor

@tommyers-elastic tommyers-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean backport +1

@tommyers-elastic
Copy link
Contributor

run docs-build

@tommyers-elastic tommyers-elastic merged commit ed6dfa8 into 8.x Sep 17, 2024
121 of 125 checks passed
@tommyers-elastic tommyers-elastic deleted the mergify/bp/8.x/pr-40686 branch September 17, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport needs_team Indicates that the issue/PR needs a Team:* label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants