27 Commits

Author SHA1 Message Date
1bbbaff58b refactor: Moved ifLabel -> cleanPort and updated the usage (#6288)
* refactor: Moved ifLabel -> cleanPort and updated the usage

* added list of tags allowed

* few updates as per comments from @murrant

* Added simple unit tests

* double display for javascript popover

* Remove ifNameDescr() function
Fix realtime port page

* remove accidental temp code

* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
57650e4ffc Remove nfs requirement for distributed poller (with rrdtool 1.5+)
Use data_update instead of rrd_update/rrd_create and influx_update
Centralize rrd file check so we can check against a remote rrdcached server too
Use rrd_name() to generate rrd file names
2016-07-07 21:10:06 -05:00
4fa88bb928 Remove all unneeded if($debug)-statements and replace them with d_echo . html dir.. 2015-08-21 16:10:01 +02:00
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02: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
d52042ba47 cleanups to how graphing works. start using device= for device graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@3167 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-11 13:26:14 +00:00
ee65ae5350 add previous period overlay to generic_bits/bytes and generic_duplex
git-svn-id: http://www.observium.org/svn/observer/trunk@3063 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-20 10:35:13 +00:00
a9cac94659 rra? no. you mean ds. also make multi_bits_separated prettier
git-svn-id: http://www.observium.org/svn/observer/trunk@2534 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-21 11:59:59 +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
ac320288e7 debugging and fix error messages (graph_error())
git-svn-id: http://www.observium.org/svn/observer/trunk@2383 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 10:05:36 +00:00
889161f02a debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@2382 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 10:04:11 +00:00
ab98cafe10 debug
git-svn-id: http://www.observium.org/svn/observer/trunk@2381 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 09:56:32 +00:00
33f8e9423a debug
git-svn-id: http://www.observium.org/svn/observer/trunk@2380 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 09:55:07 +00:00
04138b7512 debug
git-svn-id: http://www.observium.org/svn/observer/trunk@2379 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 09:54:05 +00:00
8896de88d3 debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@2378 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-01 09:52:03 +00:00
305d25eb8e fixing this
git-svn-id: http://www.observium.org/svn/observer/trunk@2368 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-26 15:00:54 +00:00
f2f9240b20 and now
git-svn-id: http://www.observium.org/svn/observer/trunk@2367 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-26 14:49:21 +00:00
f549a49e25 fix again?
git-svn-id: http://www.observium.org/svn/observer/trunk@2366 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-26 14:47:49 +00:00
1f33acd2b7 fix prev
git-svn-id: http://www.observium.org/svn/observer/trunk@2354 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-20 16:19:17 +00:00
e7eac601b9 add ability to pass error message to graph, and use this for mac accounting
git-svn-id: http://www.observium.org/svn/observer/trunk@2353 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-20 16:05:29 +00:00
3041b03da2 graphs auth.inc.phps to db*
git-svn-id: http://www.observium.org/svn/observer/trunk@2303 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 12:49:23 +00:00
8e9f47f2b9 fixes to many little things. collection of ospf neighbours (but we can't definitely work out what interface they're on, fucking mib is lame!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2210 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-30 22:20:11 +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
28558969c4 improvements to BGP stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2200 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-29 16:32:55 +00:00