Ad Widget

Collapse

Unable to get SNMP Dynamic Indexes to work for hrSWInstalledName

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #1

    Unable to get SNMP Dynamic Indexes to work for hrSWInstalledName

    Hi,

    I'm struggling to get the SNMP Dynamic Indexes to work when it has to partially match a string, even under Zabbix 2.1.4.

    I can get a SNMP Dynamic Index to work (in Zabbix 2.1.4, but not in 1.8.11) when I don't have to do a partial string matching, for instance when I get the memory of the mysqld process with the OID =
    Code:
    1.3.6.1.2.1.25.5.1.1.2["index","1.3.6.1.2.1.25.4.2.1.4", "/usr/sbin/mysqld"]
    So I suppose this is a bug in v1.8.11?

    Now my big problem is that I cannot get it to work for hrSWInstalledName, where I want to obtain the version of the installed application, because I'm only matching a partial value...

    For instance, I want to get the MySQL version and I do it like follow in the terminal:
    Code:
    snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.2.1.25.6.3.1.2 | grep mysql-server
    iso.3.6.1.2.1.25.6.3.1.2.283 = STRING: "mysql-server-5.5.29-1.fc17"
    
    snmpget -v 2c -c public 127.0.0.1 1.3.6.1.2.1.25.6.3.1.2.283
    iso.3.6.1.2.1.25.6.3.1.2.283 = STRING: "mysql-server-5.5.29-1.fc17"
    My Zabbix 2.1.4 server log shows the following:
    Code:
    item [chris hp server test:snmp.installed.mysql-server] became not supported: Cannot find index [1.3.6.1.2.1.25.6.3.1.2] of the OID [1.3.6.1.2.1.25.6.3.1.2["index","1.3.6.1.2.1.25.6.3.1.2","mysql-server"]]:
    I noticed a few bugs that may be related:



    So now my question is: do I need a patch to get SNMP Dynamic Indexes with partial text matching to work?

    Thank you in advance!
Working...