SNMP Get tune up Value from * TB or * GB

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Celay
Posts: 11
Joined: Fri Aug 15, 2014 7:22 am

SNMP Get tune up Value from * TB or * GB

Post by Celay »

Hello,

im currently trying to monitor the free space of different RAIDs on multiple NAS (different Qnap models), sadly the Qnap returns a value of GB or TB (i.e. 325 GB or 3.25 TB) instead of Byte, right now I have the Monitoring setup to warn me if the space goes below 300GB, this works fine until the NAS gets free space above 1 TB because the HM interprets it like 1 is < 300, I have tried to play with the Tune up Reply value a bit but couldn't figure out how to change the reply to either byte or make a difference between GB or TB Replys, is there any way to do that?

Thanks in advance
Celay
KS-Soft
Posts: 12903
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor does not support QNAP devices yet (does work with NetApp).
What test method do you use? SNMP Get? SNMP Table? SNMP Trap? some other?
HostMonitor version?
What exactly expression do you use?

If device returns "1 TB" string and you are using option like Set Normal status if '%SuggestedReply%' > '300 GB', it should work properly

Regards
Alex
Celay
Posts: 11
Joined: Fri Aug 15, 2014 7:22 am

Post by Celay »

KS-Soft wrote:HostMonitor does not support QNAP devices yet (does work with NetApp).
What test method do you use? SNMP Get? SNMP Table? SNMP Trap? some other?
HostMonitor version?
What exactly expression do you use?

If device returns "1 TB" string and you are using option like Set Normal status if '%SuggestedReply%' > '300 GB', it should work properly

Regards
Alex
First of all thanks for the fast answer.

Im using SNMP Get with the expression IF OID 1.3.6.1.4.1.24681.1.2.17.1.5.2 (stands for "sysVolumeFreeSize.1") is < than 300.00 GB (I tried 300 GB, 300.00 and 300 all have the same outcome I guess the GB simply gets ignored?)

HostMonitor version is v9.38.

Regards
Celay
KS-Soft
Posts: 12903
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

9.38 too old, we do not support it anymore.
If you specify '300 GB' for SNMP check it will be compared as string.
If you use '300 GB' for Optional status processing expressions, then it will be compared as number
http://www.ks-soft.net/hostmon.eng/mfra ... processing

E.g. you may use option like Set Normal status if '%SuggestedReply%' > '300 GB'

Regards
Alex
Post Reply