i have updated the "mactrack_hp_ng.php" script
(now portnames [ifAlias] are displayed instead of the portnumber in the name field )
and i made a snmp-adapted version for nortel-switches from it.
there is no recognizing of vlan-trunks and uplinks ... you have to exclude unwanted ports in your device/device-type settings to avoid duplicates
tested with Version 0.8.6j / mactrack-0.0.1b
should work for all procurve-switches from 26XX and for nortel ers (former passport8X00 not tested ! - please post when you did it) and baystacks with an actual firmware (tested: bs420 -> SW:v3.1.1.01; ers5520 -> SW:v5.0.7.017)
###### how? #######
copy scripts in: <path>/plugins/mactrack/lib
and register in: <path>/plugins/mactrack/lib/mactrack_vendors.php
Code: Select all
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2005 Larry Adams |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
*/
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_cabletron.php");
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_cisco.php");
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_norbay.php");
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_hp.php");
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_hp_ng.php");
include_once($config["base_path"] . "/plugins/mactrack/lib/mactrack_norbay_ng.php");
?>
then setup in mactrack -> device and -> device-types
if you see uglies and rubbish ... clean it ... and post it !