I am trying to build my own probes.  To start, I have taken the MIB of one of 
my computers and selectd the fan speed for my test.  I can't seem to get it to 
work properly.  Can someone have a look at this Probe and steer me in the right 
direction?


<!-- 
   Seawatch Client probe for InterMapper - http://intermapper.com 
   Copy this text and save as a file named: mil.uscg.snmp.seawatchclient.txt
   Then import it using File -> Import -> Probe... 
    
   This is an InterMapper SNMP probe that monitors several variables for 
InterMapper. 
      ... You can add more commentary if it would be useful ... 
   
    
   As you make modifications, be sure to update the Revision history below:
    
   Revisions: 
   6/12/2013 Generated by Interactive SNMP Probe Builder page, version 1.0a1,
              at: http://intermapper.com/probebuilder.aspx
    
   
-----------------------------------------------------------------------------------
 
    
   Please feel free to use this file as a base for further development.
   Read the Developer Guide to learn more about InterMapper Probes. The Guide 
is at:
       http://dartware.com/go.php?to=intermapper.devguide
--> 

-- The <description> section contains the text that will appear in the Set 
Probe... window.
-- It gives you a chance to describe how the probe works, what the parameters 
are, and how to
-- how to set it up. 

<description>

\gb\Seawatch Client\p\

Test for Fan speed on Fan #1
</description>

-- The <header> section determines the probe's unique name, what kind of probe 
it is,
-- its Human Name, and its place in the probe picker hierarchy, and other 
assorted attributes.

<header>

   "type"          =  "custom-snmp"
   "package"       =  "mil.uscg"
   "probe_name"    =  "snmp.seawatchclient"
   "human_name"    =  "Seawatch Client"
   "display_name"  =  "Experimental/Seawatch Client"
   "version"       =  "1.0"
   "address_type"  =  "IP,AT"
   "port_number"   =  "161"

</header>

-- <snmp-device-properties> are flags that alter the InterMapper probe's 
behavior.
-- You generally do not need to use these, but they can be useful for devices 
that don't 
-- work as expected. For more information, see the <snmp-device-properties> 
section of the 
-- Developer Guide's at: http://dartware.com/support/docs/index.html

<snmp-device-properties>
   -- none required
</snmp-device-properties>

-- Parameters are user-settable values that the probe uses for its comparisons.
-- Specify the default values here. The customer can change them and they will 
be retained for each device.

<parameters>

   "Fan RPM_LoCrit"  = "4000"
   "Fan RPM_LoAlrm"  = "6000"
   "Fan RPM_LoWarn"  = "8000"

</parameters>

-- InterMapper retrieves the <snmp-device-variables> using the OID or variable 
names from the MIB.
-- Specify the variable name, the MIB name or OID, the format (usually DEFAULT) 
and a short description. 

<snmp-device-variables>

   oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1, .1.3.6.1.4.1.10876.2.1.1.1.1.2.1,    
DEFAULT,  ".1.3.6.1.4.1.10876.2.1.1.1.1.2.1"

</snmp-device-variables>

-- The 'autorecord' section specifies the variables that 
-- will be saved to the InterMapper Database. 
-- No 'autorecord' variables specified. 

-- Specify rules for setting the device into Alarm or Warning state.
-- The rules are tested top-to-bottom, and stop when one matches.

<snmp-device-thresholds>

critical: ( $oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1 <  ${Fan RPM_LoCrit} ) 
".1.3.6.1.4.1.10876.2.1.1.1.1.2.1 ($oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1) <  
${Fan RPM_LoCrit} .1.3.6.1.4.1.10876.2.1.1.1.1.2.1" 
   alarm: ( $oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1 <  ${Fan RPM_LoAlrm} ) 
".1.3.6.1.4.1.10876.2.1.1.1.1.2.1 ($oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1) <  
${Fan RPM_LoAlrm} .1.3.6.1.4.1.10876.2.1.1.1.1.2.1" 
 warning: ( $oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1 <  ${Fan RPM_LoWarn} ) 
".1.3.6.1.4.1.10876.2.1.1.1.1.2.1 ($oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1) <  
${Fan RPM_LoWarn} .1.3.6.1.4.1.10876.2.1.1.1.1.2.1" 

</snmp-device-thresholds>

-- The <snmp-device-display> section specifies the text that will be appended 
-- to the device's Staus Window. 

<snmp-device-display>
\B5\Seawatch Client\P0\
\4\.1.3.6.1.4.1.10876.2.1.1.1.1.2.1:\0\ $oid_1_3_6_1_4_1_10876_2_1_1_1_1_2_1 
\3G\.1.3.6.1.4.1.10876.2.1.1.1.1.2.1\M0\

</snmp-device-display>


-------------------- m2f --------------------

Read this topic online here:
http://forums.intermapper.com/viewtopic.php?p=4374#4374





____________________________________________________________________
List archives: 
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: intermapper-talk-...@list.dartware.com

Reply via email to