45 Commits

Author SHA1 Message Date
a5d0b0a306 Changed syntax of if statement for readability 2016-05-26 20:43:56 +01:00
18eab48d7e Correct array name 2016-05-25 20:13:56 +01:00
db5d074a52 Enable discovery of CDP neighbour by IP address 2016-05-25 09:52:28 +01:00
4bd3b12c44 revert to fetchRow 2015-12-13 21:00:39 +01:00
7237c84164 change fetchRow to fetchCell 2015-12-13 20:24:08 +01:00
29e708819a closes #2614 2015-12-13 20:15:43 +01:00
8ed1a50657 Added parameter for sql query to check ifPhysAddress as thats what lldpRemPortId is 2015-12-09 20:37:15 +00:00
677a4f3f5f Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir.. 2015-08-21 16:10:01 +02:00
009cfdf13f ource of MIBs is www.pbnglobal.com 2015-08-17 20:44:52 +02:00
5fea54ca6a add NMS-LLDP-MIB discovery for PBN devices 2015-08-17 18:12:49 +02:00
laf
de0f9ee697 PBN devices support CDP but does not output like Cisco so using a different function to grab the first array needed 2015-08-04 20:37:05 +00:00
laf
741742aa85 Added debug to discovery protocols + stop them running if not configured 2015-08-02 19:23:54 +00:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
adb036759e Updated autodiscovery to use log_event better 2015-07-13 11:52:38 +01:00
laf
ac0221f7e5 Update SQL query for ospf_nbrs lookup to use device_id 2015-05-20 13:41:23 +01:00
ab66b453e4 Make OSPF & ARP autodiscovery independent of xDP autodiscovery
Both OSPF & ARP discovery use discover_new_device(), but it was checking
$config[autodiscovery][xdp] internally, meaning xDP had to be enabled for the other two to work.
2015-05-18 20:32:11 +10:00
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
laf
c8a5a90364 Updated dbFetchRows 2015-04-11 15:45:17 +01:00
laf
818cbcc731 Added ospf discovery 2015-04-11 15:01:14 +01:00
laf
8f5d6e8a94 Added code to rediscovery links and include device ids 2015-03-28 14:05:40 +00:00
laf
3483952dd7 Fixed more backticks missing 2014-06-24 02:43:05 +01:00
laf
02792176fa Updated most files to use dbFacile 2014-03-12 22:21:33 +00:00
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
3407022cb0 add loadbalancer device type, netscaler = loadbalancer, patch by mgm
git-svn-id: http://www.observium.org/svn/observer/trunk@2844 61d68cd4-352d-0410-923a-c4978735b2b8
2012-01-20 13:15:05 +00:00
fe53a6b9ff move cdp detection to dbFacile, make dbFacile debugging output put \n before output
git-svn-id: http://www.observium.org/svn/observer/trunk@2791 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-16 14:42:37 +00:00
de3dda9c0b fix cdp discovery exclusions, adds is_valid_hostname function; get values from database if cache is not populated
git-svn-id: http://www.observium.org/svn/observer/trunk@2657 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-06 13:13:15 +00:00
a6c0719c29 fix cdp link discovery?
git-svn-id: http://www.observium.org/svn/observer/trunk@2656 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-06 09:46:51 +00:00
8364eb102b filter out weird entries from CDP link discovery, generated at least by hp procurve switches
git-svn-id: http://www.observium.org/svn/observer/trunk@2649 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-05 13:46:16 +00:00
649e8586e1 remove battery status from areca; code cleanup; insert into eventlog when device is XDP-discovered
git-svn-id: http://www.observium.org/svn/observer/trunk@2601 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-28 14:30:24 +00:00
dc0ebc7343 more code cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2517 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:22:34 +00:00
fb5d8b398f new funky discovery stuff (autodiscovery works now for discovery protocols)
git-svn-id: http://www.observium.org/svn/observer/trunk@2460 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-14 17:26:59 +00:00
57e292907a fix globals in discovery modules
git-svn-id: http://www.observium.org/svn/observer/trunk@2234 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 09:13:32 +00:00
2b9cad302d add xen support to libvirt vm discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2111 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 16:48:33 +00:00
d038a24ffe update to map
git-svn-id: http://www.observium.org/svn/observer/trunk@2108 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 11:19:46 +00:00
f55a30f744 some formatting cleanups, introduce some more FIXMEs to look at, plus replace mysql_fetch_array by mysql_fetch_assoc, for great justice
git-svn-id: http://www.observium.org/svn/observer/trunk@2029 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 13:54:50 +00:00
12fbf7430c more cleanup/reindent, yay
git-svn-id: http://www.observium.org/svn/observer/trunk@1839 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 11:24:35 +00:00
30bdd952ee Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-20 14:04:07 +00:00
0db6ad08ff vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 17:08:56 +00:00
ffb55444aa also run CDP discovery on non-IOS hosts
git-svn-id: http://www.observium.org/svn/observer/trunk@1638 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-03 15:33:20 +00:00
ee3fbf8a5f fix lldp discovery code, small fix, addhost fix
git-svn-id: http://www.observium.org/svn/observer/trunk@1547 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-30 15:04:44 +00:00
927c92e8dd fixes to lldp discovery (use dot1dBasePortIfIndex if exists) reported by Bill Fenner from Arista.
git-svn-id: http://www.observium.org/svn/observer/trunk@1505 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 18:56:14 +00:00
e220114f4c add some mibs, update snmp functions
git-svn-id: http://www.observium.org/svn/observer/trunk@1458 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-22 21:58:49 +00:00
c5f851a00f some code formatting improvements from sovern
git-svn-id: http://www.observium.org/svn/observer/trunk@1300 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 19:21:36 +00:00
0bee34b6ad change interfaces table to ports (to match GUI conventions)
git-svn-id: http://www.observium.org/svn/observer/trunk@889 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-20 17:22:22 +00:00
fd3955d8f0 move cpd-ldp to discovery-protocols
git-svn-id: http://www.observium.org/svn/observer/trunk@888 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-20 15:09:31 +00:00