Commit Graph

6 Commits

Author SHA1 Message Date
Pliable Pixels
aa8f7da7e2 Fixed daemonStatus API to return string returned by ZMC in addition to true/false so we can handle pending status of a monitor 2015-06-08 14:35:45 +00:00
Kyle Johnson
c42ad0ba13 Add support for deleting monitor in new ui
Deletes via the API.  Also attempts to stop any zma or zmc processes
for the given monitor before deleting it from the table.
2015-01-07 16:43:37 -05:00
Kyle Johnson
26c29afb38 Start a monitor after adding it via api 2015-01-07 14:50:57 -05:00
Kyle Johnson
dcde5e16ad Add API function to check daemon status of monitor
This replaces daemonStatus(), zmcStatus() and zmaStatus() from
the original includes/functions.php.

Can be accessed like:
/api/monitors/daemonStatus/id:2/daemon:zma.json
2014-11-26 03:38:41 +00:00
Kyle Johnson
de631075d3 Return possible source types ni DB via API 2014-11-15 18:59:24 +00:00
Kyle Johnson
f1f3de6d7d Moved the api to underneath the web directory 2014-04-29 20:41:04 +00:00