Adam Amstrong
9fc744aac3
updates to addhost and cleanups. add ability to do colour on console :D :D :D
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2430 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 12:24:18 +00:00
Adam Amstrong
29bdc0841c
fixes to delhost
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2392 61d68cd4-352d-0410-923a-c4978735b2b8
2011-07-12 21:59:17 +00:00
Adam Amstrong
bf1d43ae65
improve efficiency of devices/ports/, add some caching, fix db profiling.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2349 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-19 10:02:55 +00:00
Adam Amstrong
c698f476f0
rows. rows. ROWS. NOT FUCKING ROW.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2313 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 15:07:10 +00:00
Adam Amstrong
70310886f8
more db*
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2312 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 15:05:29 +00:00
Geert Hauwaerts
e18b0b20b2
- Remove aboslete debugging
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2306 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 13:05:40 +00:00
Geert Hauwaerts
993b5c5ead
BUGFIX: Typo fix in SQL query.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2304 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 12:55:01 +00:00
Geert Hauwaerts
ad1ca375e2
- BUGFIX: getidbyname() did not pass parameters to MySQL correctly.
...
- Restructured sysContact and sysLocation "not set" code.
- Do not display "SNMP Location" when empty or unset.
git-svn-id: http://www.observium.org/svn/observer/trunk@2299 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 12:28:57 +00:00
Adam Amstrong
870abb6afe
fix some dbFetchCell -> dbFetchRow
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2291 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 22:20:05 +00:00
Adam Amstrong
2522421528
replace mysql_ with db* (update with caution, it works for me but...)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2282 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 17:59:00 +00:00
Adam Amstrong
209313da20
more isset() from stintel
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2251 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 14:39:50 +00:00
Adam Amstrong
b11ad816aa
poller overhaul. system/os split into modules. each device is wrapped in poll_device(). this probably breaks everything for you. adios, little datums.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2231 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:17:04 +00:00
Adam Amstrong
c5bac776db
updates
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2230 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 20:13:15 +00:00
Tom Laermans
a8852e2f72
cleanup
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2199 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-28 21:12:16 +00:00
Adam Amstrong
04f5389e77
correctly calculate limits for negative voltage sensors
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2192 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-28 13:06:39 +00:00
Adam Amstrong
a0ca6706fb
add tracking for port-stack
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2185 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-27 17:41:35 +00:00
Adam Amstrong
f80ecae2e3
unify sensor rrd filenaming, move to fuction.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2168 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-26 15:07:52 +00:00
Tom Laermans
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
Adam Amstrong
7cb0d7941c
move format* functions to common (are they actually just web-only?)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2024 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-05 13:29:57 +00:00
Tom Laermans
b7720135e9
small cleanups etc, plus allow sysLocation override
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2000 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-31 17:19:54 +00:00
Tom Laermans
2c300b5bf4
cleanups, extend ports.port_descr_type length to 255, maybe break billing, remove and add some FIXMEs, poll toner with snmp_get
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1985 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-28 20:29:34 +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
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
Tom Laermans
92777ab03b
cleanups, reindents, etc
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1821 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-11 18:03:49 +00:00
Adam Amstrong
3d937d28e9
graphing system updates
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1599 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-01 14:17:06 +00:00
Adam Amstrong
f29e7b755b
redesigned graph defining system (still seems a bit batshit, but nevermind). lots of improvements to various pollers, only writing RRDs if valid data is returned, etc.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1506 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-28 19:43:02 +00:00
Adam Amstrong
9052296c13
lots of cleanups to various things
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1463 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-23 13:42:28 +00:00
Adam Amstrong
ca4871ced7
remove parenthesis from safe filenames filter (parenthesis are certified unsafe by the WHO and should be eradicated where possible.)
...
boob /\\ quake //\ ???
// ||_ _|| \\
__||_( `. ,' )_||___
|______\____X____/______;|
git-svn-id: http://www.observium.org/svn/observer/trunk@1081 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-29 00:44:54 +00:00
Adam Amstrong
38a33e5661
allow customisable filtering of interfaces from device_bits graph (also usable on theoretical device_pkts and device_errors)
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1068 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-20 15:46:17 +00:00
Adam Amstrong
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
Adam Amstrong
1a79148fd8
fix typo in safename (now matches (, was missing a \!
...
git-svn-id: http://www.observium.org/svn/observer/trunk@859 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-15 18:19:42 +00:00
Tom Laermans
57a9689ddd
correctly escape : for temperatures so FPC temperature works on junos + add safename() function to strip unwanted characters from filenames - should not break anything existing afaik
...
git-svn-id: http://www.observium.org/svn/observer/trunk@765 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-05 22:10:06 +00:00
Tom Laermans
a46d4d7ce3
fixed the interface display in event log, plus some html fixes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@624 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-08 23:09:25 +00:00
Adam Amstrong
1f1eda9764
Major updates on the road to 0.7
...
git-svn-id: http://www.observium.org/svn/observer/trunk@492 61d68cd4-352d-0410-923a-c4978735b2b8
2009-10-28 13:49:37 +00:00
Adam Amstrong
bfc9f845ce
replacing <? with <?php
...
git-svn-id: http://www.observium.org/svn/observer/trunk@466 61d68cd4-352d-0410-923a-c4978735b2b8
2009-09-07 11:07:59 +00:00
Adam Amstrong
6c56299161
updates and fixes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@439 61d68cd4-352d-0410-923a-c4978735b2b8
2009-06-19 10:43:02 +00:00
Adam Amstrong
67fc89c6e7
updates
...
git-svn-id: http://www.observium.org/svn/observer/trunk@428 61d68cd4-352d-0410-923a-c4978735b2b8
2009-05-11 13:43:59 +00:00
Adam Amstrong
cf1e2830cf
graphing improvements
...
git-svn-id: http://www.observium.org/svn/observer/trunk@427 61d68cd4-352d-0410-923a-c4978735b2b8
2009-05-07 13:47:51 +00:00
Adam Amstrong
0c4fa28c5e
fixes
...
git-svn-id: http://www.observium.org/svn/observer/trunk@308 61d68cd4-352d-0410-923a-c4978735b2b8
2008-11-20 14:58:11 +00:00
Adam Amstrong
a8a7e04f1f
fix some polling things. maybe.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@213 61d68cd4-352d-0410-923a-c4978735b2b8
2008-03-31 13:08:17 +00:00