Tests

Name

Tests -- Tests represent actions taken to gather data.

Overview

A monitor can be thought of as a specific instantiation of a test. There are currently four types of tests supported by NetMRG: Scripts, SNMP, SQL, and Internal.

Scripts

Arbitrary scripts can be executed and their output or return values used as values to be monitored.

Edit

SNMP

SNMP (Simple Network Management Protocol) is widely used for accessing statistics on network infrastructure and hosts.

Edit

SQL

SQL (more specifically, MySQL) tests are useful when you have data that is otherwise in-accessable, or takes a long time to gather. Rather than making the netmrg-gatherer run a script test that will take a long time, consider writing the script to run periodically (out of Cron, for example) and dumping its output into a MySQL database for NetMRG to gather later. This greatly reduces NetMRG's runtime.

Edit

Internal

Internal tests are compiled into the gatherer. These tests typically start as script tests, and are then migrated to the gatherer for efficiency. At the moment, the gatherer source code is the only documentation for such tests, however some are obvious. The intention is to expand this category to include DSO-based test packages.