Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jul 21, 2017 5:58 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Not resolving ED DNS Hostname
PostPosted: Fri Feb 17, 2017 6:58 pm 
Offline

Joined: Tue Dec 13, 2016 4:38 pm
Posts: 4
I've read most of the posts on DNS resolution for mactrack and am having an issue that I have so far been unable to figure out.
I don't have any errors in my cacti log (running 0.8.8b with mactract 2.9-1) and everything looks normal but I don't have any reverse DNS information listed in mactrack.

I am thinking it's a configuration issue as I am having this on multiple cacti servers.

What I have done so far...
- checked resolv.conf and verified my dns servers are correct
- checked error logs for errors
- ran mactrack_resolver.php manually for this site id and get the follow error..

CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT last_rundate, COUNT(last_rundate) AS devices FROM mac_track_devices WHERE disabled = '' AND site_id=Chicago GROUP BY last_rundate ORDER BY last_rundate DESC;"

any ideas??


Top
 Profile  
 
 Post subject: Re: Not resolving ED DNS Hostname
PostPosted: Tue Feb 21, 2017 3:50 am 
Offline

Joined: Thu Jun 23, 2005 5:16 pm
Posts: 43
Location: Stockholm, Sweden
Did you configure the DNS servers in Cacti Console --> Settings --> Device Tracking?


Top
 Profile  
 
 Post subject: Re: Not resolving ED DNS Hostname
PostPosted: Tue Feb 21, 2017 3:55 pm 
Offline

Joined: Tue Dec 13, 2016 4:38 pm
Posts: 4
Yes, I have them set to my Primary and Secondary Domain controllers for AD (I have verified these are the correct DNS servers).

I have also tried checking the reverse DNS option on / off and it doesn't make a difference.
If I do an SNMP walk, I can grab the information from the switches and routers and the same information is available in the ARP table but I can't seem to get mactrack to work.

Here is what is displayed after initiating a manual site scan from mactrack:

About to enter MacTrack Site Scan Processing

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=3

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=5

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=2

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=4

A process cycle launch just completed.

Waiting on 3 with id = [-1, 2, 4, 5] to complete prior to exiting.

Waiting on 3 with id = [-1, 2, 4, 5] to complete prior to exiting.

Waiting on 3 with id = [-1, 2, 4, 5] to complete prior to exiting.

Waiting on 1 with id = [-1, 2] to complete prior to exiting.

Waiting on 1 with id = [-1, 2] to complete prior to exiting.

Waiting on 0 with id = [-1] to complete prior to exiting.

Interum IP addresses to MAC addresses association pass complete.

MAC addresses to Vendor MACS association pass complete.

MAC VLAN's in VLAN Table Updated.

Finished transferring scan results to main table.

Finished updating site table with collection statistics.


Top
 Profile  
 
 Post subject: Re: Not resolving ED DNS Hostname
PostPosted: Thu Mar 02, 2017 7:22 pm 
Offline

Joined: Tue Dec 13, 2016 4:38 pm
Posts: 4
Any ideas ???


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group