You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
If a foolish user (me in this case) sets a schedule type of monthly but then fails to set days, dates etc. you end up with poller automation in an infinite loop:
The call to background_exec() in the cacti/poller_automation.php in the net_discovery process proceeds and the switch statement in api_automation_is_time_to_start() gets a discovery type of 4 with a $net['next_start'] == '0000-00-00 00:00:00' but $days as an empty array thus the while(TRUE) loop break is never matched.
It's obviously user error but that should be flagged in the interface or die gracefully. Hopefully the above is clear, I'm posting this as I /need/ to get my cacti instance up and each poll creating a spinning PHP process has led to there being some work to do. Happy to provide more info later in the week if required.
Thanks for the otherwise excellent software!
Tim
The text was updated successfully, but these errors were encountered:
If a foolish user (me in this case) sets a schedule type of monthly but then fails to set days, dates etc. you end up with poller automation in an infinite loop:
The call to background_exec() in the cacti/poller_automation.php in the net_discovery process proceeds and the switch statement in api_automation_is_time_to_start() gets a discovery type of 4 with a $net['next_start'] == '0000-00-00 00:00:00' but $days as an empty array thus the while(TRUE) loop break is never matched.
It's obviously user error but that should be flagged in the interface or die gracefully. Hopefully the above is clear, I'm posting this as I /need/ to get my cacti instance up and each poll creating a spinning PHP process has led to there being some work to do. Happy to provide more info later in the week if required.
Thanks for the otherwise excellent software!
Tim
The text was updated successfully, but these errors were encountered: