WIP: Job to retrieve node information for monitoring.
This commit is contained in:
parent
67767f915e
commit
ad3f075d93
14 changed files with 274 additions and 15 deletions
13
server/jobs/nodeInformationRetrievalJob.js
Normal file
13
server/jobs/nodeInformationRetrievalJob.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng').factory('NodeInformationRetrievalJob', function (MonitoringService) {
|
||||
return {
|
||||
run: function () {
|
||||
MonitoringService.retrieveNodeInformation(function (err) {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue