From db2f57f2bc5a7fe3d563da6b819bdade5137d4cf Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 13 Jun 2015 14:55:40 +1000 Subject: [PATCH] Poll sysObjectID by default --- includes/polling/mib.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 includes/polling/mib.inc.php diff --git a/includes/polling/mib.inc.php b/includes/polling/mib.inc.php new file mode 100644 index 000000000..8ce1ad67f --- /dev/null +++ b/includes/polling/mib.inc.php @@ -0,0 +1,20 @@ + + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ + +d_echo("MIB-based polling"); + +$devicemib = array($device['sysObjectID'] => "all"); +poll_mibs($devicemib, $device, $graphs); + +d_echo("Done MIB-based polling"); +?>