36 Commits

Author SHA1 Message Date
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
laf
11d91215cb Added predicated usage to bills, basic at present 2016-08-13 01:11:20 +01:00
laf
5a9a963a03 Final fixes for billing 2016-07-17 20:35:50 +01:00
laf
eb58daa207 Scrut fixes 2016-07-07 19:10:37 +01:00
laf
e5e1e89331 Sanity check the in/out_delta value, if it's out of the range of the
ifSpeed then we use the previous value
2016-06-15 16:25:14 +00:00
Richard Lawley
2455feb1c9 Scrut fix + Notification 2016-03-07 18:41:51 +00:00
Richard
042ddaa6fe Remove duplicate data from bill_data and add PK to prevent recurrence 2016-03-07 18:31:12 +00:00
Richard
19e9cda8d0 Replace port_in/out_measurements with latest values only 2016-03-07 18:31:12 +00:00
Richard
d759c4ac9d Improve performance of billing poller 2016-03-01 10:20:25 +00:00
Zollner Robert
0a48338fe0 Fix getRates should return in and out average rates
/billing-calculate.php depends on these return values.
2015-11-02 03:48:12 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Neil Lathwood
a4d3c8709d Fixed the scrut coding style issues 2015-02-22 16:45:40 +00:00
Tom Laermans
4fad2ccc68 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2967 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:44:58 +00:00
Adam Amstrong
ff9d09911b more accurate 95th (order by rate, not delta, duh)
git-svn-id: http://www.observium.org/svn/observer/trunk@2772 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-12 12:05:25 +00:00
Adam Amstrong
d0cee15757 billing fixes and improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@2764 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-07 13:52:46 +00:00
Adam Amstrong
38f95ce512 fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@2762 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-06 23:02:31 +00:00
Adam Amstrong
a1e96f708f billing rewrite (disabling svn after)
git-svn-id: http://www.observium.org/svn/observer/trunk@2758 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-06 22:17:37 +00:00
Adam Amstrong
d94b0bd1c2 add bill from device/port, some billing changes
git-svn-id: http://www.observium.org/svn/observer/trunk@2756 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-05 12:15:41 +00:00
Adam Amstrong
f7eb392298 billing improvements from codekiller.
git-svn-id: http://www.observium.org/svn/observer/trunk@2715 61d68cd4-352d-0410-923a-c4978735b2b8
2011-11-05 14:55:08 +00:00
Tom Laermans
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
Tom Laermans
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
Adam Amstrong
770ccc46a3 updates to billing setup
git-svn-id: http://www.observium.org/svn/observer/trunk@2448 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-12 10:51:50 +00:00
Adam Amstrong
5f8edbc426 fixes to displaying billing (incomplete)
git-svn-id: http://www.observium.org/svn/observer/trunk@2420 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-05 17:09:50 +00:00
Adam Amstrong
ebcbf22317 move includes/billing.php includes/syslog.php and includes/functions.php to dbFacile
git-svn-id: http://www.observium.org/svn/observer/trunk@2278 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 11:58:17 +00:00
Tom Laermans
4bc15529d4 eradicate split() in favour of explode()
git-svn-id: http://www.observium.org/svn/observer/trunk@2054 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-11 09:22:12 +00:00
Tom Laermans
bb4746d4d0 cleanups, small fixes and remove test-*php from the root
git-svn-id: http://www.observium.org/svn/observer/trunk@1998 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-31 10:51:02 +00:00
Tom Laermans
de7ff537cc revert r1957 patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1960 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-23 09:54:56 +00:00
Geert Hauwaerts
6501cd29b5 - Code cleanup by Bastian Widmer.
git-svn-id: http://www.observium.org/svn/observer/trunk@1957 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 20:27:39 +00:00
Adam Amstrong
46e2af2c7f fix some billing shit. thanks to fall0ut
git-svn-id: http://www.observium.org/svn/observer/trunk@1954 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-22 12:09:25 +00:00
Tom Laermans
06ad6dc881 zeropad for jeeves
git-svn-id: http://www.observium.org/svn/observer/trunk@1877 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 15:02:39 +00:00
Tom Laermans
d077282444 Reindent/cleanup, remove dead files
git-svn-id: http://www.observium.org/svn/observer/trunk@1858 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:39:57 +00:00
Adam Amstrong
4fc6629f00 billing bugfix :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1228 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-21 04:28:37 +00:00
Adam Amstrong
dde365e30c many polling and discovery performance improvements
git-svn-id: http://www.observium.org/svn/observer/trunk@408 61d68cd4-352d-0410-923a-c4978735b2b8
2009-04-24 15:04:45 +00:00
Adam Amstrong
7249a1d947 add jpgraph (Q LICENSE)
git-svn-id: http://www.observium.org/svn/observer/trunk@358 61d68cd4-352d-0410-923a-c4978735b2b8
2009-03-17 20:49:01 +00:00
Adam Amstrong
96bb007d4b per-port SNMP polling. thanks to jonathan@studenteninternet.be
git-svn-id: http://www.observium.org/svn/observer/trunk@340 61d68cd4-352d-0410-923a-c4978735b2b8
2009-02-02 16:00:11 +00:00
Adam Amstrong
f738fd09db cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@322 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-26 18:22:11 +00:00