[FEATURE REQUEST] Add group info to XML output

Issue #650 closed
Gábor Garami
created an issue

Please add the group info to XML output (it could be good for plaintext status out put too).

Comments (6)

  1. Gábor Garami reporter
    • changed status to open

    Sorry, I didn't get notification emails from BitBucket until now.

    In monit, you can set group membership to the services, e.g.:

    check process mysql with pidfile /opt/mysql/data/myserver.mydomain.pid
       group database
       start program = "/etc/init.d/mysql start"
       stop program = "/etc/init.d/mysql stop"
       if failed host port 3306 protocol mysql then restart
       depends on mysql_bin
       depends on mysql_rc

    I'd like to see "group" information(s) in the XML, e.g.:

    <service ... >
  2. Mark

    This would be useful as you could use groups to indicate criticality level of the monitored target. Fe.x group critical, group warning, etc. Also adding the group info as an env variable for the m/monit notifications scripts would be helpful as you could forward the group info to your notification integration script

  3. Log in to comment