Reporting, Analysis and Analytics

Expand all | Collapse all

Creating graphs from IOD with 3 values

  • 1.  Creating graphs from IOD with 3 values

    Posted 09-04-2018 01:43 AM
    Is it possible to create a graph from a IOD that returns 3 values?
    This is what we get from the OID:

    SNMPv2-SMI::enterprises.x.x.x.x.x.x.x.x = STRING: "0-0-0"

    The "0"s represent different values. Is there a way to extract them separately so we can use them in a graph?

    Thanks in advance.

    ------------------------------
    Todor Dimov
    ------------------------------


  • 2.  RE: Creating graphs from IOD with 3 values

    Posted 09-05-2018 12:21 PM
    No - there is no way.  Zenoss is very limited when it comes to customization of its graphs and reports.  I would suggest looking at another product like Nagios.

    ------------------------------
    Bill Negrelli
    NASA
    OH
    ------------------------------



  • 3.  RE: Creating graphs from IOD with 3 values

    Posted 12 days ago
    Anything you can do in Nagios, you can do in Zenoss.

    I was able to get this done using a simple CMD datasource (It can be done other ways.. use a script, create a new datasource, etc).

    The command I used:
    /usr/bin/bash -c 'output=$(snmpget -Oqv -v2c -c${here/zSnmpCommunity} ${here/manageIp}:${here/zSnmpPort} 1.3.6.1.4.1.318.1.1.1.1.1.1.0); pat="\"([^-]*)-([^-]*)-(.*)\""; [[ $$output =~ $$pat ]]; echo "OK | value1=$${BASH_REMATCH[1]} value2=$${BASH_REMATCH[2]} value3=$${BASH_REMATCH[3]}"'


    I added 3 datapoints (value1, value2, value3), then added those to a graph.






    ------------------------------
    jstanley
    ------------------------------