Commit counts include all included rolling history. Line totals use the configured activity filters.

Community Edition 24.12

264 commits • trunk r13529 through r13800

Some changes listed below may only apply to Observium Professional or Enterprise editions.

Included development changes (264 commits)

Major Features

  • r13651: Added basic os detect for Siemens RUGGEDCOM (OBS-4892). +107/0
  • r13663: Added os definition for Inova PDU. Splitted sensors discovery for PowerNet-PDU from common apc (OBS-4867). +630/โˆ’19
  • r13680: Added support for HPE Instant On devices (OBS-4917). +401/โˆ’134
  • r13716: Added support for AdTran Total Access. +667/โˆ’12
  • r13781: Added support for ND Metering (OBS-4908). +342/0

New Features

  • r13622: Add ability to delete old billing datapoints +57/0

Improvements

  • r13544: Add sorting to probes table. +74/โˆ’5
  • r13609: Improve autoscale option handling. Improve power sensor graph autoscaling to try to handle very small numbers. +50/โˆ’27
  • r13610: Use non-short form for log/event widgets on dashboard when width > 1000px +16/โˆ’6

Bug Fixes

  • r13530: Include disabled devices in down devices link list +1/โˆ’1
  • r13565: Improve rejection of invalid FSS-PM entities. Add some caching for FSS-PM walks between modules. +42/โˆ’16
  • r13571: Fix delete device icon +1/โˆ’1
  • r13583: Don't show map menu items to users with level below 5 +4/โˆ’4
  • r13591: Typo fix +1/โˆ’1
  • r13593: Improve TiMOS sysdescr regexp to catch some extended version string formats +2/โˆ’2
  • r13594: Fix error codes to be integer not string +10/โˆ’10
  • r13599: Fix OSPFv3 router id handling +1/โˆ’1
  • r13601: Check for validity of alert state array. +1/โˆ’1
  • r13603: Fix erroneous duplication of descr field in sensor discovery call for dnox-boxservices 0/โˆ’2
  • r13604: Fix alert/group updating via discovery.php +8/โˆ’5
  • r13605: Add hardcoded HTTP status 200 to API responses +5/โˆ’5
  • r13608: Add data. +2/โˆ’2
  • r13616: Correctly allow level 9 users to add/edit/remove groups +6/โˆ’6
  • r13618: Fix for exim app handler on PHP8 +11/โˆ’8
  • r13623: Switch billing data housekeeping to -x +9/โˆ’8
  • r13624: Update housekeeping config variables +16/โˆ’9
  • r13625: Fix some typos in billing data housekeeping +2/โˆ’2
  • r13630: Improve detection of ports on APC rPDU2. Don't block rPDU2 discovery behind rPDU table being populated. +7/โˆ’1
  • r13641: Disable debugging in php weathermap editor
  • r13733: Fix vmware duplicating vm bug caused by vmware allowing duplicate UUIDs. Clears vminfo table to remove old dupes. +38/โˆ’9
  • r13754: Fix VM discovery code to remove dupes +17/โˆ’3

