diff --git a/masakarimonitors/hostmonitor/hostmonitor.sh b/masakarimonitors/hostmonitor/hostmonitor.sh index 52f8cbe..c2e8752 100755 --- a/masakarimonitors/hostmonitor/hostmonitor.sh +++ b/masakarimonitors/hostmonitor/hostmonitor.sh @@ -811,6 +811,9 @@ else SCRIPT_CONF_FILE=$1 fi +# Output warning message. +log_info "WARNING : $0 is deprecated as of the Ocata release and will be removed in the Queens release. Use masakari-hostmonitor implemented in python instead of $0." + # main route log_info "begin" diff --git a/masakarimonitors/processmonitor/processmonitor.sh b/masakarimonitors/processmonitor/processmonitor.sh index ae4cde4..963535f 100755 --- a/masakarimonitors/processmonitor/processmonitor.sh +++ b/masakarimonitors/processmonitor/processmonitor.sh @@ -449,6 +449,10 @@ fi # Initial processing (check proc.list and read conf file) . $SCRIPT_COMMON_SH + +# Output warning message. +log_info "WARNING : $0 is deprecated as of the Ocata release and will be removed in the Queens release. Use masakari-processmonitor implemented in python instead of $0." + log_debug "processmonitor start!!" check_proc_file_common set_conf_value diff --git a/releasenotes/notes/pythonize-monitors-081e74dfaf78fe99.yaml b/releasenotes/notes/pythonize-monitors-081e74dfaf78fe99.yaml new file mode 100644 index 0000000..9f9371f --- /dev/null +++ b/releasenotes/notes/pythonize-monitors-081e74dfaf78fe99.yaml @@ -0,0 +1,8 @@ +--- +features: + - Added the masakari-hostmonitor and masakari-processmonitor which were + implemented in python. +deprecations: + - The masakari-hostmonitor and masakari-processmonitor which were implemented + in bash shell script are deprecated as of the Ocata release and will be + removed in the Queens release.