End Device Tracking Add-On for Cacti
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Spoonman,
You need to add the sup720 information to the sysDescr_match field and a valid starting OID for cisco and things will work just fine.
TheWitness
You need to add the sup720 information to the sysDescr_match field and a valid starting OID for cisco and things will work just fine.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Dwayne,
What version of MySQL are you running. Please let me know. My guess would be 5.x.
TheWitness
What version of MySQL are you running. Please let me know. My guess would be 5.x.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti User
- Posts: 52
- Joined: Sun Sep 18, 2005 3:38 pm
Thanks Witness......I tried that after I posted and it seemed to be up now, I have 1 Site and 1 Device the Cisco 6509. I just added a new Device type for 6509 and added that match for sysdescription. My question is now do I have to run that database upgrade item?? All i've done is add the plugin, make changes to proper config and import the mactrack.sql file into my cacti DB.
Thanks Witness.
Thanks Witness.
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Hi,
I have two feature requests:
- Now you can search for a port name and Mac-Address;it would be nice to search for ports (=display all MACs on a specific port) or search by IP-Address or hostname
- ability to enter MAC-address in any format and cacti reformates it:
Enter 090806ab automatic change/search into 09:08:06:ab
or 06-7b-5a to 06:7b:5a
btw: the new version is really cool, stable etc.......
Torsten
I have two feature requests:
- Now you can search for a port name and Mac-Address;it would be nice to search for ports (=display all MACs on a specific port) or search by IP-Address or hostname
- ability to enter MAC-address in any format and cacti reformates it:
Enter 090806ab automatic change/search into 09:08:06:ab
or 06-7b-5a to 06:7b:5a
btw: the new version is really cool, stable etc.......
Torsten
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I'll have some time between now and Friday. Don't know how many issues I can get to, but I will try.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
How I fixed this for me, was to add this codeknobdy wrote:Do you have an update on this yet?cigamit wrote:DNS is still not working how it should. I have added a simple fix on my side of things that looks like it will fix it permanently for me, but I need to get with Larry as to whether it is OK with him.
Code: Select all
db_execute("UPDATE mac_track_temp_ports
INNER JOIN mac_track_ips
ON (mac_track_temp_ports.mac_address = mac_track_ips.mac_address
AND mac_track_temp_ports.scan_date = mac_track_ips.scan_date
AND mac_track_temp_ports.site_id = mac_track_ips.site_id)
SET mac_track_temp_ports.ip_address = mac_track_ips.ip_address");
Code: Select all
/* loop until you are it */
while (1) {
$processes_running = db_fetch_cell("SELECT COUNT(*) FROM mac_track_processes");
if ($processes_running == 1) {
$break_now = TRUE;
Code: Select all
}else{
$break_now = FALSE;
}
Hmm... I've got this, is it the same or am I using an outdated version already?
Code: Select all
/* loop until you are it */
while (1) {
$processes_running = db_fetch_cell("SELECT COUNT(*) FROM mac_track_processes WHERE device_id <> '0'");
$run_status = db_fetch_assoc("SELECT last_rundate,
COUNT(last_rundate) AS devices
FROM mac_track_devices
WHERE disabled = ''
GROUP BY last_rundate
ORDER BY last_rundate DESC;");
if ((sizeof($run_status) == 1) && ($processes_running == 0)) {
$break = TRUE;
}else{
$break = FALSE;
}
Nope you got the correct version, I pulled it off my production server which I apparrently haven't updated just yet to the newest. My updated test server still has the same resolver issue without the minor patch, so just add it right after the $break = TRUE; and see if it fixes it for you.knobdy wrote:Hmm... I've got this, is it the same or am I using an outdated version already?
Code: Select all
/* loop until you are it */ while (1) { $processes_running = db_fetch_cell("SELECT COUNT(*) FROM mac_track_processes WHERE device_id <> '0'"); $run_status = db_fetch_assoc("SELECT last_rundate, COUNT(last_rundate) AS devices FROM mac_track_devices WHERE disabled = '' GROUP BY last_rundate ORDER BY last_rundate DESC;"); if ((sizeof($run_status) == 1) && ($processes_running == 0)) { $break = TRUE; }else{ $break = FALSE; }
run the poller_mactrack.php manually with the -d -f options. So your command may look like thisknobdy wrote:That's where I put it.
Anyway to test this script outside of Cacti's normal polling routines?
Code: Select all
php -q /var/www/html/plugins/mactrack/poller_mactrack.php -d -f
Who is online
Users browsing this forum: No registered users and 1 guest