Mark D. Nagel
2015-06-25 15:42:52 UTC
I was asked if we could display PoE details on switches and said "I'm sure we can!" and
proceeded to find out, no, not quite yet. From what I can tell, support is only partially
in place -- is that accurate? I found the global config param needed and set it, and it
looks like data is collecting in RRD files, but they are not included in the device
display. Is this just an in-progress thing?
Thanks,
Mark
./config.php:$config['enable_ports_poe'] = 1;
./includes/functions.inc.php: $rrd_types = array('adsl', 'dot3', 'fdbcount', 'poe', NULL);
./includes/defaults.inc.php:$config['enable_ports_poe'] = 0; // Enable PoE
stats collection
./includes/polling/ports.inc.php: // Fetch POWER-ETHERNET-MIB and
CISCO-POWER-ETHERNET-EXT-MIB if enable_ports_poe is enabled.
./includes/polling/ports.inc.php: // This data is used in the per-port poe include.
./includes/polling/ports.inc.php: $ports_module = 'enable_ports_poe';
./includes/polling/ports.inc.php: $ports_module = 'enable_ports_poe';
./includes/polling/ports.inc.php: if ($attribs[$ports_module] ||
($config[$ports_module] && !isset($attribs[$ports_module]))) { include("port-poe.inc.php"); }
./includes/polling/port-poe.inc.php: $rrdfile = get_port_rrdfilename($port, "poe");
266940 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/banon/port-6-poe.rrd
274245 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/danbo/port-8-poe.rrd
274249 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/unifi/port-2-poe.rrd
274251 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16 ./rrd/colby/port-2-poe.rrd
274246 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/hq-fw01/port-1-poe.rrd
141443 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:15
./rrd/hq-sw02.willingminds.com/port-10101-poe.rrd
139185 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-outsw01/port-10001-poe.rrd
266978 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/chevre/port-7-poe.rrd
143984 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-voipsw01.willingminds.com/port-10001-poe.rrd
394012 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/vacherin/port-1-poe.rrd
394011 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/vignotte-drac/port-8-poe.rrd
139651 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/valencay/port-2-poe.rrd
139671 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/dns01/port-2-poe.rrd
274244 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/derby/port-8-poe.rrd
394817 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/vignotte/port-1-poe.rrd
394008 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-vpn01/port-3-poe.rrd
143874 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ipv6.willingminds.com/port-1-poe.rrd
394829 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ap01/port-2-poe.rrd
394010 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/vacherin-drac/port-8-poe.rrd
143870 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-sw01.willingminds.com/port-10101-poe.rrd
394009 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/vendomois/port-1-poe.rrd
394828 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ap02/port-2-poe.rrd
139713 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:15
./rrd/hq-labsw01.willingminds.com/port-1-poe.rrd
143873 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-coresw01/port-10101-poe.rrd
139609 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-cr-epson7520/port-1-poe.rrd
--
Mark D. Nagel, CCIE #3177 Emeritus <***@willingminds.com>
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-844-4698
** For faster support response time, please
** email ***@willingminds.com or call 714-495-4000
proceeded to find out, no, not quite yet. From what I can tell, support is only partially
in place -- is that accurate? I found the global config param needed and set it, and it
looks like data is collecting in RRD files, but they are not included in the device
display. Is this just an in-progress thing?
Thanks,
Mark
./config.php:$config['enable_ports_poe'] = 1;
./includes/functions.inc.php: $rrd_types = array('adsl', 'dot3', 'fdbcount', 'poe', NULL);
./includes/defaults.inc.php:$config['enable_ports_poe'] = 0; // Enable PoE
stats collection
./includes/polling/ports.inc.php: // Fetch POWER-ETHERNET-MIB and
CISCO-POWER-ETHERNET-EXT-MIB if enable_ports_poe is enabled.
./includes/polling/ports.inc.php: // This data is used in the per-port poe include.
./includes/polling/ports.inc.php: $ports_module = 'enable_ports_poe';
./includes/polling/ports.inc.php: $ports_module = 'enable_ports_poe';
./includes/polling/ports.inc.php: if ($attribs[$ports_module] ||
($config[$ports_module] && !isset($attribs[$ports_module]))) { include("port-poe.inc.php"); }
./includes/polling/port-poe.inc.php: $rrdfile = get_port_rrdfilename($port, "poe");
266940 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/banon/port-6-poe.rrd
274245 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/danbo/port-8-poe.rrd
274249 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/unifi/port-2-poe.rrd
274251 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16 ./rrd/colby/port-2-poe.rrd
274246 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/hq-fw01/port-1-poe.rrd
141443 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:15
./rrd/hq-sw02.willingminds.com/port-10101-poe.rrd
139185 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-outsw01/port-10001-poe.rrd
266978 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/chevre/port-7-poe.rrd
143984 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-voipsw01.willingminds.com/port-10001-poe.rrd
394012 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/vacherin/port-1-poe.rrd
394011 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/vignotte-drac/port-8-poe.rrd
139651 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/valencay/port-2-poe.rrd
139671 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12 ./rrd/dns01/port-2-poe.rrd
274244 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11 ./rrd/derby/port-8-poe.rrd
394817 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/vignotte/port-1-poe.rrd
394008 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-vpn01/port-3-poe.rrd
143874 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ipv6.willingminds.com/port-1-poe.rrd
394829 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ap01/port-2-poe.rrd
394010 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:12
./rrd/vacherin-drac/port-8-poe.rrd
143870 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-sw01.willingminds.com/port-10101-poe.rrd
394009 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/vendomois/port-1-poe.rrd
394828 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-ap02/port-2-poe.rrd
139713 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:15
./rrd/hq-labsw01.willingminds.com/port-1-poe.rrd
143873 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:16
./rrd/hq-coresw01/port-10101-poe.rrd
139609 456 -rw-r--r-- 1 www-data www-data 464632 Jun 25 08:11
./rrd/hq-cr-epson7520/port-1-poe.rrd
--
Mark D. Nagel, CCIE #3177 Emeritus <***@willingminds.com>
Principal Consultant, Willing Minds LLC (http://www.willingminds.com)
cell: 949-279-5817, desk: 714-495-4001, fax: 714-844-4698
** For faster support response time, please
** email ***@willingminds.com or call 714-495-4000