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

TIMos vrf (vprn) and dhcp pools

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Minor
    • None
    • Professional Edition
    • Discovery, Poller
    • Observium Professional 17.5.8546
      TiMOS-C-12.0.R9
      TiMOS-C-14.0.R5

    Description

      I need to add dhcp pool monitoring for alcatel.
      Please help

      There is some structure in configuration:

      • host
        • vprn (vrf)
          • dhcp-server
            • pool-name
              • subnet
                • Stable (count)
                • Free (count)
            • pool-name
              • subnet
                • Stable (count)
                • Free (count)
              • subnet
                • Stable (count)
                • Free (count)

      VPRN snmp index

      First we need to get all vprn's (VRF's_ from device).
      I find it in TIMETRA-VRTR-MIB::vRtrName

       snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-VRTR-MIB::vRtrName -M mibs:mibs/net-snmp:mibs/aos
      TIMETRA-VRTR-MIB::vRtrName.1 = STRING: "Base"
      TIMETRA-VRTR-MIB::vRtrName.2 = STRING: "vprn100"
      TIMETRA-VRTR-MIB::vRtrName.3 = STRING: "vprn120"
      TIMETRA-VRTR-MIB::vRtrName.4 = STRING: "vprn10001"
      TIMETRA-VRTR-MIB::vRtrName.5 = STRING: "vprn118"
      TIMETRA-VRTR-MIB::vRtrName.6 = STRING: "vprn160"
      TIMETRA-VRTR-MIB::vRtrName.7 = STRING: "vprn170"
      TIMETRA-VRTR-MIB::vRtrName.8 = STRING: "vprn600"
      TIMETRA-VRTR-MIB::vRtrName.9 = STRING: "vprn169"
      TIMETRA-VRTR-MIB::vRtrName.10 = STRING: "vprn159"
      TIMETRA-VRTR-MIB::vRtrName.11 = STRING: "vprn139"
      TIMETRA-VRTR-MIB::vRtrName.4094 = STRING: "vpls-management"
      TIMETRA-VRTR-MIB::vRtrName.4095 = STRING: "management"

      Usually snmp-index doesn't changes after reboot. (indexes is saved in file on flash)
      But If someone rename startup config and don't rename index file - OS can changes this indexes.

      Get Free addresses in pool for vprn160 (snmp index 6)

      Don't find how to get free addresses in pool, but know how to get free addresses in subnet

      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFree.6 -M mibs:mibs/net-snmp:mibs/aos
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFree.6."DHCP-SERVER"."UNLIMIT-01".ipv4."37.187.252.0".24 = Counter32: 174
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFree.6."DHCP-SERVER"."UNLIMIT-01".ipv4."37.187.255.160".27 = Counter32: 31
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFree.6."DHCP-SERVER"."LP-RUNLIMIT-01".ipv4."37.187.255.192".27 = Counter32: 31
      h2. Get Stable addresses in pool for vprn160 (snmp index 6)
      Don't find how to get free addresses in pool, but know how to get free addresses in subnet
      

      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsStable.6 -M mibs:mibs/net-snmp:mibs/aos
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsStable.6."DHCP-SERVER"."LP-RUNLIMIT-01".ipv4."37.187.252.0".24 = Counter32: 80
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsStable.6."DHCP-SERVER"."LP-RUNLIMIT-01".ipv4."37.187.255.160".27 = Counter32: 0
      TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsStable.6."DHCP-SERVER"."LP-RUNLIMIT-01".ipv4."37.187.255.192".27 = Counter32: 0

      Get other states in pool for vprn160 (snmp index 6)

      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsOffered.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFRPending.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsRemPending.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsDeclined.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoFree.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoOffered.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoStable.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoFRPend.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoRemPend.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoDeclined.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsProv.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>
      snmpwalk -v2c -c *** <ALCATEL-HOST> TIMETRA-DHCP-SERVER-MIB::tmnxDhcpSvrSubnetStatsFoProv.6 -M mibs:mibs/net-snmp:mibs/aos
      <cut>

      I need to create a graph for all TimOS devices with this DHCP states for all pools in all vprns.
      subnets in pool can migrate from one device to another many times in day.

      And also we need to count total addresses in pool (summary of all states)

      Attachments

        Issue Links

          Activity

            People

              landy Mike Stupalov
              mtivi Martyushev Tim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: