mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Temp fix to remove .index at the start of the poller run
This commit is contained in:
@@ -25,6 +25,11 @@ include("includes/alerts.inc.php");
|
|||||||
$poller_start = utime();
|
$poller_start = utime();
|
||||||
echo($config['project_name_version']." Poller\n\n");
|
echo($config['project_name_version']." Poller\n\n");
|
||||||
|
|
||||||
|
if (is_file($config['mib_dir'].'/.index') === true) {
|
||||||
|
echo ".index exists, removing\n";
|
||||||
|
unlink($config['mib_dir'].'/.index');
|
||||||
|
}
|
||||||
|
|
||||||
$options = getopt("h:m:i:n:r::d::a::");
|
$options = getopt("h:m:i:n:r::d::a::");
|
||||||
|
|
||||||
if ($options['h'] == "odd") { $options['n'] = "1"; $options['i'] = "2"; }
|
if ($options['h'] == "odd") { $options['n'] = "1"; $options['i'] = "2"; }
|
||||||
|
Reference in New Issue
Block a user