Many thanks Chris, I will try this out and see how it works. I think the drawbacks would be acceptable because if the UPS is on battery, nothing else really matters.
Don Goodhue Information Systems Officer Union Bank -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher L. Sweeney Sent: Wednesday, September 19, 2007 11:13 AM To: InterMapper Discussion Subject: RE: [IM-Talk] APC UPS AP961x probe Notifier At 10:25 AM -0400 9/19/07, Don Goodhue wrote: >I like that idea. If you have some quick instructions to do this I >would certainly appreciate it. > The short way: I've attached a modified version of the probe. Save this attachment. In the InterMapper client or IMRA, choose File->Import->Probe... and select the saved attachment. That should be all that's necessary. You now simply need to attach a notifier to the appropriate devices and enable it for the critical state. The only drawback to this solution that I noticed when I was making the changes is that this means that when you're on battery, the state will always be critical, which would probably cause you to miss all the other problems, as they're warning or alarm. If the other problems which cause alarms are something you'd still want to be notified of, you might want to further modify the probe so that "on battery" is alarm and everything else is critical. -- Christopher P.S. Here's the long way for doing it yourself, as I said I'd give instructions: On the machine running the Intermapper server, find the InterMapper Settings folder. For Windows, this will usually be in C:\Program Files\InterMapper; for Mac OS X, this will usually be in /Library/Application Support. For Linux/Unix, it will be named InterMapper_Settings and will usually be in the home directory of the user under which intermapperd is running. In the InterMapper Settings folder, find the Probes folder. In the probes folder should be a file named com.dartware.ups.apc-ap961x.txt. Load that into a text editor. Find the section labelled "<snmp-device-thresholds>". In that section will be the line: alarm: $batTimeOn > 0 "UPS has been running on battery for $batTimeOn seconds." Change "alarm" to "critical" so that it reads: critical: $batTimeOn > 0 "UPS has been running on battery for $batTimeOn seconds." At the top of the file, find the line which reads: "version" = "2.53" Change "2.53" to "2.54" or higher: "version" = "2.54" Save your changes. In the client (local or IMRA), pick any device, right-click, and choose "Set Probe..." (Don't worry--we won't actually set one.) In the dialog that appears, click "Reload Probes" in the bottom left corner. You should get a message saying how many changed and how many had errors. It might take a few seconds. Then put away that message and click "Cancel" in the Set Probe dialog. That should finish the editing of the probe. You now simply need to attach a notifier to the appropriate devices and enable it for the critical state. -- Christopher -- ================================================ Christopher L. Sweeney Dartware, LLC http://www.dartware.com/ ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED]
