
UNSOLVED
problems with server_stats and nas_stats
I am trying to create a custom group with nas_stats:
nas_version 6.0.36-4
I have a list of all the sets I am interested in (NFS2/3/4 and SMB/2) .calls only. Now I want to combine them into a custom group.
Lets start with the fact that man page contains an error:
EXAMPLE #6
To use an existing statgroup, type:
$ nas_stats -groups -create statgroup1 -description "My first group"
sys.cpuUtil,net.basic.inBytes,net.basic.outBytes,store.readBytes,store.writeBytes
ERROR (13421969439): 'statgroup1' already exists.
Thats a poor example...
And continue with the fact that it appears you cannot add specific counters into custom group:
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" kernel.cpu.utilization.cpuUtil,kernel.memory.freeBytes
ERROR (13421969427): Invalid statpath name: kernel.cpu.utilization.cpuUtil
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" kernel.cpu.utilization
ERROR (13421969427): Invalid statpath name: kernel.cpu.utilization
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" kernel.cpu
ERROR (13421969427): Invalid statpath name: kernel.cpu
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" kernel
ERROR (13421969427): Invalid statpath name: kernel
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" kernel-std
ERROR (13421969427): Invalid statpath name: kernel-std
The only thing you can add, is a pre-defined system group:
[nasadmin@krasnodar ~]$ nas_stats -groups -create basic3 -description "CPU and Memory" basic-std
'basic3' created successfully
Is this FAD or a very broken feature?
Responses (0)
Solutions (0)
