Open rcanillas-itrs opened 8 months ago
Found out how to print debug statements so here is a re-run:
Current netprobes:
[rcanillas@MNLP179-alma:~]$ geneos ls netprobe
Type Name Host Flags Port Version Home
netprobe 316495 localhost A 7100 6.5.1+el8:6.5.1+el8 /home/rcanillas/geneos/netprobe/netprobes/316495
netprobe np-MNLP179 localhost A 7036 active_prod:6.6.0+el8 /home/rcanillas/geneos/netprobe/netprobes/np-MNLP179
netprobe rename_test localhost A 7101 active_prod:6.6.0+el8 /home/rcanillas/geneos/netprobe/netprobes/rename_test
Want to rename rename_test
to something else:
[rcanillas@MNLP179-alma:~]$ geneos move netprobe rename_test new_name
Error: invalid arguments
Debug:
[rcanillas@MNLP179-alma:~]$ geneos move netprobe rename_test new_name --debug
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/cmd/root.go:276 cmd.initConfig() > cordial: cordial 'geneos' running as 'geneos', version v1.11.2
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/cmd/parseargs.go:102 cmd.ParseArgs() > cordial: rawargs: [netprobe rename_test new_name]
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/cmd/parseargs.go:117 cmd.ParseArgs() > cordial: args [netprobe rename_test new_name], params [], ct
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/cmd/parseargs.go:148 cmd.ParseArgs() > cordial: matching [rename_test new_name]
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/cmd/parseargs.go:247 cmd.ParseArgs() > cordial: ct netprobe, args [rename_test], params []
2024-01-17T11:35:31+08:00 DEBUG: tools/geneos/internal/instance/instance.go:79 instance.ReservedName() > cordial: checking "rename_test"
Error: invalid arguments
Versions:
Current running instances:
Trying to rename the
MNLP179-alma
Gateway togw-MNLP179
but getting error:From the helptext, it should be possible to specify a type: