Error status on devices(Solved)

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Error status on devices(Solved)

Post by trungmv »

Hi all,

I have problem with status of devices although i fill in device types with Vendor ID right.

Devices:
Image

Device Types:
Image

I never had seen this before and also can not scan all the MACs addresses
I also uninstall/reinstall Mactrack plugin but still problem.
System: Centos
Cacti version: 0.8.8a
Spine: 0.8.8a

Any help would be appreciated,

Thanks & regards,
Last edited by trungmv on Fri Jan 30, 2015 1:11 am, edited 1 time in total.
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Here are some pictures for more detail:

On Devices:
Image

Setting on Device Types:
Image

On Clog:
Image

Any hep is appreciated,

Regards,
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Error status on devices

Post by JorisFRST »

I don't have access to the pictures, can you just upload them to the forum ?
Joris.
http://www.routerjanitor.com
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hello Joris,

I re upload pictures again.

Regards,
Attachments
clog.PNG
clog.PNG (47.18 KiB) Viewed 6325 times
devices type.PNG
devices type.PNG (39.02 KiB) Viewed 6325 times
devices.PNG
devices.PNG (39.86 KiB) Viewed 6325 times
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Error status on devices

Post by JorisFRST »

This looks quite ok to me,
can you run a debug from command line for this device :

php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=xxxx -d

(xxxx = device id)
(change the /Var/www for your cacti directory)

and post the output please ?
Joris.
http://www.routerjanitor.com
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hi Joris,

Here is my output file.

Best regards,
Attachments
output.txt
(9.81 KiB) Downloaded 269 times
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Error status on devices

Post by JorisFRST »

Debug output looks good. It scanned the device.

Did you see anything int he cacti log now ?
Joris.
http://www.routerjanitor.com
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Seem to be, if i run

Code: Select all

php -q /var/www/cacti/plugins/mactrack/mactrack_scanner.php -id=xxxx -d
the Status of Device on Mactrack tab is Up.
But when i run

Code: Select all

php -q poller_mactrack.php -f
the Status on Mactrack will be change to Error --> problem in here.
How can i resolved this issue?
Any help is appreciated.
P/S: attached file is when Status on Mactrack tab is Up
Best regards,
Attachments
clog1.PNG
clog1.PNG (37.57 KiB) Viewed 6313 times
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hi Joris,

Do you have any advice for my case?
Any help is appreciated,

Best regards,
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Error status on devices

Post by JorisFRST »

I'm stumped,

if you run php -q poller_mactrack.php -f -d can you then see the errors, it should also give a debug output.
Joris.
http://www.routerjanitor.com
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hi,

When i press Rescan button on Device type, it's show SQL error --> i did not how to resolved
Although, i filled in all blank on Device and Device type are right, but when run

Code: Select all

php -q poller_mactrack.php -f -d
, it's still show error on Clog.
I am stuck with long hair in solved this issue. Do i need to upgrade mactrack plugin? Which version can download?

Best regards,
Attachments
Rescan button on Device type
Rescan button on Device type
rescan.PNG (35 KiB) Viewed 6298 times
Clog when running poller_mactrack
Clog when running poller_mactrack
clog.PNG (41.08 KiB) Viewed 6298 times
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Error status on devices

Post by JorisFRST »

Hi,

I'm using the latest version from svn. Mactrack 3.0

http://svn.cacti.net/viewvc/mactrack/tr ... ot=Plugins
Joris.
http://www.routerjanitor.com
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hi,

I upgraded to Mactrack 3.0 already but still some problem.

On Console:
- Device -->Status is Up but can not get IPs. Image
- Device type --> When i press rescan button --> Cacti will added more device with prefix iso automatically --> strange
when Edit with prefix iso. it's not configuration as requirement.

On Mactrack tab:
- The IP Ranges, IP Addresses, Mac Addresses tab are blank
- Interface tab did not get the bandwidth usage (inbound, outbound...)
- Graph tab is blank.

So seem i have many errors with Mactrack :(

Any help is appreciated,

With the best regards,
Attachments
devices type.PNG
devices type.PNG (62.94 KiB) Viewed 6286 times
Edit which are iso prefix
Edit which are iso prefix
edit iso.PNG (59.15 KiB) Viewed 6286 times
ip range.PNG
ip range.PNG (35.88 KiB) Viewed 6286 times
interface.PNG
interface.PNG (60.77 KiB) Viewed 6286 times
graph.PNG
graph.PNG (22.41 KiB) Viewed 6286 times
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Any one can help me please?
trungmv
Cacti User
Posts: 87
Joined: Wed Feb 15, 2012 10:32 pm

Re: Error status on devices

Post by trungmv »

Hi all,

I do not know why my mactrack can not running normal as previously.

If i typing via CLI:

Code: Select all

php mactrack_scanner.php -id=1 -d
, status is up.
Image

but if i press Rescan Site, status will be changed to Error.
Image

Although no problem appear.
Image

Long time, everyday i researching the solution but not yet.

Any help is appreciated
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest