Project

General

Profile

Bug #4403 » snmp-apu-hostres.diff

Jim Pingle, 11/23/2015 03:39 PM

View differences:

src/etc/inc/services.inc
2334 2334
			}
2335 2335

  
2336 2336
			if (isset($config['snmpd']['modules']['hostres'])) {
2337
				/* XXX: hostres module crashes APU - ticket #4403 */
2338
				$specplatform = system_identify_specific_platform();
2339
				if ($specplatform['name'] == 'APU') {
2340
					log_error("'Host Resources' SNMP module was ignored because it can potentially crash system on APU boards");
2341
				} else {
2342
					$snmpdconf .= <<<EOD
2337
				$snmpdconf .= <<<EOD
2343 2338
begemotSnmpdModulePath."hostres"     = "/usr/lib/snmp_hostres.so"
2344 2339

  
2345 2340
EOD;
2346
				}
2347
				unset($specplatform);
2348 2341
			}
2349 2342

  
2350 2343
			if (isset($config['snmpd']['modules']['bridge'])) {
(5-5/6)