Last active
June 21, 2018 20:41
-
-
Save remie/61e4e127bde16f2df859182e7079691b to your computer and use it in GitHub Desktop.
This file contains 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 { default as Localhost } from './hosts/Localhost'; | |
import { default as DefaultTimeperiod } from './timeperiods/DefaultTimeperiod'; | |
import { Nagios, Include, NagiosCfg, HostObj, HostGroupObj } from '@remie/nagios-cli'; | |
// Nagios configuration, CGI & Resources | |
import { cgi } from './cgi.cfg'; | |
import { nagios as cfg } from './nagios.cfg'; | |
import { resources } from './resources.cfg'; | |
@Include(DefaultTimeperiod) | |
@Nagios(cfg, cgi, resources) | |
export default class DefaultNagiosConfiguration extends NagiosCfg { | |
hosts: Array<HostObj|HostGroupObj> = [ Localhost ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment