Commit Graph

112 Commits

Author SHA1 Message Date
laf
8f5d6e8a94 Added code to rediscovery links and include device ids 2015-03-28 14:05:40 +00:00
laf
7f823b6d49 Adding more updates found by f0o 2015-03-01 12:23:31 +00:00
laf
ba5eb4e51a Tidying up 2015-02-26 23:04:12 +00:00
laf
15cc00c27d Tidying up 2015-02-26 23:04:10 +00:00
mchasteen
9d3b866202 This probably should have been commited earlier. Added some logic to remove NULL values from sensor DB inserts. 2015-02-26 23:04:02 +00:00
mchasteen
4781e6d05e Fixed the discovered_last field update thing. 2015-02-26 23:03:45 +00:00
mchasteen
c2ab3e1d0d Fixed the discover_links function so that it can not blow up with NULL values. 2015-02-26 23:03:43 +00:00
mchasteen
d47952f69e Fixed mempools function. 2015-02-26 23:03:25 +00:00
mchasteen
469a06ae93 Fixed processor discovery. SQL correctly inserts and updates now. Also fixed usage field for cisco devices. 2015-02-26 23:03:23 +00:00
Neil Lathwood
cd43e11032 Fixed some scrut major issues 2015-02-22 19:28:09 +00:00
Tuomas Riihimäki
ec802efd3b Do not add empty $config['mydomain'] when autodiscovering
When \$config['mydomain'] variable is empty, '.' is appended to
the device hostname. This patch adds a check to prevent that."
2015-01-23 18:49:19 +02:00
Paul Gear
d49a0b697d Add some debug statements to assist with troubleshooting discovery failure 2014-07-17 15:43:46 +10:00
laf
3483952dd7 Fixed more backticks missing 2014-06-24 02:43:05 +01:00
laf
38918c9348 Fixes for dbInsert / dbUpdate queries 2014-06-10 22:21:10 +01:00
Paul Gear
ee3ba9ceff Revert "Merge pull request #158 from laf/issue-156"
This reverts commit e6fa7d433d, reversing
changes made to e2280aa603.

This commit does not constitute agreement with the claim of copyright violation made by Adam Armstrong at
e6fa7d433d
2014-04-28 20:14:06 +10:00
Paul Gear
e6fa7d433d Merge pull request #158 from laf/issue-156
Urgent: Updated external_exec to use proc_open
2014-04-28 09:24:54 +10:00
laf
becc1caca8 Fixed issues report by scrutinizer 2014-03-30 15:50:09 +01:00
laf
02792176fa Updated most files to use dbFacile 2014-03-12 22:21:33 +00:00
laf
413ef2082f Updated external_exec to use proc_open 2014-03-05 14:22:29 +00:00
Paul Gear
510c2b0fc4 Add ARP discovery patch (untested) 2013-10-28 15:55:57 +10:00
Adam Amstrong
b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong
cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Tom Laermans
f2be2f33d2 add agent sensor capacity, hddtemp script in agent-local as demo, possibly needs a little more work
git-svn-id: http://www.observium.org/svn/observer/trunk@3213 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-20 18:23:40 +00:00
Adam Amstrong
1d3c5bcf17 remove temporary debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@3201 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-17 11:41:38 +00:00
Adam Amstrong
d1450f90a1 extra debugging
git-svn-id: http://www.observium.org/svn/observer/trunk@3200 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-17 11:31:17 +00:00
Adam Amstrong
4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans
baa4f44c4e make sure capacity oid actually ends up in database for already existing toner
git-svn-id: http://www.observium.org/svn/observer/trunk@3140 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 20:07:03 +00:00
Tom Laermans
8df5bb8f8b repoll toner capacity
git-svn-id: http://www.observium.org/svn/observer/trunk@3138 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-06 19:56:06 +00:00
Tom Laermans
b08c1f0a08 fix vmware adding one vm when there actually was none
git-svn-id: http://www.observium.org/svn/observer/trunk@3119 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-02 23:01:57 +00:00
Tom Laermans
050be95f68 trim processor descriptions
git-svn-id: http://www.observium.org/svn/observer/trunk@3072 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-21 00:42:48 +00:00
Tom Laermans
6e7239e82c clean up ipoman power discovery dupe contents
git-svn-id: http://www.observium.org/svn/observer/trunk@3037 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-15 22:21:57 +00:00
Tom Laermans
a10d3f75ea syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@3008 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 15:30:45 +00:00
Adam Amstrong
8c88728143 fix negative sensor values
git-svn-id: http://www.observium.org/svn/observer/trunk@3004 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 12:57:02 +00:00
Tom Laermans
156474fca9 fix os change spacing
git-svn-id: http://www.observium.org/svn/observer/trunk@2978 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-07 18:21:08 +00:00
Adam Amstrong
73971fcb41 fix discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2792 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-16 14:54:10 +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
Tom Laermans
2dc8b807e9 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2642 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-04 09:10:21 +00:00
Tom Laermans
1609c402a4 fix limits set to NULL
git-svn-id: http://www.observium.org/svn/observer/trunk@2603 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-28 17:08:20 +00:00
Tom Laermans
649e8586e1 remove battery status from areca; code cleanup; insert into eventlog when device is XDP-discovered
git-svn-id: http://www.observium.org/svn/observer/trunk@2601 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-28 14:30:24 +00:00
Tom Laermans
dc0ebc7343 more code cleanup
git-svn-id: http://www.observium.org/svn/observer/trunk@2517 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 14:22:34 +00:00
Tom Laermans
d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Tom Laermans
a4f78e84f0 fix cpu detection, and probably other stuff
git-svn-id: http://www.observium.org/svn/observer/trunk@2468 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-15 15:45:11 +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
Adam Amstrong
ad39220a6a fix for disk detection
git-svn-id: http://www.observium.org/svn/observer/trunk@2391 61d68cd4-352d-0410-923a-c4978735b2b8
2011-06-17 13:38:27 +00:00
Adam Amstrong
7fa82047e2 fix sensors insert
git-svn-id: http://www.observium.org/svn/observer/trunk@2362 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-25 16:16:55 +00:00
Adam Amstrong
20814329ac fix cisco entphysical sensors (need to do non-cisco too)
git-svn-id: http://www.observium.org/svn/observer/trunk@2345 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 22:21:02 +00:00
Adam Amstrong
046833b67e updates
git-svn-id: http://www.observium.org/svn/observer/trunk@2344 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 22:10:23 +00:00
Adam Amstrong
1b956853ad cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2340 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-17 19:21:20 +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