/** * Add a host to monitoring */ public function removeFromMonitoring() { $monitoringObject = new Monitoring(); return $monitoringObject->removeHost($this->slugName(), $this->ip()); }
public function test() { // Use this to see all hosts $monitoringObject = new Monitoring(); dd($monitoringObject->getHosts()); }