Quick start: setting monitoring alarms
Monitoring involves deciding what to monitor and configuring alarms for a Genero Application Server (GAS) session or service.
Ensure the Genero Application Server is
started. For this quick start, you can use the standalone dispatcher
(httpdispatch
).
Ensure you have access to the Genero demo applications. Start the demo calculator service. For details of using this service, see Explore Genero demo Web services (server side).
Monitoring the GAS involves setting monitoring alarms to capture critical events, such as when a DVM fails to start, when a DVM crashes, when there are request/response errors, and so on. GAS monitoring configuration can be done on a service or on a service session.
For this quick start, you will set a DVM_NOT_STARTED
monitoring alarm on a
service running on the GAS. All configuration will be done at the command line using the
gasadmin tool.
Having completed this quick start you have a basic knowledge of working with monitoring. There are many more ways of using this feature:
- For an overview of how to monitor with alarms, see How alarms work.
- You can display a list of all available alarms by executing the gasadmin command:
gasadmin monitoring update --list-alarm
. - You can manage alarms by configuring them, setting, and unsetting them.
- You can fine tune alarms by setting thresholds to suit the speed of your network.
- When debugging, you can raise the monitoring level. This provides you with more details in the monitoring data (.dat) files to help you detect abnormal events.
- There are different ways of working with and managing the data stored in dat files.