Snmpsim fail when it fails (#8392)

* Update snmpsim to fail better if it can't be started.
The main issue is the isRunning() check was done too soon after forking, the sh process was still running.

* increase default delay to 2s

* Pull this back, all we need is the sleep really.

* Remove removed exception
This commit is contained in:
Tony Murray
2018-04-05 16:49:58 -05:00
committed by Neil Lathwood
parent ca09cf61ac
commit cc377353f3
2 changed files with 25 additions and 2 deletions

View File

@@ -23,7 +23,6 @@
* @author Tony Murray <murraytony@gmail.com>
*/
use LibreNMS\Proc;
use LibreNMS\Util\Snmpsim;
global $config;