Monitoring – Alarm vs. Notification troubleshooting.

So I am trying to figure out my body_match alarm / Notfication. Everything looks good. And I can’t exactly see what is wrong. raxmon-notifications-list –details{‘details’: {u’address’: u’jim@weasy.net’}, ‘driver’: <rackspace_monitoring.drivers.rackspace.RackspaceMonitoringDriver object at 0x1005638d0>, ‘id’: u’ntHUxJtlw0′, ‘label’: u’Alert\ weasy\.net’, ‘type’: u’email’} MFTUGADH2G:commands jim.culbreath$ raxmon-alarms-list –entity-id=ensdv6iaqr –details{‘criteria’: u”if (metric[‘body_match’] regex ‘.*forbidden.*’) {return CRITICAL, ‘Forbidden found, returning CRITICAL.’}”, ‘driver’: <rackspace_monitoring.drivers.rackspace.RackspaceMonitoringDriver object at 0x1005638d0>, ‘entity_id’: u’ensdv6iaqr’, ‘id’:…

Trouble shooting alarms.

So I couldn’t find out why my alarm to search forbidden doesn’t work. So I had the brilliant idea to compare the check against the alarm.What this tells me I have no details set up to match the alarm in the check.Herp Derp Jim. Really!? Fail sir Fail.  MFTUGADH2G:commands jim.culbreath$ raxmon-checks-list –entity-id=ensdv6iaqr –details{‘details’: {u’body’: u’forbidden’, u’method’:…

Json

JSON syntax is a subset of JavaScript syntax JSON Syntax Rules JSON syntax is a subset of the JavaScript object notation syntax. Data is in name/value pairs Data is separated by comma Curly brackets holds objects Square brackets holds arrays JSON Name/Value Pairs JSON data is written as name/value pairs. A name/value pair consists of…

Cloud Monitoring – Creating checks with curl.

Creating Monitoring checks for your Monitoring Entity isn’t the easiest task it seems. Tutorial-create-ping-check.html When I do so It errors out on me. Action: curl -i –data-binary ‘{ “details” : {  },  “label” : “Website check 1”,  “monitoring_zones_poll” : [ “mzdfw” ],  “period” : “60”,  “target_alias” : “default”,  “timeout” : 30,  “type” : “remote.ping”}’-H “X-Auth-Token:…