Documentation ¶
Index ¶
Constants ¶
View Source
const ( OK = iota Warning Critical Uknown )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ContainerFile string `toml:"container_file"` ContainersDir string `toml:"container_dir"` InventoryDir string `toml:"inventory_dir"` SSHIdentity string `toml:"ssh_identity"` SSHUser string `toml:"ssh_user"` CheckName string `toml:"check_name"` CheckDir string `toml:"check_dir"` DefaultGroup string `toml:"default_group"` TimeoutDuration uint `toml:"timeout_duration"` Verbose bool `toml:"verbose"` }
type ContainerCheck ¶
type ContainerConfig ¶
type ContainerConfig struct {
Dependencies map[string]interface{}
}
type Opts ¶
type Opts struct { ContainerFile string `short:"f" long:"container-file" description:"file to get container information"` ContainersDir string `short:"s" long:"containers-dir" description:"directory containing configs for each container"` SSHIdentity string `short:"i" long:"ssh-identity" description:"file containing the SSH key for all containers"` SSHUser string `short:"u" long:"ssh-user" description:"user account to ssh into containers"` CheckName string `short:"n" long:"check-name" description:"service name that will appear in Nagios for the monitor"` CheckDir string `short:"d" long:"check-dir" description:"directory containing all the scripts for the monitoring checks"` DefaultGroup string `short:"g" long:"default-group" description:"default contact group to use if there is no valid group provided"` Config string `short:"c" long:"config-file" default:"/etc/atlantis/supervisor/monitor.toml" description:"the config file to use"` TimeoutDuration uint `short:"t" long:"timeout-duration" description:"max number of seconds to wait for a monitoring check to finish"` Verbose bool `short:"v" long:"verbose" default:false description:"print verbose debug information"` }
Click to show internal directories.
Click to hide internal directories.