I have the following configuration in the lab
set services rpm probe jncie-probe test jncie-test probe-type icmp-ping
set services rpm probe jncie-probe test jncie-test target address 10.146.40.38
set services rpm probe jncie-probe test jncie-test probe-count 3
set services rpm probe jncie-probe test jncie-test probe-interval 2
set services rpm probe jncie-probe test jncie-test test-interval 3
set services rpm probe jncie-probe test jncie-test source-address 10.146.40.39
set services rpm probe jncie-probe test jncie-test thresholds successive-loss 3
set event-options policy jncie-event events ping_test_failed
set event-options policy jncie-event within 20 trigger on
set event-options policy jncie-event within 20 trigger 3
set event-options policy jncie-event within 25 trigger until
set event-options policy jncie-event within 25 trigger 4
set event-options policy jncie-event then change-configuration commands "set system ntp server 10.10.10.99"
set event-options policy jncie-event then change-configuration commit-options log "event triggered"
In my understanding, rpm would generate a log every 18s. 3 (probe-count) X 2 (probe-interval) X 3 (test-interval) = 18s
But the log shows every 9s.
Apr 19 03:06:11.438 2021 QGX-39 rmopd[6830]: PING_TEST_FAILED: pingCtlOwnerIndex = jncie-probe, pingCtlTestName = jncie-test
Apr 19 03:06:20.454 2021 QGX-39 rmopd[6830]: PING_TEST_FAILED: pingCtlOwnerIndex = jncie-probe, pingCtlTestName = jncie-test
Apr 19 03:06:29.468 2021 QGX-39 rmopd[6830]: PING_TEST_FAILED: pingCtlOwnerIndex = jncie-probe, pingCtlTestName = jncie-test
In the event policy, I expected to see no more command executed when it saw a fourth alert. But I saw the command executed continuously.
Apr 19 02:36:17.763 2021 QGX-39 file[33284]: UI_COMMIT: User 'root' requested 'commit' operation (comment: event triggered)
Apr 19 02:36:26.728 2021 QGX-39 file[33303]: UI_COMMIT: User 'root' requested 'commit' operation (comment: event triggered)
Apr 19 02:36:35.787 2021 QGX-39 file[33322]: UI_COMMIT: User 'root' requested 'commit' operation (comment: event triggered)
also every 9 seconds.
What I missed here ?
thanks in advanced !!