Commit Graph

1157 Commits

Author SHA1 Message Date
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
bc0cdd2415 move poller.php (inc os/system) to db* (and others, but poller is biggest change)
git-svn-id: http://www.observium.org/svn/observer/trunk@2298 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 11:42:26 +00:00
Adam Amstrong
6f461860f9 sort of fix syslog. ish.
git-svn-id: http://www.observium.org/svn/observer/trunk@2295 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-13 00:13:57 +00:00
Adam Amstrong
e1829ba0f7 revert something that broke syslog 2 months ago...
git-svn-id: http://www.observium.org/svn/observer/trunk@2293 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 23:15:56 +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
6bcc4f4e48 fix some stuff, break some stuff (ports disaply is missing some stuff atm)
git-svn-id: http://www.observium.org/svn/observer/trunk@2290 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 22:14:56 +00:00
Adam Amstrong
48f4c0e131 remove debugging. doh. (it was fun debugging though, first time i ever saw all of our queries!)
git-svn-id: http://www.observium.org/svn/observer/trunk@2289 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 21:46:51 +00:00
Adam Amstrong
e9865c792b fix quoting in dbFacile :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2288 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 21:46:16 +00:00
Adam Amstrong
fd092a29e3 unused interfaces poller
git-svn-id: http://www.observium.org/svn/observer/trunk@2283 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 18:30:17 +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
66ca98fa63 epic fail :D
git-svn-id: http://www.observium.org/svn/observer/trunk@2281 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 14:15:20 +00:00
Adam Amstrong
6e164d35ff safer createHost()
git-svn-id: http://www.observium.org/svn/observer/trunk@2280 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 14:10: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
Adam Amstrong
9c2a61d84a remove PDO, test some dbFacile
git-svn-id: http://www.observium.org/svn/observer/trunk@2276 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-12 11:08:56 +00:00
Adam Amstrong
26d4bb2eee dead old function
git-svn-id: http://www.observium.org/svn/observer/trunk@2275 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-11 21:53:08 +00:00
Adam Amstrong
e8a69882e2 don't die if no PDO. remove ancient cleanup.php
git-svn-id: http://www.observium.org/svn/observer/trunk@2273 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-10 19:30:40 +00:00
Adam Amstrong
585e69c826 first PDO commit. make connection in static-config, use in /devices/
git-svn-id: http://www.observium.org/svn/observer/trunk@2272 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-10 10:34:51 +00:00
Tom Laermans
8c840da62d moved ipmi_unit variable to config variable, patch by lenwe
git-svn-id: http://www.observium.org/svn/observer/trunk@2271 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-09 08:18:30 +00:00
Geert Hauwaerts
02095b252e - BUGFIX: hrDevice overwrite $device['os'], making everything arista-eos.
git-svn-id: http://www.observium.org/svn/observer/trunk@2269 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-08 12:46:11 +00:00
Adam Amstrong
2383cd1dfe fix adding/removal of graphs (DUH). fix UCD-MIB. (also switch to /new/ format graphs soon? :))
git-svn-id: http://www.observium.org/svn/observer/trunk@2267 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-08 00:13:58 +00:00
Tom Laermans
ac640d456c fix ignore mount regexp
git-svn-id: http://www.observium.org/svn/observer/trunk@2265 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 17:43:15 +00:00
Adam Amstrong
a5a2ecf990 fenner be quiet
git-svn-id: http://www.observium.org/svn/observer/trunk@2264 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 14:04:53 +00:00
Adam Amstrong
4a2004a53a ignore silly aggregate processor on hrDevice index 1 on arista-eos
git-svn-id: http://www.observium.org/svn/observer/trunk@2263 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 10:32:32 +00:00
Adam Amstrong
67831450de unfuck ipmi and update changelog and snmp.conf.example
git-svn-id: http://www.observium.org/svn/observer/trunk@2261 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-06 09:59:37 +00:00
Adam Amstrong
78dc7147a6 stupid pole :>
git-svn-id: http://www.observium.org/svn/observer/trunk@2259 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 20:36:14 +00:00
Adam Amstrong
163dba0633 temp monitoring fix for catos from lenwe
git-svn-id: http://www.observium.org/svn/observer/trunk@2256 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 19:47:39 +00:00
Adam Amstrong
dfd8df5e10 add versioncheck :>
git-svn-id: http://www.observium.org/svn/observer/trunk@2253 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 14:59:07 +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
ec5e826b30 cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2248 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 13:04:38 +00:00
Adam Amstrong
63b25bb2f7 break up array()s into individual definitions. add unadded files.
git-svn-id: http://www.observium.org/svn/observer/trunk@2247 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 11:27:22 +00:00
Adam Amstrong
1ec4eaadbb set executable. move poller/discovery modules to defaults.
git-svn-id: http://www.observium.org/svn/observer/trunk@2244 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 10:28:36 +00:00
Adam Amstrong
f7957abe2c remove naughty debugging fairy
git-svn-id: http://www.observium.org/svn/observer/trunk@2241 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 13:54:39 +00:00
Tom Laermans
36d321b729 do not want print_r
git-svn-id: http://www.observium.org/svn/observer/trunk@2240 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 13:53:33 +00:00
Adam Amstrong
20c2f225c9 fix temperatures i think.
git-svn-id: http://www.observium.org/svn/observer/trunk@2239 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 13:22:41 +00:00
Adam Amstrong
7cd3dc86ec fix temperature and processors discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2238 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 12:58:57 +00:00
Adam Amstrong
bccaa2c279 fix temperatures
git-svn-id: http://www.observium.org/svn/observer/trunk@2237 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 11:09:27 +00:00
Adam Amstrong
a2891ea8f2 fix sensors (maybe)
git-svn-id: http://www.observium.org/svn/observer/trunk@2236 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 11:04:19 +00:00
Adam Amstrong
b3bd336515 fix ipv6-addresses discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2235 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-04 10:45:38 +00:00
Adam Amstrong
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
Adam Amstrong
00121fd3f8 fixes to new poller
git-svn-id: http://www.observium.org/svn/observer/trunk@2233 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:46:25 +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
Adam Amstrong
5d5c04b236 another one. fail.
git-svn-id: http://www.observium.org/svn/observer/trunk@2229 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 16:58:30 +00:00
Adam Amstrong
759572beea fix some mistakes :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2228 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 16:56:58 +00:00
Adam Amstrong
e7ac916423 _ _ _ ___ __ _______ _ _____ ____ _
| | | |  / \  |_ _| \ \ / / ____| |   | ____|  _ \  | |
| |_| | / _ \  | |   \ V /|  _| | |   |  _| | | | | | |
|  _  |/ ___ \ | |    | | | |___| |___| |___| |_| | |_|
|_| |_/_/   \_\___|   |_| |_____|_____|_____|____/  (_)




git-svn-id: http://www.observium.org/svn/observer/trunk@2226 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 16:25:55 +00:00
Adam Amstrong
749d4d3376 dynamic poller/discovery modules. FUCK YEAH. PROFESHUNAL!
git-svn-id: http://www.observium.org/svn/observer/trunk@2225 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 16:02:29 +00:00
Tom Laermans
f2890e2de0 ospf moar cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2218 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-02 15:18:46 +00:00
Tom Laermans
eb2d53bec1 ospf fixes from Bill Fenner, plus some cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2217 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-02 15:16:33 +00:00
Adam Amstrong
aa29010658 unset lots of things in ucd-mib
git-svn-id: http://www.observium.org/svn/observer/trunk@2214 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 17:33:43 +00:00
Tom Laermans
6e5558db82 cleanups etc
git-svn-id: http://www.observium.org/svn/observer/trunk@2213 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-01 17:26:06 +00:00