Documentation PI Nexus+ Documentation

PI Nexus+ / Reference

Scan Automation Reference

This reference lists the cadences, windows, queue rules and timings of automatic monitoring. The Administration Guide chapter Scan Automation links here instead of repeating them.

Overview

This reference lists the cadences, windows, queue rules and timings of automatic monitoring. The Administration Guide chapter Scan Automation links here instead of repeating them.

Policy settings

SettingOptionsDefault
Scan intensityLow - as little load as possible, Medium - recommended, High - freshest health, more loadMedium
Heavy work starts / Heavy work endsAny time, scanner server local time22:00 to 06:00
Automatic per targetOn or offOn for every enabled target when automatic monitoring is first started
Cadence modeAutomatic (derived) or Custom cadences (set under Advanced)Automatic

A changed intensity, window or target selection takes effect on the next dispatcher pass, within 5 minutes.

Cadences per intensity

Each periodic cadence is derived per target: the duration of that target's last successful run, divided by the share of time the intensity allows, kept between the shortest and longest interval. A target that has not completed the relevant run yet uses the shortest interval.

LowMediumHigh
Health refresh, shortest interval8 hours3 hours1 hour
Health refresh, share of time1 %3 %10 %
Health refresh, longest interval7 days7 days7 days
Full verification, shortest interval90 days30 days7 days
Full verification, share of time1 %3 %5 %
Full verification, longest interval365 days365 days365 days
Interface and adapter runtime pollEvery 5 minutesEvery minuteEvery minute

Examples at Medium:

TargetLast measured runResulting cadence
PI Data ArchiveHealth refresh 4 minutesHealth every 3 hours (shortest interval)
PI Data ArchiveHealth refresh 1 hourHealth every 33 hours
AF databaseFull scan 20 minutesVerification every 30 days (shortest interval)
AF databaseFull scan 3 days 4 hoursVerification every 106 days

Only a health refresh that succeeded, or completed with errors and was credited (see Scan Runs Reference), counts as a measurement. Only a successful full scan measures the verification cadence.

A target without a change feed is fully scanned at its verification cadence. PI Vision instances get no health refresh: their health follows the health of the attributes and points they use (Follows attribute health).

Custom cadences (Advanced)

ValueOptionsValue restored by Use automatic cadences
Operational healthEvery 15 or 30 minutes, Hourly, every 2 or 4 hoursHourly
Inventory freshnessDaily, every 3 days, Weekly, every 2 weeksWeekly
Full verificationWeekly, Monthly, Quarterly, Yearly, Only on demandMonthly
Interface and adapter runtime pollEvery 1, 2, 5, 10 or 15 minutesEvery minute

With custom cadences, the Scanning page warns when a target's last credited health refresh took 80 % or more of the Operational health cadence. The setting is not changed: the next refresh is planned after the previous one ends, so the real period becomes the cadence plus the refresh time. With Only on demand, the page states Inventory is feed-driven; no periodic full verification is scheduled.

Note: On upgrade from 1.5.x, an installation still on the four shipped values (hourly, weekly, monthly, every minute) moves to automatic cadences at Medium. One with any value changed keeps its values as Custom cadences.

What waits for the heavy-work window

WorkWaits for the window
Full verification and routine automatic full inventory scansYes
PI Point rule reconciliation queued by automatic monitoringYes
First full scan of a target (baseline), after starting automatic monitoring, enabling a target or ticking AutomaticNo
Health refreshNo
Inventory update from a change feedNo
Interface and adapter runtime pollNo (not queued with scans)
Anything requested by a person, work promoted with Run now, and legacy schedulesNo

The window compares wall-clock time: on a daylight-saving change a skipped hour is skipped and a repeated hour counts twice. A start equal to the end means "any hour". The window controls only when work starts.

Dispatcher and concurrency

ItemValue
Dispatcher passEvery 5 minutes
Items started per passUp to 4, of which at most 1 full scan
Full scans running at the same time1
Health refreshes and inventory updatesCan run beside a full scan
Automatic full scan giving way to due health workUp to 24 hours (a baseline: up to 1 hour)
Requested (manual) runs waiting in the queueAt most 100; an AF request counts one per AF database

Change feeds

ItemValue
Sources with a change feedAF databases, PI Data Archives, PI Vision instances
Feed established byA successful full scan of the target
Poll intervalEvery 5 minutes
Wait before an inventory update30 minutes after the last reported change, at most 2 hours after the first
Failed polls before a full scan is queuedMore than 12 (about one hour)
Proof of deleted PI Points (PointID comparison)At least every 6 hours
Inventory columnMeaningAction
Change feed healthyThe source answers and changes are appliedNone
Change feed delayedPolling works but runs behindNone
Change feed degradedPolling failsCheck the connection; a full scan is queued if failures continue
Change feed needs a full scanThe source rejected the starting point (too old, or the source was replaced or restored)None; PI Nexus+ queues the full scan and lists the target under Needs attention until it succeeds
Change feed not available on this AF Server (or PI Data Archive, PI Vision instance)The source cannot report changesNone; the target keeps full scans and is not unhealthy
Changes detected — inventory update planned after activity settles, in about N minutesChanges are waiting for the quiet periodNone
Changes detected — inventory update planned as soon as the queue allowsThe quiet period is overNone
Last inventory updateWhen the last change-driven update ran

When a feed is in use, the target's full-scan time is shown as Last full verification.

Queue rules

RuleBehaviour
Duplicate requestNot queued again; the existing item is reported (Already queued). For AF, checked per database
Request over the 100-run limitRefused as a whole; the message names the runs requested and already queued
A person requests work for a targetQueued automatic work for the same target is superseded
A scan completesQueued work it made unnecessary is superseded, for example a health refresh after a successful inventory scan
A full PI Point scan of every PI Data ArchiveRetires the queued PI Point rule reconciliation
A target is disabled or no longer managedIts queued work is superseded; its inventory is marked excluded
Run nowMoves the item to the next start slot, past the window and any retry wait; does not interrupt a running scan. The trigger becomes Run now. A failed promoted item is not retried; automatic monitoring creates it again

Superseded items are not failures; they keep the reason they were retired.

Retries of automatic work

ItemValue
Failures that are retriedTemporary or unknown infrastructure failures
RetriesUp to 3, after 5 minutes, 15 minutes and 1 hour
Failures that are not retriedConfiguration, validation, authorization and unsupported-scope failures
After the last retryThe item needs attention: it appears under Needs attention and sends an Automatic monitoring failures email if switched on
Wait before a target that keeps failing is tried againDoubles from 5 minutes, at most 6 hours

Pause

ItemBehaviour
What stopsNew automatic work: health refreshes, inventory updates, verification, reconciliation
What continuesRunning scans; manual work; the interface and adapter runtime poll
What is keptInventory, issues, suppressions, history and the queue
Where it is shownScan Automation banner (Paused since … by …), Scanning page Status (Paused, with a Resume button), a Dashboard notice, the Automatic monitoring check in Readiness

Who can do what

ActionRole
View the Scanning page, request manual scans and health checks, Run now, cancel, remove requested workOperator
Everything under Admin > Scan Automation, including start, pause and resumeAdmin
Recover a stuck scan, permanently delete scan historyAdmin