Class NetworkElementFactory
- java.lang.Object
-
- org.opennms.web.element.NetworkElementFactory
-
- All Implemented Interfaces:
NetworkElementFactoryInterface,org.springframework.beans.factory.InitializingBean
@Transactional(readOnly=true) public class NetworkElementFactory extends Object implements org.springframework.beans.factory.InitializingBean, NetworkElementFactoryInterface
The source for all network element business objects (nodes, interfaces, services). Encapsulates all lookup functionality for the network element business objects in one place.- Author:
- Larry Karnowski , OpenNMS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkElementFactory.InterfaceComparator
-
Constructor Summary
Constructors Constructor Description NetworkElementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidafterPropertiesSet()Collection<OnmsOutage>currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)Return all current open outages for the given service be it detected from local or from perspective.Interface[]getActiveInterfacesOnNode(int nodeId)getActiveInterfacesOnNodeList<OnmsApplication>getAllApplications()Interface[]getAllInterfaces()getAllInterfacesInterface[]getAllInterfaces(boolean includeSnmp)Interface[]getAllInterfacesOnNode(int nodeId)getAllInterfacesOnNodeInterface[]getAllManagedIpInterfaces(boolean includeSNMP)getAllManagedIpInterfacesInterface[]getAllManagedIpInterfacesLike(String ipHost)Returns all managed interfaces that matches the ipHost String to either the ipHost or ipAddress field.List<OnmsNode>getAllNodes()Returns all non-deleted nodes.List<OnmsNode>getAllNodes(int serviceId)getAllNodesService[]getAllServices()getAllServicesInterface[]getAllSnmpInterfacesOnNode(int nodeId)Returns all SNMP interfaces on a nodeMap<OnmsMonitoredService,Map<String,Double>>getApplicationServiceStatus(OnmsApplication onmsApplication, long start, long end)ApplicationStatusgetApplicationStatus(OnmsApplication onmsApplication, long start, long end)List<String>getCategories()StringgetHostname(String ipAddress)Resolve an IP address to a DNS hostname via the database.IntegergetIfIndex(int ipinterfaceid)IntegergetIfIndex(int nodeID, String ipaddr)static NetworkElementFactoryInterfacegetInstance(javax.servlet.ServletContext servletContext)static NetworkElementFactoryInterfacegetInstance(org.springframework.context.ApplicationContext appContext)InterfacegetInterface(int ipInterfaceId)getInterfaceInterfacegetInterface(int nodeId, String ipAddress)getInterfaceInterfacegetInterface(int nodeId, String ipAddress, int ifIndex)getInterfaceInterface[]getInterfacesWithIfAlias(int nodeId, String ifAlias)Interface[]getInterfacesWithIpAddress(String ipAddress)getInterfacesWithIpAddressStringgetIpPrimaryAddress(int nodeId)Find the IP address of the primary SNMP interface.List<OnmsMonitoringLocation>getMonitoringLocations()List<OnmsMonitoringSystem>getMonitoringSystems()OnmsNodegetNode(int nodeId)Get a node based on it's node IDOnmsNodegetNode(String lookupCriteria)Get a node based on it's node ID or foreignSource:foreignIdList<Integer>getNodeIdsWithIpLike(String iplike)Returns all non-deleted nodes with an IP address like the rule given.StringgetNodeLabel(int nodeId)StringgetNodeLocation(int nodeId)Get the location name associated with the node.List<OnmsNode>getNodesFromPhysaddr(String physAddr)getNodesFromPhysaddrList<OnmsNode>getNodesLike(String nodeLabel)Returns all non-deleted nodes that have the given nodeLabel substring somewhere in their nodeLabel.List<OnmsNode>getNodesLike(String nodeLabel, int serviceId)getNodesLikeList<OnmsNode>getNodesLikeAndIpLike(String nodeLabel, String iplike, int serviceId)getNodesLikeAndIpLikeList<OnmsNode>getNodesWithCategories(String[] categories, boolean onlyNodesWithDownAggregateStatus)getNodesWithCategoriesList<OnmsNode>getNodesWithCategories(String[] categories1, String[] categories2, boolean onlyNodesWithDownAggregateStatus)getNodesWithCategoriesList<OnmsNode>getNodesWithIfAlias(String ifAlias)Returns all non-deleted nodes that contain the given string in an ifAliasList<OnmsNode>getNodesWithIpLike(String iplike)List<OnmsNode>getNodesWithIpLike(String iplike, int serviceId)getNodesWithIpLikeList<OnmsNode>getNodesWithPhysAddr(String macAddr)Returns all non-deleted nodes that have the given mac.List<OnmsNode>getNodesWithPhysAddrAtInterface(String macAddr)Deprecated.OnmsNode.arpInterface went away, so we only search snmpInterfacesList<OnmsNode>getNodesWithPhysAddrFromSnmpInterface(String macAddr)Deprecated.OnmsNode.arpInterface went away, so we only search snmpInterfacesList<OnmsNode>getNodesWithService(int serviceId)Returns all non-deleted nodes that have the given service.ScopegetScopeForInterface(Integer nodeId, String ipAddress)ScopegetScopeForNode(Integer nodeId)ScopegetScopeForService(Integer nodeId, InetAddress ipAddress, String serviceName)ServicegetService(int ifServiceId)Return the service specified by the node identifier, IP address, and service identifier.ServicegetService(int nodeId, String ipAddress, int serviceId)Return the service specified by the node identifier, IP address, and service identifier.intgetServiceIdFromName(String serviceName)getServiceIdFromNameMap<Integer,String>getServiceIdToNameMap()getServiceIdToNameMapStringgetServiceNameFromId(int serviceId)getServiceNameFromIdMap<String,Integer>getServiceNameToIdMap()getServiceNameToIdMapService[]getServicesOnInterface(int nodeId, String ipAddress)getServicesOnInterfaceService[]getServicesOnInterface(int nodeId, String ipAddress, boolean includeDeletions)getServicesOnInterfaceService[]getServicesOnNode(int nodeId)Get the list of all services on a given node.Service[]getServicesOnNode(int nodeId, int serviceId)Get the list of all instances of a specific service on a given node.InterfacegetSnmpInterface(int nodeId, int ifIndex)Get interface from snmpinterface table.booleannodeExistsInRequisition(String foreignSource, String foreignId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getInstance
public static NetworkElementFactoryInterface getInstance(javax.servlet.ServletContext servletContext)
-
getInstance
public static NetworkElementFactoryInterface getInstance(org.springframework.context.ApplicationContext appContext)
-
getNodeLabel
public String getNodeLabel(int nodeId)
- Specified by:
getNodeLabelin interfaceNetworkElementFactoryInterface
-
getNodeLocation
public String getNodeLocation(int nodeId)
Description copied from interface:NetworkElementFactoryInterfaceGet the location name associated with the node.- Specified by:
getNodeLocationin interfaceNetworkElementFactoryInterface- Parameters:
nodeId- the node's ID- Returns:
- the location as a string, or null if the node does not have a location
-
getIpPrimaryAddress
public String getIpPrimaryAddress(int nodeId)
Description copied from interface:NetworkElementFactoryInterfaceFind the IP address of the primary SNMP interface.- Specified by:
getIpPrimaryAddressin interfaceNetworkElementFactoryInterface- Parameters:
nodeId- an int.- Returns:
- An IPv4 or IPv6 address in string format or null if the node has no primary SNMP interface
-
getNode
public OnmsNode getNode(int nodeId)
Description copied from interface:NetworkElementFactoryInterfaceGet a node based on it's node ID- Specified by:
getNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- an int- Returns:
- a
OnmsNodeobject
-
getNode
public OnmsNode getNode(String lookupCriteria)
Description copied from interface:NetworkElementFactoryInterfaceGet a node based on it's node ID or foreignSource:foreignId- Specified by:
getNodein interfaceNetworkElementFactoryInterface- Parameters:
lookupCriteria- the criteria, either the node ID, or a colon-separated string of foreignSource:foreignId- Returns:
- a
OnmsNodeobject
-
getAllNodes
public List<OnmsNode> getAllNodes()
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes.- Specified by:
getAllNodesin interfaceNetworkElementFactoryInterface- Returns:
- an array of
OnmsNodeobjects.
-
getNodesLike
public List<OnmsNode> getNodesLike(String nodeLabel)
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes that have the given nodeLabel substring somewhere in their nodeLabel.- Specified by:
getNodesLikein interfaceNetworkElementFactoryInterface- Parameters:
nodeLabel- aStringobject.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesWithIpLike
public List<OnmsNode> getNodesWithIpLike(String iplike)
- Specified by:
getNodesWithIpLikein interfaceNetworkElementFactoryInterface
-
getNodesWithService
public List<OnmsNode> getNodesWithService(int serviceId)
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes that have the given service.- Specified by:
getNodesWithServicein interfaceNetworkElementFactoryInterface- Parameters:
serviceId- a int.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesWithPhysAddr
public List<OnmsNode> getNodesWithPhysAddr(String macAddr)
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes that have the given mac.- Specified by:
getNodesWithPhysAddrin interfaceNetworkElementFactoryInterface- Parameters:
macAddr- aStringobject.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesWithPhysAddrAtInterface
public List<OnmsNode> getNodesWithPhysAddrAtInterface(String macAddr)
Deprecated.OnmsNode.arpInterface went away, so we only search snmpInterfacesDescription copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes with a MAC address like the rule given from AtInterface.- Specified by:
getNodesWithPhysAddrAtInterfacein interfaceNetworkElementFactoryInterface- Parameters:
macAddr-- Returns:
- a list of @{OnmsNode}s
-
getNodesWithPhysAddrFromSnmpInterface
public List<OnmsNode> getNodesWithPhysAddrFromSnmpInterface(String macAddr)
Deprecated.OnmsNode.arpInterface went away, so we only search snmpInterfacesDescription copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes with a MAC address like the rule given from SnmpInterface.- Specified by:
getNodesWithPhysAddrFromSnmpInterfacein interfaceNetworkElementFactoryInterface- Parameters:
macAddr-- Returns:
- a list of @{OnmsNode}s
-
getNodesWithIfAlias
public List<OnmsNode> getNodesWithIfAlias(String ifAlias)
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes that contain the given string in an ifAlias- Specified by:
getNodesWithIfAliasin interfaceNetworkElementFactoryInterface- Parameters:
ifAlias- aStringobject.- Returns:
- nodes the nodes with a matching ifAlias on one or more interfaces
-
getHostname
public String getHostname(String ipAddress)
Description copied from interface:NetworkElementFactoryInterfaceResolve an IP address to a DNS hostname via the database. If no hostname can be found, the given IP address is returned.- Specified by:
getHostnamein interfaceNetworkElementFactoryInterface- Parameters:
ipAddress- aStringobject.- Returns:
- a
Stringobject.
-
getIfIndex
public Integer getIfIndex(int ipinterfaceid)
- Specified by:
getIfIndexin interfaceNetworkElementFactoryInterface
-
getIfIndex
public Integer getIfIndex(int nodeID, String ipaddr)
- Specified by:
getIfIndexin interfaceNetworkElementFactoryInterface
-
getInterface
public Interface getInterface(int ipInterfaceId)
Description copied from interface:NetworkElementFactoryInterfacegetInterface
- Specified by:
getInterfacein interfaceNetworkElementFactoryInterface- Parameters:
ipInterfaceId- a int.- Returns:
- a
Interfaceobject.
-
getInterface
public Interface getInterface(int nodeId, String ipAddress)
Description copied from interface:NetworkElementFactoryInterfacegetInterface
- Specified by:
getInterfacein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ipAddress- aStringobject.- Returns:
- a
Interfaceobject.
-
getInterface
public Interface getInterface(int nodeId, String ipAddress, int ifIndex)
Description copied from interface:NetworkElementFactoryInterfacegetInterface
- Specified by:
getInterfacein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ipAddress- aStringobject.- Returns:
- a
Interfaceobject.
-
getSnmpInterface
public Interface getSnmpInterface(int nodeId, int ifIndex)
Description copied from interface:NetworkElementFactoryInterfaceGet interface from snmpinterface table. Intended for use with non-ip interfaces.- Specified by:
getSnmpInterfacein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ifIndex- a int.- Returns:
- Interface
-
getInterfacesWithIpAddress
public Interface[] getInterfacesWithIpAddress(String ipAddress)
Description copied from interface:NetworkElementFactoryInterfacegetInterfacesWithIpAddress
- Specified by:
getInterfacesWithIpAddressin interfaceNetworkElementFactoryInterface- Parameters:
ipAddress- aStringobject.- Returns:
- an array of
Interfaceobjects.
-
getInterfacesWithIfAlias
public Interface[] getInterfacesWithIfAlias(int nodeId, String ifAlias)
- Specified by:
getInterfacesWithIfAliasin interfaceNetworkElementFactoryInterface
-
getAllInterfacesOnNode
public Interface[] getAllInterfacesOnNode(int nodeId)
Description copied from interface:NetworkElementFactoryInterfacegetAllInterfacesOnNode
- Specified by:
getAllInterfacesOnNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.- Returns:
- an array of
Interfaceobjects.
-
getAllSnmpInterfacesOnNode
public Interface[] getAllSnmpInterfacesOnNode(int nodeId)
Description copied from interface:NetworkElementFactoryInterfaceReturns all SNMP interfaces on a node- Specified by:
getAllSnmpInterfacesOnNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.- Returns:
- Interface[]
-
getActiveInterfacesOnNode
public Interface[] getActiveInterfacesOnNode(int nodeId)
Description copied from interface:NetworkElementFactoryInterfacegetActiveInterfacesOnNode
- Specified by:
getActiveInterfacesOnNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.- Returns:
- an array of
Interfaceobjects.
-
getAllInterfaces
public Interface[] getAllInterfaces()
Description copied from interface:NetworkElementFactoryInterfacegetAllInterfaces
- Specified by:
getAllInterfacesin interfaceNetworkElementFactoryInterface- Returns:
- an array of
Interfaceobjects.
-
getAllInterfaces
public Interface[] getAllInterfaces(boolean includeSnmp)
- Specified by:
getAllInterfacesin interfaceNetworkElementFactoryInterface
-
getAllManagedIpInterfaces
public Interface[] getAllManagedIpInterfaces(boolean includeSNMP)
Description copied from interface:NetworkElementFactoryInterfacegetAllManagedIpInterfaces
- Specified by:
getAllManagedIpInterfacesin interfaceNetworkElementFactoryInterface- Parameters:
includeSNMP- a boolean.- Returns:
- an array of
Interfaceobjects.
-
getAllManagedIpInterfacesLike
public Interface[] getAllManagedIpInterfacesLike(String ipHost)
Description copied from interface:NetworkElementFactoryInterfaceReturns all managed interfaces that matches the ipHost String to either the ipHost or ipAddress field.- Specified by:
getAllManagedIpInterfacesLikein interfaceNetworkElementFactoryInterface- Returns:
- an arrau of
Interfaceobjects
-
getService
public Service getService(int nodeId, String ipAddress, int serviceId)
Description copied from interface:NetworkElementFactoryInterfaceReturn the service specified by the node identifier, IP address, and service identifier.Note that if there are both an active service and historically deleted services with this (nodeid, ipAddress, serviceId) key, then the active service will be returned. If there are only deleted services, then the first deleted service will be returned.
- Specified by:
getServicein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ipAddress- aStringobject.serviceId- a int.- Returns:
- a
Serviceobject.
-
getService
public Service getService(int ifServiceId)
Description copied from interface:NetworkElementFactoryInterfaceReturn the service specified by the node identifier, IP address, and service identifier.Note that if there are both an active service and historically deleted services with this (nodeid, ipAddress, serviceId) key, then the active service will be returned. If there are only deleted services, then the first deleted service will be returned.
- Specified by:
getServicein interfaceNetworkElementFactoryInterface- Parameters:
ifServiceId- a int.- Returns:
- a
Serviceobject.
-
getAllServices
public Service[] getAllServices()
Description copied from interface:NetworkElementFactoryInterfacegetAllServices
- Specified by:
getAllServicesin interfaceNetworkElementFactoryInterface- Returns:
- an array of
Serviceobjects.
-
getServicesOnInterface
public Service[] getServicesOnInterface(int nodeId, String ipAddress)
Description copied from interface:NetworkElementFactoryInterfacegetServicesOnInterface
- Specified by:
getServicesOnInterfacein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ipAddress- aStringobject.- Returns:
- an array of
Serviceobjects.
-
getServicesOnInterface
public Service[] getServicesOnInterface(int nodeId, String ipAddress, boolean includeDeletions)
Description copied from interface:NetworkElementFactoryInterfacegetServicesOnInterface
- Specified by:
getServicesOnInterfacein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.ipAddress- aStringobject.includeDeletions- a boolean.- Returns:
- an array of
Serviceobjects.
-
getServicesOnNode
public Service[] getServicesOnNode(int nodeId)
Description copied from interface:NetworkElementFactoryInterfaceGet the list of all services on a given node.- Specified by:
getServicesOnNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.- Returns:
- an array of
Serviceobjects.
-
getServicesOnNode
public Service[] getServicesOnNode(int nodeId, int serviceId)
Description copied from interface:NetworkElementFactoryInterfaceGet the list of all instances of a specific service on a given node.- Specified by:
getServicesOnNodein interfaceNetworkElementFactoryInterface- Parameters:
nodeId- a int.serviceId- a int.- Returns:
- an array of
Serviceobjects.
-
getServiceNameFromId
public String getServiceNameFromId(int serviceId)
Description copied from interface:NetworkElementFactoryInterfacegetServiceNameFromId
- Specified by:
getServiceNameFromIdin interfaceNetworkElementFactoryInterface- Parameters:
serviceId- a int.- Returns:
- a
Stringobject.
-
getServiceIdFromName
public int getServiceIdFromName(String serviceName)
Description copied from interface:NetworkElementFactoryInterfacegetServiceIdFromName
- Specified by:
getServiceIdFromNamein interfaceNetworkElementFactoryInterface- Parameters:
serviceName- aStringobject.- Returns:
- a int.
-
getServiceIdToNameMap
public Map<Integer,String> getServiceIdToNameMap()
Description copied from interface:NetworkElementFactoryInterfacegetServiceIdToNameMap
- Specified by:
getServiceIdToNameMapin interfaceNetworkElementFactoryInterface- Returns:
- a java$util$Map object.
-
getServiceNameToIdMap
public Map<String,Integer> getServiceNameToIdMap()
Description copied from interface:NetworkElementFactoryInterfacegetServiceNameToIdMap
- Specified by:
getServiceNameToIdMapin interfaceNetworkElementFactoryInterface- Returns:
- a java$util$Map object.
-
getNodesLikeAndIpLike
public List<OnmsNode> getNodesLikeAndIpLike(String nodeLabel, String iplike, int serviceId)
Description copied from interface:NetworkElementFactoryInterfacegetNodesLikeAndIpLike
- Specified by:
getNodesLikeAndIpLikein interfaceNetworkElementFactoryInterface- Parameters:
nodeLabel- aStringobject.iplike- aStringobject.serviceId- a int.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesLike
public List<OnmsNode> getNodesLike(String nodeLabel, int serviceId)
Description copied from interface:NetworkElementFactoryInterfacegetNodesLike
- Specified by:
getNodesLikein interfaceNetworkElementFactoryInterface- Parameters:
nodeLabel- aStringobject.serviceId- a int.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesWithIpLike
public List<OnmsNode> getNodesWithIpLike(String iplike, int serviceId)
Description copied from interface:NetworkElementFactoryInterfacegetNodesWithIpLike
- Specified by:
getNodesWithIpLikein interfaceNetworkElementFactoryInterface- Parameters:
iplike- aStringobject.serviceId- a int.- Returns:
- an array of
OnmsNodeobjects.
-
getAllNodes
public List<OnmsNode> getAllNodes(int serviceId)
Description copied from interface:NetworkElementFactoryInterfacegetAllNodes
- Specified by:
getAllNodesin interfaceNetworkElementFactoryInterface- Parameters:
serviceId- a int.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesFromPhysaddr
public List<OnmsNode> getNodesFromPhysaddr(String physAddr)
Description copied from interface:NetworkElementFactoryInterfacegetNodesFromPhysaddr
- Specified by:
getNodesFromPhysaddrin interfaceNetworkElementFactoryInterface- Parameters:
physAddr- aStringobject.- Returns:
- an array of
OnmsNodeobjects.
-
getNodeIdsWithIpLike
public List<Integer> getNodeIdsWithIpLike(String iplike)
Description copied from interface:NetworkElementFactoryInterfaceReturns all non-deleted nodes with an IP address like the rule given.- Specified by:
getNodeIdsWithIpLikein interfaceNetworkElementFactoryInterface- Parameters:
iplike- aStringobject.- Returns:
- a
Listobject.
-
getNodesWithCategories
public List<OnmsNode> getNodesWithCategories(String[] categories, boolean onlyNodesWithDownAggregateStatus)
Description copied from interface:NetworkElementFactoryInterfacegetNodesWithCategories
- Specified by:
getNodesWithCategoriesin interfaceNetworkElementFactoryInterfaceonlyNodesWithDownAggregateStatus- a boolean.- Returns:
- an array of
OnmsNodeobjects.
-
getNodesWithCategories
public List<OnmsNode> getNodesWithCategories(String[] categories1, String[] categories2, boolean onlyNodesWithDownAggregateStatus)
Description copied from interface:NetworkElementFactoryInterfacegetNodesWithCategories
- Specified by:
getNodesWithCategoriesin interfaceNetworkElementFactoryInterface- Parameters:
categories1- an array ofStringobjects.categories2- an array ofStringobjects.onlyNodesWithDownAggregateStatus- a boolean.- Returns:
- an array of
OnmsNodeobjects.
-
getMonitoringLocations
public List<OnmsMonitoringLocation> getMonitoringLocations()
- Specified by:
getMonitoringLocationsin interfaceNetworkElementFactoryInterface
-
getMonitoringSystems
public List<OnmsMonitoringSystem> getMonitoringSystems()
- Specified by:
getMonitoringSystemsin interfaceNetworkElementFactoryInterface
-
nodeExistsInRequisition
public boolean nodeExistsInRequisition(String foreignSource, String foreignId)
- Specified by:
nodeExistsInRequisitionin interfaceNetworkElementFactoryInterface
-
getCategories
public List<String> getCategories()
- Specified by:
getCategoriesin interfaceNetworkElementFactoryInterface
-
currentOutagesForServiceFromPerspectivePoller
public Collection<OnmsOutage> currentOutagesForServiceFromPerspectivePoller(OnmsMonitoredService service)
Description copied from interface:NetworkElementFactoryInterfaceReturn all current open outages for the given service be it detected from local or from perspective.- Specified by:
currentOutagesForServiceFromPerspectivePollerin interfaceNetworkElementFactoryInterface
-
getAllApplications
public List<OnmsApplication> getAllApplications()
- Specified by:
getAllApplicationsin interfaceNetworkElementFactoryInterface
-
getApplicationStatus
public ApplicationStatus getApplicationStatus(OnmsApplication onmsApplication, long start, long end)
- Specified by:
getApplicationStatusin interfaceNetworkElementFactoryInterface
-
getApplicationServiceStatus
public Map<OnmsMonitoredService,Map<String,Double>> getApplicationServiceStatus(OnmsApplication onmsApplication, long start, long end)
- Specified by:
getApplicationServiceStatusin interfaceNetworkElementFactoryInterface
-
getScopeForNode
public Scope getScopeForNode(Integer nodeId)
- Specified by:
getScopeForNodein interfaceNetworkElementFactoryInterface
-
getScopeForInterface
public Scope getScopeForInterface(Integer nodeId, String ipAddress)
- Specified by:
getScopeForInterfacein interfaceNetworkElementFactoryInterface
-
getScopeForService
public Scope getScopeForService(Integer nodeId, InetAddress ipAddress, String serviceName)
- Specified by:
getScopeForServicein interfaceNetworkElementFactoryInterface
-
-