Jump to content

Monitor Disk Space Linux


kavaa

Recommended Posts

Hi,

We got a linux (Ubuntu) System with some mounted drives form a Synology NAS. 

The Server has UniFi Video from Ubiquiti installed. This depends on the mount point /media/NVR as mount point.

When the NAS goes down or there is an other issue where the mounted drive could not be mounted lets say on startup. I would like to receive a notification of that.

 

How can i integrate this with Pulseway on Linux?

The OS drive is not more than 30 Gb.

So i could say if /media/NVR has less than 30GB of free Space I want to get a notification.

But I cannot figure out how to set this up, who has done this, or knows how its done?

Link to comment
Share on other sites

  • 9 months later...

Found it:

In the config.xml

Change the percentage and path to your needs.

Also change false to enabled.

<LowHDDSpace>
            <Hdd Percentage="10" Path="/" Priority="0" Enabled="true"/>
            <Hdd Percentage="10" Path="/home" Priority="1" Enabled="true"/>
  			<Hdd Percentage="10" Path="/mnt/media" Priority="1" Enabled="true"/>
</LowHDDSpace>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...