S
S
Sargass2012-11-28 13:12:09
linux
Sargass, 2012-11-28 13:12:09

Free space monitoring

Good afternoon!
What is the best way to implement monitoring of free space on sql server disks?
disk_free_space is not suitable, because it displays free space on the localhost, and in my case, the web server and sql server are different machines.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vlad Zhivotnev, 2012-11-28
@Sargass

Write cron once a minute to a separate sql database on the sql server in a suitable format, and on the second server make a request to this database.
You shouldn't do this via ssh. Is that a shell to the user from whom you will monitor to expose something in the spirit of df in the correct format.

@
@sledopit, 2012-11-28
_

Put a simple monitoring system on a sql server? (see munin ).
If you need to receive data yourself, then instead of the munin server, you can poll clients yourself (there is a very trivial data exchange protocol).

L
lubezniy, 2012-11-28
@lubezniy

In any case, you will have to do something on the SQL server - for example, write a simple script that would do df by cron, and send its results somewhere, or parse and notify the admin when it decreases below the specified limit.

N
Nikolai Turnaviotov, 2012-11-30
@foxmuldercp

look towards nagios-plugins

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question