H
H
hardr0m2021-12-06 15:14:36
Samba
hardr0m, 2021-12-06 15:14:36

Zabbix monitoring mountable shares?

Hello. I have a question. There is an Ubuntu Linux Server. Several shares are mounted in the share folder (including encrypted containers). Can you tell me a working option in which you can check the availability of these balls?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2021-12-06
@Rsa97

There is a regular element, vfs.file.exists
You can simply check for the presence of any file in the ball.

H
hardr0m, 2021-12-06
@hardr0m

How about system.run["grep -w /share/dir /proc/mounts | grep -P ' \x72\x6F\x2c'"] ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question