Observium Changelog

Development (Next Release)

179
commits
25,805
lines added
7,113
lines removed
18,692
net change

🚧 Next Release (Development)

In development β€’ 179 commits since r14182
πŸš€ Included Development Changes (179 commits):
🎯 Major Features:
  • r14207: Add STP polling module and UI elements. Also extend generic_definition graph renderer to accept more tags from vars/auth.inc.php. +6,541/-40
✨ New Features:
  • r14194: Add OUI lookup table and function +61/-0
  • r14190: Add some new UI element generation functions +165/-0
⚑ Improvements:
  • r14358: UI changes for transport rework and a few foreach() variable cleanups to related code. +30/-28
  • r14357: Notification/Transport System Rework
    • NEW: Unified notification dispatcher (includes/notifications.inc.php)
    • NEW: 45 transport definitions in includes/transports/ (definition-based architecture)
    • Enhanced HTTP processing with convert_template_newlines() for proper \n handling
    • Enhanced string_transform() with new actions: base64_encode/decode, json_decode, hash, substring, sprintf, conditional_map
    • Updated legacy transports (email, mattermost, slack) for compatibility
    • Moved transport definitions from single file to individual files
    • Added transport auto-loader in includes/functions.inc.php
    +4,603/-2,372
  • r14356: Improved age_to_seconds() for parsing additional possible datetime format. +61/-44
  • r14318: Added option for set snmp noincrease option (-Cc) in snmpdump script. +27/-18
  • r14316: Improved in-memory snmp caching functions, removed global cache variable. Added unit tests for cached functions. +429/-130
  • r14313: Improve handling of PVST across VLAN and STP modules. Implement context-aware caching of per-port/vlan PVST data in device attribs during discovery which is used and augmented with fresh port forwarding state during poller to maintain single logic location. +406/-13
  • r14312: Improve STP and VLAN system interaction. Show STP state on VLAN matrix. +245/-25
  • r14303: Add support for statically defined status entries. +85/-0
  • r14301: EIGRP poller, db schema and UI rewrite. +1,229/-220
  • r14291: Improve storage and memory pool discovery to have more flexible definition format. fix database schema to add object to unique constraint. Simplify filename generation code. +101/-41
  • r14277: Remove ols STP-related fields from VLAN discovery module and db tables. Switch device VLAN page to using STP-specific tables for this data. +65/-42
  • r14275: Improve global and per-device poller performance pages with chart.js charts, and move discovery time data to db table. +634/-49
  • r14266: Do not preload left panel on pages while wide screen not requested. +53/-27
  • r14237: Improved display users list and queries for API tokens. +44/-58
  • r14231: Improve SQL schema update script to handle multi-line queries. +75/-14
  • r14227: Improve probes web ui: improve tooltip output. improve metrics presentation and expose per-probe metric graphs where metrics are captured from probes. +120/-10
  • r14224: Improve API authentication by adding tokens. +529/-7
  • r14222: Implement dashboard AJAX actions. +241/-38
  • r14220: Dashboard management improvements. +298/-84
  • r14211: Improved PoE sensors port association for Extreme ERS by BAY-STACK-PETH-EXT-MIB (OBS-5089). +133/-104
  • r14202: Add some additional SNMP helpers to assist with table walks. +124/-0
  • r14200: More VLAN improvements. Topology map initial commit. +618/-93
  • r14196: Improve VLAN pages some more. Improve status box function to handle 3 elements. +49/-15
  • r14195: Improve the VLAN pages. +210/-90
  • r14192: Improve VLANs interface. +1,035/-163
  • r14184: Improve EIGRP poller module slightly +29/-6
πŸ› Bug Fixes:
  • r14362: STP polling - prevent PVST VLAN 1 / CIST instance duplication
    • Fix duplicate topology entries when PVST VLAN 1 and CIST coexist
    • Use port_id from vendor data when available to improve port matching
    • Remove unused variable in instance stats loop
    • Whitespace cleanup across STP web UI and polling modules
    +298/-229
  • r14346: Fixed merge arrays in snmp_cache_table() (OBS-5110). Added unit test for case. +47/-2
  • r14338: Prevent possible blank β€˜alert_checks’ page by optimizing β€˜alert_table’ query (OBS-5104). +30/-24
  • r14337: Fixed display application graphs (OBS-5105). +2/-2
  • r14321: Fix count() to safe_count() in storage. +1/-1
  • r14320: count() to safe_count() in processors definition discovery +1/-1
  • r14319: Fix some count() instances with safe_count(). +3/-3
  • r14310: Fix STP system instance database updating and port cache pruning. +36/-3
  • r14309: Fix update script comment messing up parsing. +1/-1
  • r14307: Fix floating battery state to 'ok' +2/-2
  • r14292: Commit missing functions for mempool/storage improvement +72/-0
  • r14287: Fix ignore until ok on alert_table widgets. +7/-2
  • r14281: Conditional joining of device table when sorting on hostname in generate_alert_table(). +12/-4
  • r14278: Clean up the per-module+device discovery time chart +6/-6
  • r14271: Disable recent global events on bottom bar for performance reasons +7/-4
  • r14267: Output modal html at the end of footer. +5/-0
  • r14251: Remove erroneous character +1/-1
  • r14230: Small fixes to old weathermap code. +1/-8
  • r14229: Restore generate_graph_summary_row(). Accidentally removed during generate_graph_row() refactoring. +102/-0
  • r14221: Fix update file to single line SQL only! +6/-22
  • r14217: Fixed mib definitions for storage discovery by CISCO-UNIFIED-COMPUTING-STORAGE-MIB (appear in r14207). +78/-77
  • r14216: Remove some PHP7.4-specific features for now +11/-9
πŸ”§ Minor Changes:
  • r14360: Improve nicecase() to retain some initialisms as upper case. +21/-4
  • r14353: Added support for CyberPower ePDU2 (OBS-5117). Improved discovery Outlet sensors by CPS-MIB. +237/-116
  • r14349: Added support for Avtech RoomAlert 32S (OBS-5116). +75/-24
  • r14348: Added discovery IPSec statuses by SFOS-FIREWALL-MIB (OBS-4980). +47/-12
  • r14347: Added detect Unraid linux distro and version. +48/-2
  • r14345: HAcky fix to re-enable wifi_clients and wifi_ap_count graphs on Cisco WLC XE devices +48/-0
  • r14341: Added discovery processors by CHECKPOINT-MIB (OBS-5106). +29/-11
  • r14336: Expand 'device type' navbar menu. +53/-8
  • r14335: Improve BGP table header to use newer generation format. +118/-11
  • r14334: Move BGP/OSPF header bar to a function. Slightly improve BGP peer table layout (merge peer as/type columns to allow peer AS description to be wider!) +156/-153
  • r14332: Improved in-memory user permissions caching. Removed global $permissions variable. +213/-176
  • r14331: Improved in-memory html resources caching. Removed global $cache_html variable. +63/-52
  • r14330: Cleaned in-memory cache functions. Allowed cache key calls by reference. +200/-170
  • r14306: Add status state/event tooltip showing all possible states. +104/-35
  • r14300: Add 8-entry status panel layout (messy, needs refactoring to add more layouts) +72/-23
  • r14299: Added detect measured processor label for sensors by LM-SENSORS-MIB. +48/-2
  • r14295: Add navbar status counts to port and device groups. Also improve some cache-data code and add a config option to disable the port status queries (they're not free!) +481/-12
  • r14294: State definitions for pseudowires changed to a common format. +71/-75
  • r14285: Add some checking and debugging to rrd pipe open and rrd pipe usage. +48/-38
  • r14280: Added discovery outlet sensors by PANDUIT-MIB (OBS-5099). +119/-27
  • r14276: Add sorting to generate_alert_table() +67/-43
  • r14260: Improve some of the generic_* graph type includes +132/-11
  • r14254: Added discovery power and battery sensors by NAG-MIB. +99/-13
  • r14240: Added discovery PSU sensors by F5-PLATFORM-STATS-MIB (OBS-5095). +159/-0
  • r14235: Expose method of discovering and polling sensors via custom includes. +42/-2
  • r14234: Include probe message in alerts. +21/-0
  • r14215: Add ifDuplex to port query builder and add to global port page filters. +20/-1
  • r14214: Remove use of print_graph_row_port() +20/-15
  • r14212: Improve generate_graph_rows() ability to handle different column widths and graph size calculation. +83/-188
  • r14197: Fix Proxmox OS detection for newer releases +2/-2
🎨 UI Changes:
  • r14293: Fix alert styling in dark mode.
  • r14241: Remove old oicon- classes and migrate remaining references to sprite- fix hamburger icons. +19/-19
  • r14199: Merge tagsinput css into less system to enable colour schemes +1/-1
  • r14198: Make some CSS theme colours available in the DOM for JS
  • r14191: Cleanups to matrix css +919/-32
  • r14189: CSS changes and cleanups to various things.
πŸ“‹ MIB Updates:
  • r14342: Updated Check Point mib file.
  • r14317: Updated Extreme mib files.
  • r14279: Updated Panduit mib files.
  • r14255: Update Arista MIBs
  • r14253: Updated SNR mib files.
  • r14245: More mib files.
  • r14244: Updated some mib files.
  • r14239: Updated f5 mib files.
  • r14218: Updated stormshield and calix mib files.
  • r14208: Cleanup some mib loading errors.
  • r14205: Updated cambium and aricent mib files. Removed duplicated files.
  • r14203: Updated schleifenbauer mib file.
  • r14185: Added Schleifenbauer and Agent++ mib files.
πŸ—„οΈ Database Changes:
  • r14308: Fix table and column creation for STP +2/-0
  • r14282: Column collations were changed from UTF-8 to Latin1 where it wasn’t actually necessary. +14/-0
  • r14257: Add custom to sensor source ENUM +1/-0
  • r14232: Change api_tokens table creation query to remove reference/constraints as we can't guarantee our credentials have those permissions. +21/-2
  • r14223: API Token schema changes +4/-0
  • r14193: Add VLAN/MAC lookup index +1/-0
🐘 PHP 8 Fixes:
  • r14329: Prevent fatal error when array_merge90 with not exist variable. +5/-0
  • r14322: Fix count() to safe_count() in vlan q-bridge-mib module. +1/-1
πŸ“ Trivial Changes:
  • r14363: Code cleanup - remove unused loop variables and whitespace
    • Remove unused loop index variables across polling modules
    • Remove CISCO-BFD-MIB definition (moved to BFD system)
    • Whitespace cleanup across polling and definition files
    +383/-59
  • r14361: Remove unused variables, add void return type and whitespace cleanup. +28/-26
  • r14359: Whitespace removal +3/-3
  • r14354: Fixed temperature/humidity sensors scale by ROOMALERT32S-MIB. +4/-4
  • r14352: Do not attempt to run non-existent discovery modules. +12/-5
  • r14351: Forced use snmpget for sensors discovery by ROOMALERT32S-MIB (OBS-5116). +2/-0
  • r14343: Correctly skip HOST-RESOURCES-MIB when CHECKPOINT-MIB processors exist. +6/-3
  • r14340: Fixed svg os icon display when vendor name contains spaces. +6/-3
  • r14328: Improved polling version and hardware for Opengear hardware. +5/-1
  • r14327: Reduced usage of global cache variable in common functions. +83/-69
  • r14326: Improved common db functions dbSize() and get_db_version(). +21/-22
  • r14325: Added function get_mempool_rrd(). +69/-42
  • r14324: Return exit code 1 if process(es) fails to start due to critical errors. +6/-4
  • r14323: Prevented force discovery bgp-peers for unspecified peer ip type (0.0.0.0, ::). +8/-3
  • r14311: Fixed device panel display on wide-screen graphs page. +8/-6
  • r14304: Improved detect CloudFlare IPv6 address from headers in get_remote_addr(). +26/-14
  • r14298: Add requesttoken to a few ajax requests.
  • r14297: Allow httponly via config variable. +4/-3
  • r14296: Web UI option to disable ports status badges on navbar. +8/-0
  • r14290: Some fixes to alert_table() filtering and sort handling. Remove confusing 'syslog' default from device/alerts/ and remove messy all default from /alerts/ +69/-27
  • r14288: Fixed include probes modal helper functions. +4/-2
  • r14286: Fixed create rrd pipes when rrd_dir not exist and not required with remote rrdcached. +24/-12
  • r14284: Added display error message when rrd pipes not created in poller. Prevent fatal php error for this case. +19/-11
  • r14274: Added display if php running in FastCGI mode on About page. +5/-1
  • r14273: Removed set not required config variable in get_mac_vendor() & get_mac_vendors_bulk(). +7/-12
  • r14272: Improved display storage is full message on logon page. +6/-4
  • r14270: Added error message on graphs page when temporary dir is full. +7/-0
  • r14269: Improved display graph error for empty (broken) graph files created. +13/-9
  • r14265: Prevent possible fatal error when colour function not exist in generate_palette(). +6/-2
  • r14263: Clean version string by UPS-MIB. +4/-0
  • r14243: Remove attic. We've never gone back to any of it.
  • r14242: Fixed access to custom sensor polling files (apper in r14236). +8/-7
  • r14238: Fixed detect temperature scale for F5OS with firmware 1.8+ by F5-PLATFORM-STATS-MIB. +15/-6
  • r14236: Expand custom sensor includes to also use <object>.inc.php +8/-3
  • r14233: Fixed logic for get autodiscovery device by private ip addresses. +2/-2
  • r14213: Remove old, unused prototype snmptrap handler. +0/-47
  • r14210: Improved detect IP address in neighbours discovery by LLDP-V2-MIB. +12/-1
  • r14206: Changed mib dir for ARICENT-CFA-MIB. Mib really unused. +1/-1
  • r14204: Improved os definition for SNR eNOS. +11/-6
  • r14201: Define a constant to identify Observium includes being present. +2/-0
  • r14183: Improved detect some old Socomec UPS (OBS-5079). +14/-5
πŸ“š Library Updates:
  • r14289: Updated php-cli-tools to 0.12.6.
🧹 Code Cleanup:
  • r14350: Updated name for Room Alert 32S. +1/-1
  • r14333: Removed print devel information, it do not appears during normal usage. +0/-5
  • r14315: Removed functions from common include (related with previous commit). +0/-102
  • r14305: Moved web cache include to html dir includes. Cleaned some sessions cache functions. +664/-672
  • r14302: Replace some snmp_get() calls with snmp_get_oid() in old os polling includes. +40/-148
  • r14283: Removed modify query with not exist column (not required change). +0/-1
  • r14261: Cleaned update sql comments processing code. +40/-14
🚧 Development:
  • r14355: Moved constant to proper place. Fixed some phpunit tests. +2/-3
  • r14268: Undebug incorrect dbQuery() error. +1/-1
πŸ“ˆ 25,805 added πŸ“‰ 7,113 removed πŸ“Š 18,692 net change