public class JRobinDirectoryUtil extends Object
| Constructor and Description |
|---|
JRobinDirectoryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
escapeColons(String input)
Escape colons with backslashes so that they can be used in RRD commands.
|
String |
getIfInOctetsDataSource(String rrdDirectory,
String nodeId,
String iFace) |
String |
getIfInOctetsDataSource(String rrdDirectory,
String nodeId,
String foreignSource,
String foreignId,
String iFace) |
String |
getIfInOctetsJrb(String rrdDirectory,
String nodeId,
String iFace) |
String |
getIfInOctetsJrb(String rrdDirectory,
String nodeId,
String foreignSource,
String foreignId,
String iFace) |
String |
getIfOutOctetsDataSource(String rrdDirectory,
String nodeId,
String iFace) |
String |
getIfOutOctetsDataSource(String rrdDirectory,
String nodeId,
String foreignSource,
String foreignId,
String iFace) |
String |
getIfOutOctetsJrb(String rrdDirectory,
String nodeId,
String iFace) |
String |
getIfOutOctetsJrb(String rrdDirectory,
String nodeId,
String foreignSource,
String foreignId,
String iFace) |
String |
getInterfaceDirectory(String snmpifname,
String snmpifdescr,
String snmpphysaddr) |
String |
getNodeLevelResourceDirectory(String rrdDirectory,
String nodeId,
String foreignSource,
String foreignId) |
boolean |
isStoreByForeignSource() |
boolean |
isStoreByGroup() |
public boolean isStoreByGroup()
public boolean isStoreByForeignSource()
public String getNodeLevelResourceDirectory(String rrdDirectory, String nodeId, String foreignSource, String foreignId)
public String getIfInOctetsDataSource(String rrdDirectory, String nodeId, String iFace) throws IOException
IOExceptionpublic String getIfInOctetsDataSource(String rrdDirectory, String nodeId, String foreignSource, String foreignId, String iFace) throws IOException
IOExceptionpublic String getIfOutOctetsDataSource(String rrdDirectory, String nodeId, String iFace) throws IOException
IOExceptionpublic String getIfOutOctetsDataSource(String rrdDirectory, String nodeId, String foreignSource, String foreignId, String iFace) throws IOException
IOExceptionpublic String getIfInOctetsJrb(String rrdDirectory, String nodeId, String iFace) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic String getIfInOctetsJrb(String rrdDirectory, String nodeId, String foreignSource, String foreignId, String iFace) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic String getIfOutOctetsJrb(String rrdDirectory, String nodeId, String iFace) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic String getIfOutOctetsJrb(String rrdDirectory, String nodeId, String foreignSource, String foreignId, String iFace) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic static String escapeColons(String input)
Copyright © 2017. All rights reserved.