in More Search Options

Creating an Alert for a Custom MIB

Last post 09-23-2008 8:02 AM by denny.lecompte. 6 replies.
Page 1 of 1 (7 items)
Sort Posts:
  • 08-30-2007 5:16 PM

    • rmarshall
    • Top 150 Contributor
    • Joined on 08-10-2007
    • Austiin
    • Posts 51
    • Points 133

    Creating an Alert for a Custom MIB

    I have a custom MIB for monitoring ESX VMFS disk space.  It successfully returns the percentage of disk space used on the VMFS volume, but I don't understand how I can create an alert on this.  I can create an Advanced Alert with a Trigger Condition that says if the Poller Name is equal to VMFS_Space (my custom MIB name), but how do I set the criteria that says if it goes above 80% send me an alert?

    Thank you,
    Richard M.
    • Post Points: 3
  • 08-30-2007 5:30 PM In reply to

    • rmarshall
    • Top 150 Contributor
    • Joined on 08-10-2007
    • Austiin
    • Posts 51
    • Points 133

    Re: Creating an Alert for a Custom MIB

    Never mind.  I already figured it out.  I added a complex condition that said if the Status is greater thank or equal to 80%.  I think that is going to do the trick.  I will be testing it tomorrow.

    Thank you,
    Richard M.
    • Post Points: 3
  • 01-11-2008 3:37 PM In reply to

    Re: Creating an Alert for a Custom MIB

     I am new to SolarWinds and to creating custom MIB's. Can anyone provide me with a little instruction as howto get my feet off the ground.

    Like many others I need to monitor the VMFS's on my ESX servers. How would I go about doing that. At present, SolarWinds only see's the native drives.

     Thanks,

    Jeff Timmerman

    jeffrey_timmerman@hotmail.com

    • Post Points: 5
  • 01-11-2008 4:10 PM In reply to

    Re: Creating an Alert for a Custom MIB

     Yes, you will need to create a custom mib poller.I believe the ESX OIDs you need are 1.3.6.1.4.1.6876.3.2.3 for mem avail and 1.3.6.1.4.1.6876.3.2.1 for mem size but don't quote me on that.

    You can see this thread (further down for the instructions on creating MIBs) and I suggest viewing this -http://www.solarwinds.com/resources/democenter/Orion/OrionCustomPollerSetup/OrionCustomPollerSetup.html

    to get you in the right direction. 

    Mark Wiggans
    Thwack Moderator
    • Post Points: 1
  • 01-11-2008 4:25 PM In reply to

    • rmarshall
    • Top 150 Contributor
    • Joined on 08-10-2007
    • Austiin
    • Posts 51
    • Points 133

    Re: Creating an Alert for a Custom MIB

    Step 1) Create a script that produces the numeric response you are seeking.  I called mine vmfsspace.specific.  I actually found it online by Googling it. 

    This may help: http://thwack.com/forums/p/5076/22108.aspx#22108 

    Place the script somewhere logical like /usr/sbin/vmfsspace.specific

    Give the file execute permissions (chmod 777 /usr/sbin/vmfsspace.specific)

    Step 2) Edit /etc/snmp/snmpd.conf and add a line like this to execute the script:

    exec .1.3.6.1.4.1.6876.99999.2.1 vmfsspace /usr/sbin/vmfsspace.specific storage1

    Note: the script in the above example assumes you are using ESX3

    Run: service snmpd restart

    Step 3) Create a custom MIB poller in solarwinds that polls the host with your script using the MIB number you made up for your script.  However, you don't use the exact MIB.  Instead you add .101 onto the end.

    In the above example, the MIB number becomes 1.3.6.1.4.1.6876.99999.2.1.101 in Solarwinds.  Click the Browse button next to the MIB box and then type in the MIB manually.  Click test with Get Next Request and make sure you get a response.

    Make the results a MIB Value Type: Rate, not Counter or Raw Value.  I put % for the Unit and timeframe is none.  I do not keep historical stats.

    Once the custom MIB poller is created for that one host you can add it to other hosts as well. You will have to put the script on each host and add the line to the snmpd.conf file.  You will also have to do a service snmpd restart for the changes to take effect.

    Thank you,
    Richard M.
    • Post Points: 1
  • 09-22-2008 10:10 PM In reply to

    Re: Creating an Alert for a Custom MIB

    i realy don't know much about this site so i want you to tell me something about this site

    mcphill bruce

    • Post Points: 3
  • 09-23-2008 8:02 AM In reply to

    Re: Creating an Alert for a Custom MIB

    mcphillbruce1189:
    i realy don't know much about this site so i want you to tell me something about this site
     

    I'm sure the community will be happy to help, but you'll need to be more specific about what you'd like to know.

    Denny LeCompte
    Sr. Product Manager, Orion
    SolarWinds
    Austin, TX
    • Post Points: 1
Page 1 of 1 (7 items)