You are here

function monitoring_sensor_settings_get in Monitoring 7

Gets sensor settings.

Parameters

string $sensor_name: Sensor name.

Return value

array Sensor saved settings.

12 calls to monitoring_sensor_settings_get()
MonitoringApiTest::testLogging in test/tests/monitoring.api.test
Test logging with different settings.
MonitoringCoreTest::testGenericDBAggregate in test/tests/monitoring.core.test
Tests the watchdog entries aggregator.
MonitoringCoreTest::testSensorEnabledModulesAPI in test/tests/monitoring.core.test
Test cases for SensorEnabledModules sensor.
MonitoringCoreTest::testSensors in test/tests/monitoring.core.test
Tests individual sensors.
MonitoringMuninTest::testMultigraphsAPI in modules/monitoring_munin/monitoring_munin.test
Tests the multigraph API/CRUD

... See full list

File

./monitoring.module, line 425
Monitoring bootstrap file.

Code

function monitoring_sensor_settings_get($sensor_name) {
  return variable_get(monitoring_sensor_settings_key($sensor_name), array());
}