159 Commits

Author SHA1 Message Date
Tom Laermans
103187e4f4 fix install_dir in include_dir and add optional regex
git-svn-id: http://www.observium.org/svn/observer/trunk@1369 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-16 09:23:02 +00:00
Tom Laermans
07880d572d show disabled devices in grey in device list
git-svn-id: http://www.observium.org/svn/observer/trunk@1366 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-16 00:02:29 +00:00
Tom Laermans
eb1c9f2763 added a bunch of device types to discover
git-svn-id: http://www.observium.org/svn/observer/trunk@1363 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-15 23:17:25 +00:00
Tom Laermans
3f3b6c1c86 actually commit powervault detection + minor polling
git-svn-id: http://www.observium.org/svn/observer/trunk@1357 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-15 17:21:02 +00:00
Adam Amstrong
2e581828b6 recognise some new OSes, add an image for dlink, move sysObjectId polling to be global for os detection
git-svn-id: http://www.observium.org/svn/observer/trunk@1345 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-11 20:12:24 +00:00
Adam Amstrong
6a673c1cce updated email sending to allow global disabling and sysContact override
git-svn-id: http://www.observium.org/svn/observer/trunk@1344 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-11 19:11:46 +00:00
Adam Amstrong
776f655055 add port parser to default config, rename some stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@1328 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-10 11:47:27 +00:00
Tom Laermans
5c97185974 automatically load all temperature include files, moved almost all of them over to internal snmp functions, PLEASE TEST
git-svn-id: http://www.observium.org/svn/observer/trunk@1325 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-09 22:38:46 +00:00
Tom Laermans
1ed4749f40 move current to sensors table, plug some sql injection holes
git-svn-id: http://www.observium.org/svn/observer/trunk@1312 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-07 14:34:44 +00:00
Tom Laermans
27d1a215f3 Move voltages to sensors table, clean up some unused functions and move web-only functions to the html includes file
git-svn-id: http://www.observium.org/svn/observer/trunk@1311 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-07 13:58:11 +00:00
Tom Laermans
9851b77203 add functions to identify and decode snmp hex strings, add hex string support to jetdirect for toners
git-svn-id: http://www.observium.org/svn/observer/trunk@1298 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-05 15:27:01 +00:00
Adam Amstrong
605f67b935 bad klaver :>
git-svn-id: http://www.observium.org/svn/observer/trunk@1277 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-28 12:49:26 +00:00
Tom Laermans
635398d2c8 move temperatures to sensors table - please run discovery immediately after svn up
git-svn-id: http://www.observium.org/svn/observer/trunk@1269 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-25 22:12:56 +00:00
Tom Laermans
b2cfd87081 per device type hover graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@1263 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-24 18:04:42 +00:00
Tom Laermans
f341e1c472 clean up commandline delhost output
git-svn-id: http://www.observium.org/svn/observer/trunk@1248 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-23 14:49:08 +00:00
Adam Amstrong
6213e164ab small cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1235 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-21 16:29:43 +00:00
Adam Amstrong
8060d5a030 rejig events system (still not great. meh) clean up some pages.
git-svn-id: http://www.observium.org/svn/observer/trunk@1223 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-20 21:37:05 +00:00
Tom Laermans
033dd8524f fix serial parsing for some areca controller firmwares
git-svn-id: http://www.observium.org/svn/observer/trunk@1209 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-18 16:38:41 +00:00
Tom Laermans
e744bc3057 also remove from general functions.php
git-svn-id: http://www.observium.org/svn/observer/trunk@1203 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-18 14:22:17 +00:00
Tom Laermans
995f3e3800 clear out more tables when deleting a device
git-svn-id: http://www.observium.org/svn/observer/trunk@1111 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-09 17:31:48 +00:00
Adam Amstrong
81277280da cleaup some graph drawing functions and interface text printing functions (much moar needed)
git-svn-id: http://www.observium.org/svn/observer/trunk@1086 61d68cd4-352d-0410-923a-c4978735b2b8
2010-05-02 23:24:47 +00:00
Adam Amstrong
2b5fbd67f2 clean up device/interface removal code (it's still fucking foul, but meh)
git-svn-id: http://www.observium.org/svn/observer/trunk@1076 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-24 23:16:12 +00:00
Adam Amstrong
fc0050d83c add page to remove deleted ports (pour mon petit grenouille!)
nn
  _.__-'@_ \/  _@'-__._
 /     '--)   (--`     \
/  >__<<_/  o  \_>>__<  \
 \\=x  \=x \|/ x=/  x=//



git-svn-id: http://www.observium.org/svn/observer/trunk@1074 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-24 22:43:25 +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
e09dfed028 only print interface/device links if the user is allowed to see that device/interface. (TODO: graph security)
git-svn-id: http://www.observium.org/svn/observer/trunk@1060 61d68cd4-352d-0410-923a-c4978735b2b8
2010-04-11 09:52:59 +00:00
Adam Amstrong
a443f31644 fix
git-svn-id: http://www.observium.org/svn/observer/trunk@1025 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-14 01:39:00 +00:00
Tom Laermans
d9ceca0dc1 warnings cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@996 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-06 01:26:33 +00:00
Adam Amstrong
1e7860e930 bit of restructuring and tiding. all hail bunny.
git-svn-id: http://www.observium.org/svn/observer/trunk@977 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-28 22:04:15 +00:00
Geert Hauwaerts
49917c671c - Additional Cisco hardware check.
git-svn-id: http://www.observium.org/svn/observer/trunk@962 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-26 14:02:00 +00:00
Adam Amstrong
3405339a3d continuation of storage changes, addition of rrdtool functions
git-svn-id: http://www.observium.org/svn/observer/trunk@937 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-24 13:46:12 +00:00
Geert Hauwaerts
32255a829f - Device hardware rewrite addon (Ex "CISCO1841" to "Cisco 1841")
git-svn-id: http://www.observium.org/svn/observer/trunk@930 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 21:05:58 +00:00
Adam Amstrong
de075546b0 add service history RRD and graph
git-svn-id: http://www.observium.org/svn/observer/trunk@926 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 19:32:08 +00:00
Geert Hauwaerts
d54df316ac - Added a utility function formatCiscoHardware()
Params: - A reference to the $device array.
          - An optional (true) if you want the platform only (and not the part number)
- In device overview place Hardware before Operating System (makes more sence)
- Added virtual $device['hardware'] for Cisco platforms without an hardware tag (like Cisco 3750)


git-svn-id: http://www.observium.org/svn/observer/trunk@925 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 17:02:20 +00:00
Tom Laermans
8ac21dc054 add single quotes in eventlog statement
git-svn-id: http://www.observium.org/svn/observer/trunk@923 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 15:18:13 +00:00
Tom Laermans
eb7835c8b3 hm, fix to last commit, debug output would never fire
git-svn-id: http://www.observium.org/svn/observer/trunk@921 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 14:57:36 +00:00
Tom Laermans
bfba015815 hide debug output from log_event()
git-svn-id: http://www.observium.org/svn/observer/trunk@920 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-21 14:56:20 +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
3c11291488 add generic device, hackeryfix hr-mib memory
git-svn-id: http://www.observium.org/svn/observer/trunk@882 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-17 18:54:34 +00:00
Adam Amstrong
09e22b2f63 adding SNMP trap handling capability (yes it is horrible horrible right now!)
git-svn-id: http://www.observium.org/svn/observer/trunk@880 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-17 11:02:18 +00:00
Tom Laermans
6a9940fe5e cleanups + remove space in astext
git-svn-id: http://www.observium.org/svn/observer/trunk@867 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-16 00:52:40 +00:00
Adam Amstrong
38f0170b0b cdp/lldp rewrite and addition of brocade FDP discovery. now records neighbours even if it doesn't monitor that neighbour
git-svn-id: http://www.observium.org/svn/observer/trunk@862 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-15 23:56:30 +00:00
Adam Amstrong
54e8ac3cbd add new IronWare (Brocade/Foundry) OS type. rename temp/fan/voltage_host to device_id
git-svn-id: http://www.observium.org/svn/observer/trunk@830 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-13 07:40:43 +00:00
Adam Amstrong
4bec5c75e7 remove broken juniper mib (J mibs suck, C implementation sucks.)
git-svn-id: http://www.observium.org/svn/observer/trunk@797 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-09 14:11:10 +00:00
Adam Amstrong
1ad3650475 start cleanup of overlib into functions. create defaults.inc.php for new settings (why not before? because i suck. duh.)
git-svn-id: http://www.observium.org/svn/observer/trunk@796 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-08 18:56:26 +00:00
Tom Laermans
e77c976670 use rrdtool_update() everywhere instead of single rrdtool update lines, remove some dead code, and a bunch of coding style cleanups..
git-svn-id: http://www.observium.org/svn/observer/trunk@780 61d68cd4-352d-0410-923a-c4978735b2b8
2010-02-07 22:39:02 +00:00
Adam Amstrong
d02ade9ba6 speedups to syslog page, caching of device_id
git-svn-id: http://www.observium.org/svn/observer/trunk@743 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-29 21:10:05 +00:00
Tom Laermans
a805d51c3a nicer uptime display for 1 day
git-svn-id: http://www.observium.org/svn/observer/trunk@737 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-28 17:42:50 +00:00
Tom Laermans
96d5c322b3 rewrote shorthost function, made some php warnings go away (when using 'use strict' equivalent ;)
git-svn-id: http://www.observium.org/svn/observer/trunk@701 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-16 23:16:58 +00:00
Tom Laermans
88731b5c68 allow dash in OS name
git-svn-id: http://www.observium.org/svn/observer/trunk@682 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-14 16:55:29 +00:00
Tom Laermans
c9bd48c9d2 notify() test + indent cleanup + html cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@677 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-13 15:54:03 +00:00