-
Documentation task
-
Resolution: Fixed
-
Trivial
-
4.4.7
-
Ubuntu
-
Sprint 63 (Apr 2020)
Steps to reproduce:
- Create Template
- Attempt to create Discovery Rule
-
- Set Update Interval to '0'
- Remove Custom Intervals
- Receive error:
- "Item will not be refreshed. Specified update interval requires having at least one either flexible or scheduling interval. [host_discovery.php:587 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CDiscoveryRule->create() → CDiscoveryRule->checkInput() → CItemGeneral->checkInput() → CApiService::exception() in include/classes/api/services/CItemGeneral.php:360]"
- Set Flexible interval to '0' and '1-7;00:00-24:00'
- Receive error:
- "Item will not be refreshed. Please enter a correct update interval. [host_discovery.php:587 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CDiscoveryRule->create() → CDiscoveryRule->checkInput() → CItemGeneral->checkInput() → CApiService::exception() in include/classes/api/services/CItemGeneral.php:373]"
Expected:
To have discovery rule not poll, and allow item prototypes to poll only.