monitor.chat.sh
What you should know about the monitor.chat.sh shell script.
When you recieve an API Key from Monitor.chat, you will also recieve a monitor.chat.sh shell script.
You can modify this script if you need to. Keep in mind the following:
- You can supress the inclusion of the hostname in your messages by changing the value for display_hostname from yes to no:
JSON_FORMAT='{"apikey":"%s","msg":"%s","hostname":"%s","recipient":"%s","display_hostname":"no"}';
- You can change the hostname of your server, but doing so will violate the terms of your license if you send messages from multiple hosts indicating the same name.
- The standard location for the monitor.chat.sh script is the directory /usr/local/bin/
Last modified November 7, 2020