Checking free/used disk space QNAP (seperate volumes)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Checking free/used disk space QNAP (seperate volumes)

Post by litsupport.box »

Hello,

After a couple of days of looking around and investigating on this i'm getting a little bit tired. I think i literally tried everything that i could find on the exchange that has something to do with snmp qnap disk spaces etc..

The thing that i found usefull was this topic: http://support.nagios.com/forum/viewtop ... =7&t=29213

Which, got me on track with some working IOD numbers for Free Space and Total Space.

Now i had the great idea to combine those two together to get what i want, in theory "This is the total space, minus the free space equals the used space" and then i would get the option to use warning and critical like all other scripts! 8-)

But yeah my ideas were as usually out of my capabilities. :roll:

Can somebody help me with this?

P.S. the most important thing is that it will be able to check seperate volumes on the QNAP.

Kind regards,

Farid
Last edited by litsupport.box on Fri Jun 19, 2015 8:53 am, edited 2 times in total.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
derekb
Posts: 177
Joined: Wed Jun 10, 2015 1:54 pm

Re: Checking free/used disk space QNAP

Post by derekb »

litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: Checking free/used disk space QNAP

Post by litsupport.box »

This works however you can't check the seperate volumes. My bad for not mentioning seperate volumes.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Checking free/used disk space QNAP (seperate volumes)

Post by lmiltchev »

This works however you can't check the seperate volumes. My bad for not mentioning seperate volumes.
Yes, it seems like that the plugin loops through all of the volumes. Unfortunately, I didn't find any suitable plugins on the Nagios Exchange. Maybe you can run snmpwalk and see if you can use the info from it to set up a custom check.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked