-
assigned issue to
- marked as proposal
- marked as minor
[FEATURE REQUEST] Add group info to XML output
Please add the group info to XML output (it could be good for plaintext status out put too).
Comments (7)
-
repo owner -
repo owner Please can you provide more details about the request and add examples of how the output should look like?
-
repo owner - changed status to closed
-
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 192.168.1.1 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 ... > <groups> <group>database</group> </groups> </service>
-
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
-
repo owner - changed status to closed
the <servicegroups/> are present in the XML output already, right behind the <services/> element
-
Took me some time... It's /_status2?format=xml not /_status.
- Log in to comment