konnectit / laravel-nagios-nrdp
Sending statuses to a Nagios server using the NRDP protocol
Fund package maintenance!
Patreon
Requires
- php: ^8.0
Requires (Dev)
- orchestra/testbench: ^4.2
- phpunit/phpunit: ^8.2
- symfony/var-dumper: ^4.3
This package is auto-updated.
Last update: 2024-11-12 04:47:27 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.