Cacti's thold plug-in modifies thresholds during a custom time period
cacti's thold plug-in provides no alarm on weekends, which is not suitable for working on holidays or working days off. There is a very simple solution to this problem.
The thold_data table is found in the mysql database of cacti, which records the relevant settings of each threshold, the highest threshold, the lowest threshold, the open status, and so on.
By rewriting the contents of this table through scripts and scheduled tasks, can turn the threshold on or off or adjust the threshold level according to different time periods.