Minor Changes

  • r13529: Don't show ignored/disabled devices on down devices page from navbar menu +1/โˆ’1
  • r13545: Added basic os support for SDS MICRO LM. +162/0
  • r13548: Improved sensors discovery by EATON-EPDU-MIB (OBS-4830). +125/โˆ’50
  • r13554: Added support for Fujitsu 1FINITY (OBS-4265). +660/0
  • r13561: Separated Cisco 9800 platform to WLC XE os. Fixed polling os params and sensors for Cisco 9800. +296/โˆ’250
  • r13563: Added discovery neighbours by CISCO-LWAPP-CDP-MIB. +145/โˆ’18
  • r13566: Add force discovery toggle to device settings page +16/โˆ’4
  • r13567: Added basic Digi Accelerated Linux (OBS-4836). +123/โˆ’24
  • r13573: Added basic os definition for SonicWALL switches (OBS-4841). +15/โˆ’2
  • r13574: Splitted alerts notification re-send interval config to critical and warning. +59/โˆ’36
  • r13576: snmp_fix_numeric() detect hexified strings, added ability for detect si prefixes. +65/โˆ’42
  • r13579: Added support for APC NetShelter PDU (OBS-4847). +249/โˆ’1
  • r13581: Added support for D-Link DGS-1210-28X (OBS-4848). +214/โˆ’130
  • r13621: Added support for Aten Eco PDU (OBS-4880). +157/โˆ’107
  • r13626: Improved detect SONiC OS with Edgecode hardware. Improved discovery DOM sensors by ENTITY-SENSOR-MIB on SONiC OS. +40/โˆ’14
  • r13628: Improved detect and discovery Opengear Operations Manager. +161/โˆ’52
  • r13631: Added function value_unit_convert() for replace value_to_si() with more logic name and correct passed arguments. +250/โˆ’2
  • r13633: Fixed double unit conversion for sensor limits. Replaced function value_to_si() to value_unit_convert(). +77/โˆ’59
  • r13640: Improved discovery sensors for APC NetBotz devices by PowerNet-MIB (OBS-4896). +205/โˆ’32
  • r13648: Fixed role entity delete action. Removed old auth_secret session token, already replaced with common csrf token. +244/โˆ’270
  • r13654: Added discovery DOM sensors by DNOS-BOXSERVICES-PRIVATE-MIB. +71/0
  • r13658: Improved support for some models of D-Link switches. Unified discovery sensors for radlan mib clones. +270/โˆ’164
  • r13671: Added ability for filter (ignore) syslog entries by program or tag (OBS-4421). +48/โˆ’3
  • r13676: Improved discovery statuses on Lenovo XCC (OBS-4893) +92/โˆ’49
  • r13682: Disabled polling graphs module per VRFs, due to problems with polling time on Cisco IOS XR with many VRFs and no known real cases where this required. +32/โˆ’29
  • r13683: Improved polling BGP peers with many VRFs by CISCO-BGP4-MIB. +46/โˆ’28
  • r13699: Added boxed wui display types in print_message(). Improved generate where query for display custom oids. +76/โˆ’49
  • r13702: Improved discovery processors by UCD-SNMP-MIB where reports incorrect (deprecated oid) ssCpuIdle.0. Added polling by UCD-SNMP-MIB::ssCpuRawIdle.0. +103/โˆ’41
  • r13703: Fixed polling ifPhysAddress when device return hex string instead mac address. Improved mac_zeropad() and unittests. +22/โˆ’3
  • r13705: Improved support for NewTec iDirect. +241/โˆ’107
  • r13717: Improved process_port_label() for process port numeric label by os definitions. +44/โˆ’22
  • r13719: Added config variables for ability to change ALERT/RECOVERY statuses in alerts title. Added alert_status_array(). +102/โˆ’38
  • r13721: Use ALERT_STATE_NAME message tag for custorm alert state for keep ALERT_STATE static in templates. +199/โˆ’132
  • r13725: Added enum-list setting type for simple list of config values with element clone ability. Allow use markdown in settings descriptions. +51/โˆ’24
  • r13726: Improved display interface parsed types in navbar (OBS-3961). Added settings for Ports Description Parsing to Web config. +153/โˆ’74
  • r13734: Fixed duplicating alert checks (OBS-4929). +35/โˆ’16
  • r13736: Added display associated groups for devices in detailed list view and overview. +106/โˆ’39
  • r13740: Added generate_type_label_link() for generate type label classes with links. +33/โˆ’17
  • r13742: Added os definition for Ubiquiti UniFi NVR (OBS-4919). +16/0
  • r13743: Forced update poller name in DB when $config['poller_by_host'] is set and $config['poller_name'] is changed. +10/โˆ’4
  • r13749: Improved generate packages pages. +28/โˆ’58
  • r13751: Added ability for use data-context in bootstrap select form elements. +15/โˆ’2
  • r13752: Removed unnecessary generate_type_label_link(), added get_label_span() for simplify get_label_group(). +54/โˆ’58
  • r13753: Added option variable for display Devices groups on page with devices list. Display groups names gray. +56/โˆ’33
  • r13771: Show warning message instead of php error when app not exist in db. +3/โˆ’1
  • r13778: Improved parse_csv(), added unit tests. +35/โˆ’47
  • r13783: Use json api halt response instead html. +100/โˆ’91
  • r13784: display_error_page() return error as json in API response. +46/โˆ’8
  • r13785: Improved memory usage for API get ports route. +49/โˆ’26
  • r13787: Improved discovery DOM sensors by JUNIPER-DOM-MIB. +119/โˆ’88
  • r13790: Added basic os detection for TP-Link Omada Routers (OBS-4901). +10/0
  • r13791: Improved detect Windows Server 2025. Added svg logos for windows. +49/โˆ’17
  • r13793: Added FRR BGP4V2-MIB to SONiC os definition. +10/โˆ’7
  • r13798: Added status definitions for ENTITY-STATE-MIB. +79/โˆ’13
  • r13800: Updated os version detect for macos and openwrt. Added new macos distro icons. +33/โˆ’14

