I have been unable to get Fast ping working(1min)(No alert, only from 5m poller) and I think it is connected with the inability for the script(PingCheck.php) to empty tier 1 and procede down the tree.
The result is a huge number of ‘Leftover devices, this shouldn’t happen:’ (running ./ping.php -vd) and a few ‘devices left in tier’.
Tier 0 (36):
Tier 1 (9):
Tier 2 (179)
Tier 3 (187):
Tier 4 (70):
Tier 5 (35):
Tier 6 (22):
Tier 7 (4):
For testing added echo “Not empty tier $this->current_tier\n”; (line197 PingCheck.php) and I keep getting ‘Not empty tier 1’ messages never advancing.
By the way, How long does it take for dependancies to update after a change?
Tried removing dependancies from a switch that I can test with but the tiers dont update (./ping.php -v)
My alert is macros.device_down = 1 AND devices.status_reason = “icmp” with:
|DB Schema||2020_10_12_095504_mempools_add_oids (191)|
[OK] Composer Version: 2.0.8
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
You can fix this with ./scripts/github-remove