SMB_PROMETHEUS_ENDPO(8)

πŸ“¦
version 4.24.7 Β· 4 versions
, in fedora 44

✨ NAME ✨

smb_prometheus_endpoint β€” bestie, this is the little tool that makes your Samba profiling tea β˜• available to prometheus. Like, it takes those numbers Samba's been hoarding and hands them over. 🫢


🌸 SYNOPSIS 🌸

smb_prometheus_endpoint [-a ADDRESS] [-p PORT] [smbprofile.tdb]

πŸ’– DESCRIPTION πŸ’–

okay so first things first: this tool is part of the samba(8) suite. it's not out here doing its own thing, it's a whole member of the Samba squad. πŸ’…

and what does it actually do? it makes the Samba profiling information available to prometheus via http. that's it. that's the job. your metrics walk out the door and prometheus gets to see them. no cap. πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

  • -a ADDRESS β€” the address that smb_prometheus_endpoint shall listen on. the default is 127.0.0.1, so like, localhost only unless you say otherwise. πŸ™ˆ
  • -p PORT β€” the port that smb_prometheus_endpoint shall listen on. default is port 9922. iconic little port number honestly. ✨
  • smbprofile.tdb β€” the full path to your system's smbprofile.tdb, which is literally where Samba stores its statistics. give it the whole path, bestie, not just the filename. πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

The original Samba software and related utilities were created by Andrew Tridgell. 🌈 Samba is now developed by the Samba Team as an Open Source project, similar to the way the Linux kernel is developed. it's giving community, it's giving legacy, it's giving slay. πŸ’œ


Samba 4.24.7 🌸 09/09/2026 β€” that's the version and the date this page came into the world, and honestly? obsessed. go forth and scrape those metrics, queen. πŸ§šπŸ’–

πŸ“¦ where this page comes from