Contents
Monit
M/Monit
Wiki
Features I would like to see in Monit
- Your suggestion here
When you say `monit start foo`, it should complain if there is no foo in the configuration.
I would have patched this in myself, but I see nowhere on your site where you accept patches from people.
Jonathan Steel 2010/02/18
I'd like the mail format variables available throughout the config so that you can use them when calling external programs. This would provide an easy twitter method among other possibilities.
-- Ben 09/02/2010
Allow users to add certain custom functions to the http panel, I would love having a restart/shutdown button there as well (as in whole system shutdown, not a particular service)
-Ignacio Quintero 2010-01-05
The ability to incorporate custom status messages into the monit web interface. For example, if we could add lines that said "/dev/md0 - rebuilding: 22% complete" or "website traffic - 12 hits/sec", that page would become a much more general-purpose tool. I guess this could be part of the ability to run arbitrary programs that is mentioned below? -Paul 2009-11-25
Allow to test against date and time. My backup task take a lot of ressources between 6am and 7am and I don't want Monit to alert me in that timelaps. syntax could be:
if cpu usage (wait) > 20%
and time < 05:00 GMT
and time > 07:00 +0100
then alert
or:
if cpu usage (wait) > 20%
and before 05:00 GMT
and after 07:00 +0100
then alert
+1
Allow custom headers in mail-format block. Our particular use case would be to add Priority headers for special treatment in Outlook and on blackberries.
In M/Monit, add the ability to set up rules for host groups. Right now one can do it for either every single host, or for all hosts (any host). Email/User groups to be used within rules would also be gladly welcome.
The ability to use Nagios plug-ins. This would cover a few of the suggestions below and since the plugins are merely shell-scripts/programs that return a return code and a single line of human-readable text they shouldn't be that hard to use.
Add the ability to set a default action other than sending e-mail for alerts. For instance, I'd love to be able to launch a script that sends a push notification to an iPhone through a service like Prowl. I know that instead of using then alert you can use then exec "scriptname", but typing just alert is tidier and you don't have to override the default alerts.
Add STARTTLS
Change the configuration language to a subset of python. Advantages:
- Makes if-else logic simple to write and read
- Users who know python don't need to learn another language
- Maybe easier to parse
- You can abandon your old parser and start fresh, which is fun
Send an abbreviated alert via Twitter's web api (using curl?) to a special account that I am following so I get a SMS on my cell phone --Dave Brown (edit: thanks for the clue below)
Add the possibility to add the last n (say n=10) lines of a specific log-file (e.g. error.log of Apache) to the alert mail, when a specific program crashes (i.e. syslog when syslogd crashes, error.log when Apache crashes etc.).
If this is already possible, please give an Example in the Config. Examples
JK
Reporting - Is there the ability to report / graph the data that Monit is monitoring?
Ian
Allow logging possibility. In some cases the log is not enough. It is impossible to tell for what reason the failure happened. I think there should be a possiblity to write log messages. Also it would be usefull to allow more then one operation upon failure. If it is necessary to restart the application and execute some script - this is not possible.
LO