Closed vito-user closed 3 years ago
You supplied " - c" as command line arguments. Try "-c" (no space) or just leave it out and add your commands to the tail of your command line arguments.
usage:
vclient [-h <ip:port>] [-c <command1,command2,..>] [-f <commandfile>]
[-s <csv file>] [-t <template file>] [-o <output file>]
[-x <exec file>] [-k] [-m] [-v]
or:
vclient [--host <ip>] [--port <port>] [--command <command1,command2,..>]
[--commandfile <command file>] [--csvfile <csv file>]
[--template <template file>] [--output <output file>]
[--execute <exec file>] [--cacti] [--munin] [--verbose]
[command3 [command4] ...]
-h|--host <IPv4>:<Port> or <IPv6> of vcontrold
-p|--port <port> of vcontrold when using IPv6
-c|--command List of commands to be executed, sparated by commas
-f|--commandfile Optional command file, one command per line
-s|--csvfile Format output in CSV for further processing
-t|--template Template, variables are substituted with acquired values
-o|--output Write to given file instead of STDOUT
-x|--execute The converted template (cf. -t) is written to the given
file and executed subsequently
-m|--munin Output a Munin data logger compatible format (units and
error details are discarded)
-k|--cacti Output a Cacti data logger compatible format (units and
error details are discarded)
-v|--verbose Be verbose (for testing purposes)
-V|--Version Print version and exit
-4|--inet4 IPv4 is preferred
-6|--inet6 IPv6 is preferred
(if none of the two above is set, the system default will
be used)
--help Display this help message
Hi speters, Thanks for the eye-opener. This was realy a stupid typing mistake. But now it works.
Hi, If I am using the command line prompt of vcontrold I get a correct communication:
But if I do it with vclient I get always such error information. Finally I get also the requested value. Because I have problems to move values in RRDB I assume it can be a reason.
I have already changed the protocol KW2 to P300. But it is the same. Does somebody has an idea? Regards, Uwe