Created
June 22, 2018 12:07
-
-
Save remie/0ae13071d7c6d474f4d105353033197b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import BaseService from './BaseService'; | |
import { Use, ServiceObj, Check } from '@remie/nagios-cli'; | |
@Use(BaseService) | |
export class Service extends ServiceObj { | |
private _check: Check; | |
constructor(description: string, check: Check) { | |
super(description); | |
this._check = check; | |
} | |
get check_command(): Check { | |
return this._check; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment