Home Directory Plugins Hardware UPS Liebert Check Liebert NXR-UPS (30kVA)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Liebert NXR-UPS (30kVA)

Current Version
1.0
Last Release Date
2014-06-08
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
26225
Files:
FileDescription
Liebert_NXR_UPS.pyLiebert_NXR_UPS.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check Liebert NXR-UPS (30kVA)
Use with Liebert NXR-UPS. Tested on our 30kVA UPS type. No MIB needed.
I only active alert and perf data on UPS Battery temperature, Output load, System status. If anyone need more alert and more perf data, feel free to edit the script and adjust features, have guide inside.

-------------------------------------------------
Options:
-h, --help show this help message and exit
-H HOST, --host=HOST hostname or IP address
-c COMMUNITY SNMP community
-t TYPE, --type=TYPE BATTERY VOLTAGE, BATTERY CURRENT, BATTERY STATUS,
SYSTEM STATUS, INPUT, OUTPUT
-m MODULE, --module=MODULE
module to check
-a RANGE, --range=RANGE
normal range, when something out of scope alert will
be raised. Ex: -a 0,80

I saw many ask about what is the module?
- On LiebertUPS module mean the UPS electronic part installed on it. So by default this UPS included with 1 module then use this command:
./Liebert_NXR_UPS.py -H xxx -c zzz -t yyy -m 1
Reviews (2)
Hi,
I have Liebert NXC 20KVA and I want monitor this UPS by nagios.
I tried this command:
./Liebert_NXR_UPS.py -H 192.168.11.109 -c v1 -m 1 -t 'BATTERY CURRENT'
and i have answer:
ERROR - Timeout: No Response from 192.168.11.109.
I enabled SNMP v1 on UPS
can you tell me what I doing wrong?
bymark8adams, November 22, 2016
0 of 1 people found this review helpful
I don't have enough information to know whether this works or not. I only get a couple of error messages when I run the plugin:
You must specify module number
or
Not supported check TYPE
or
Traceback (most recent call last):
File "./check_Liebert_NXR_UPS.py", line 200, in
PARSER(opts.host, opts.community, opts.module, opts.type, opts.range).main()
File "./check_Liebert_NXR_UPS.py", line 170, in main
base_oid = self.count_enemy()
File "./check_Liebert_NXR_UPS.py", line 121, in count_enemy
blood, tmp = self.first_blood(oid)
File "./check_Liebert_NXR_UPS.py", line 76, in first_blood
raw_data.append(float(tmp[i])) # Save raw data
ValueError: invalid literal for float(): No Such Object available on this agent at this O.ID
...
It seems the plugin is looking in the wrong place for data,
self.module_base_oid = '.1.3.6.1.4.1.13400.2.19.2.
versus
.1.3.6.1.4.1.476.1.42.2.

Can you point me in the right direction?
Thanks,
Mark
Owner's reply

Hi, the module is mean for a battery installed on your UPS. This model has many module slots so you must specify the module slot for it to check in example module "1".

And beware this script is written only for this model only. You can not use it with other model of Liebert UPS they have very different SNMP structure