Hi,

the alert levels are predefined based on message context. It is not possible to change the level currently.

Martin

Qi Lu wrote:
Hi there,

I checked the monit change log and found that the from 4.8. version, monit support message priority for the logging output.

I am wondering if this feature means that user can specify which level of alart message should be sent. For example

For the statement like:

check process apache2 with pidfile /var/run/apache2.pid

    group local

    start program = "/etc/init.d/apache2 start"

stop program = "/etc/init.d/apache2 stop"
if changed pid then alert

so far the alart is at error level. Can I set it whatever I want? Like 'warning'? If I can, what is the syntax?

Thanks

Qi Lu


------------------------------------------------------------------------

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to