UI Changes

  • r13700: Update css styles with lessc 3.x (as previous).
  • r13750: Added label class rainbow for funny.y

MIB Updates

  • r13562: Updated cisco mib files.
  • r13572: Updated Velocloud mib files.
  • r13612: Add Alcatel NGAOW/AWOS MIBs
  • r13620: Updated Aten mib files.
  • r13642: Added Siemens RUGGEDCOM mib files.
  • r13643: Updated Palo Alto PAN-OS MIBs
  • r13653: Updated Dell DNOS mib files.
  • r13656: Updated CyberPower mib files.
  • r13679: Added HPE mib files for radlan clone.
  • r13712: Updated Cisco mib files.
  • r13713: Updated Cisco SB mib files.
  • r13714: Cleaned some cisco mibs errors.
  • r13715: Updated adtran mib files.
  • r13730: Updated cumulus and rfc mib files.
  • r13748: Updated sonicwall mib file.
  • r13786: Updated juniper mib files.

PHP 8 Fixes

  • r13710: Convert all remaining API error codes to integer for PHP8 +10/โˆ’10
  • r13729: Fixed possible php fatal error on contacts page, when empty identifier (OBS-4933). +6/โˆ’6

Security

  • r13685: Added more XSS variable patterns. +1/โˆ’1
  • r13686: Fixed TALOS-2024-2090. +23/โˆ’21
  • r13687: Fixed TALOS-2024-2091, CVE-2024-47002. +8/โˆ’11
  • r13688: Added more XSS variable patterns. +1/โˆ’1
  • r13689: Fixed TALOS-2024-2092, CVE-2024-45061. +7/โˆ’8

API Changes

  • r13637: Add ability to strip device_id keys from devices array in returned json +6/0

UI Assets

  • r13614: Added new Alcatel Lucent logo. +2/โˆ’1
  • r13741: Added PaloAlto svg logo. +2/โˆ’1

Refactoring

  • r13533: Changed dns resolve and ping functions for use simple options instead flags. Removed unused dns constants. Cleaned all related functions. +903/โˆ’611
  • r13550: Moved an optional $type to $options array in discover_sensor_ng(). +857/โˆ’968
  • r13553: Moved an optional $type to $options array in discover_processor_ng(). +20/โˆ’15

