Ad Widget

Collapse

LLD not working on 40% of hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • filosmith
    Junior Member
    • Apr 2013
    • 7

    #1

    LLD not working on 40% of hosts

    I have a couple of hosts that never have their HOST-RESOURCES-MIB::hrStorageXXX discovered.

    Most work fine.

    When I add the hosts, I get no errors, nothing unsupported, etc, but the items never show up.

    Low-hanging fruit:
    snmpwalk from the server works.
    advsnmp.discover from the server works.

    I've tried:
    creating a different template - the same hosts that always worked work fine. The ones that don't work still don't work

    Deleting and creating the host - still doesn't work
    Deleting and creating the host with a different name - same
    Deleting and creating the host with IP instead of DNS - same

    Removing the template from the host - same
    Removing ALL templates, and then adding the one that doesn't work - same

    I get ZERO errors in the zabbix logs on the server or the database server... It simply doesn't work.

    I have also checked the snmpd logs on the clients, and there is absolutely nothing.

    There are many other things I've tried.

    Any ideas?

    Zabbix 2.0.5
    Ubuntu 13.04

    The clients that I've noticed this on so far are AIX 6.1 and 7.1, but I have others of the same oslevel that work fine. This isn't the usual AIX snmp pain - snmpwalk from the zabbix server works fine.

    This is a piece of my zabbix server log in Debug Level 4:
    23420:20130622:184357.065 In DCconfig_get_poller_items() poller_type:0
    23420:20130622:184357.065 End of DCconfig_get_poller_items():1
    23420:20130622:184357.065 In substitute_key_macros() data:'advsnmp.discovery[{HOST.NAME},"-v1 -cpublic",.1.3.6.1.2.1.25.2.3.1.3,1.1]'
    23420:20130622:184357.065 In substitute_simple_macros() data:'{HOST.NAME}'
    23420:20130622:184357.065 End substitute_simple_macros() data:'test5'
    23420:20130622:184357.065 End of substitute_key_macros():SUCCEED data:'advsnmp.discovery[test5,"-v1 -cpublic",.1.3.6.1.2.1.25.2.3.1.3,1.1]'
    23420:20130622:184357.065 In get_value() key:'advsnmp.discovery[{HOST.NAME},"-v1 -cpublic",.1.3.6.1.2.1.25.2.3.1.3,1.1]'
    23420:20130622:184357.065 In get_value_external() key:'advsnmp.discovery[{HOST.NAME},"-v1 -cpublic",.1.3.6.1.2.1.25.2.3.1.3,1.1]'
    23420:20130622:184357.065 In zbx_popen() command:'/etc/zabbix/externalscripts/advsnmp.discovery "test5" "-v1 -cpublic" ".1.3.6.1.2.1.25.2.3.1.3" "1.1"'
    23420:20130622:184357.065 End of zbx_popen():7
    31685:20130622:184357.065 zbx_popen(): executing script
    23420:20130622:184357.094 In zbx_waitpid()
    23420:20130622:184357.094 zbx_waitpid() exited, status:0
    23420:20130622:184357.094 End of zbx_waitpid():31685
    23420:20130622:184357.094 End of get_value_external():SUCCEED
    23420:20130622:184357.094 End of get_value():SUCCEED
    23420:20130622:184357.094 In activate_host() hostid:10171 itemid:42237 type:10
    23420:20130622:184357.094 In DBlld_process_discovery_rule() itemid:42237
    23420:20130622:184357.094 query [txnlev:0] [select hostid,key_,status,filter,error,lifetime from items where itemid=42237]
    23420:20130622:184357.095 In substitute_simple_macros() data:'1'
    23420:20130622:184357.095 query [txnlev:1] [begin;]
    23420:20130622:184357.095 query [txnlev:1] [select e.expression,e.expression_type,e.exp_delimiter,e.c ase_sensitive from regexps r,expressions e where r.regexpid=e.regexpid and r.name='Storage devices for SNMP discovery']
    23420:20130622:184357.095 DBlld_process_discovery_rule() f_macro:'{#ADVSNMPVALUE}' f_regexp:'@Storage devices for SNMP discovery'
    23420:20130622:184357.095 In DBlld_update_items()
    23420:20130622:184357.095 query [txnlev:1] [select i.itemid,i.name,i.key_,i.type,i.value_type,i.data_ type,i.delay,i.delay_flex,i.history,i.trends,i.sta tus,i.trapper_hosts,i.units,i.multiplier,i.delta,i .formula,i.logtimefmt,i.valuemapid
    ,i.params,i.ipmi_sensor,i.snmp_community,i.snmp_oi d,i.port,i.snmpv3_securityname,i.snmpv3_securityle vel,i.snmpv3_authpassphrase,i.snmpv3_privpassphras e,i.authtype,i.username,i.password,i.publickey,i.p rivatekey,i.description,i.interfacei
    d from items i,item_discovery id where i.itemid=id.itemid and id.parent_itemid=42237]
    23420:20130622:184357.096 End of DBlld_update_items()
    23420:20130622:184357.096 In DBlld_update_triggers()
    23420:20130622:184357.096 query [txnlev:1] [select distinct td.triggerid from trigger_discovery td,triggers t,functions f,items i,item_discovery id where td.parent_triggerid=t.triggerid and t.triggerid=f.triggerid and f.itemid=i.itemid
    and i.itemid=id.itemid and id.parent_itemid=42237]
    23420:20130622:184357.096 query [txnlev:1] [select distinct t.triggerid,t.description,t.expression,t.status,t. type,t.priority,t.comments,t.url from triggers t,functions f,items i,item_discovery id where t.triggerid=f.triggerid and f.it
    emid=i.itemid and i.itemid=id.itemid and id.parent_itemid=42237]
    23420:20130622:184357.097 End of DBlld_update_triggers()
    23420:20130622:184357.097 In DBlld_update_graphs()
    23420:20130622:184357.097 query [txnlev:1] [select distinct gd.graphid from item_discovery id,items i,graphs_items gi,graphs g left join items i1 on i1.itemid=g.ymin_itemid left join items i2 on i2.itemid=g.ymax_itemid join graph_disco
    very gd on gd.parent_graphid=g.graphid where id.itemid=i.itemid and i.itemid=gi.itemid and gi.graphid=g.graphid and id.parent_itemid=42237]
    23420:20130622:184357.098 query [txnlev:1] [select distinct g.graphid,g.name,g.width,g.height,g.yaxismin,g.yax ismax,g.show_work_period,g.show_triggers,g.graphty pe,g.show_legend,g.show_3d,g.percent_left,g.percen t_right,g.ymin_type,i1.it
    emid,i1.flags,i1.key_,g.ymax_type,i2.itemid,i2.fla gs,i2.key_ from item_discovery id,items i,graphs_items gi,graphs g left join items i1 on i1.itemid=g.ymin_itemid left join items i2 on i2.itemid=g.ymax_itemid where id.itemid=i.itemid an
    d i.itemid=gi.itemid and gi.graphid=g.graphid and id.parent_itemid=42237]
    23420:20130622:184357.098 In DBdelete_graphs() values_num:0
    23420:20130622:184357.098 End of DBdelete_graphs()
    23420:20130622:184357.098 End of DBlld_update_graphs()
    23420:20130622:184357.098 In DBlld_remove_lost_resources() lifetime:1
    23420:20130622:184357.098 query [txnlev:1] [select id2.itemdiscoveryid,id2.itemid,id2.lastcheck,id2.t s_delete from item_discovery id1,item_discovery id2 where id1.itemid=id2.parent_itemid and id1.parent_itemid=42237 and id2.lastcheck<1
    371944637]
    23420:20130622:184357.099 In DBdelete_items() values_num:0
    23420:20130622:184357.099 End of DBdelete_items()
    23420:20130622:184357.099 End of DBlld_remove_lost_resources()
    Attached Files
    Last edited by filosmith; 24-06-2013, 15:28. Reason: Title was a little off
  • filosmith
    Junior Member
    • Apr 2013
    • 7

    #2
    More info

    Adding zabbix server process info screenshot.
    Attached Files

    Comment

    Working...