Place Your Feature Requests & Bug Reports Here
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The cacti.log file is essential to finding issues.
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?
Running MacTrack 2.8 with 0.8.7g, install from tarballs on Ubuntu 10.04 server. After installation, none of the IP address functionality worked. In lib/mactrack_functions.php, I then changed the line: "function get_standard_arp_table($site, &$device) {" to "function get_standard_arp_table($site, $device) {"
After a manual run of poller_mactrack.php, I now am seeing IP/MAC pairs. The only odd thing I currently see is that the "port number" in the far right hand column in the "IP Addresses" tab is the same for all items on each switch.
m00t
After a manual run of poller_mactrack.php, I now am seeing IP/MAC pairs. The only odd thing I currently see is that the "port number" in the far right hand column in the "IP Addresses" tab is the same for all items on each switch.
m00t
There aren't any errors in the log. Digging deeper, I think I might be having an issue with the MAC scanning function on the Junipers... DNS resolution being a secondary issue. It spits this out when I run the mactrack_scanner from CLI using get_JEX_switch_ports:TheWitness wrote:The cacti.log file is essential to finding issues.
TheWitness
INFO: HOST:BLAH, TYPE: Juniper Networks, Inc. ex4200-48t intern, TOTAL PORTS: 0, ACTIVE PORTS: 369
Problem is, this is a stack of two 48 port switches. Nowhere near 369 ports. If I use the get_generic_switch_ports, it spits this out:
INFO: HOST: BLAH, TYPE: Juniper Networks, Inc. ex4200-48t intern, TOTAL PORTS: 102, OPER PORTS: 48
That's more inline with the number of ports on the switch.
Looking through the mactrack_juniper function (my PHP knowledge being very limited, think third grade reading level), this stood out:
Code: Select all
foreach($ifIndexes as $ifIndex) {
$ifInterfaces[$ifIndex]["trunkPortState"] = @$vlan_trunkstatus[$ifIndex];
if (($ifInterfaces[$ifIndex]["ifType"] == "propVirtual(53)" ) or ($ifInterfaces[$ifIndex]["ifType"] == "ieee8023adLag(161)" )) {
$device["ports_total"]++;
}
if ($ifInterfaces[$ifIndex]["trunkPortState"] == 3) {
$device["ports_trunk"]++;
}
}
mactrack_debug("ifInterfaces assembly complete.");
This might be too much for the bugs thread, so just let me know and I can move it to it's own thread.
Thanks for all the hard work on this.
Chris.
-
- Posts: 14
- Joined: Fri Apr 16, 2010 11:19 am
Feature Request
Have a suggestion for the Interfaces tab, you list the ports status/traffic/alias, could you have it show the VLAN for that port as well, i know this is displayed in the MAC address's tab so it would seem appropriate since the MAC Addresses tab only shows the active ports. Thanks!
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
lol. Log here please: http://bugs.cacti.net under the Plugins sub-section.
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: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Because, if you are running 5.1, these things become trivial, and I'm so busy with other things, I just have to laugh from time to time to relieve the pressure. What database engine do you currently use?
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?
-
- Cacti User
- Posts: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
i use myisam as the backup and transfer to our DR-cacti is better (do only file copy). I do not want to rely on the binary inob-file.
mysql verision:
"mysql Ver 14.14 Distrib 5.1.32, for debian-linux-gnu (i486) using EditLine wrapper"
also feature request (you know it): .1q-interface of cisco switches into mac-port-table
mysql verision:
"mysql Ver 14.14 Distrib 5.1.32, for debian-linux-gnu (i486) using EditLine wrapper"
also feature request (you know it): .1q-interface of cisco switches into mac-port-table
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The other ones' there already. Make sure you log the partitioning request.
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: 367
- Joined: Tue Apr 05, 2005 9:52 am
- Location: Munich, Germany
Re: Place Your Feature Requests & Bug Reports Here
hook 'mactrack', 'page_head'
Hi
a feedback ...
Could you please add a condition in function "mactrack_poller_bottom" in order that the mactrack "javascript" and link do not appear in the other plugins ?
something like ...
Thanks
Hi
a feedback ...
Could you please add a condition in function "mactrack_poller_bottom" in order that the mactrack "javascript" and link do not appear in the other plugins ?
something like ...
Code: Select all
function mactrack_page_head() {
global $config;
$files = array(''mactrack_view_devices', 'mactrack_devices.php');
if (isset($_SERVER['PHP_SELF']) && in_array(basename($_SERVER['PHP_SELF']), $files)) {
.....
Jean-Michel
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
cacti 0.8.7e | cmd & cactid (cactid 0.8.x) | Linux | MySQL Ver 14.7 Distrib 4.1.12, for Win32 | PHP v5.2.6 | Apache v2.x | Thold | Plugin Architecture | plugin "configuration manager" http://cactiusers.org/forums/topic257.html | plugin "IP subnet calculator IPv4 / IPV6" http://forums.cacti.net/viewtopic.php?t=15428 | plugin banner http://docs.cacti.net/userplugin:banner | Net-SNMP 5.5.2 | cygwin 1.5.18 of 02.07.2005
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Place Your Feature Requests & Bug Reports Here
Please log to the Mantis page. http://bugs.cacti.net. Thanks!pepj wrote:hook 'mactrack', 'page_head'
Hi
a feedback ...
Could you please add a condition in function "mactrack_poller_bottom" in order that the mactrack "javascript" and link do not appear in the other plugins ?
something like ...
ThanksCode: Select all
function mactrack_page_head() { global $config; $files = array(''mactrack_view_devices', 'mactrack_devices.php'); if (isset($_SERVER['PHP_SELF']) && in_array(basename($_SERVER['PHP_SELF']), $files)) { .....
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?
-
- Posts: 16
- Joined: Mon Nov 01, 2010 5:58 am
Re: Place Your Feature Requests & Bug Reports Here
Hi,
i got reading mac adresses working, with the juniper-ex4200 switches but it seems that the mac2ip doesnt work.
In the devicetype the ip scanner is set to standard-arp-table.
How can i run a trace in debugmode, wich gives me some help with the ip scanner ?
Running php -q mactrack_scanner.php -id=25 -d - seems not be an error.
Thanks
Chilloutfaktor
Edit: I've checked the result of our routers with the show arp command..
for example:
i got reading mac adresses working, with the juniper-ex4200 switches but it seems that the mac2ip doesnt work.
In the devicetype the ip scanner is set to standard-arp-table.
How can i run a trace in debugmode, wich gives me some help with the ip scanner ?
Running php -q mactrack_scanner.php -id=25 -d - seems not be an error.
Thanks
Chilloutfaktor
Edit: I've checked the result of our routers with the show arp command..
for example:
00:0c:29:b6:06:6c 10.0.100.21 xyzserver.domain.de vlan.100 none
00:c0:eb:0c:8c:37 10.0100.50 10.0.200.50 vlan.100 none
00:c0:eb:0d:18:a3 10.0.200.51 10.0.200.51 vlan.200 none
2c:6b:f5:93:d6:80 10.0.201.6 10.0.201.6 vlan.201
- Attachments
-
- devicetype-juniper.JPG (100.52 KiB) Viewed 14849 times
Feature Requests
Feature Request ??
Hi TheWitness,
This is an great tool. Got it all working.
Its easy to find hosts (Quite large network here in Amsterdam).
The interface tab is also very nice. I use it allot.
Is it possible to add an extra colum between " alias" and the "InBound %" colum with the Vlan number,
So you can see the Vlan that port is configured in.
Also i found on the IP address tab port number of a device with the number 423.
Is it possible to change that to the interface notation (ex. gi7/20)
Let me know what you think.
Thx
gr Palermo
Hi TheWitness,
This is an great tool. Got it all working.
Its easy to find hosts (Quite large network here in Amsterdam).
The interface tab is also very nice. I use it allot.
Is it possible to add an extra colum between " alias" and the "InBound %" colum with the Vlan number,
So you can see the Vlan that port is configured in.
Also i found on the IP address tab port number of a device with the number 423.
Is it possible to change that to the interface notation (ex. gi7/20)
Let me know what you think.
Thx
gr Palermo
- Attachments
-
- Screen shot 2011-03-06 at 12.00.01 PM.png (9.24 KiB) Viewed 14644 times
Who is online
Users browsing this forum: No registered users and 0 guests