Ad Widget

Collapse

snmp partial working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sysigs
    Junior Member
    • Aug 2005
    • 27

    #1

    snmp partial working

    i want to use zabbix to get snmp value to server windows where snmp service is start. went i try to use snmpwalk from linux it's work but thru zabbix return notsupport.
    snmpwalk -v2c -c SnmpKey Server1 host.hrStorage.hrStorageTable.hrStorageEntry.hrSto rageDescr.2
    HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 8c4d0a31
    Item Zabbix
    Desc : SnmphrStorageDescr.2
    Type : SNMPv2 Agent
    Community : SnmpKey
    OID : host.hrStorage.hrStorageTable.hrStorageEntry.hrSto rageDescr.2
    port : 161
    Key : SnmphrStorageDescr2
    Type info : Text
    It means that we can't use snmp
    PS : if we use in zabbix
    Item Zabbix
    Desc : SnmphrStorage.hrMemorySize
    Type : SNMPv2 Agent
    Community : SnmpKey
    OID : host.hrStorage.hrMemorySize.0
    port : 161
    Key : SnmphrStorageDescr2
    Type info : Numeric (interger 64)
    it works
  • den_crane
    Senior Member
    • Feb 2006
    • 272

    #2
    Originally posted by sysigs
    HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial
    ....
    OID : host.hrStorage.hrStorageTable.hrStorageEntry.hrSto rageDescr.2
    try use:
    OID : HOST-RESOURCES-MIB::hrStorageDescr.2


    I use numeric oid's:
    snmpwalk -c public host -m FIBRE-CHANNEL-FE-MIB.txt fcFxPortAddressIdErrors.1.1 -On -v1
    .1.3.6.1.2.1.75.1.3.1.1.8.1.1 = Counter32: 0

    zabbix item
    OID: .1.3.6.1.2.1.75.1.3.1.1.8.1.1
    key: fcFxPortAddressIdErrors.1.1

    Comment

    • den_crane
      Senior Member
      • Feb 2006
      • 272

      #3
      Originally posted by sysigs
      ...
      HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: C:\ Label: Serial Number 8c4d0a31
      ...
      Type info : Text
      IMHO it's type=CHARACTER, in Zabbix types CHARACTER=String(255)

      Comment

      • sysigs
        Junior Member
        • Aug 2005
        • 27

        #4
        it's work thanks'

        Comment

        Working...