Skip to content

Rebuilding the poller cache does not always work as expected #5279

Closed
@xmacan

Description

@xmacan

I found that multiCPU_avg data source was updated during the update. Old code has a lot of parameters:
function ss_multicpu_avg($hostname,$snmp_community,$snmp_version, $snmp_port,$snmp_timeout)
new code has only host_id.

My poller cache looked like this:
cache1

So I haven't new data data ater update.

I tried system utilities -> rebuild poller cache. Unfortunately I'm not sure if I didn't run cli rebuild_poller_cache.php :-(
Result was:
cache2
Instead of host_id is here hostname. It seems that other parameters have been cut off.

Next run rebuild poller cache from web or cli = the same result.

management -> devices -> choose one -> repopulate poller cache = work well
Cli push_out_hosts.php = works well too.

cache3

For me it is very confusing. Why host repopulating cache is doing anything different than other repopulate action?

1.2.23 (and older version too, I think that I reported it before

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamporting requiredRequires porting to developresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions