Page 1 of 1
check_apc_pdu question
Posted: Mon Apr 07, 2014 3:49 pm
by brandon.pal
Hey,
Is any one out there using the check_apc_pdu plugin?
I'm wondering what the load value is exactly?
Code: Select all
./check_apc_pdu.pl -H 10.91.12.240 -C public
OK: All Outlets ok. |load=14
What is the 14? I'm trying to figure out our current amp usage.
So I know we have a 30amp circuit and want to monitor our current usage and set off alarms if we go above a set amount.
Re: check_apc_pdu question
Posted: Mon Apr 07, 2014 4:04 pm
by tmcdonald
brandon.pal wrote:What is the 14? I'm trying to figure out our current amp usage.
My guess is that's your current load in amps. Means you're a little under 50% utilization. I checked out the code and there wasn't a lot in the way of comments explaining what the output is, but I didn't do a full code audit so there could be something in the supporting documentation or the variable names.
Re: check_apc_pdu question
Posted: Mon Apr 07, 2014 4:07 pm
by brandon.pal
My Amp draw at the moment is about 3 so the 14 is sadly not that. I could not find anything in the code to make sense of it.
Re: check_apc_pdu question
Posted: Mon Apr 07, 2014 4:39 pm
by tmcdonald
Well, 14% of 30Amps is 4.2 so that's pretty close to your utilization.
Re: check_apc_pdu question
Posted: Mon Apr 07, 2014 6:39 pm
by brandon.pal
Sounds right. It was a bit off so I was thinking maybe it was something else.
Now If I run the script in Nagios is there a way to add a graph ?
Re: check_apc_pdu question
Posted: Tue Apr 08, 2014 9:09 am
by sreinhardt
If you have performance data being processed, it will generate a graph without further configuration. The portion after pipe (|) is what nagios or more sepecifically pnp will use to generate graphs and things.
Your output:
OK: All Outlets ok. |load=14