Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-5364

Meinberg LANTIME (MBG-SNMP-LTNG-MIB): add NTP / reference clock sensors and statuses

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • Default
    • None

    Description

      LANTIME devices with firmware V6/V7 (lol 6/7) are detected as meinberg-lantime and use MBG-SNMP-LTNG-MIB, but the definition only polls serial, version and mbgLtNgSysTempCelsius. The time related values (NTP sync state, stratum, offset to the reference clock, reference clock state, GPS satellites) are available via SNMP but are not monitored.

      Patch (includes/definitions/mibs/meinberg.inc.php, section MBG-SNMP-LTNG-MIB):

      • Status: mbgLtNgNtpCurrentState, mbgLtNgRefclockState, mbgLtNgRefclockSubstate (all values of MIB rev. 202410011000Z), mbgLtNgSysPsStatus. notAvailable(0) is excluded for reference clock and power supply entries.
      • Sensors (class gauge): mbgLtNgNtpStratum (warn > 1, alert at 16), mbgLtNgNtpRefclockOffset, mbgLtNgRefclockStatusA / MaxStatusA (good satellites / satellites in view, warn < 4, alert at 0), mbgLtNgRefclockGpsTdop.

      Notes:

      • mbgLtNgNtpRefclockOffset is a DisplayString in milliseconds (e.g. "-0.000647"). Typical values on a GPS-synced unit are around 1 microsecond, so the sensor is scaled to microseconds (scale 1000, class gauge) instead of using class delay (ms): format_value() shows 2 decimals, so e.g. 12.3 us would be displayed as 0.01 ms. Limits: warn +/-100 us, alert +/-1000 us.
      • All new sensors set limit_auto FALSE (static limits only, no auto limits or calibration). Satellites in view and TDOP have no limits. 
      • StatusA / MaxStatusA mean satellites only for GPS/GNSS reference clocks (for PZF, StatusA is the correlation). These two sensors are therefore limited to reference clock types matching /^(gps|gns|gln|gnm)/i via a test on mbgLtNgRefclockType.
      • Descriptions include the reference clock type via oid_extra, e.g. "Refclock 1 (gps170) State".
      • Tested with LANTIME M300 (GPS170 reference clock, 1 power supply, no fans, no PTP), firmware 7.00.004, on Observium r15461. Substates other than gpsSync, reference clock notSynchronized and power supply down were not observed.

      Attachments:
      meinberg-ltng-clock.patch, meinberg-lantime-m300-fw7.00.004.snmpwalk (system group and MBG-SNMP-LTNG-MIB status branch only, location data replaced)

      Attachments

        Activity

          People

            landy Mike Stupalov
            fake Thomas "fake" Högemann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: