Description

check_lexio monitors a car or van rental agency run on Lexio Rent, through the public Lexio Rent API v1. It turns operational data into Checkmk services: a van overdue for its service, a customer who has not brought a car back, a reservation that was never picked up.

Lexio Rent is rental management software for professional car, van and two-wheeler rental companies.

Modes

  • api: the API answers with this key; response time (perfdata).
  • maintenance: overdue and upcoming services on active vehicles (oil change, tyres, technical inspection...). An overdue service that blocks rentals is CRITICAL.
  • late-returns: rentals in progress whose return time has passed by more than --grace minutes.
  • missed-pickups: reservations whose pick-up time has passed without a pick-up.

Single Python 3.9+ file, standard library only, read-only. Exit codes and performance data follow the Monitoring Plugins guidelines.

Setup

  1. Install and enable the MKP: mkp add lexio-0.1.0.mkp then mkp enable lexio.
  2. Create an API key in Lexio (Settings → Developer → API tokens, read scopes only) and store it in a file readable by the site user, e.g. ~/etc/lexio-api-key.
  3. Add a rule Setup → Services → Other services → Integrate Nagios plugins with the command line $USER2$/check_lexio -k ~/etc/lexio-api-key -m maintenance (one rule per mode).

The CT_INSPECTION line of the maintenance check is the French roadworthiness test. To budget it across a fleet, Lexio publishes a free technical inspection price comparator (in French).

Documentation of the API: docs.lexio.rent. Source code, tests and changelog: GitHub. License GPL v2 or later.

Version 0.1.0
Latest version

Uploaded on: 13 Nov 2026

Downloads: 0

Built on Checkmk version: 2.3.0

Minimum Checkmk version required: 2.2.0

MKP MD5 hash: 98d9c48eb5b213c196e63728644e44d3