public class NagiosPassiveCheckSender extends Object implements PassiveCheckSender
| Constructor and Description |
|---|
NagiosPassiveCheckSender(NagiosSettings nagiosSettings)
Construct a new
NagiosPassiveCheckSender with the provided
NagiosSettings |
public NagiosPassiveCheckSender(NagiosSettings nagiosSettings)
NagiosPassiveCheckSender with the provided
NagiosSettingsnagiosSettings - the NagiosSettings to use to send the Passive Checkpublic void send(MessagePayload payload) throws NagiosException, IOException
PassiveCheckSendersend in interface PassiveCheckSenderpayload - the Passive Check message payloadNagiosException - thrown if an error occurs while sending the passive checkIOException - thrown if I/O error occurs while trying to establish
connection with nagios hostCopyright © Nov 2008–2021 JSend NSCA. All rights reserved.