Trivial Changes

  • r13531: Improved get_device_snmp_argv(), added unittests. Cleaned add_device script. +281/โˆ’422
  • r13532: Improved age_to_seconds() for milliseconds. +38/โˆ’38
  • r13535: Excluded deleted SLAs in quick search results. +234/โˆ’214
  • r13536: Fixed where generate in quick search for ports and slas (appear in r13535). +55/โˆ’51
  • r13539: Excluded deleted ports on device vlans page. +4/โˆ’3
  • r13540: Fixed display Custom OIDs and Probes counts. +34/โˆ’33
  • r13541: Fixed display uncommon graphs sections on device page. +14/โˆ’10
  • r13542: Fixed display Radius graphs by ARUBA-CPPM-MIB. +76/โˆ’72
  • r13543: Skip ports graph section for uncommon. +2/โˆ’1
  • r13549: Disabled snmp bulk for SDS-C os. +2/0
  • r13555: Added temperature dom sensors by FSS-PM. +4/โˆ’2
  • r13556: Return data uri in graph_error() with $vars['image_data_uri'] option. Used in generate_alert_graph(). +40/โˆ’28
  • r13557: Fixed graphs alt_y option. +8/โˆ’5
  • r13558: Prefer graph alt_y option from $vars. +5/โˆ’2
  • r13559: Improved discovery os for Synology DSM (OBS-4833). +3/โˆ’3
  • r13564: Disabled snmp bulk for Fujitsu 1FINITY. +1/0
  • r13568: Fixed os discovery regex for Digi Accelerated Linux. +1/โˆ’1
  • r13569: Fixed possible fatal error in discovery vlans by CISCO-VTP-MIB (OBS-4838). +4/โˆ’4
  • r13577: Changed sensors icons for breakers and age. Little improved health navbar menu. +17/โˆ’13
  • r13578: discover_fetch_oids() allowed table definition as array. +4/โˆ’1
  • r13580: Changed place of Force Discovery checkbox before Disable on device edit page. +108/โˆ’94
  • r13584: Fixed display alerts statuses count on default panel when exist disabled devices. +120/โˆ’160
  • r13585: Remove trailing dot from the hostname when adding a device. +5/โˆ’6
  • r13586: Added ability for add device action to default poller from remote poller. +16/โˆ’6
  • r13587: Improved discovery sensors by MIKROTIK-MIB (OBS-4850). Removed snmp nobulk definition for RouterOS. +34/โˆ’7
  • r13589: Fixed trim hostname when adding a device (appear in r13585). +4/โˆ’4
  • r13590: Fixed discovery inventory by NETAPP-MIB when no PowerSupply exists (OBS-4851). +80/โˆ’72
  • r13592: Always display Show Tech navbar menu on device page for Admin user permission. +2/โˆ’2
  • r13595: Prevent escaping $OBSERVIUM_* variables in script notification transport. +10/โˆ’2
  • r13596: Fixed polling version on old D-Link switches with unprintable characters. +9/โˆ’7
  • r13597: Fixed regexp for clean D-Link version string. +1/โˆ’1
  • r13598: Fixed PoE Group power sensor scale for Eltex ISS switches. +7/0
  • r13602: Improved associate neighbour port by MIKROTIK-MIB on bonds. +7/โˆ’3
  • r13613: Added Alcatel NGAOW per model mibs definitions. +266/โˆ’235
  • r13617: Fixed edit contact when empty required parameters in transport definition. +108/โˆ’102
  • r13619: Do not match by sysObjectID when it's empty in get_device_os() and match_discovery_oids(). +26/โˆ’19
  • r13627: Improved discovery voltage sensors by LM-SENSORS-MIB. +14/โˆ’10
  • r13629: Fixed display device delete page for userlevel 9 (OBS-4886). +34/โˆ’32
  • r13635: Only show agent settings on device configuration page if unix-agent module is enabled +1/โˆ’1
  • r13636: Added attribs as device array key in poller. +4/โˆ’2
  • r13638: Fixed limits unit conversion for DOM sensors power to dBm. +56/โˆ’74
  • r13644: Prevent php fatal error in safe_json_decode() when mbstring php module not installed. +20/โˆ’8
  • r13645: Fixed string compare conditions in generate_query_values(). +3/โˆ’1
  • r13646: Improved generate query in print_syslogs(). Fixed fatal error on program selection query. +25/โˆ’24
  • r13647: Disabled page refresh on roles page. +1/0
  • r13650: Fixed false os detection for wowza-engine. +38/โˆ’22
  • r13652: Fixed PoE otherFault event by POWER-ETHERNET-MIB. +200/โˆ’216
  • r13655: Disabled discovery history power sensors by DNOS-BOXSERVICES-PRIVATE-MIB (OBS-4891). +6/0
  • r13657: Write UCD CPU Idle RRD first to prevent a very very rare spike during poller vs ui race +1/โˆ’1
  • r13659: Fixed dlink-radlan mib definitions. Added D-Link svg logo. +6/โˆ’5
  • r13660: Improved associate neighbours for latest NXOS by CISCO-CDP-MIB (OBS-4906). +21/โˆ’1
  • r13662: Do not set pagesize session var on ajax requests. +51/โˆ’49
  • r13664: Fixed generate ports group aggregate graphs. Fixed ppassng variable with ids. +59/โˆ’32
  • r13665: Reduced sql queries in multi-port graphs. +29/โˆ’30
  • r13666: Improved display users list in roles. +10/โˆ’8
  • r13667: Fixed display entities eventlogs for limited users (OBS-4905). +59/โˆ’37
  • r13668: Added Origin-ID in syslog message as tag for Cisco IOS. +11/โˆ’7
  • r13669: Prevent print_message() output in API requests. +12/โˆ’11
  • r13670: Simplified strip tags in print_message(). +72/โˆ’47
  • r13673: Simplified HP JetDirect os discovery regex. +10/โˆ’8
  • r13674: Prevented php fatal error on Weather Map page. +24/โˆ’24
  • r13675: Removed $discovered_devices global variable from discover_device() function. +32/โˆ’21
  • r13677: Improved os definition for ibm/lenovov ipmi oses. +3/โˆ’6
  • r13681: Improved detect proxmox ve for latest versions. +43/โˆ’16
  • r13684: Prevent incorrectly discover BGP LocalAs in VRF tables on Cisco NXOS. +9/โˆ’3
  • r13691: Escaping billing parameters on pages. +126/โˆ’123
  • r13692: Updated virt-what and vmware guestid definitions. +236/โˆ’120
  • r13693: Improved detect OEM Generex UPS (OBS-4925). +7/โˆ’5
  • r13695: Improved is_valid_param() for syslocation strings. Added unittests. +20/โˆ’14
  • r13696: More invalid syslocation strings for is_valid_param(). +10/โˆ’6
  • r13697: Added config option php_memory_limit_min for ability override memory_limit setting from php.ini if less than this minimum. Has no effect until setting specified. +131/โˆ’94
  • r13704: Fixed discovery processors with split units (multiple values in same snmp value). +14/โˆ’2
  • r13706: Restored Adtran os definition removed in previous commit. +61/0
  • r13707: Prevent fatal php error in get_ip_prefix() for rare case. +4/โˆ’3
  • r13708: Improved age_to_seconds() for optional brackets in (s). +8/โˆ’8
  • r13711: Improved detect CiscoSB Catalyst 1200/1300 Series (OBS-4930). +6/โˆ’2
  • r13718: Updated port label short definitions. +13/โˆ’5
  • r13720: Make alert status name upper in alert_status_array(). Reduced global $config calls in alert_generate_graphs() and alert_status_array(). +50/โˆ’39
  • r13722: Updated test notification templates. +1/โˆ’1
  • r13723: Improved error message for email notification transport when sendmail not found. +43/โˆ’18
  • r13724: Fixed default email template. +3/โˆ’2
  • r13727: Use get_markdown_extra() instead pass boolen argument in parent function. +13/โˆ’20
  • r13731: Fixed detect MIBs on latest Cumulus Linux versions 5.9+. +6/โˆ’5
  • r13732: Improved display observium version in CLI, show train. Show subscription svn user when possible in extended versions display for CLI. +97/โˆ’59
  • r13735: Added more label classes in get_type_class(). +6/โˆ’6
  • r13738: Improved get_var_true() and get_var_false(). Added unittests. +23/โˆ’9
  • r13739: Use isset() with get_var_false() where required. +73/โˆ’4
  • r13744: Fixed display associated contacts in tooltip for alert checkers list. +9/โˆ’10
  • r13747: Reverted PoE otherFault event by POWER-ETHERNET-MIB to ignore, appear in r13652 (OBS-4935). +1/โˆ’1
  • r13755: Fixed alerts notification title for REMINDER. +8/โˆ’1
  • r13757: Added REMINDER_NOTIFY status in alert logs. +73/โˆ’61
  • r13758: Fixed row class for fail alert log entries. +1/โˆ’1
  • r13760: Improved detect White-Rabbit Switches with new firmware (OBS-4936). +3/โˆ’1
  • r13761: Fixed unit tests for get_device_icon(). +14/โˆ’2
  • r13763: Header update +2,540/โˆ’2,593
  • r13765: Prevented to use vendor device icon for unix/storage oses. +3/โˆ’1
  • r13766: Added extra port speed in ports scale list for graphs. +1/โˆ’1
  • r13767: Improved detect VPP DDR sensor as Voltage by FORTINET-FORTIGATE-MIB (OBS-4937). +4/โˆ’2
  • r13768: Removed email from adduser help +2/โˆ’2
  • r13769: Improved port_label parsing definition for Extreme FabricEngine (OBS-4940). +2/โˆ’3
  • r13770: Fixed var initialization on apps default page. +5/โˆ’6
  • r13777: Improved display poller name in print_versions() when poller_name not set in config. +10/โˆ’3
  • r13779: Fixed scan_port() for tcp proto. +37/โˆ’17
  • r13780: Fixed possible php fatal error in nvidia agent poller (OBS-4942). +43/โˆ’46
  • r13788: Improved support for Juniper JunOS Evolved (OBS-4690). +95/โˆ’91
  • r13789: Improved discovery smoke and water leak statuses by ServersCheck mib (OBS-2292). +56/โˆ’9
  • r13792: Fixed detect ipv6 remote bgp peer by BGP4V2-MIB. +7/โˆ’1
  • r13795: Cleaned print_message() for print box styled messages. +26/โˆ’42
  • r13797: Improved set status measured class by definitions. +4/โˆ’3
  • r13799: Added discovery statuses for SONiC os by ENTITY-STATE-MIB. +2/0

