• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Watchdog commands, newb question

J

jpuddy

Guest
Hey all,
I'm just setting up Watchdog to monitor disk space. I've created a script that emails me, and I'd like this to be the command that watchdog executes when storage reaches the configured threshold. But, I can't figure out how.

I've tried entering:
scriptname.sh
"scriptname.sh"
exec scriptname.sh

and some other things. Everything returns: "Error: Some defined attributes are incorrect." How to get Watchdog to execute this?
 
i still need the answer. i tried a number of commands that always return the specified error. "Error: Some defined attributes are incorrect."
 
Back
Top