Solace Geneos Directories
After the Solace Geneos Agent is installed on an event broker, the following directories are created:
Netprobe Directories
If Netprobe is deployed locally on the event broker it will be installed in the following directory: /usr/sw/geneos
, the root directory for the Netprobe installation.
Configuration Properties
Solace Geneos Agent uses the following types of configuration properties. These are stored in the solgeneosagent.properties
file; they use a standard property name/value pair convention.
- Global properties: Properties that are shared by all monitors. Some properties can be overwritten in monitor specific property files. To query global properties, call
SolGeneosAgent.onlyInstance.getGlobalProperties()
. - Monitor specific properties: Properties that are used by a specific monitor implementation. They can be global properties that must be overwritten or require exclusive monitor properties. For example, properties for
AlarmsMonitor
are stored in theAlarmsMonitor.properties
file. To query monitor specific properties, callSolGeneosAgent.onlyInstance.getMonitorConfig(monitorObject)
. - User properties: Properties that are shared by user developed monitors. The file name for user properties must start with “
user
”. To query user properties, callSolGeneosAgent.onlyInstance.getUserPropertiesConfig
.
(userPropertiesFileName)
After the property files are read, and the property name is understood by the agent, they are loaded into the intended service or monitor's property map when the service or the monitor is initialized; otherwise, it stays in the properties object to which it is initially loaded. For properties whose values are out of range, the default values are used.
Global Properties
The table below lists the global properties Solace Geneos Agent supports, and whether they can be overwritten at monitor level or at a data view level inside a monitor:
Property Name and Description | Default Property Value | Over-writable in Monitor Properties? |
---|---|---|
Event broker management IP |
127.0.0.1 |
N |
Event broker management port used for Solace Element Management Protocol (SEMP). |
80 |
N |
Username of account the agent uses to log into the SEMP service. The default is ‘admin’, but a best practice is to create and assign a read-only user for the agent to use. |
admin |
N |
Password for the provisioned username. |
admin |
N |
Where:
|
|
|
The IP address and port of the NetProbe. For example:
This is a required property by the agent framework. |
netprobe.np0.endpoint=127.0.0.1:7036 |
N |
Heartbeat intervals in seconds used by the agent’s NetProbe services to send keep-alive messages to the NetProbe. For example:
This is an optional property. The heartbeat interval is used by the Solace Geneos Agent to detect whether the NetProbe is up or down. Although the valid range accepted by Geneos is between 1 and 86400, if this property value is set too big, it will delay the agent from noticing the NetProbe is back up. |
60 |
N |
The reply timeout in seconds for each XML-RPC request sent to the NetProbe. This is an optional property. The |
30 |
N |
Geneos sampler name for a data view (it must match the sampler configured on the Gateway). |
SolaceSampler |
Y (at monitor and view level) |
Geneos group header for data view |
SolOS |
Y (at monitor and view level) |
A list of NetProbe to managed entity associations. The NetProbe is represented by its alias name. Managed entities must match the managed entities configured on the Gateway. A managed entity must be unique within a Gateway, so if you have multiple NetProbes configured on the same gateway and listen to the same Solace Geneos Agent, you should use different managed entity name for each NetProbe, even though they are monitoring the same event broker. For example, if there are two NetProbes np0 and np1, then managedEntities might have the following value:
|
[np0,ManEnt] |
Y (at monitor and view level) |
Monitor Properties
The following table lists the monitor-specific properties that Solace Geneos Agent supports.
Property Name and Descriptions | Default Property Value |
---|---|
The directory that the libraries used by user- |
/usr/sw/solgeneos/monitors |
The name of the monitor class to load. |
|
Whether to start the monitor automatically when the agent is started. (If set to false, the monitor can be started from JMX.) |
true |
An integer >=30 |
30 |
An integer >=0 |
0 |
An integer >=1 and <= 500 |
500 |
Where:
Example:
|
No default. However, the following view properties are used by the agent framework:
|