Library Updates

  • r13538: Updated tracy to 2.9.8.
  • r13560: Updated jQuery and DOMPurify js libs. Removed unused js files.
  • r13772: Updated MobileDetect lib to latest with support php 7.x.
  • r13773: Updated User Agent Parser lib to latest.
  • r13774: Updated php-cli-tools lib to latest.
  • r13776: Updated Xmpp lib to latest supported. +47/โˆ’46
  • r13782: Updated Flight framework lib to latest. Changed lib compatability with old php versions. +5/โˆ’4

Code Cleanup

  • r13551: Clean sensors discovery code for CISCO-ENTITY-SENSOR-MIB and CISCO-ENVMON-MIB. +17/โˆ’17
  • r13570: Replace modal delete-device popup by the existing delete device page for consistency +2/โˆ’66
  • r13575: Moved PowerNet-MIB definition to separate file. +1,321/โˆ’1,305
  • r13588: Simplified force_discovery() and is_bgp_peer_valid(). +32/โˆ’20
  • r13634: Removed deprecated function value_to_si(). 0/โˆ’222
  • r13690: Undebug.
  • r13701: Undebug sql query. +1/โˆ’1
  • r13709: Undebug discovery CISCO-ENTITY-SENSOR-MIB. +453/โˆ’451
  • r13745: Undebug. +1/โˆ’1
  • r13746: Removed configs for unused shell commands. +19/โˆ’20
  • r13759: Removed broken and unused edit device icon page. Removed unused icons array os definition. Cleaned get_device_icon(). +62/โˆ’159
  • r13775: Increased minimum supported version of php (7.2) and rrdtool (1.5.5) as already officially supported. +6/โˆ’4
  • r13794: Cleaned adduser script. +20/โˆ’18

