Did the config setting mibdir get removed?
![](https://secure.gravatar.com/avatar/677b7928275d49c203a3a7a80fb200fb.jpg?s=120&d=mm&r=g)
Guys,
We used mibdir heavily in our environment. After updating I see everything is going back to the default /opt/observium/mibs. What can we do to correct this? Has the setting changed?
J
![](https://secure.gravatar.com/avatar/677b7928275d49c203a3a7a80fb200fb.jpg?s=120&d=mm&r=g)
I figured it out. The setting has changed to mib_dir and it copies the value over to mibdir for some legacy code. We were setting mibdir.
On Mon, Oct 14, 2013 at 2:32 PM, Jeremy Custenborder jcustenborder@gmail.com wrote:
Guys,
We used mibdir heavily in our environment. After updating I see everything is going back to the default /opt/observium/mibs. What can we do to correct this? Has the setting changed?
J
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
The mib dir paths are now built by the mib_dirs() function at the top of includes/snmp.inc.php
It uses the $config['mib_dir'] variable, but it uses it in a different way (different OSes and MIB families have their own subdirectories)
The variable was never really meant to be set manually, and was really just used because it's shorter than adding /mibs/ all the time :)
adam.
On 2013-10-14 22:32, Jeremy Custenborder wrote:
Guys,
We used mibdir heavily in our environment. After updating I see everything is going back to the default /opt/observium/mibs. What can we do to correct this? Has the setting changed?
J _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/677b7928275d49c203a3a7a80fb200fb.jpg?s=120&d=mm&r=g)
Since we are running multiple poller servers we cache the mibs locally rather than loading them from NFS. The mibs get cached to the filesystem cache but we would see a high number of stat calls to NFS to check if anything has changed. We change mib_dir to a local path on the server via config.php
On Mon, Oct 14, 2013 at 2:45 PM, Adam Armstrong adama@memetic.org wrote:
The mib dir paths are now built by the mib_dirs() function at the top of includes/snmp.inc.php
It uses the $config['mib_dir'] variable, but it uses it in a different way (different OSes and MIB families have their own subdirectories)
The variable was never really meant to be set manually, and was really just used because it's shorter than adding /mibs/ all the time :)
adam.
On 2013-10-14 22:32, Jeremy Custenborder wrote:
Guys,
We used mibdir heavily in our environment. After updating I see everything is going back to the default /opt/observium/mibs. What can we do to correct this? Has the setting changed?
J _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Armstrong
-
Jeremy Custenborder