This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

APC UPS Battery Alerts NPM 11.5

Hi,
Wondering if anyone has had experience with setting up a custom alert for APC UPS using a Universal Device Poller (specifically upsBasicOutputStatus).

The upsBasicOutputStatus currently has a status of "onLine". What I would like to do is be alerted when this changes. All forum posts seem to answer the question with the old Advanced Alert Manager.

When I try to add a status "not equal to" - there only seems to be pre-set responses that don't include "onLine"

upsalert.jpg

Anyone know the proper way to set this up? Thanks!

Parents
  • If you select "Other" from that column, does it give you a separate field to enter something else, or does it just look for "Other"?

    If you want to use SQL to define the trigger, you can try this, and tweak as necessary.

    SELECT n.Caption, cps.Status FROM Nodes AS n

    JOIN CustomPollerAssignment AS cpa ON n.NodeID = cpa.NodeID

    JOIN CustomPollers AS cp ON cpa.CustomPollerID = cp.CustomPollerID

    JOIN CustomPollerStatus AS cps ON cpa.CustomPollerAssignmentID = cps.CustomPollerAssignmentID

    WHERE cp.UniqueName = 'upsBasicOutputStatus'

    AND cps.Status NOT LIKE '%onLine%'

  • Thanks for the SQL query.... But looks like I figured it out. Need to change the query to "current value" instead of "current status". The drop down then supplies the "onLine" status.

    2015-06-18_13-32-16.jpg

Reply Children
No Data