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
NagiosSettings
nagiosSettings
- the NagiosSettings
to use to send the Passive Checkpublic void send(MessagePayload payload) throws NagiosException, IOException
PassiveCheckSender
send
in interface PassiveCheckSender
payload
- 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–2018 JSend NSCA. All rights reserved.