lib/fog/rackspace/monitoring.rb in fog-maestrodev-1.19.0.20140212012611 vs lib/fog/rackspace/monitoring.rb in fog-maestrodev-1.20.0.20140305101305
- old
+ new
@@ -1,11 +1,10 @@
+require 'fog/rackspace/core'
# This class originally came from the rackspace-monitoring gem located here:
# https://github.com/racker/rackspace-monitoring-rb
# It has been heavily modified for import into Fog master.
-require 'fog'
-require 'fog/core'
module Fog
module Rackspace
class Monitoring < Fog::Service
include Fog::Rackspace::Errors
@@ -59,10 +58,11 @@
model :notification
collection :notifications
request_path 'fog/rackspace/requests/monitoring'
request :list_agent_tokens
+ request :list_agents
request :list_alarms
request :list_alarm_examples
request :list_checks
request :list_entities
request :list_metrics
@@ -70,15 +70,24 @@
request :list_check_types
request :list_overview
request :list_notification_plans
request :list_notifications
+ request :get_agent
request :get_agent_token
request :get_alarm
request :get_alarm_example
request :get_check
request :get_entity
request :get_notification
+ request :get_cpus_info
+ request :get_disks_info
+ request :get_filesystems_info
+ request :get_memory_info
+ request :get_network_interfaces_info
+ request :get_processes_info
+ request :get_system_info
+ request :get_logged_in_user_info
request :create_agent_token
request :create_alarm
request :create_check
request :create_entity