What is Resource Statistic Monitoring?
Resource Statistic Monitor provides a consistent programmatic access to statistics and create threshold, watermark, and leaky bucket monitors for any instrumented subsystem in the Linux operating system.
The architecture of the Resource Statistic Monitor defines five primary components:
- Consumers - Linux applications that use the programmatic access.
- Resource Monitor library - the interfaces used by Consumers for monitoring access.
- Resource Monitor daemon - the runtime process that manages consumer monitoring requests and provides continuous monitoring of statistics.
- Subsystem Monitor libraries - the subsystem-specific access methods used by the daemon to query statistic values.
- Data Capture libraries - the data capture methods used by the daemon to store statistic values.
Resource Statistic Monitor is designed to be used by the following types of Consumer Applications:
- Autonomous network management agents - Instrumentation of watermarks and thresholds can use/leverage the RM facility for operating system, driver and application monitors.
- Graphical displays - Data can be obtained from RM and presented in graphical form.
- Availability managers - Monitors can be established for critical system resources.
Resource Statistic Monitor depends on an event management system for
logging and retention of events generated by statistics monitoring.
The event management system used should provide consumer applications with
mechanisms for subscribing to particular monitoring events based on event
attributes. Resource Statistic Monitor conforms to the POSIX 1003.25
event logging interface, so any event management component that meets this
specification may be used. By default, Resource Statistics
Monitor links in the "evlog" event management system (see RELATED
The rmxml utility is a command driven utility to create and control monitors
using XML to define the monitors, their configuration status, and their states.
There is currently no man page for rmxml. Type 'rmxml' for the usage statement.
'rmxml discover' will output the available statistical resources in XML.
Example XML files and shell scripts for monitor creation and evlog notification
are included in the package installation.There are also some example XSL files
in the rpm that format the rmxml XML in a browser.
RMview provides a graphical interface for creating and controlling
monitors. Event log records can also be monitored and displayed. An
icon is put on the KDE desktop to launch rmview when the package is installed.
There is no source or help available yet for this package.
Resource Monitor API Documentation
for client C/C++ API's and the
Subsystem namespace for instrumentation library interfaces
Linux Resource Monitor SNMP Subagent is a project to enable resource monitoring through SNMP. It is an AgentX subagent implemented based on UCD-SNMP and Linux Resource Statistic Monitor. Working with a existing snmp daemon, it can be set up to do the following:
- Query the subsystems currently registered with Resource Monitor Daemon, including resources and statistics.
- Create/manage monitors.
- Send SNMP traps when events happen.
RM Subagent Source Documentation
- file system
- SCSI driver
- Common Statistic Library - uses the Common Statistic Manager to access kernel mode driver statistics
such as the e100 ethernet driver and to create kernel mode statistic monitors.
- table and XML Data Capture