76 Commits

Author SHA1 Message Date
f18fa9e455 - Pre-Init the $options array.
In some scenarios $options was already set with a previous filter.
- Remove RRD file checking, test for existance of components instead.
2016-02-23 17:16:51 +10:00
laf
b54ed80bfc Stop realtime graph page from auto refreshing 2015-12-07 01:51:26 +00:00
b72c1282d9 Merge pull request #2797 from BarbarossaTM/issue-386-v2
Ability to use ifIndex,ifName and ifDescr to create and update port rrd files
2016-01-29 13:05:03 +00:00
e54e22b56e - Changed upper case variables to lower case. 2016-01-26 23:31:07 +10:00
4d78a0261e Update graph and port pages to use new RRD naming schema.
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
2016-01-26 13:49:54 +01:00
bf37312bdc Cisco CBQOS
Implements the CISCO-CLASS-BASED-QOS-MIB to retrieve QOS counters from Cisco devices.
Policy and Class-map details are collected and stored in the database.
Details are presented on a new "CBQoS" tab of the interface that the policy is applied to.
Includes a policy selector that allows you to select which policy-map to show graphs for.

Each class-map has its own rrd file, in which 3 metrics are stored: Bytes, QoS Drops, Buffer Drops.
This can produce a LOT of rrd files.

As an example:
A Cisco 4500 series switch, running MQC on 200 ports. Each port has a common 5 class queueing policy applied, this creates 1000 (5 x 200) RRD's.

Because of this I have currently set:
```
$config['discovery_modules']['cisco-cbqos']    = 0;
```

Includes function snmpwalk_array_num, which performs a numeric SNMPWalk and returns an array containing $count indexes
One Index:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27.18']['655360'] = 0
Two Indexes:
 From: 1.3.6.1.4.1.9.9.166.1.15.1.1.27.18.655360 = 0
 To: $array['1.3.6.1.4.1.9.9.166.1.15.1.1.27']['18']['655360'] = 0
And so on...
2016-01-21 21:18:14 +10:00
d4c4f9d858 Merge pull request #2688 from Rosiak/port-notes
Add Port Notes Field
2016-01-06 14:08:53 +00:00
869234579a Convert to device_attribs 2016-01-04 20:23:32 +01:00
d22fc18f51 Add Port Notes Field
Add a “Notes” field for ports to accommodate #1897
2016-01-03 02:12:41 +01:00
fe86b998bf Switch device and port ARP tables to ajax
Allow sorting, filtering and paging of device and port ARP tables.
2015-12-24 10:58:12 -06:00
e6965765f5 Various UI changes 2015-09-21 01:30:23 +05:30
b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
laf
6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
154c67f180 Changed graphs using yearh to year 2014-10-09 17:12:07 +00:00
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +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
96884a1baf more time period corrections
git-svn-id: http://www.observium.org/svn/observer/trunk@3145 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 23:10:09 +00:00
8df2b9b3f5 remove legacy variables, hopefully i didn't mess anything up
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 18:38:11 +00:00
a12c71df4e quadgraphs -> graphrow
git-svn-id: http://www.observium.org/svn/observer/trunk@3093 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:49:38 +00:00
2667649d3c syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2970 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-06 13:56:23 +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
00b22a54a5 improved vlan display
git-svn-id: http://www.observium.org/svn/observer/trunk@2787 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 23:14:50 +00:00
53327231b7 better vlan discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2786 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 22:36:53 +00:00
afced3cd6c updates to various things. remove null from device_bits graph. add 'events' subtab to interface tab.
git-svn-id: http://www.observium.org/svn/observer/trunk@2720 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-12 14:21:01 +00:00
b6e7b4ef7a remove almost all base_url
git-svn-id: http://www.observium.org/svn/observer/trunk@2648 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-05 10:55:10 +00:00
a369c442eb syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2643 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 14:38:54 +00:00
2dc8b807e9 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2642 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 09:10:21 +00:00
9a1bee1458 more code cleanup (last commit for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:37:54 +00:00
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
7584bba741 more migration to new URL system
git-svn-id: http://www.observium.org/svn/observer/trunk@2492 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-18 13:11:04 +00:00
b2cd75c55f fix realtime graph (for now)
git-svn-id: http://www.observium.org/svn/observer/trunk@2459 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-14 15:33:23 +00:00
3b2446d3cb fixes to realtime graph
git-svn-id: http://www.observium.org/svn/observer/trunk@2428 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 04:54:34 +00:00
7da9f07f8a add interval chooser to realtime
git-svn-id: http://www.observium.org/svn/observer/trunk@2427 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:52:37 +00:00
9ec5bfd8b1 cleanup realtime :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2426 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:31:21 +00:00
3db21058d5 add realtime port page
git-svn-id: http://www.observium.org/svn/observer/trunk@2425 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 03:09:04 +00:00
7577b9fa14 device/port -> db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2333 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-16 10:52:48 +00:00
965db1b350 mac accounting fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@2209 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-30 10:43:27 +00:00
7b13ceef8f improve mac accounting (why was it in port? am i mental?)
git-svn-id: http://www.observium.org/svn/observer/trunk@2201 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 16:49:37 +00:00
9de8c08a65 remove REQUEST_URI from everywhere
git-svn-id: http://www.observium.org/svn/observer/trunk@2143 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-22 21:01:39 +00:00
173b095964 remove some leading slashiz
git-svn-id: http://www.observium.org/svn/observer/trunk@2085 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-15 14:10:24 +00:00
30358cd4d2 speedfix mac accounting (removed dns!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2073 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 12:41:01 +00:00
d77765262a interface -> port
git-svn-id: http://www.observium.org/svn/observer/trunk@2048 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-09 16:08:39 +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
f7ecdd3bac cleanup html entities etc, to make htmltidy a bit happier (but not blissful at all yet)
git-svn-id: http://www.observium.org/svn/observer/trunk@1981 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-28 09:11:05 +00:00
834989df95 restructure/reindent/htmlfix html pages, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1897 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-17 00:09:20 +00:00
1a477eebbe device subpages cleanup, remove dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1896 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 23:10:10 +00:00
b9faf0fbba fix arp webpage, found by falz
git-svn-id: http://www.observium.org/svn/observer/trunk@1829 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-14 18:10:05 +00:00