Layer7 API Management

 View Only
  • 1.  SNMP Metrics for Services

    Posted May 19, 2020 01:53 PM
    Hello,

    Has anyone done anything with the SNMP metrics for services (the tactical package)? 

    I'm looking for ideas on how one might create a dashboard of some sort using monitoring tools (Solarwinds).  If there are other usages of these kinds of metrics, that would be good to know as well. 

    I understand how to get the SNMP info, need some inspiration on using them.

    Thanks,

    Alejandro


  • 2.  RE: SNMP Metrics for Services

    Posted May 20, 2020 11:12 AM
    Hi Alejandro,

    We tried to use SNMP to create a custom dashboard for policies. The difficulty for us was that every policy gets a unique SNMP OID. So every time you create a new policy you'll get another OID to monitor and you'll have to edit your dashboard. That is, with our snmp monitoring software it was not possible to dynamically loop over a parent OID.
    We still use SNMP for the other stuf; CPU, Diskspace, etc.

    Now I'm trying to send the logging offsite. I'm using the Audit Sink policy to send a message to a Elasticsearch instance. In addition we installed Grafana to visualize this logging. It already looks great, but we're still developing.

    Hope this helps a bit

    Regards,
    Dennis


  • 3.  RE: SNMP Metrics for Services

    Posted May 21, 2020 02:41 AM
    Hi @Dennis Melis

    Are you able to retrieve CPU, Diskspace, etc. using tactical agent? if yes, may i know what is the OID for those system metrics, if we use tactical agent?

    Geethu



  • 4.  RE: SNMP Metrics for Services
    Best Answer

    Posted May 25, 2020 03:35 AM

    Hello John Geethu,

    We use the following OIDs (including the snmpwalk commands):

    Disk total (in kbytes)

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.9.1.6.1

     

    disk total = 8256952 ~8 GB

     

    Disk available (in kbytes)

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.9.1.7.1

     

    disk available = 5172652 ~ 5GB

     

    DISK Warning at 819200 and critical at 409600

     

    1-minute system load

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.10.1.3.1

     

    range 0.00 - 1.00.

    Warning at 0.9 en critical at 0.95

     

    5-minute system load

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.10.1.3.2

     

    range 0.00 - 1.00.

    LOAD Warning at 0.9 and critical at 0.95

     

    15-minute system load

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.10.1.3.3

     

    range 0.00 - 1.00.

    Warning at 0.9 and critical at 0.95

     

    Memory total swap

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.4.3.0

     

    2097148 kb ~ 2 GB

     

    Memory available swap (in kbytes)

    snmpwalk -c config2911 -Cc -v 2c 127.0.0.1 1.3.6.1.4.1.2021.4.4.0

     

    1779544 Kb ~ 1,7 GB


    Dennis