<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Monitoring%2FProcess</id>
		<title>Monitoring/Process - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Monitoring%2FProcess"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Monitoring/Process&amp;action=history"/>
		<updated>2026-05-23T13:19:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Monitoring/Process&amp;diff=2509&amp;oldid=prev</id>
		<title>Corinne.chui: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Monitoring/Process&amp;diff=2509&amp;oldid=prev"/>
				<updated>2016-05-30T19:36:52Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:36, 30 May 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Corinne.chui</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Monitoring/Process&amp;diff=2508&amp;oldid=prev</id>
		<title>Mitko.georgiev at 13:17, 13 May 2015</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Monitoring/Process&amp;diff=2508&amp;oldid=prev"/>
				<updated>2015-05-13T13:17:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
='''POST''' /accounts/'''account_number'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address'''/monitoring/process=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create a Process check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account_number - ''string''&lt;br /&gt;
; dedicated_server_id - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 10&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.checkProcessType - ''int''&lt;br /&gt;
: The type of process monitoring check&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The maximum threshold number of processes&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;,&lt;br /&gt;
	&amp;quot;options&amp;quot;: {&lt;br /&gt;
		&amp;quot;processName&amp;quot;: null,&lt;br /&gt;
		&amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
		&amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;check&amp;quot;: {&lt;br /&gt;
		&amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
		&amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
		&amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
		&amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
		&amp;quot;id&amp;quot;: 19&lt;br /&gt;
	}&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_number/dedicatedServers/dedicated_server_id/ipAddresses/ip_address/monitoring/process/19&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.processName - ''string''&lt;br /&gt;
: The name of the monitored process&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 201 Created''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'': There was an error in the request the client sent&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
: ''HTTP/1.1 409 Conflict'' : Only one process check for Dedicated Server per IP is allowed&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully create a process check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10 }}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 201 Created&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;,&lt;br /&gt;
	&amp;quot;options&amp;quot;: {&lt;br /&gt;
		&amp;quot;processName&amp;quot;: null,&lt;br /&gt;
		&amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
		&amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;check&amp;quot;: {&lt;br /&gt;
		&amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
		&amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
		&amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
		&amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
		&amp;quot;id&amp;quot;: 19&lt;br /&gt;
	}&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_number/dedicatedServers/dedicated_server_id/ipAddresses/ip_address/monitoring/process/19&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bad request - missing options in the request body'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.options&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to create process check for a missing dedicated server or IP address'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/process&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Add an already existing process check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 409 Conflict&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get process check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
	 &amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
	 &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server_id}/ipAddresses/{ip_address}/monitoring/process/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.processName - ''string''&lt;br /&gt;
: The name of monitored process&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''View process check details'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
	 &amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
	 &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
	 &amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
	 &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
	 &amp;quot;id&amp;quot;: 19&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Access a non-existing process check'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Request a check for missing server or IP addresss'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update process monitoring check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 5 &lt;br /&gt;
      },&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 5&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request''&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Update existing process check'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 5}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot;: 5,&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 0, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 19&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Bad request - update a process check with wrong request data'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;maxProcess&amp;quot;: 5, &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Try to update a missing process check resource'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxProcess&amp;quot;: 5, &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete process check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success deleting the resource&lt;br /&gt;
: ''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully delete a process check'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 204 No Content&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to delete a missing process check resource'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	</feed>