public class SyslogUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SYSLOG_MESSAGE_UEI
Event UEI that is expected to be generated by Syslog messages sent using the
sendMessage(InetSocketAddress, String, int) call. |
Constructor and Description |
---|
SyslogUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
sendMessage(InetSocketAddress syslogAddr,
String host,
int eventCount)
Use a
DatagramChannel to send a number of syslog messages to the Minion host. |
public static final String SYSLOG_MESSAGE_UEI
sendMessage(InetSocketAddress, String, int)
call.public static void sendMessage(InetSocketAddress syslogAddr, String host, int eventCount)
DatagramChannel
to send a number of syslog messages to the Minion host.host
- Hostname to inject into the syslog messageeventCount
- Number of messages to sendCopyright © 2022. All rights reserved.