Adding New Monitors
To add a new monitor to the sample project, do the following:
- Repeat steps 1 to 4 from Creating UsersMonitor to create your own monitor class, your own SEMP parser to parse SEMP reply, and monitor properties file.
- Modify
build.properties
andbuild.xml
to add another make target to bundle the new monitor. - Run “
ant dist
”. - Copy property files from
_antDist/config
directory to the target event broker directory/usr/sw/solgeneos/config
. - Copy Jar files from
_antDist/lib
directory to the target event broker directory/usr/sw/solgeneos/monitors
. - Restart Solace Geneos Agent.
The new view should show up in the Active Console.