Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Use with Liebert NXR-UPS. Tested on our 30kVA UPS type. No MIB needed.
Current Version
1.0
Last Release Date
2014-06-08
Owner
Nguyen Duc Trung Dung
Website
http://www.cloudarch.club
License
GPL
Compatible With
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
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?
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
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
You must be logged in to submit a review.
To:
From: