public abstract class ConfigFileConstants extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTIOND_CONFIG_FILE_NAME
The opennms actiond config file
|
static int |
ADMIN_PITXML_FILE_NAME
The administrator pitXML file for the Swing GUI
|
static int |
AMI_CONFIG_FILE_NAME
The AMI agent configuration file
|
static int |
ASTERISK_CONFIG_FILE_NAME
The Asterisk global configuration file (for notifications, etc.)
|
static int |
BASE_CONFIGURATION_FILE_NAME
a store for general information needed to configure
|
static int |
CAPSD_CONFIG_FILE_NAME
The opennms capsd config file
|
static int |
CATEGORIES_CONF_FILE_NAME
The categories config file
|
static int |
CHART_CONFIG_FILE_NAME
JFree Chart configuration file
|
static int |
COLLECTD_CONFIG_FILE_NAME
The opennms collectd config file
|
static int |
DATA_COLLECTION_CONF_FILE_NAME
the SNMP data collection conf file
|
static int |
DB_CONFIG_FILE_NAME
The opennms database config file
|
static int |
DESTINATION_PATHS_CONF_FILE_NAME
the destination paths for notifications
|
static int |
DISCOVERY_CONFIG_FILE_NAME
The opennms discovery config file
|
static int |
ENLINKD_CONFIG_FILE_NAME
The ENHANCED Linkd discovery configuration file
|
static int |
EVENT_CONF_FILE_NAME
the event conf file
|
static int |
EVENT_REPORT
The Events reporting xsl file
|
static int |
EVENT_REPORT_DTD
This is the name of the path of the event report dtd
|
static int |
EVENTD_CONFIG_FILE_NAME
The opennms eventd config file
|
static int |
EXCLUDE_UEI_FILE_NAME
The properties file that contains a list of event uies to exclude from
the notification wizard
|
static int |
GROUPS_CONF_FILE_NAME
The user groups config file
|
static int |
HTTP_COLLECTION_CONFIG_FILE_NAME
Constant
HTTP_COLLECTION_CONFIG_FILE_NAME |
static int |
JAVA_MAIL_CONFIG_FILE_NAME
The config file specifying the JavaMailer config (ie SMTP HOST)
|
static int |
JDBC_COLLECTION_CONFIG_FILE_NAME
The config file for the JDBC Data Collector.
|
static int |
JMS_CONFIG_FILE_NAME
The opennms jms config file
|
static int |
JMX_DATA_COLLECTION_CONF_FILE_NAME
The config file for specifying JMX MBeans
|
static int |
KSC_REPORT_FILE_NAME
This is the name of the path of the webui colors dtd
|
static int |
MANAGER_CONFIG_FILE_NAME
The opennms manager config file
|
static int |
MAPS_ADAPTER_CONFIG_FILE_NAME
The config file for maps Adapter
|
static int |
MICROBLOG_CONFIG_FILE_NAME
The config file for microblog notifications and acks
|
static int |
NOTIF_COMMANDS_CONF_FILE_NAME
the notification commands file
|
static int |
NOTIFD_CONFIG_FILE_NAME
The opennms notifd config file
|
static int |
NOTIFICATIONS_CONF_FILE_NAME
the notifications conf file
|
static int |
NOTIFY_REPORT
The Outages reporting xsl file
|
static int |
NOTIFY_REPORT_DTD
This is the name of the path of the notification report dtd
|
static int |
NSCLIENT_COLLECTION_CONFIG_FILE_NAME
The NSClient data collection configuration file
|
static int |
NSCLIENT_CONFIG_FILE_NAME
The NSClient data collection configuration file
|
static int |
OPENNMS_DATASOURCE_CONFIG_FILE_NAME
The OpenNMS DataSourceConfiguration file
|
static int |
OUTAGE_MANAGER_CONFIG_FILE_NAME
The opennms outage manager config file
|
static int |
OUTAGE_REPORT
The Outages reporting xsl file
|
static int |
OUTAGE_REPORT_DTD
This is the name of the path of the event report dtd
|
static int |
POLL_OUTAGES_CONFIG_FILE_NAME
The opennms poll outages config file
|
static int |
POLLER_CONFIG_FILE_NAME
The opennms poller config file
|
static int |
RANCID_CONFIG_FILE_NAME
The Rancid Provisioning Adapter configuration file
|
static int |
REPORT_HTML_XSL
The Availability Reports HTML converter xsl file.
|
static int |
REPORT_PDF_XSL
The reporting pdf xsl file
|
static int |
REPORT_SVG_XSL
The reporting svg xsl file
|
static int |
RRD_CONFIG_FILE_NAME
The config file specifying the rrd config (ie JRobin vs JNI)
|
static int |
RRD_DS_MAX_SIZE
Constant
RRD_DS_MAX_SIZE=19 |
static int |
RTC_CONFIG_FILE_NAME
The opennms rtc config file
|
static int |
RWS_CONFIG_FILE_NAME
The RWS (RestFul Web Service) configuration file
used to access Rancid
|
static int |
SCRIPTD_CONFIG_FILE_NAME
The opennms scriptd config file
|
static int |
SERVICE_CONF_FILE_NAME
The services config file
|
static int |
SITE_STATUS_VIEWS_FILE_NAME
The opennms surveillance views config file
|
static int |
SNMP_ASSET_ADAPTER_CONFIG_FILE_NAME
The SNMP Asset Provisioning Adapter configuration file
|
static int |
SNMP_CONF_FILE_NAME
The SNMP config file
|
static int |
SNMP_INTERFACE_POLLER_CONFIG_FILE_NAME
The opennms SNMP poller config file
|
static int |
SURVEILLANCE_VIEWS_FILE_NAME
The opennms surveillance views config file
|
static int |
SYSLOGD_CONFIG_FILE_NAME
The config file for syslogd
|
static int |
SYSLOGD_GROK_PATTERNS_FILE_NAME
The grok pattern file for Syslogd's
RadixTreeSyslogParser |
static int |
THRESHD_CONFIG_FILE_NAME
The opennms threshd config file
|
static int |
THRESHOLDING_CONF_FILE_NAME
the thresholding config file
|
static int |
TRANSLATOR_CONFIG_FILE_NAME
JFree Chart configuration file
|
static int |
TRAPD_CONFIG_FILE_NAME
The opennms trapd config file
|
static int |
USERS_CONF_FILE_NAME
The users config file
|
static int |
VACUUMD_CONFIG_FILE_NAME
The vacuumd config file
|
static int |
VIEWS_DISPLAY_CONF_FILE_NAME
The views display config file
|
static int |
VULNSCAND_CONFIG_FILE_NAME
The opennms vulnscand config file
|
static int |
WEBUI_COLORS_FILE_NAME
This is the name of the path of the webui colors dtd
|
static int |
WMI_COLLECTION_CONFIG_FILE_NAME
The WMI collection configuration file
|
static int |
WMI_CONFIG_FILE_NAME
The WMI agent configuration file
|
static int |
WSMAN_ASSET_ADAPTER_CONFIG_FILE_NAME
The SNMP Asset Provisioning Adapter configuration file
|
static int |
XMP_COLLECTION_CONFIG_FILE_NAME
The XMP data collection configuration file
|
static int |
XMP_CONFIG_FILE_NAME
The XMP agent configuration file
|
static int |
XMPP_CONFIG_FILE_NAME
The config file specifying the XMPP config (host, user, password, etc.)
|
Constructor and Description |
---|
ConfigFileConstants() |
Modifier and Type | Method and Description |
---|---|
static File |
getConfigFileByName(String fname)
Returns the java
File information for the file
identified by the passed base file name. |
static File |
getFile(int id)
Returns the java
File information for the file
identified by the passed integer identifier. |
static String |
getFileName(int id)
Returns the base name of the identified file as defined by the passed
integer value.
|
static String |
getFilePathString()
Method to return the string for path of the etc directory.
|
static String |
getHome()
getHome
|
static String |
getIncludeFileString()
Method to return the string for the managed address include files for
discovery, capsd and polling.
|
static String |
getTimezoneFileDir()
getTimezoneFileDir
|
public static final int DB_CONFIG_FILE_NAME
public static final int JMS_CONFIG_FILE_NAME
public static final int ACTIOND_CONFIG_FILE_NAME
public static final int CAPSD_CONFIG_FILE_NAME
public static final int DISCOVERY_CONFIG_FILE_NAME
public static final int EVENTD_CONFIG_FILE_NAME
public static final int REPORT_HTML_XSL
public static final int NOTIFD_CONFIG_FILE_NAME
public static final int OUTAGE_MANAGER_CONFIG_FILE_NAME
public static final int POLLER_CONFIG_FILE_NAME
public static final int POLL_OUTAGES_CONFIG_FILE_NAME
public static final int SNMP_INTERFACE_POLLER_CONFIG_FILE_NAME
public static final int RTC_CONFIG_FILE_NAME
public static final int TRAPD_CONFIG_FILE_NAME
public static final int MANAGER_CONFIG_FILE_NAME
public static final int SERVICE_CONF_FILE_NAME
public static final int COLLECTD_CONFIG_FILE_NAME
public static final int THRESHD_CONFIG_FILE_NAME
public static final int VULNSCAND_CONFIG_FILE_NAME
public static final int SCRIPTD_CONFIG_FILE_NAME
public static final int VACUUMD_CONFIG_FILE_NAME
public static final int RRD_CONFIG_FILE_NAME
public static final int JAVA_MAIL_CONFIG_FILE_NAME
public static final int XMPP_CONFIG_FILE_NAME
public static final int CHART_CONFIG_FILE_NAME
public static final int TRANSLATOR_CONFIG_FILE_NAME
public static final int JMX_DATA_COLLECTION_CONF_FILE_NAME
public static final int SYSLOGD_CONFIG_FILE_NAME
public static final int SYSLOGD_GROK_PATTERNS_FILE_NAME
RadixTreeSyslogParser
public static final int ADMIN_PITXML_FILE_NAME
public static final int EXCLUDE_UEI_FILE_NAME
public static final int USERS_CONF_FILE_NAME
public static final int CATEGORIES_CONF_FILE_NAME
public static final int GROUPS_CONF_FILE_NAME
public static final int VIEWS_DISPLAY_CONF_FILE_NAME
public static final int NOTIFICATIONS_CONF_FILE_NAME
public static final int NOTIF_COMMANDS_CONF_FILE_NAME
public static final int DESTINATION_PATHS_CONF_FILE_NAME
public static final int SNMP_CONF_FILE_NAME
public static final int EVENT_CONF_FILE_NAME
public static final int DATA_COLLECTION_CONF_FILE_NAME
public static final int BASE_CONFIGURATION_FILE_NAME
public static final int THRESHOLDING_CONF_FILE_NAME
public static final int WEBUI_COLORS_FILE_NAME
public static final int KSC_REPORT_FILE_NAME
public static final int SURVEILLANCE_VIEWS_FILE_NAME
public static final int SITE_STATUS_VIEWS_FILE_NAME
public static final int HTTP_COLLECTION_CONFIG_FILE_NAME
HTTP_COLLECTION_CONFIG_FILE_NAME
public static final int MAPS_ADAPTER_CONFIG_FILE_NAME
public static final int REPORT_PDF_XSL
public static final int REPORT_SVG_XSL
public static final int EVENT_REPORT
public static final int OUTAGE_REPORT
public static final int NOTIFY_REPORT
public static final int ENLINKD_CONFIG_FILE_NAME
public static final int OPENNMS_DATASOURCE_CONFIG_FILE_NAME
public static final int EVENT_REPORT_DTD
public static final int OUTAGE_REPORT_DTD
public static final int NOTIFY_REPORT_DTD
public static final int NSCLIENT_COLLECTION_CONFIG_FILE_NAME
public static final int NSCLIENT_CONFIG_FILE_NAME
public static final int WMI_CONFIG_FILE_NAME
public static final int XMP_COLLECTION_CONFIG_FILE_NAME
public static final int XMP_CONFIG_FILE_NAME
public static final int RWS_CONFIG_FILE_NAME
public static final int RANCID_CONFIG_FILE_NAME
public static final int SNMP_ASSET_ADAPTER_CONFIG_FILE_NAME
public static final int WSMAN_ASSET_ADAPTER_CONFIG_FILE_NAME
public static final int WMI_COLLECTION_CONFIG_FILE_NAME
public static final int ASTERISK_CONFIG_FILE_NAME
public static final int AMI_CONFIG_FILE_NAME
public static final int MICROBLOG_CONFIG_FILE_NAME
public static final int JDBC_COLLECTION_CONFIG_FILE_NAME
public static final int RRD_DS_MAX_SIZE
RRD_DS_MAX_SIZE=19
public static String getFileName(int id)
getFile()
to returned the File
object. The java File object can be queried to get more detailed
information on the file.id
- The identifier of the desired file.public static File getFile(int id) throws IOException
Returns the java File
information for the file
identified by the passed integer identifier. If the file cannot be
located by the search algorithm then an excption is generated.
The file is looked for in the etc directory of the OpenNMS
home location identified by the System property opennms.home.
If the file is not found in the etc directory then an attempt
is made to find it in the root OpenNMS directory. If it still cannot be
found then a FileNotFoundException
is generated by the method.
id
- The identifer for the configuration file.FileNotFoundException
- Thrown if the file cannot be located.IOException
- Thrown if an error occurs accessing the file system.public static File getConfigFileByName(String fname) throws IOException
Returns the java File
information for the file
identified by the passed base file name. If the file cannot be located by
the search algorithm then an excption is generated.
The file is looked for in the etc directory of the OpenNMS
home location identified by the System property opennms.home.
If the file is not found in the etc directory then an attempt
is made to find it in the root OpenNMS directory. If it still cannot be
found then a FileNotFoundException
is generated by the method.
fname
- The base file name of the configuration file.FileNotFoundException
- Thrown if the file cannot be located.IOException
- Thrown if an error occurs accessing the file system.public static String getIncludeFileString()
public static String getFilePathString()
Copyright © 2021. All rights reserved.