-
Problem report
-
Resolution: Workaround proposed
-
Trivial
-
None
-
6.0.29
-
None
Zabbix Agent Log file ( DebugLevel5)
2024/05/15 13:14:55.982219 received passive check request: 'smart.disk.discovery' from 'x.x.x.x' 2024/05/15 13:14:55.982334 [1] processing update request (1 requests) 2024/05/15 13:14:55.982446 [1] adding new request for key: 'smart.disk.discovery' 2024/05/15 13:14:55.982475 [1] created direct exporter task for plugin 'Smart' itemid:0 key 'smart.disk.discovery' 2024/05/15 13:14:55.982573 executing direct exporter task for key 'smart.disk.discovery' 2024/05/15 13:14:55.982643 [Smart] executing smartctl command: sudo -n smartctl --scan -j 2024/05/15 13:14:56.011642 failed to obtain PID of dead child process: no child processes 2024/05/15 13:14:56.011832 [Smart] executing smartctl command: sudo -n smartctl --scan -d sat -j 2024/05/15 13:14:56.036928 failed to obtain PID of dead child process: no child processes 2024/05/15 13:14:56.037095 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme11 -j 2024/05/15 13:14:56.037156 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme1 -j 2024/05/15 13:14:56.037221 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme20 -j 2024/05/15 13:14:56.037883 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme10 -j 2024/05/15 13:14:56.038109 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme13 -j 2024/05/15 13:14:56.041259 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme14 -j 2024/05/15 13:14:56.047210 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme0 -j 2024/05/15 13:14:56.047364 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme12 -j 2024/05/15 13:14:56.047385 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme16 -j 2024/05/15 13:14:56.047406 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme17 -j 2024/05/15 13:14:56.047424 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme18 -j 2024/05/15 13:14:56.047438 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme19 -j 2024/05/15 13:14:56.047605 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme15 -j 2024/05/15 13:14:56.047767 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme2 -j 2024/05/15 13:14:56.047788 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme8 -j 2024/05/15 13:14:56.047805 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme9 -j 2024/05/15 13:14:56.047832 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme22 -j 2024/05/15 13:14:56.047902 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme23 -j 2024/05/15 13:14:56.047950 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme21 -j 2024/05/15 13:14:56.048084 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme6 -j 2024/05/15 13:14:56.048295 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme4 -j 2024/05/15 13:14:56.048333 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme5 -j 2024/05/15 13:14:56.048420 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme7 -j 2024/05/15 13:14:56.048540 [Smart] executing smartctl command: sudo -n smartctl -a /dev/nvme3 -j 2024/05/15 13:14:56.089712 failed to obtain PID of dead child process: no child processes 2024/05/15 13:14:56.089786 failed to execute direct exporter task for key 'smart.disk.discovery' error: 'Cannot fetch data.: failed to execute smartctl: failed to get combined output of stdout and stderr for smartctl process: wait: no child processes.' 2024/05/15 13:14:56.089887 sending passive check response: ZBX_NOTSUPPORTED: 'Cannot fetch data.: failed to execute smartctl: failed to get combined output of stdout and stderr for smartctl process: wait: no child processes.' to 'x.x.x.x'
The output of the following command is below
zabbix_agent2 -t smart.disk.discovery
smart.disk.discovery [s|[{"{#NAME}":"nvme16","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3020001R1P9BGN","{#PATH}":"/dev/nvme16","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme18","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3024003A1P9BGN","{#PATH}":"/dev/nvme18","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme4","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200BA1P9BGN","{#PATH}":"/dev/nvme4","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme12","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023004Q1P9BGN","{#PATH}":"/dev/nvme12","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme19","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302300551P9BGN","{#PATH}":"/dev/nvme19","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"bus/0 megaraid,4","{#DISKTYPE}":"ssd","{#MODEL}":"NVMe Micron_7450_MTFD","{#SN}":"240546909B8D","{#PATH}":"/dev/bus/0","{#RAIDTYPE}":"megaraid,4","{#ATTRIBUTES}":""},{"{#NAME}":"nvme17","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302300531P9BGN","{#PATH}":"/dev/nvme17","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme23","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200981P9BGN","{#PATH}":"/dev/nvme23","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"bus/0 megaraid,5","{#DISKTYPE}":"ssd","{#MODEL}":"NVMe Micron_7450_MTFD","{#SN}":"24054690980E","{#PATH}":"/dev/bus/0","{#RAIDTYPE}":"megaraid,5","{#ATTRIBUTES}":""},{"{#NAME}":"nvme11","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200BJ1P9BGN","{#PATH}":"/dev/nvme11","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme13","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302400361P9BGN","{#PATH}":"/dev/nvme13","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme15","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023003U1P9BGN","{#PATH}":"/dev/nvme15","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme22","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023003E1P9BGN","{#PATH}":"/dev/nvme22","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme10","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302300401P9BGN","{#PATH}":"/dev/nvme10","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme5","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302300371P9BGN","{#PATH}":"/dev/nvme5","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme6","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302300591P9BGN","{#PATH}":"/dev/nvme6","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme7","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023004G1P9BGN","{#PATH}":"/dev/nvme7","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme8","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200A51P9BGN","{#PATH}":"/dev/nvme8","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme9","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302400351P9BGN","{#PATH}":"/dev/nvme9","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme20","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023003P1P9BGN","{#PATH}":"/dev/nvme20","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme14","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3023003G1P9BGN","{#PATH}":"/dev/nvme14","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme2","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3022009G1P9BGN","{#PATH}":"/dev/nvme2","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme1","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3022009M1P9BGN","{#PATH}":"/dev/nvme1","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme21","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200AR1P9BGN","{#PATH}":"/dev/nvme21","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme3","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY3020000X1P9BGN","{#PATH}":"/dev/nvme3","{#RAIDTYPE}":"","{#ATTRIBUTES}":""},{"{#NAME}":"nvme0","{#DISKTYPE}":"nvme","{#MODEL}":"INTEL SSDPFUKX019T1","{#SN}":"PHAY302200BW1P9BGN","{#PATH}":"/dev/nvme0","{#RAIDTYPE}":"","{#ATTRIBUTES}":""}]]
Screenshot of the Zabbix Gui when trying to test item.