lib/cloudstack-nagios/helper.rb in cloudstack-nagios-0.14.2 vs lib/cloudstack-nagios/helper.rb in cloudstack-nagios-0.15.0

- old
+ new

@@ -16,9 +16,13 @@ def cs_routers routers = client.list_routers(status: 'Running') routers += client.list_routers(projectid: -1, status: 'Running') end + def cs_system_vms + vms = client.list_system_vms + end + def storage_pools storage_pools = client.list_storage_pools.select do |pool| pool['state'].downcase == 'up' end end