--- apps/leo_storage/snmp/snmpa_storage_0/leo_storage_snmp.config.orig	2014-06-15 22:07:24.000000000 +0300
+++ apps/leo_storage/snmp/snmpa_storage_0/leo_storage_snmp.config	2014-06-15 22:08:18.000000000 +0300
@@ -1,6 +1,6 @@
 [{snmp, [{agent, [{versions, [v1, v2]},
-                  {db_dir, "snmp/snmpa_storage_0/db"},
-                  {config, [{dir, "snmp/snmpa_storage_0/agent/conf"},
+                  {db_dir, "%%LEOFS_DBDIR%%/snmp/snmpa_storage"},
+                  {config, [{dir, "%%PREFIX%%/lib/leofs/snmp/snmpa_storage/agent/conf"},
                             {verbosity, silence}]},
                   {net_if, [{verbosity, silence}]}
                  ]},