Development

  • r13534: Correct files for for previous commit. +96/โˆ’345
  • r13537: Added ability for dump sql in tracy. +2/0
  • r13546: Improved debug output for sql log and form actions. +11/โˆ’4
  • r13552: Reverted decrement operation. +2/โˆ’2
  • r13600: Improved debug output for json embedded data in http requests. +4/0
  • r13632: Fixed var. +1/โˆ’1
  • r13649: Undebug vars. 0/โˆ’1
  • r13661: Fixed debug message. +1/โˆ’1
  • r13737: Revert undone code part from previous commit. +2/โˆ’2

Other Changes

  • r13547: Extended Eaton ePDU discovery rule. +5/0
  • r13607: Improve AOS 7 hardware string +1/โˆ’1
  • r13611: Improve Alcatel-Lucent OS version handling (5/6/7+ are different OSes) +32/โˆ’7
  • r13615: Add AWOS OS definition +18/0
  • r13672: Expand HP Jet Direct OS to cover some more HP printers (it might still be too narrow) +1/0
  • r13639: Update agent postgres.pl script to handle postgres 15 +12/โˆ’3
  • r13694: Some php pre-8.4 fixes, added polyfill functions. Removed php 7.1 polyfill functions. +117/โˆ’110
  • r13698: Fixed E_STRICT warning in debug for php 8.4. +12/โˆ’6
+18,758 added โˆ’12,928 removed +5,830 net filtered development activity