NAME
Nagios::NRPE::Utils - Common helper functions for Nagios::NRPE
DESCRIPTION
This file contains common helper functions for the submodules Nagios::NRPE::Client, Nagios::NRPE::Packet and Nagios::NRPE::Daemon.
COPYRIGHT AND LICENSE
This software is copyright (c) 2013-2018 by the authors (see AUTHORS file). This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
METHODS
- return_error
-
Create a hash with the specified error message using this format
{ error => 1, reason => "some reason" }