public interface EventUtil
Modifier and Type | Method and Description |
---|---|
Date |
decodeSnmpV2TcDateAndTime(BigInteger octetStringValue) |
void |
expandMapValues(Map<String,String> parmMap,
Event event) |
String |
expandParms(String string,
Event event) |
String |
expandParms(String inp,
Event event,
Map<String,Map<String,String>> decode) |
String |
getAssetFieldValue(String parm,
long nodeId)
Helper method.
|
String |
getEventHost(Event event) |
String |
getForeignId(long nodeId)
Retrieve foreign id from the node table of the database given a particular nodeId.
|
String |
getForeignSource(long nodeId)
Retrieve foreign source from the node table of the database given a particular
nodeId.
|
String |
getHardwareFieldValue(String parm,
long nodeId) |
String |
getHostName(int nodeId,
String hostip) |
String |
getIfAlias(long nodeId,
String ipAddr)
Retrieve ifAlias from the snmpinterface table of the database given a particular
nodeId and ipAddr.
|
String |
getNamedParmValue(String string,
Event event) |
String |
getNodeLabel(long nodeId)
Retrieve nodeLabel from the node table of the database given a particular
nodeId.
|
String |
getNodeLocation(long nodeId)
Retrieve nodeLocation from the node table of the database given a particular
nodeId.
|
String |
getPrimaryInterface(long nodeId) |
ExpandableParameterResolver |
getResolver(String token) |
String getHostName(int nodeId, String hostip) throws SQLException
SQLException
String getIfAlias(long nodeId, String ipAddr) throws SQLException
nodeId
- Node identifieripAddr
- Interface IP addressSQLException
- if database error encounteredString getAssetFieldValue(String parm, long nodeId)
parm
- nodeId
- String getForeignId(long nodeId) throws SQLException
nodeId
- Node identifierSQLException
- if database error encounteredString getForeignSource(long nodeId) throws SQLException
nodeId
- Node identifierSQLException
- if database error encounteredString getNodeLabel(long nodeId) throws SQLException
nodeId
- Node identifierSQLException
- if database error encounteredString getNodeLocation(long nodeId) throws SQLException
nodeId
- Node identifierSQLException
- if database error encounteredExpandableParameterResolver getResolver(String token)
Date decodeSnmpV2TcDateAndTime(BigInteger octetStringValue)
String getPrimaryInterface(long nodeId) throws SQLException
SQLException
Copyright © 2021. All rights reserved.