SCOM 2012: Sample APC management pack

With the upgrade of System Center Operations Manager to version 2012 the network monitoring has changed. The result is that the old 2007 management packs to monitor network devices still work, but no new devices can be discovered because the base class has been changed. So everyone who used management packs from the xSNMP suite before had to search for new solutions.

One of the management packs which were covered from the xSNMP suite was the xSNMP.APC.mp to monitor UPS/PDU devices from APC.

I have created a sample 2012 management pack for APC UPS and rPDU devices and published it here.

I have focused on using all already discovered information, so no discovery SNMP probes are necessary.
I added monitors for the following SNMP OIDs:

UPS:

  • upsBasicOutputStatus
  • upsBasicBatteryStatus
  • upsAdvBatteryReplaceIndicator
  • upsAdvBatteryRunTimeRemaining
  • upsAdvBatteryCapacity
  • upsAdvOutputLoad

rPDU:

  • rPDULoadStatusLoadState
  • rPDUPowerSupply1Status
  • rPDUPowerSupply2Status

Additionally the following rules collect the current status (for UPS only) of:

  • upsAdvBatteryRunTimeRemaining
  • upsBasicBatteryStatus
  • upsBasicBatteryTimeOnBattery
  • upsAdvBatteryTemperature
  • upsAdvInputLineVoltage
  • upsAdvInputFrequency
  • upsAdvBatteryCapacity
  • upsAdvOutputVoltage
  • upsAdvOutputLoad
  • upsAdvOutputFrequency
  • upsAdvOutputCurrent

The default interval for all rules and monitors is 10 minutes.

Please try it out and add comments for improvement.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Comments

  • Jamie  On September 20, 2013 at 3:24 pm

    Thanks I will give it a try – just what i had been looking for!

  • Eugene Leitan  On November 12, 2013 at 6:59 am

    Thank you very much!
    Do you have managament pack for APC UPS Symmetra ?

  • gorge.paul@gmail.com  On December 4, 2013 at 8:14 am

    Apologies – silly question but how do I incorporate this to SCOM as a MP

  • Valentin Nedeianu  On January 21, 2014 at 2:39 pm

    Great article! Can you tell me what are you using for management pack editing?

    • opsmgrtipps  On January 22, 2014 at 6:11 am

      Hi Valentin,

      Thank you for your comment, I use Notepad++ at the moment.

      Kind regards,

      Natascia

  • tony  On May 15, 2014 at 10:32 am

    is this still working on SCOM 2012 R2?

    • opsmgrtipps  On July 31, 2014 at 9:00 am

      Hello Tony,

      I have no SCOM 2012 R2 environment to test, I am sorry, but I would be glad to get feedback. So if you have an 2012 R2 environment and can test it, then please tell me the outcome.

      Regards,

      Natascia

  • mdnoga  On June 4, 2014 at 4:32 pm

    Hello,
    I did import, but it does show nothing beside the performance (it’s only monitoring the ICMP of the UPS).
    It’s what to suppose to do? I can’t even customize dashboard or even know the state of the batteries.
    Could you help?

    • opsmgrtipps  On July 31, 2014 at 8:59 am

      Hello,

      it should show more. It has some monitors (Battery Status, Output Status, Capacity,…).
      What APC model do you want to monitor?

      Regards,
      Natascia

  • Stuart  On June 10, 2014 at 5:35 pm

    Hi Natascia,

    So I’ve tried your MP but am seeing odd results. The PDUs all show a warning state on power supply 2 status in SCOM, however, the web console for each shows no alerts and both banks healthy. Also, there are several UPSs with battery runtime remaining warnings in SCOM that show normal in the web console.

    Thanks,

    Stuart

    • Stuart  On June 11, 2014 at 11:58 am

      Update…basically an override situation, these AP7941 PDUs only have 1 power supply; I was confusing the 2 banks listed as power supplies. I did run into an error trying to override this rule for a dynamic group I created, and had to override device by device.

    • Stuart  On June 11, 2014 at 2:01 pm

      On the UPS battery runtime question, I ended up turning down that monitor from 20 minutes to 5 and changing it from warning to critical. This lets us monitor the smaller UPSs in IDFs and wiring closets without those being in a constant warning state. Good stuff, thanks again for posting this!

      • opsmgrtipps  On June 11, 2014 at 2:29 pm

        Hi Stuart,

        thanks for the update.

        Regard,

        Natascia

  • mbrinkho  On July 14, 2014 at 9:23 pm

    I’m having some trouble with the discovery, it seems that most of my devices are being discovered as just APC devices and not UPS or PDUs. I do have one that shows up as a UPS though so it’s at least partially working. Any ideas?

    • opsmgrtipps  On July 31, 2014 at 8:55 am

      Hi,

      what APC UPS is it? Please check the System Object ID in the Network Devices view.

      Regards,
      Natascia

  • Mark Puchalski  On February 18, 2016 at 6:28 pm

    What level of SNMP access is required on the APC device? Is it higher than Read?

  • mic  On April 24, 2016 at 11:13 am

    No. this MP is not working with SCOM 2012 R2 UR8 Environment. Very sadly. Is there any way to make it working with SCOM 2012 R2. Maybe library version is not correct? What is the right way to adapt it?

  • mic  On August 2, 2016 at 12:43 pm

    SCOM 2012 R2. This MP is working. Here are some notes:
    1. discovery needs some tuning. For example, symmetra and symmetra3Phase are identified by other OIDs, which are not written in this MP (there is only one OID, identifying smartups). MatchesRegularExpression uses ATL regular engine and it is possible to set expression, which can identify smartups, symmetra and symmetra3Phase in one class “Sample.APC.UPS.Device”
    2. monitor “Sample.APC.UPS.Monitor.upsAdvBatteryCapacity” has one logical mistake (Less 70 and GreaterEqual 60)

  • Muhammed  On December 14, 2016 at 8:12 am

    Thank you for making the life easy by sharing this management pack, its amazing !!!!!!! cant thank you enough!!

    one of my customer got IBM PDU’s I wanted to edit the script and try to use it, but I guess it doesn’t work that way.

    is there any way to use this MP for IBM or any suggestion for IBM MP you have to monitor IBM PDU, please advise. thanks again.

    • SystemCentertipps  On January 23, 2017 at 3:36 pm

      Hi Muhammed,

      thanks for the positive comment.
      If you know the OIDs for your IBM PDUs, then you can change the management pack accordingly.

      Natascia

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: