Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Partial workaround for PIX/ASA lack of SNMP ARP data

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
ryanjwh



Joined: 21 Nov 2005
Posts: 2
Location: San Francisco, CA

PostPosted: Wed Jun 11, 2008 4:59 pm    Post subject: Partial workaround for PIX/ASA lack of SNMP ARP data Reply with quote

Hey guys,

Long time forum reader, but rare if ever contributor. Figured I'd give back what I could.

We've been building out Mactrack here for the last week or so, and had just about all the devices we wanted working (including Cisco CSS's, if anybody cares), except Cisco PIX/ASA's. Since those are the gateway for many of our systems, not having ARP data from them is frustrating and puts a big empty hole in the IP column for our entries in Mactrack.

As a workaround, I did the following:
    1) Identified one linux system on each subnet, preferrably systems with interfaces on multiple subnets. Obviously the important ones are subnets where systems use the PIX/ASA as their gateway, and so we're not able to pull ARP data for them in Mactrack.

    2) Created a crontab entry that runs every 2 minutes and executes the following nmap command to ping every host on locally connected networks, which populates the linux system's ARP cache:
    */2 * * * * nmap -sP -n x.x.x.1-254 >/dev/null 2>&1
    (Runs every 2 minutes because Linux defaults to purge unused entries from the ARP cache after 120 seconds)

    3) Created devices and device types in Mactrack defining our Linux servers. I went really generic on the device types, and set the System Description Match to "Linux" and the Vendor snmp Object ID Match to ".1.3.6.1"

    4) Manually force execute the Mactrack poller and watch your data populate!
    php /path/to/cacti/plugins/mactrack/poller_mactrack.php -d -f


Cheers,
-ryan.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group