Liebert UPS plugin not working in NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Liebert UPS plugin not working in NagiosXI

Post by toleolu »

Thanks, I already downloaded one of those and have been playing around with it, it's the Check Liebert NXR-UPS (30kVA) plugin. At least it tries to run from the command line, but I'm not sure what it's asking for regarding Module.

I'll keep playing around with it and try some of the others. Biggest problem I've got though is I know more about Linux than I do SNMP. Talk about scary!!!! :o :o
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Liebert UPS plugin not working in NagiosXI

Post by lmiltchev »

Let us know if you get stuck with the Liebert_NXR_UPS.py plugin.
Be sure to check out our Knowledgebase for helpful articles and solutions!
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Liebert UPS plugin not working in NagiosXI

Post by toleolu »

Actually I'm making some progress with one of the plugins in the link Box 293 posted, check_ups_alarm.pl. It runs, but I've got to tweak the config on the UPS side to get data back.

Also, I'd like to extend my thanks and appreciation for the great support I've received from everyone on this forum. I really do appreciate it.

Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Liebert UPS plugin not working in NagiosXI

Post by toleolu »

Well this is strange.

The UPS plugin is not showing up in "Commands" on Nagios. It's in /usr/local/nagios/libexec and I can run it from the command line, but when I try to create the new service, it doesn't show up in the list of available commands.

What did I miss on this one?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Liebert UPS plugin not working in NagiosXI

Post by slansing »

This is likely because you have not added a command for it, to do so, navigate to CCM > Commands > look at check_nrpe as an example, and use the same syntax, but be sure to use $ARGn$'s so you can use it with different thresholds on different systems. http://assets.nagios.com/downloads/nagi ... lugins.pdf
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Liebert UPS plugin not working in NagiosXI

Post by toleolu »

Duhhhh!!!!!


Check it out:

COMMAND: /usr/local/nagios/libexec/check_ups_alarm.pl -H 10.5.210.35 -C j613LmNZ -X batteryStatus
OUTPUT: Battery State NORMAL

Not bad for four days work, huh!!!

Thanks again. You guys rock!!!!
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Liebert UPS plugin not working in NagiosXI

Post by slansing »

W00t! Looks good! Give us a poke in case you have further questions on this!
Locked