konnectit/laravel-nagios-nrdp

Sending statuses to a Nagios server using the NRDP protocol

2.0 2021-09-11 21:48 UTC

This package is auto-updated.

Last update: 2024-04-12 03:37:38 UTC


README

This package is sending messages to your Nagios Server via NRDP. This means that you also have to install the NRDP server service to your Nagios Monitoring Server. The package for the server service can be found here:

https://github.com/NagiosEnterprises/nrdp

Installation

You can install the package via composer:

composer require konnectit/laravel-nagios-nrdp

Usage

Host check

use KonnectIT\LaravelNagiosNrdp\HostStates;

\NagiosNrdp::state(HostStates::HOST_OK)->send('OK');

Service check

use KonnectIT\LaravelNagiosNrdp\ServiceStates;

\NagiosNrdp::service('PHP extensions')->state(ServiceStates::SERVICE_OK)->send('All services OK');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email e.heij@konnectit.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.