How reduce time of Scanning Frequency on Mactrack
Moderators: Developers, Moderators
How reduce time of Scanning Frequency on Mactrack
Hello, all.
Minimize time of Scanning Frequency is 10 minutes. This is very long.
Could we change this value to 2 or 3 minutes to scan with real time ?.
Best regards,
Van Do.
Minimize time of Scanning Frequency is 10 minutes. This is very long.
Could we change this value to 2 or 3 minutes to scan with real time ?.
Best regards,
Van Do.
Re: How reduce time of Scanning Frequency on Mactrack
You can modify it yourself if you wish, but we will not change it in the code. Mactrack really isn't designed for real time checks. For your setup with a tiny amount of routers / switches 10 minutes may seem like a long time, but I have seen installs with 100s of switches and routers that takes an hour to scan them all. Its all about perspective.
Re: How reduce time of Scanning Frequency on Mactrack
Thanks cigamit,cigamit wrote:You can modify it yourself if you wish, but we will not change it in the code. Mactrack really isn't designed for real time checks. For your setup with a tiny amount of routers / switches 10 minutes may seem like a long time, but I have seen installs with 100s of switches and routers that takes an hour to scan them all. Its all about perspective.
Because, in network system. A unauthorized device connected to network system in the short time after disconnect network
If Mactrack scan network 10 minutes per time, can not Mactrack be scanned this device ?.
Could we install more other plugin on Cacti to support for Mactrack to change this value ?.
Best regards,
Van Do
Re: How reduce time of Scanning Frequency on Mactrack
Just modify the source yourself, it most likely would only take a few minutes
Re: How reduce time of Scanning Frequency on Mactrack
Could you guide me more clearly about modify the source?.cigamit wrote:Just modify the source yourself, it most likely would only take a few minutes
Best regards,
Van Do
Re: How reduce time of Scanning Frequency on Mactrack
open setup.php
file this array
Add the shorter intervals you want before the
Just an FYI, if you are running your Poller/Cron at 5 minute interval, the lowest you can go is 5 minutes.
file this array
Code: Select all
$mactrack_poller_frequencies = array(
"disabled" => "Disabled",
"10" => "Every 10 Minutes",
"15" => "Every 15 Minutes",
"20" => "Every 20 Minutes",
"30" => "Every 30 Minutes",
"60" => "Every 1 Hour",
"120" => "Every 2 Hours",
"240" => "Every 4 Hours",
"480" => "Every 8 Hours",
"720" => "Every 12 Hours",
"1440" => "Every Day");
Code: Select all
"10" => "Every 10 Minutes",
Re: How reduce time of Scanning Frequency on Mactrack
Thanks cigamit,cigamit wrote:open setup.php
file this arrayAdd the shorter intervals you want before theCode: Select all
$mactrack_poller_frequencies = array( "disabled" => "Disabled", "10" => "Every 10 Minutes", "15" => "Every 15 Minutes", "20" => "Every 20 Minutes", "30" => "Every 30 Minutes", "60" => "Every 1 Hour", "120" => "Every 2 Hours", "240" => "Every 4 Hours", "480" => "Every 8 Hours", "720" => "Every 12 Hours", "1440" => "Every Day");
Just an FYI, if you are running your Poller/Cron at 5 minute interval, the lowest you can go is 5 minutes.Code: Select all
"10" => "Every 10 Minutes",
I would like to ask you more problem.
I have installed one more Cacti Server.
After I configure device on Device Tracking completed, I run command "php mactrack_scanner.php -id=1 -d"
After this command run completed, it reported
DEBUG: MAC Address 'Mac address' on device 'Host' is NOT Authorized
DEBUG: MAC Address 'Mac address' on device 'Host' is NOT Authorized
and in log cacti report as follow:
CMDPHP: Poller[0] ERROR: SQL Row Failed!, Error:'1064', SQL:"SELECT * FROM mac_track_devices WHERE device_id ="
MACTRACK: Poller[0] ERROR: Device with Id of '' not found in database. Can not continue.
Could you guide me to solve this problem ?.
Best regards,
Van Do.
Who is online
Users browsing this forum: No registered users and 3 guests