Hello Dorigo,

in contrast to the basic Spectrum Scale metrics, the NFS and SMB sensors rely on a proxy mechanism that provides the metrics out of the CES stack.
In case you have not used the installer, you may miss some steps.

- Please check if you have the requires packages installed.
(For example gpfs.pm-ganesha-10.0.0-2.el8.x86_64 or similar for NFS)

- The config section should have the "Generic" keyword, like this

{
name = "NFSIO"
period = 10
restrict = "cesNodes"
type = "Generic"
},

See here in the KC:
https://www.ibm.com/docs/en/spectrum-scale/5.0.5?topic=tool-enabling-protocol-metrics

/var/log/zimon/ZIMonSensors.log may provides some additional clues as well.

Mit freundlichen Grüßen / Kind regards

Dr. Markus Rohwedder

IBM Systems / Lab Services Europe / EMEA Storage Competence Center

Phone:+49 162 4159920 IBM Deutschland GmbH
E-Mail:rohwedder@de.ibm.com Am Weiher 24
65451 Kelsterbach
Germany

IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Sebastian Krause / Geschäftsführung: Gregor Pillen (Vorsitzender), Agnes Heftberger, Norbert Janzen, Markus Koerner, Christian Noll, Nicole Reimer / Sitz der Gesellschaft: 71139 Ehningen, IBM-Allee 1 / Registergericht: Amtsgericht Stuttgart, HRB14562

Inactive hide details for "Dorigo Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by "Dorigo Alvise (PSI)" ---20.04.2021 12:19:44---Dear Community, I've activated CES-related metrics by simply doing:

From: "Dorigo Alvise (PSI)" <alvise.dorigo@psi.ch>
To: "'gpfsug-discuss@spectrumscale.org'" <gpfsug-discuss@spectrumscale.org>
Cc: "'sls-htc-admins@lists.psi.ch'" <sls-htc-admins@lists.psi.ch>
Date: 20.04.2021 12:19
Subject: [EXTERNAL] [gpfsug-discuss] NFSIO metrics absent in pmcollector
Sent by: gpfsug-discuss-bounces@spectrumscale.org





Dear Community, I’ve activated CES-related metrics by simply doing: [root@xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB' name = "NFSIO" period = 5 ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Dear Community,

I’ve activated CES-related metrics by simply doing:

[root@xbl-ces-91 ~]# mmperfmon config show |egrep -A4 'NFS|SMB'

name = "NFSIO"
period = 5
},
{
name = "SMBGlobalStats"
period = 5
},
{
name = "SMBStats"
period = 5
}

Despite that, I get no result for any nfs* metrics:

--------------------------------------------
[root@xbl-ces-91 ~]# telnet localhost 9084
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get -j metrics nfs_read bucket_size 5 last 1
Error: no data available for query
.
Connection closed by foreign host.

[root@xbl-ces-91 ~]# mmperfmon query "nfs_read"
Error: no data available for query
.

mmperfmon: Command failed. Examine previous error messages to determine cause.
--------------------------------------------


I am pretty sure my collector is working correctly as it returns data for a different metrics:

[root@xbl-ces-91 ~]# telnet localhost 9084
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get -j metrics gpfs_fs_bytes_read last 20 bucket_size 1
{"header" : {"bcount" : 20,"bsize" : 1,"t_start" : 1618912752,"t_end" : 1618912772},"legend" : [{"caption" : "gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between start and end of the bucket","type" : 4,"keys" : ["xbl-ces-91.psi.ch|GPFSFilesystem|lenovoxbl.psi.ch|perf|gpfs_fs_bytes_read"]},{"caption" : "gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between start and end of the bucket","type" : 4,"keys" : ["xbl-ces-91.psi.ch|GPFSFilesystem|lenovoxbl.psi.ch|tiered|gpfs_fs_bytes_read"]},{"caption" : "gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between start and end of the bucket","type" : 4,"keys" : ["xbl-ces-92.psi.ch|GPFSFilesystem|lenovoxbl.psi.ch|perf|gpfs_fs_bytes_read"]},{"caption" : "gpfs_fs_bytes_read","semType" : 2,"aggrType" : "value difference between start and end of the bucket","type" : 4,"keys" : ["xbl-ces-92.psi.ch|GPFSFilesystem|lenovoxbl.psi.ch|tiered|gpfs_fs_bytes_read"]}],"rows" :
[…]

Any clue ? Is the activation of NFSIO enough in the mmperfmon’s config file (this is the first time I try to configure CES monitoring) ?

Thank you,

Alvise_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss