Top Level Namespace
Defined Under Namespace
Modules: IpfixerClient Classes: Daemon
Constant Summary collapse
- LOG_FILE =
"C:\\it\\logs\\ipfixer.log"- LOG_FOLDER =
File.dirname LOG_FILE
- LONG_DURATION =
1000- STANDARD_INTERVAL =
500- DEBUG_MODE =
true- WINDOWS =
RUBY_PLATFORM =~ /mingw32/ ? true : false
- LINUX =
RUBY_PLATFORM =~ /linux/ ? true : false
- SERVICE_NAME =
'ipfixer_svc'- SERVICE_DESC =
'A service that helps keep track of remote infrastructure.'- IP_FIXER_HUB =
Point this at your hub
config["target_server"].nil? ? nil : config["target_server"].dup.gsub(/^https?:\/\//, '')
- PORT =
“3000”
config["port"].nil? ? "80" : config["port"].to_s.dup
- IP_LOOKUP_URL =
config["ip_lookup_url"].nil? ? nil : config["ip_lookup_url"].dup
- DDNS_UPDATE_URL =
config["ddns_update_url"].nil? ? nil : config["ddns_update_url"].dup
- SECURITY_TOKEN =
config["security_token"].nil? ? nil : config["security_token"].dup