|
This is a list of all plugins with notes on how the resource names should be changed if at all.
Aliases pluginNo change needed. AntBundlePluginAnt Bundle Handler Server (singleton)No changes needed. "Ant Bundle Handler"
Apache pluginApache HTTP ServerCurrently, the resource name looks like this: hostname + " Apache " + version + " (" + httpdConfPath + ")" Proposal: In the end the hostname:port was chosen because it a) resembles the way the resource used to be called and b) is probably quite common. Apache Virtual HostCurrent format: "Virtual Host " + address.host + ":" + address.port Proposed: address.host + ":" + address.port
DirectoryCurrent format: directoryPath No change needed. Augeas pluginThis is an abstract plugin, no changes needed. Byteman pluginNo change needed, details below. Byteman AgentCurrent format: "Byteman"
Byteman ScriptCurrent format: shortScriptName Byteman RuleCurrent format: ruleName Cobbler pluginNo change needed. CobblerCurrent format: resourceType.getName() Cron pluginNo change needed. Cron (singleton)Current format: resourceType.getName() Proposed new name: Cron TabCurrent format: crontabFile.getAbsolutePath() Database pluginAbstract plugin, no change needed. FileTemplateBundlePluginFile Template Bundle Handler Server (singleton)No changes needed. "File Template Bundle Handler"
GRUB pluginGRUB (singleton)Current format: "GRUB Boot Loader"
Proposed new name: "GRUB"
Hardware pluginNo change needed. Hardware MonitorCurrent format: "IBM Hardware"
Smart DiskCurrent format: deviceName Hibernate pluginI can't see a way of changing this. Ideally I'd think we'd want the stats and entities under an "application" they belong to, not beside it, but that is non-trivial and would have to be thought through. Hibernate StatisticsCurrent format: queryUtility.formatMessage("{application} Hibernate Statistics")
Hibernate EntityCurrent format: entityName Hosts pluginNo changes needed. Hosts FileCurrent format: resourceType.getName() Hudson pluginNo changes needed. Hudson ServerSupports only manual discovery. Hudson ProjectUses project name as the resource name. IIS pluginIISCurrent format: discoveryContext.getSystemInformation().getHostname() + " IIS Server"
Proposed: "IIS"
VHostCurrent format: siteName + " VHost"
Proposed: siteName IRC pluginThis plugin is outdated. Doesn't use ManualAddFacet even though it should. The resource types defined in this plugin only use manual discovery, so no changes with regards to resource renaming are needed. JBoss AS pluginJBossAS ServerCurrent format: hostname + " RHQ Server "? + productType.NAME + " " + version + " " + configName + ("(" + bindingAddressAndPort + ")")? Proposed: The "bindingAddressAndPort" was implemented because of the technical difficulties with the deployment name detection. Embedded Tomcat Server (singleton)Current format: hostname + " Embedded " + serverName + " Server " + version + " " + bindAddress Proposed: bindAddress ConnectorCurrent format: Tomcat Connector ({port})
Proposed: Port {port}
(this is defined as a name template in the plugin configuration) VHostNo changes needed. Current format: name taken from JMX object name JBoss AS JVM (singleton)No changes needed. resourceType.getName() DatasourceCurrent format: {name} DataSource
Proposed: {name}
ConnectionFactoryCurrent format: {name} Connection Factory
Proposed: {name}
JBossMQ (singleton)Singleton called "JBossMQ". No changes needed. JMQ JMS QueueCurrent format: {name} JMS Queue
Proposed: {name}
JMQ JMS TopicCurrent format: {name} JMS Topic
Proposed: {name}
JBossMessaging (singleton)Singleton called "JBoss Messaging". No changes needed. JBM JMS QueueCurrent format: {name} JMS Queue
Proposed: {name}
JBM JMS TopicCurrent format: {name} JMS Topic
Proposed: {name}
EJB3 Session BeanNo changes needed. Current format: {name}
Stateless Session EJBNo changes needed. {name}
Stateful Session EJBNo changes needed. {name}
Entity EJBNo changes needed. {name}
Message Driven EJBNo changes needed. {name}
Enterprise Application (EAR)No changes needed. {name}
Embedded Web Application (WAR)No changes needed. {name}
Web Application (WAR)No changes needed. {name}
EJB3 Entity Tree CacheNo change needed. "EJB3 Entity Tree Cache"
EJB3 Entity Tree Cache InterceptorNo change needed. "EJB3 Entity Tree Cache Interceptor"
ScriptNo change needed. file.getName() JBoss AS 5 PluginJBossAS ServerCurrent format: hostname + " RHQ Server "? + productType.NAME + " " + version + " " + configName + ("(" + bindingAddressAndPort + ")")? Proposed: The "bindingAddressAndPort" was implemented because of the technical difficulties with the deployment name detection. JBoss AS JVM (singleton)No changes needed. resourceType.getName() JBoss Web (singleton)No changes needed. resourceType.getName() ConnectorNo changes needed. protocol + "://" + address + ":" + port
Virtual HostNo changes needed. No Tx DatasourceNo changes needed. managedComponent.getProperty("jndi-name").getValue()
Local Tx DatasourceNo changes needed. managedComponent.getProperty("jndi-name").getValue()
XA Tx DatasourceNo changes needed. managedComponent.getProperty("jndi-name").getValue()
No Tx ConnectionFactoryNo changes needed. managedComponent.getProperty("jndi-name").getValue()
Tx ConnectionFactoryNo changes needed. managedComponent.getProperty("jndi-name").getValue()
QueueNo changes needed. managedComponent.getProperty("name").getValue()
TopicNo changes needed. managedComponent.getProperty("name").getValue()
Enterprise Application (EAR)No changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() Web Application (WAR)No changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() Web Application ContextNo changes needed. "//" + virtualHost + contextPath
Embedded Web Application (WAR)No changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() Embedded Web Application ContextNo changes needed. "//" + virtualHost + contextPath
EJB2 JARNo changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() EJB2 Stateless Session BeanNo changes needed. EJB2 Stateful Session BeanNo changes needed. EJB2 Message-Driven BeanNo changes needed. EJB2 Entity BeanNo changes needed. Embedded EJB2 JARNo changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() EJB2 Stateless Session Bean (Embedded)No changes needed. EJB2 Stateful Session Bean (Embedded)No changes needed. EJB2 Message-Driven Bean (Embedded)No changes needed. EJB2 Entity BeanNo changes needed. EJB3 JARNo changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() EJB3 Stateless Session BeanNo changes needed. managedComponent.getProperty("name").getValue()
EJB3 Stateful Session BeanNo changes needed. managedComponent.getProperty("name").getValue()
EJB3 Message-Driven BeanNo changes needed. managedComponent.getProperty("name").getValue()
Embedded EJB3 JARNo changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() EJB3 Stateless Session Bean (Embedded)No changes needed. managedComponent.getProperty("name").getValue()
EJB3 Stateful Session Bean (Embedded)No changes needed. managedComponent.getProperty("name").getValue()
EJB3 Message-Driven Bean (Embedded)No changes needed. managedComponent.getProperty("name").getValue()
Resource Adapter Archive (RAR)No changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() Embedded Resource Adapter Archive (RAR)No changes needed. managedComponent.getSimpleName() or (pseudo-code) managedComponent.getDeploymentName().getSubstringAfterLastSlash() ScriptNo change needed. file.getName() Service Binding Manager (singleton)No change needed. "Service Binding Manager"
Service Binding SetNo change needed. managedComponent.getProperty("name").getValue()
JBossCacheJBossCacheSubsystem (singleton)No change needed. "JBoss Cache subsystem"
JBossCacheNo change needed. JGroupsRepoNo change needed. "JGroups repo"
JBossCache3JBoss CacheNo changes needed. Cache (singleton)No change needed. resourceType.getName() Interceptor (singleton)No change needed. resourceType.getName() Data Container (singleton)No change needed. resourceType.getName() RPC Manager (singleton)No change needed. resourceType.getName() RegionManager (singleton)No change needed. resourceType.getName() Transaction Table (singleton)No change needed. resourceType.getName() Tx Interceptor (singleton)No change needed. resourceType.getName() Lock Manager (singleton)No change needed. resourceType.getName() JBossOSGiJBossOSGiNo change needed. OSGiBundleNo change needed. JDBCTraceJDBC TracerNo change needed. "JDBC Tracer"
JiraJira ServerCurrent format: "Jira " + url
Proposed: url Jira ProjectNo change needed. project.getName() JMXThis plugin provides generic support for JMX for other plugins perusal but it also provides its own autodiscovery mechanism for discovering JVMs with the platform MBean server enabled for remote connections. JMX ServerNo changes needed. ("JMX Server" | jvmMainClassIfShorterThan200Chars) + "(" + port + ")" Operating System (singleton)No changes needed. "Operating system information"
Threading (singleton)No changes needed. "Threading"
VM Memory System (singleton)No changes needed. "Memory Subsystem"
Memory PoolCurrent format: "{name} Memory Pool"
Proposed: "{name}"
Garbage CollectorCurrent format: "{name} Garbage Collection"
Proposed: "{name}"
VM Compilation System (singleton)No changes needed. "Compilation"
VM Class Loading System (singleton)No changes needed. "Class Loading"
java.util.logging (singleton)No changes needed. "Logging"
KickstartKickstart ClientNo changes needed. Current format: "Kickstart"
lsofNetwork Resource DetectorNo changes needed. MySqlThis plugin doesn't seem to be finished. Only supports a manual add and some of the configurations don't make much sense (like why does one need to specify a database to use when discovering the whole MySQL server?). NetworkServicesNo changes needed, all resource types only support manual add. Name Service Switch(why does this plugin have an empty name?) Name Server SwitchNo change needed. "NSSwitch"
onewireOneWireAdapterNo change needed. adapter.getAdapterName() + " on " + adapter.getPortName()
DS1820No change needed. cont.getName() OracleOracle ServerCurrent format: "Oracle (" + sid + ")" Proposed: sid Or maybe we could use something more elaborate like the name of the schema, if there was just one on that server. But from my humble knowledge of Oracle, SIDs are very commonly used identificators for servers, so maybe that's the best approach to take here? Oracle Detailed StatisticsNo changes needed. "Oracle 10g Advanced Statistics"
Oracle UserCurrent format: "Oracle User - {key}"
where {key} gets replaced by the user name Proposed: "{key}"
PlatformsAll the platforms get the same name as the agent/plugin container that discovered them or, if that is null, the hostname of the machine. This doesn't need to change. Network AdapterNo changes needed. info.getDisplayName() File SystemCurrent format: ((hostname == null) ? "" : (hostname + " ")) + " File System (" + fs.getFileSystem().getTypeName() + ") " + fs.getMountPoint() Proposed: fs.getMountPoint() CPUNo changes needed. "CPU " + i
ProcessManual add only, no change needed. processInfo.getBaseName() (i.e. the file name of the executable without the path) PostfixPostfix ServerCurrent format: resourceType.getName() We could read the "myhostname" variable from the postfix configuration (defaulting to gethostname() if not defined) but running more than one postfix server on a box is quite unlikely so it might not be worth the trouble implementing that. AccessCurrent format: "Access"
There is only at most one resource of this type. PostgresPostgres ServerCurrent format: "Postgres [" + db + "]" Proposed:
Implemented: DatabaseCurrent format: databaseName + " Database"
Proposed: databaseName UserCurrent format: userName + " User"
Proposed: userName RHQAgentRHQ Agent (singleton)Current format: agentName + " RHQ Agent"
Proposed: agentName or just "RHQ Agent"
There is just one agent per platform so maybe the latter variant makes more sense. RHQ Agent JVM (singleton)No change needed. resourceType().getName() Measurement Subsystem (singleton)No change needed. "Agent Measurement Subsystem"
Plugin Container (singleton)No change needed. "Agent Plugin Container"
Environment Setup Script (singleton)No change needed. discoveredScriptFile.getName() Launcher Script (singleton)No change needed. "RHQ Agent Launcher Script"
Java Service Wrapper Launcher (singleton)No change needed. "RHQ Agent Java Service Wrapper"
RHQServerRHQ Server Alerts Engine SubsystemCurrent format: "RHQ Server Alerts Engine Subsystem"
Proposed: "Alert Subsystem"
RHQ Server Measurement SubsystemCurrent format: "RHQ Server Measurement Subsystem"
Proposed: "Measurement Subsystem"
RHQ Server Group Definition / DynaGroups SubsystemCurrent format: "RHQ Server Group Definition / DynaGroups Subsystem"
Proposed: "Group Definition Subsystem"
RHQ Server Communications SubsystemCurrent format: "RHQ Server Communications Subsystem"
Proposed: "Communications Subsystem"
RHQ Server Remote API SubsystemCurrent format: "RHQ Server Remote API Subsystem"
Proposed: "Remote API Subsystem"
RHQ Server Plugin SubsystemCurrent format: "RHQ Server Plugin Subsystem"
Proposed: "Plugin Subsystem"
SambaSamba ServerCurrent format: resourceType.getName() Proposed:
Implemented: The netbios name from samba config Samba ShareNo changes needed. sectionName ScriptScript ServerNo changes needed. The resource is meant as a base for more concrete implementations or supports manual add. executableFile.getName() script2Script2Current format: "Script " + lang + "::" + script Proposed: script i.e. calling the resource the name of the script would be enough. The language can be found in the configuration and doesn't have much informational meaning to the user. ServicesServices ManagerNo change needed. resourceType.getName() snmptrapdSnmpTrapdCurrent format: "Trapd (" + pluginContainerName + ")" Proposed: "Trapd " + port
or just "Trapd" if there is to be only one per machine. Implemented "Trapd " + port. OpenSSHSSHDNo change needed. "OpenSSH sshd"
SudoersSudoersNo change needed. resourceType.getName() TomcatTomcat ServerCurrent format: "Tomcat (" + ((tomcatConfig.getAddress() == null) ? "" : (tomcatConfig.getAddress() + ":")) + tomcatConfig.getPort() + ")" Proposed: ((tomcatConfig.getAddress() == null) ? InetAddress.getLocalHost().getHostName() : tomcatConfig.getAddress()) + ":" + tomcatConfig.getPort() or if there is only a single WAR deployed (apart from ROOT.war), the name of that WAR. Implemented as hostname:port with https://bugzilla.redhat.com/show_bug.cgi?id=583123 Tomcat Server JVM (singleton)No change needed. resourceType().getName() Tomcat Virtual HostCurrent format: "Tomcat VHost ({name})"
Proposed: "{name}"
Tomcat Web Application (WAR)Current format: "Tomcat WAR ({contextRoot})"
Proposed: "{contextRoot}"
Tomcat CacheCurrent format: "Tomcat Cache ({host}{path})"
Proposed: "Cache"
Tomcat ConnectorCurrent format: "Tomcat Connector ({handler}-{port})"
Proposed: "{handler}-{port}"
Tomcat User DatabaseCurrent format: "Tomcat User Database"
Proposed: "User Database"
Tomcat GroupCurrent format: "Tomcat Group ({name})"
Proposed: "{name}"
Tomcat RoleCurrent format: "Tomcat Role ({name})"
Proposed: "{name}"
Tomcat UserCurrent format: "Tomcat User ({name})"
Proposed: "{name}"
No changes needed, supports only manual add. url + " feed for " +user
TwitterFeedNo changes needed, supports only manual add. "Feed: " + kind + " : " + keyword VirtualizationVirtual HostNo changes needed. hardwareInfo.hvType + " Hypervisor"
Virtual GuestNo changes needed. domainInfo.name Virtual Network InterfaceCurrent format: path + " virtual interface"
Proposed: path Virtual Block DeviceCurrent format: device + " virtual device"
Proposed: device Virtual NetworkNo changes needed. net.name |