check_lockerd - Under Nagios, check the lockerd daemon on the specified host.
check_lockerd --host hostname -p port
Check_lockerd is a nagios plugin for the IPC::Locker daemon.
Add to Nagios's checkcommands.cfg:
define command{ command_name check_lockerd command_line $USER1$/check_lockerd -H $HOSTADDRESS$ }
A quicker, but less accurate check is possible using the default Nagios check_tcp plugin as follows:
define command{ command_name check_lockerd command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 1751 }
Displays this message and program version and exits.
Specifies host name to check for a process.
Specifies the port number to contact the "lockerd" on. (default 1752)
The latest version is available from CPAN and from https://www.veripool.org/ipc-locker.
Copyright 2006-2022 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0.
Wilson Snyder <wsnyder@wsnyder.org>
IPC::Locker, IPC::Locker, lockerd, nagios
To install IPC::Locker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IPC::Locker
CPAN shell
perl -MCPAN -e shell install IPC::Locker
For more information on module installation, please visit the detailed CPAN module installation guide.