From d8c4916f6be3c1a1a5a6ce9470d2fe19222eebeb Mon Sep 17 00:00:00 2001 From: laf Date: Mon, 25 Jan 2016 22:59:11 +0000 Subject: [PATCH] Added docs information on using the new config options --- doc/Support/Configuration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/Support/Configuration.md b/doc/Support/Configuration.md index 15be9ed6c..17248c0b4 100644 --- a/doc/Support/Configuration.md +++ b/doc/Support/Configuration.md @@ -406,6 +406,17 @@ Entries defined in `rewrite_if` are being replaced completely. Entries defined in `rewrite_if_regexp` only replace the match. Matches are compared case-insensitive. +#### Entity sensors to be ignored + +Some devices register bogus sensors as they are returned via SNMP but either don't exist or just don't return data. +This allows you to ignore those based on the descr field in the database. You can either ignore globally or on a per +os basis. + +```php +$config['bad_entity_sensor_regex'][] = '/Physical id [0-9]+/'; +$config['os']['cisco']['bad_entity_sensor_regex'] = '/Physical id [0-9]+/'; +``` + #### Storage configuration ```php