Giter Site home page Giter Site logo

infrasonar / paloalto-probe Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 40 KB

InfraSonar PaloAlto Probe

Home Page: https://docs.infrasonar.com/collectors/probes/paloalto/

License: GNU General Public License v3.0

Dockerfile 0.86% Python 99.14%
cesbit infrasonar monitoring paloalto paloaltonetworks

paloalto-probe's Introduction

CI Release Version

InfraSonar PaloAlto Probe

Documentation: https://docs.infrasonar.com/collectors/probes/paloalto/

Environment variable

Variable Default Description
AGENTCORE_HOST 127.0.0.1 Hostname or Ip address of the AgentCore.
AGENTCORE_PORT 8750 AgentCore port to connect to.
INFRASONAR_CONF /data/config/infrasonar.yaml File with probe and asset configuration like credentials.
MAX_PACKAGE_SIZE 500 Maximum package size in kilobytes (1..2000).
MAX_CHECK_TIMEOUT 300 Check time-out is 80% of the interval time with MAX_CHECK_TIMEOUT in seconds as absolute maximum.
DRY_RUN none Do not run demonized, just return checks and assets specified in the given yaml (see the Dry run section below).
LOG_LEVEL warning Log level (debug, info, warning, error or critical).
LOG_COLORIZED 0 Log using colors (0=disabled, 1=enabled).
LOG_FTM %y%m%d %H:%M:%S Log format prefix.

API key

This probe requires an API key which must be placed in the INFRASONAR_CONF configuration file. For example:

paloalto:
  config:
    secret: 'gJlQWE56987nBxIqyfa62sZeRtYuIo2BgzEA9UOnlZBhU=='

Docker build

docker build -t paloalto-probe . --no-cache

Dry run

Available checks:

  • interface
  • route
  • session
  • system

Create a yaml file, for example (test.yaml):

asset:
  name: "foo.local"
  check: "system"
  config:
    address: "192.168.1.2"

Run the probe with the DRY_RUN environment variable set the the yaml file above.

DRY_RUN=test.yaml python main.py

paloalto-probe's People

Contributors

joente avatar koos85 avatar

Watchers

 avatar  avatar  avatar

paloalto-probe's Issues

Check Status and Monitor an IPSEC VPN Tunnels

We would like to check the status of IPSEC VPN Tunnels

[Palo Alto reference artikel

From this article we extracted these two commands:

Check ike phase1 status

show vpn ike-sa

Check Encryption and Decryption (encap/decap) across tunnel

show vpn flow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.