Skip to main content

nagios_check_paloalto: a Nagios/Icinga Plugin

nagios_check_paloalto is a Nagios/Icinga plugin for Palo Alto Next Generation Firewalls. It is written in Python and based on the PA REST API.

Tested on:

  • PA-500 v6.0.1 - v6.0.9

  • PA-3050 v6.0.9 - 7.1.9

https://travis-ci.org/ralph-hm/nagios_check_paloalto.svg?branch=master https://coveralls.io/repos/github/ralph-hm/nagios_check_paloalto/badge.svg?branch=master https://badge.fury.io/py/check_paloalto.svg

Documentation

http://nagios-check-paloalto.readthedocs.org/en/latest/

Quickstart

Please make sure you have python-dev and libxslt1-dev installed on your machine.

To install nagios_check_paloalto:

$ pip install check_paloalto --upgrade

or use:

$ pip3 install check_paloalto --upgrade

The plugin requires a token to get information from the PA-REST-API. Please see the following link for more information: http://nagios-check-paloalto.readthedocs.org/en/latest/configuration.html#token

Usage

Command-line usage:

usage: check_paloalto [-h] -H HOST -T TOKEN [-v] [-t TIMEOUT] [--reset]
                  [--version]
                  {diskspace,certificates,load,useragent,environmental,sessinfo,thermal,throughput}
                  ...

positional arguments:
  {diskspace,certificates,load,useragent,environmental,sessinfo,thermal,throughput}
    diskspace           check used diskspace.
    certificates        check the certificate store for expiring certificates:
                        Outputs is a warning, if a certificate is in range.
    load                check the CPU load.
    useragent           check for running useragents.
    environmental       check if an alarm is found.
    sessinfo            check important session parameters.
    thermal             check the temperature.
    throughput          check the throughput.

optional arguments:
  -h, --help            show this help message and exit

Connection:
  -H HOST, --host HOST  PaloAlto Server Hostname
  -T TOKEN, --token TOKEN
                        Generated Token for REST-API access

Debug:
  -v, --verbose         increase output verbosity (use up to 3 times)
  -t TIMEOUT, --timeout TIMEOUT
                        abort check execution after so many seconds (use 0 for
                        no timeout)
  --reset               Deletes the cookie file for the throughput check.

Info:
  --version             show program's version number and exit

History

0.3.2 (2017-16-05)

  • Fixed issue #8: Measuring throughput on multiple identically configured PA’s fails

0.3.1 (2017-10-03)

  • Improvement: It is no longer necessary to reset the internal cookie when upgrading PA.

  • Renamed performance data label for throughput command.

  • Removed the the unit of measurement (UOM) for throughput command

0.3 (2017-27-02)

  • Support for Python 3.5 added

  • Minor code improvements

  • Changed the the unit of measurement (UOM) according to official Nagios-Documentation (thanks to Ios77)

0.1.6 (2016-06-05)

  • Added script version switch

  • Improved error handling

  • Updated documentation

  • Upgraded dependencies

0.1.5 (2016-29-04)

  • Fixed a argparse bug

0.1.4 (2016-29-04)

  • Added functionality to monitor state of the user-agents

  • Added script timeout switch

  • Improved error handling

  • Improved functionality of sessinfo command

0.1.3 (2015-14-09)

0.1.2 (2015-14-09)

0.1.1 (2015-10-09)

  • Support Python 2.7, 3.3, 3.4.

  • Support PyPi.

  • Included tests.

  • Improved performance.

  • Improved output and debugging.

Metadata

Release files for check_paloalto 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for check_paloalto 0.3.2
File Size Uploaded
check_paloalto-0.3.2.tar.gz 34.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for check_paloalto 0.3.2
File Interpreter ABI Platform
check_paloalto-0.3.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 53.3 kB

Release files / check_paloalto-0.3.2.tar.gz

Download URL check_paloalto-0.3.2.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9289d774800126ba4032cea39d01ea177fa3cdf49893ba32346b7d5b348a96d4
BLAKE2b-256 checksum
How to use checksums
c71cdb22c90c9021460bca6f40d78e4609309f157af3ab371e4bf2a6b748f0de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / check_paloalto-0.3.2-py2.py3-none-any.whl

Download URL check_paloalto-0.3.2-py2.py3-none-any.whl
Size 18.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1675b446bbcd749ebaa553bf581c210cf2b9b1548ef76aa6ddf1eadd0a38e647
BLAKE2b-256 checksum
How to use checksums
d119c53a22fab7cbc49d775fb2ac609d37c9b9bc6ff5a04d580c149ffacefd1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page