Home Directory

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

mark8adams

Reviews(2)
bymark8adams, November 22, 2016
0 of 1 people found this review helpful
Check Liebert NXR-UPS (30kVA)
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

bymark8adams, November 7, 2016
This seems like a really good addition to our plugins, but I can't seem to make it work within Nagios. Reports metrics as expected from the command line, from any directory and as the nagios user, but I can only get a "null" response within nagios. I can't figure out what I'm missing.
I even tried the "--help" option as an argument and still only get a "null" return status.
Anybody else had a similar experience?

thanks