Ad Widget

Collapse

SNMP Discovery in Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vrtareg
    Senior Member
    • May 2006
    • 293

    #1

    SNMP Discovery in Template

    Hi

    I am trying to discover the local partitions via SNMP discovery but seems something is going wrong or the macros in discovery rule does not working properly.

    I created the regular expression:
    "Storage devices for SNMP discovery - Local"
    With the expression "^(hrStorageFixedDisk)$ - Result is TRUE" to check the "hrStorageType.{#SNMPINDEX}"

    The Discovery is created with filter but seems macro is completely ignored !

    Filter Macro: hrStorageType.{#SNMPINDEX} Regexp: @Storage devices for SNMP discovery - Local

    Please see attached picture for details.

    I just assume that in macro it possible to filter other snmp values too. If no what is the way to discover only local partitions and not all together with NFS mounts.

    Regards,
    Areg
    Attached Files
  • vrtareg
    Senior Member
    • May 2006
    • 293

    #2
    Hi

    Seems the result of "hrStorageType" is something like:

    OID: HOST-RESOURCES-TYPES::hrStorageRam
    OID: HOST-RESOURCES-TYPES::hrStorageOther
    OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
    OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
    OID: HOST-RESOURCES-TYPES::hrStorageNetworkDisk

    Which cant be normally parsed and I changed the regexp rule to filter the / /var /boot and other local mounts as they are almost standard in my environment.

    Regards,
    Areg

    Comment

    Working...