I was reading the manual on using SNMP Get, but maybe this isn't the one I should be using. What I would like to do is poll the UPS for current levels ie AMPs, voltage etc.
Any help would be appreciated.
Thanks in advance.
SNMP to Display UPS Levels
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
What exact UPS do you use? Actually, if your UPS supports SNMP, there should be MIB file, that is supplied with that particular UPS. You may load it into the "MIB Browser" ( http://www.ks-soft.net/hostmon.eng/mibbrowser/index.htm )
MIB Browser allows you to view the hierarchy of SNMP MIB variables in the form of a tree and provides you with additional information about each node.
E.g. for APC UPS:
1.3.6.1.4.1.318.1.1.1.2.2.1.0 - upsAdvOutputFrequency
1.3.6.1.4.1.318.1.1.1.4.2.1.0 - upsAdvOutputVoltage
etc.
Probably, you will be able to find MIB file for your UPS here:
http://www.mibdepot.com/cgi-bin/mibvend ... i?id=19440
Regards,
Max
MIB Browser allows you to view the hierarchy of SNMP MIB variables in the form of a tree and provides you with additional information about each node.
E.g. for APC UPS:
1.3.6.1.4.1.318.1.1.1.2.2.1.0 - upsAdvOutputFrequency
1.3.6.1.4.1.318.1.1.1.4.2.1.0 - upsAdvOutputVoltage
etc.
Probably, you will be able to find MIB file for your UPS here:
http://www.mibdepot.com/cgi-bin/mibvend ... i?id=19440
Regards,
Max
The UPS we are using is an APC Smart-UPS RT 7500 XL.
We've decided that we will trap most errors, but there are a couple that we want KS Host to actually get from the UPS.
Right now I am trying to set it up so that it gets the temp from the UPS and sends an alert if it is over 30 C. When I go down the list on the MIB browser and choose mUpsEnvironAmbientTemperature and click Get Value, it comes back with the error suggesting that .0 be added to the end. The OID is 1.3.6.1.4.1.318.1.1.2.1.1.
Why is it that the other OID can get values, while this one can't? If I add the .0, it still comes back with the error "Cannot retrieve data. Unknown variable"
Thanks
We've decided that we will trap most errors, but there are a couple that we want KS Host to actually get from the UPS.
Right now I am trying to set it up so that it gets the temp from the UPS and sends an alert if it is over 30 C. When I go down the list on the MIB browser and choose mUpsEnvironAmbientTemperature and click Get Value, it comes back with the error suggesting that .0 be added to the end. The OID is 1.3.6.1.4.1.318.1.1.2.1.1.
Why is it that the other OID can get values, while this one can't? If I add the .0, it still comes back with the error "Cannot retrieve data. Unknown variable"
Thanks
Maybe that is the issue. I have been using OIDs from a website thinking that the would work since they were found in the MIB Browser.
As for sending you the MIB file, I'm not sure where that is. Setting up the SNMP tests is new to me. Where would I find this file, and how would I apply it?
We are running HostMonitor 6.54 on Windows 2000 Advanced Server SP4.
As for sending you the MIB file, I'm not sure where that is. Setting up the SNMP tests is new to me. Where would I find this file, and how would I apply it?
We are running HostMonitor 6.54 on Windows 2000 Advanced Server SP4.
File that we supply with our MIB Browser is a sample. It contains information about various devices and software - Windows, Netware, Netscape servers, etc. Different SNMP agents support different set of counters; some specific device cannot support all possible counters.I have been using OIDs from a website thinking that the would work since they were found in the MIB Browser
MIB file should be provided by manufacturer (APC). I checked www.apcc.com but cannot find MIB file for this device.Where would I find this file, and how would I apply it
Do you have any CD that comes with device? If not, please contact manufacturer of the device (http://www.apcc.com/support/index.cfm).
Regards
Alex
Just start MIB Browser and use menu "File" -> "Append MIB file" to compile the file.I have the CD now, and I do see that it has PowerNet MIB v 3.6.7 on it. I'll see if I can find out how to apply it
Sure, you may send it to support@ks-soft.netLet me know if you still would like me to send the *.mib file
On the other hand you may check it by yourself, its text file so you may use any text editor to work with this file. Do you see information regarding "mUpsEnvironAmbientTemperature" counter in the file?
Regards
Alex
You may use next OIDs:
1.3.6.1.4.1.318.1.1.1.2.2.1.0 - Battery capacity in %
1.3.6.1.4.1.318.1.1.1.4.2.3.0 - Output load in %
1.3.6.1.4.1.318.1.1.1.2.2.2.0 - Internal temperature in °C
1.3.6.1.4.1.318.1.1.1.3.2.1.0 - Input voltage
1.3.6.1.4.1.318.1.1.1.4.2.1.0 - Output voltage
All OIDs you can find at www.apcc.com in one MIB file. And you can use MibBrowser for using this file.
1.3.6.1.4.1.318.1.1.1.2.2.1.0 - Battery capacity in %
1.3.6.1.4.1.318.1.1.1.4.2.3.0 - Output load in %
1.3.6.1.4.1.318.1.1.1.2.2.2.0 - Internal temperature in °C
1.3.6.1.4.1.318.1.1.1.3.2.1.0 - Input voltage
1.3.6.1.4.1.318.1.1.1.4.2.1.0 - Output voltage
All OIDs you can find at www.apcc.com in one MIB file. And you can use MibBrowser for using this file.