You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using it to specify an alternate config file doesn't appear to function as expected;
# vflow -config test.conf
[vflow] 2017/04/24 08:37:27 open /usr/local/vflow/etc/vflow.conf: no such file or directory
Strace confirms the binary isn't attempting to open the test file;
openat(AT_FDCWD, "/proc/sys/net/core/somaxconn", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/local/vflow/etc/vflow.conf", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/zoneinfo//:/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/lib/zoneinfo//:/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/locale/TZ//:/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/go/lib/time/zoneinfo.zip", O_RDONLY) = -1 ENOENT (No such file or directory)
[vflow] 2017/04/24 08:38:17 open /usr/local/vflow/etc/vflow.conf: no such file or directory
openat(AT_FDCWD, "/var/run/vflow.pid", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2017, si_status=1, si_utime=0, si_stime=0} ---
openat(AT_FDCWD, "/var/run/vflow.pid", O_WRONLY|O_CREAT|O_CLOEXEC, 0666) = 3
+++ exited with 1 +++
The message broker config appears to exhibit the same behaviour;
(/usr/local/vflow/etc/vflow.conf has been created in this example)
openat(AT_FDCWD, "/proc/sys/net/core/somaxconn", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/local/vflow/etc/vflow.conf", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/var/run/vflow.pid", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11094, si_status=1, si_utime=0, si_stime=0} ---
openat(AT_FDCWD, "/var/run/vflow.pid", O_WRONLY|O_CREAT|O_CLOEXEC, 0666) = 3
[vflow] 2017/04/24 08:40:08 sflow has been disabled
[vflow] 2017/04/24 08:40:08 starting stats web server ...
[vflow] 2017/04/24 08:40:08 ipfix is running (workers#: 200)
[vflow] 2017/04/24 08:40:08 ipfix RPC enabled
[vflow] 2017/04/24 08:40:09 kafka: client has run out of available brokers to talk to (Is your cluster reachable?)
+++ exited with 1 +++
This has been tested against the 0.3.0 tag and the current master.
The text was updated successfully, but these errors were encountered:
The -config flag is documented @ https://github.com/VerizonDigital/vflow/blob/master/docs/config.md, as well as in --help.
Using it to specify an alternate config file doesn't appear to function as expected;
Strace confirms the binary isn't attempting to open the test file;
The message broker config appears to exhibit the same behaviour;
(/usr/local/vflow/etc/vflow.conf has been created in this example)
This has been tested against the 0.3.0 tag and the current master.
The text was updated successfully, but these errors were encountered: