Commit Graph

134 Commits

Author SHA1 Message Date
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
Adam Amstrong
7450a38e12 fiddle with nonunicast ports graph (bit broken atm)
git-svn-id: http://www.observium.org/svn/observer/trunk@1659 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-10 16:12:39 +00:00
Adam Amstrong
baf538df88 reengineering of port rrdfile. merged ifx (will notify existance of this via database).
****** YOU MUST RUN DISCOVERY OR "php fix-port-rrd.php" AFTER THIS *******



git-svn-id: http://www.observium.org/svn/observer/trunk@1656 61d68cd4-352d-0410-923a-c4978735b2b8
2010-08-10 15:54:01 +00:00
Adam Amstrong
976986f325 fix junos ATM VC polling and display for tehvookje
git-svn-id: http://www.observium.org/svn/observer/trunk@1593 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-31 22:27:35 +00:00
Tom Laermans
fc3c3e67d0 powerware device data polling + voltage discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@1588 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-31 19:40:52 +00:00
Tom Laermans
ac8b98e9a0 split database update file again to cut down on the churn of adding the index every time again (yes, apparently mysql does that even if the index is already there)
git-svn-id: http://www.observium.org/svn/observer/trunk@1531 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 19:27:47 +00:00
Adam Amstrong
4f2972660f retooled sensors discovery. use global $valid_sensor, use sensors table only, replace sensor_precision with sensor_multiplier and sensor_divisor, remove all old discover_* functions and replace with discover_sensor
git-svn-id: http://www.observium.org/svn/observer/trunk@1529 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-29 18:25:11 +00:00
Adam Amstrong
f63e913a0e $config['log_file'] = USE IT.
git-svn-id: http://www.observium.org/svn/observer/trunk@1440 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:02:54 +00:00
Adam Amstrong
3940265744 record discover/poll speeds, prettier "not permitted" page, and readd "base_url" to config
git-svn-id: http://www.observium.org/svn/observer/trunk@1435 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-19 18:21:48 +00:00
Adam Amstrong
e0944c233e THIS. IS. OBSERVIUM. also some indexes on sql tables.
git-svn-id: http://www.observium.org/svn/observer/trunk@1373 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-17 12:58:09 +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
b991efa9a6 add jetdirect support, fix automatic type assignment
git-svn-id: http://www.observium.org/svn/observer/trunk@1283 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-02 16:11:59 +00:00
Adam Amstrong
d4be0d58fb add support for redback and services discovery (thanks klaver) perhaps need to make services discovery one-time only, triggered, or disableable :>
git-svn-id: http://www.observium.org/svn/observer/trunk@1276 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-28 12:47:27 +00:00