Reza,

Yes, that should work. You could also set a second threshold for it go critical 
like this (which would set the threshold at 80%):

critical:         $fsMaxUsedBytesPerCent > 80, "Alarm Message"

Tim Huffman
Director of Engineering
Business Only Broadband
777 Oakmont Lane, Suite 2000, Westmont, IL 60559
Direct: 630.590.6012 | Main: 630.590.6000 | Fax: 630.986.2496 
thuff...@bobbroadband.com  |  http://www.bobbroadband.com/
Cell:  630.340.1925 | Toll-Free Customer Support:  877.262.4553
  Follow Us on LinkedIn  |    Follow Us on Twitter
 please consider the environment prior to printing


-----Original Message-----
From: InterMapper-Talk@list.dartware.com 
[mailto:InterMapper-Talk@list.dartware.com] On Behalf Of reza
Sent: Monday, March 04, 2013 6:09 PM
To: InterMapper-Talk@list.dartware.com
Subject: [IM-Talk] NetApp Custom Probe - Alarm on _NUM_ Disk Usage

Hello Fellow Users of Intermapper!

I am using the custom-snmp NetApp probe written by Mr. Stewart Harris and would 
like to be able to throw an alarm on a specific percentage of disk use.

My understanding is that it will only currently alarm on the following 
variables.

<snmp-device-thresholds>
alarm:    ($miscGlobalStatus <> 3)&&($miscGlobalStatus <> 4)    
"$miscGlobalStatusMessage"
alarm:    $diskfailedCount > 0          "$diskFailedMessage"
alarm:    $fsOverallStatus > 1          "$fsStatusMessage"

warning:  $miscGlobalStatus = 4         "$miscGlobalStatusMessage"
</snmp-device-thresholds>

And an error message such as the one below will be turned from the 
$fsOverallStatus variable.

01/19 06:56:14: Message from InterMapper 5.5.6

Event: Alarm
Name: filer02
Document: Storage
Address: 192.168.x.y
Probe Type: SNMP-SHEF- Netapp Status (port 161 SNMPv2c)
Condition: /vol/NA01_NFS03 is nearly full (using or reserving 95% of space and 
0% of inodes, using 95% of reserve).

What I would like to do is to be able to alarm once 70% of the disk is in use. 
I'm thinking about adding the following to the <snmp-device-thresholds> section

alarm:    $fsMaxUsedBytesPerCent > 70, "Alarm Message"

Would this work in order to alarm me sooner at a predifined alarm percentage? I 
looked up the OID for the NetApp fsMaxUsedBytesPerCent and it simply returns an 
integer of 0 through 100.

Thanks for your input,
Reza

Reply via email to