Get metadata on services monitored by Monit.
def test_fun(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
service_statuses = duthost.get_monit_services_status()
Takes no arguments.
Dictionary with metadata on relevant services. The dictionary hierarchy is described below, with each indentation describing a sub-dictionary:
{SERVICE_NAME}
- Dictionary with metadata on specified serviceservice_status
- current status of serviceservice_type
- type of service