Ad Widget

Collapse

snmp dynamic indexes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mhabdank
    Junior Member
    • Feb 2011
    • 6

    #1

    snmp dynamic indexes

    Hi

    I am trying to use snmp dynamic indexes to monitor status of single process (postmaster) using HOST-RESOURCES-MIB::hrSWRunName and HOST-RESOURCES-MIB::hrSWRunStatus. When i launch from console
    snmpwalk -v 1 -c public 127.0.0.1 HOST-RESOURCES-MIB::hrSWRunName.1890
    it returns:
    HOST-RESOURCES-MIB::hrSWRunName.1890 = STRING: "postmaster"
    snmpwalk -v 1 -c public 127.0.0.1 HOST-RESOURCES-MIB::hrSWRunStatus.1890
    it returns
    HOST-RESOURCES-MIB::hrSWRunStatus.1890 = INTEGER: runnable(2)
    it also works when i create a new item in zabbix in a template with simple snmp query:
    Type: SNMPv1 agent
    SNMP OID: HOST-RESOURCES-MIB::hrSWRunStatus.1890
    Key: snmp_process_postmaster_status
    Type of information: Numeric (unsigned)
    but when i try to change:
    SNMP OID: HOST-RESOURCES-MIB::hrSWRunStatus[“index”,”HOST-RESOURCES-MIB::hrSWRunName”,“postmaster”]
    i always have in status of item on a selected host with this item: "Not supported"
    What am i doing wrong?

    best regards

    Mikolaj Habdank
Working...