Samba not compiled with profiling - breaks netdata

Asked by StoatWblr

Samba has been compiled with profiling disabled.

This breaks netdata monitoring of the package

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
StoatWblr (stoatwblr) said :
#1

See https://github.com/netdata/netdata/issues/2483 for the effect

verified on 19.10

netdata@Riffraff:/root$ sudo smbstatus -P
Profile data unavailable

testparm shows:
        smbd profiling level = on

Revision history for this message
StoatWblr (stoatwblr) said :
#2

netdata output shows: (I'm including this for anyone searching for the same error)

2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba : checking
2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba : source successfully loaded
2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba : found config file '/etc/netdata/python.d/samba.conf'
2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba : created 1 job(s) from the config
2019-10-06 13:31:12: python.d ERROR: samba[samba] : Command "['/usr/bin/sudo', '-n', '/usr/bin/smbstatus', '-P']" returned no data
2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba[samba] : check failed, skipping the job
2019-10-06 13:31:12: python.d INFO: plugin[checker] : samba : all jobs failed, skipping module

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I suggest you report a bug

Can you help with this problem?

Provide an answer of your own, or ask StoatWblr for more information if necessary.

To post a message you must log in.