Commit Graph

146 Commits

Author SHA1 Message Date
Adam Amstrong
dbf212f652 phpDocumentator headers. retire static-config. IF YOU ARE READING THIS, REMOVE IT FROM THE BOTTOM YOUR CONFIG.PHP. YES. YOU.
git-svn-id: http://www.observium.org/svn/observer/trunk@3150 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-09 10:01:42 +00:00
Tom Laermans
571c9d5b0e optimize sql for versioncheck stats
git-svn-id: http://www.observium.org/svn/observer/trunk@3098 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-29 20:04:35 +00:00
Adam Amstrong
4715a48e16 fix if()
git-svn-id: http://www.observium.org/svn/observer/trunk@3046 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-17 15:38:09 +00:00
Tom Laermans
86a5e66358 automatically change directory to observium base, hopefully avoids the need of a cd /opt/observium in crontab and on commandline
git-svn-id: http://www.observium.org/svn/observer/trunk@2989 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-08 10:39:10 +00:00
Tom Laermans
e4a8e284c0 new system for sql updates -- PLEASE BACK UP YOUR DATABASE BEFORE UPGRADING (yes, it's upgrade-tested on different systems, but better safe than sorry)
git-svn-id: http://www.observium.org/svn/observer/trunk@2867 61d68cd4-352d-0410-923a-c4978735b2b8
2012-02-16 12:19:40 +00:00
Adam Amstrong
661480fb4c db update :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2805 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-23 14:06:27 +00:00
Adam Amstrong
70f51cef04 fix previous commit :)
git-svn-id: http://www.observium.org/svn/observer/trunk@2759 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-06 22:26:47 +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
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
Adam Amstrong
ae2f6b1941 add better debugging. version check quiet.
git-svn-id: http://www.observium.org/svn/observer/trunk@2472 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 22:35:22 +00:00
Adam Amstrong
edaa3d0afe don't check update if we're running -h new (don't kill the web server plx)
git-svn-id: http://www.observium.org/svn/observer/trunk@2471 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 21:20:54 +00:00
Adam Amstrong
c50de1713d genericify move thing sto the correct places
git-svn-id: http://www.observium.org/svn/observer/trunk@2466 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 15:03:42 +00:00
Tom Laermans
22753de0a3 remove debug print
git-svn-id: http://www.observium.org/svn/observer/trunk@2461 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 13:46:23 +00:00
Adam Amstrong
fb5d8b398f new funky discovery stuff (autodiscovery works now for discovery protocols)
git-svn-id: http://www.observium.org/svn/observer/trunk@2460 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-14 17:26:59 +00:00
Adam Amstrong
52ebbeab79 add symbol ap support (thanks to David Magniez)
git-svn-id: http://www.observium.org/svn/observer/trunk@2431 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-08 13:36:32 +00:00
Adam Amstrong
90dfbfa141 fix some things
git-svn-id: http://www.observium.org/svn/observer/trunk@2351 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-20 14:27:53 +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
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
43e316e7f6 fix global $device
git-svn-id: http://www.observium.org/svn/observer/trunk@2260 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 20:37:54 +00:00
Adam Amstrong
167d4268f2 per-device disabling of poller/discovery modules
git-svn-id: http://www.observium.org/svn/observer/trunk@2255 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 16:51:36 +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
bf12b94a19 database update script split at 2245
git-svn-id: http://www.observium.org/svn/observer/trunk@2246 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-05 10:45:46 +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
f1d6744ea1 wrap device discovery in discover_device(). this will stop us having to clear variables so much.
git-svn-id: http://www.observium.org/svn/observer/trunk@2232 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:21:42 +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
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
Tom Laermans
595781bd14 add -m to poller
git-svn-id: http://www.observium.org/svn/observer/trunk@2066 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-13 09:29:44 +00:00
Tom Laermans
e3f4361e15 libvirt VM listing support (qemu/kvm over ssh only for now), renamed vmware table to something a little more generic
git-svn-id: http://www.observium.org/svn/observer/trunk@2030 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 15:25:35 +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
317333f47d add ability to chose only one module in discovery.php. give module name for cemp mempools. use sensor name for cisco-entity-sensors.
git-svn-id: http://www.observium.org/svn/observer/trunk@2015 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-04 09:52:09 +00:00
Tom Laermans
340c71b2e7 more code cleanups, modify renamehost to also take a source parameter so we can build a renamehost function into the web gui some day
git-svn-id: http://www.observium.org/svn/observer/trunk@1980 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-27 10:21:19 +00:00
Geert Hauwaerts
80f6b2dcc2 VMWARE SUPPORT!! :)
- Support for VMware hosts AND Virtual Machines.
- VMware MIB files added.
- SVN property ignore on MIB .index files.


git-svn-id: http://www.observium.org/svn/observer/trunk@1976 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-26 17:16:09 +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
31cfad371f fixed r1871 discovery of new devices, thanks to Bill Fenner for testing and fixing, also made some php notices go away.
git-svn-id: http://www.observium.org/svn/observer/trunk@1873 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 14:21:33 +00:00
Tom Laermans
9179d90950 add '-h new' to discovery.php, which you could cron more frequently. only polls new devices which have not been discovered. -untested-
git-svn-id: http://www.observium.org/svn/observer/trunk@1871 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-16 13:56:36 +00:00
Tom Laermans
4c8959d1c9 move svn upgrade scripts to separate directory
git-svn-id: http://www.observium.org/svn/observer/trunk@1852 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:14:46 +00:00
Tom Laermans
53c3cab362 cleanup poller and discovery, add gpl notice at the top
git-svn-id: http://www.observium.org/svn/observer/trunk@1850 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 15:12:16 +00:00
Tom Laermans
710f262ec0 cleanup discovery.php, with help from Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1811 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-09 12:11:14 +00:00
Tom Laermans
59171bf068 code and formatting cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1804 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-08 17:12:43 +00:00
Tom Laermans
d803c717f3 Get rid of one more php warning
git-svn-id: http://www.observium.org/svn/observer/trunk@1800 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-08 16:27:14 +00:00
Tom Laermans
06d2a707d5 some sensor unification, rename sensor rrds and rename the DS, add testing IPMI support (no web-part yet) - tested against Intel RMM3 and working. some further cleanups as well.
git-svn-id: http://www.observium.org/svn/observer/trunk@1758 61d68cd4-352d-0410-923a-c4978735b2b8
2010-12-15 17:54:42 +00:00
Tom Laermans
ec6d8cea37 replace ugly shell echo by logfile()
git-svn-id: http://www.observium.org/svn/observer/trunk@1736 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-24 11:32:53 +00:00
Tom Laermans
30bdd952ee Minor fixes, some cleanups, and standardising on echo("x") instead of echo "x"
git-svn-id: http://www.observium.org/svn/observer/trunk@1728 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-20 14:04:07 +00:00
Adam Amstrong
038bc8c20e show ports/sensors on the device list page. add option to use php-snmp functions for snmp_get()s
git-svn-id: http://www.observium.org/svn/observer/trunk@1716 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-26 22:10:04 +00:00
Adam Amstrong
46ffe27b2d set all unix-like stuff to server, and remove old linux handling (quicker than you, failwindr :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1707 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-17 21:30:39 +00:00
Adam Amstrong
cd76567edb ginger patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1699 61d68cd4-352d-0410-923a-c4978735b2b8
2010-09-03 18:26:59 +00:00
Adam Amstrong
a92ce17f21 disable warnings/errors if not debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@1688 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-21 12:54:42 +00:00
Tom Laermans
a1bf48e63e many small fixes, hacky way to ignore no more variables, fix up supermicro sensor limits, loosen automatic sensor limit settings a bit
git-svn-id: http://www.observium.org/svn/observer/trunk@1675 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-13 13:17:53 +00:00
Adam Amstrong
0db6ad08ff vastly improved entity-sensors and cisco-entity-sensors speed. improved entity-mib inventory. removed device_id element from oid caches. add min/max ranges to sensor graphs.
git-svn-id: http://www.observium.org/svn/observer/trunk@1669 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-11 17:08:56 +00:00