org.netxms.client.events
Class SyslogRecord
java.lang.Object
org.netxms.client.events.SyslogRecord
public class SyslogRecord
- extends java.lang.Object
Object representing single syslog record
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KERNEL
public static final int KERNEL
- See Also:
- Constant Field Values
USER
public static final int USER
- See Also:
- Constant Field Values
MAIL
public static final int MAIL
- See Also:
- Constant Field Values
SYSTEM
public static final int SYSTEM
- See Also:
- Constant Field Values
AUTH
public static final int AUTH
- See Also:
- Constant Field Values
SYSLOG
public static final int SYSLOG
- See Also:
- Constant Field Values
LPR
public static final int LPR
- See Also:
- Constant Field Values
NEWS
public static final int NEWS
- See Also:
- Constant Field Values
UUCP
public static final int UUCP
- See Also:
- Constant Field Values
CRON
public static final int CRON
- See Also:
- Constant Field Values
SECURITY
public static final int SECURITY
- See Also:
- Constant Field Values
FTPD
public static final int FTPD
- See Also:
- Constant Field Values
NTP
public static final int NTP
- See Also:
- Constant Field Values
LOG_AUDIT
public static final int LOG_AUDIT
- See Also:
- Constant Field Values
LOG_ALERT
public static final int LOG_ALERT
- See Also:
- Constant Field Values
CLOCKD
public static final int CLOCKD
- See Also:
- Constant Field Values
LOCAL0
public static final int LOCAL0
- See Also:
- Constant Field Values
LOCAL1
public static final int LOCAL1
- See Also:
- Constant Field Values
LOCAL2
public static final int LOCAL2
- See Also:
- Constant Field Values
LOCAL3
public static final int LOCAL3
- See Also:
- Constant Field Values
LOCAL4
public static final int LOCAL4
- See Also:
- Constant Field Values
LOCAL5
public static final int LOCAL5
- See Also:
- Constant Field Values
LOCAL6
public static final int LOCAL6
- See Also:
- Constant Field Values
LOCAL7
public static final int LOCAL7
- See Also:
- Constant Field Values
EMERGENCY
public static final int EMERGENCY
- See Also:
- Constant Field Values
ALERT
public static final int ALERT
- See Also:
- Constant Field Values
CRITCAL
public static final int CRITCAL
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
WARNING
public static final int WARNING
- See Also:
- Constant Field Values
NOTICE
public static final int NOTICE
- See Also:
- Constant Field Values
INFORMATIONAL
public static final int INFORMATIONAL
- See Also:
- Constant Field Values
DEBUG
public static final int DEBUG
- See Also:
- Constant Field Values
SyslogRecord
public SyslogRecord(NXCPMessage msg,
long baseId)
- Create syslog record object from NXCP message
- Parameters:
msg
- NXCP messagebaseId
- base variable ID
getId
public long getId()
- Returns:
- the id
getTimestamp
public java.util.Date getTimestamp()
- Returns:
- the timestamp
getFacility
public int getFacility()
- Returns:
- the facility
getSeverity
public int getSeverity()
- Returns:
- the severity
getSourceObjectId
public long getSourceObjectId()
- Returns:
- the sourceObjectId
getHostname
public java.lang.String getHostname()
- Returns:
- the hostname
getTag
public java.lang.String getTag()
- Returns:
- the tag
getMessage
public java.lang.String getMessage()
- Returns:
- the message
Copyright © 2013. All Rights Reserved.