18 Commits

Author SHA1 Message Date
374a4041af fix: inconsistent device discovery (#6518)
There were two or more separate $device arrays during discovery. When one was updated, others were not.
Combine those all.
Make sure the new os is loaded if the os changed.
2017-04-28 22:50:00 +01:00
b4da5de452 refactor: Centralised the updating of device logo #5873 (#5874) 2017-02-14 12:56:16 +00:00
5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8ca492a562cc9a60e3887c24599000d.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218f3403664616fde655e4d35c134516a.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
6ff3ae8789 fix: Detection blank or unknown device types and update #5412 (#5414)
* fix: Detection blank or unknown device types and update #5412

* Less ifs
2017-01-12 23:47:13 -06:00
569a3b4a8b fix: Detect device type changes and update #5271 (#5390) 2017-01-11 10:36:04 -06:00
laf
558dfb2344 Pretty up the discovery process output 2016-06-21 00:59:43 +01:00
8e934e0c0f log before old os/icon values are overwritten 2016-04-15 18:18:53 -07:00
a20c14b66b Fix icon reset issue when os != icon. 2016-03-17 11:36:59 -05:00
laf
772c9177f6 Split out the icon check and update from os 2016-03-15 23:08:17 +00:00
484f39cd70 Populate device icon in the database
The icon field was originally set up as an override for the display option but the only way to set it currently is directly in the DB afaik.
Populate the icon field during discovery, this should move a little execution from page display time to discovery time.
v2
2016-02-23 23:44:51 -06:00
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
325907126a Added OS to the default discovery modules 2015-03-25 19:42:50 +00:00
laf
38918c9348 Fixes for dbInsert / dbUpdate queries 2014-06-10 22:21:10 +01:00
laf
02792176fa Updated most files to use dbFacile 2014-03-12 22:21:33 +00:00
9fd77cd884 allow disabling of alerting per device, allow override of syscontact, minor cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1995 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-30 16:28:24 +00:00
e43eaf7461 More cleanups and reindents, half way there
git-svn-id: http://www.observium.org/svn/observer/trunk@1838 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 10:54:59 +00:00
6db77f3345 minor code cleanup, change queries to eventlog table to eventlog() function
git-svn-id: http://www.observium.org/svn/observer/trunk@609 61d68cd4-352d-0410-923a-c4978735b2b8
2010-01-07 16:50:52 +00:00
22552419f8 small fixes and updates
git-svn-id: http://www.observium.org/svn/observer/trunk@541 61d68cd4-352d-0410-923a-c4978735b2b8
2009-12-02 23:50:09 +00:00