APC rack pdu stuff

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

noskill
Posts: 32
Joined: Mon Feb 21, 2005 12:32 am

APC rack pdu stuff

Post by noskill »

Here's some stuff I've had laying around. They monitor the voltages of APC 7900's/7930's (havent tested others, but they have similar snmp functions, so if they work on other APC devices post a reply :)

These were created on 0.8.6d

Screenshot:

Image

-ns
Attachments
apc-cacti-files.zip
(7.31 KiB) Downloaded 8215 times
Last edited by noskill on Wed Jan 04, 2006 1:14 pm, edited 1 time in total.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Cool, thanks for posting.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Axis
Posts: 6
Joined: Tue Sep 20, 2005 9:07 am
Location: Tilburg, the Netherlands

Post by Axis »

It's an old topic, but I justed wanted to show my appreciation, great template!

First time I imported a template, and I had to click around somewhat, but the result is worth it.
Attachments
screenshot
screenshot
nmt-apc-01.png (10.91 KiB) Viewed 83245 times
dorkmatt
Posts: 1
Joined: Tue Apr 11, 2006 10:29 pm

Re: APC rack pdu stuff

Post by dorkmatt »

Thanks for the templates, for some reason the OID's didn't import correctly, I assume I found the correct ones by parsing the PowerNet-MIB. I turned up debugging on the cacti log and it seems to be getting data, but my graph is still missing the overload level, hmm?

Code: Select all

pdu01lo, dsname: apc_overload_level, oid: .1.3.6.1.4.1.318.1.1.12.2.2.1.1.4.1, output: 24
pdu01lo, dsname: apc_blah_load, oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1, output: 120
pdu01lo, dsname: apc_warning_level, oid: .1.3.6.1.4.1.318.1.1.12.2.2.1.1.3.1, output: 18
Attachments
graph_image.png
graph_image.png (3.36 KiB) Viewed 82746 times
sloop
Posts: 23
Joined: Tue Oct 17, 2006 10:09 am

Post by sloop »

Thanks for this, it is working "out of the box" for an AP7832.

I have the same problem ^ in that the overload value is not being read correctly. Otherwise it looks great

Code: Select all

12/12/2006 05:36:04 PM - CMDPHP: Poller[0] Host[13] DS[82] SNMP: v1: 209.170.128.50, dsname: apc_blah_load, oid: .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.1, output: 175
12/12/2006 05:36:04 PM - CMDPHP: Poller[0] Host[13] DS[83] SNMP: v1: 209.170.128.50, dsname: apc_overload_level, oid: .1.3.6.1.4.1.318.1.1.12.2.2.1.1.4.1, output: 24
12/12/2006 05:36:04 PM - CMDPHP: Poller[0] Host[13] DS[84] SNMP: v1: 209.170.128.50, dsname: apc_warning_level, oid: .1.3.6.1.4.1.318.1.1.12.2.2.1.1.3.1, output: 18
Attachments
pdu1
pdu1
pdu1.png (19.74 KiB) Viewed 80618 times
untaimaishu
Posts: 2
Joined: Tue Jan 09, 2007 9:55 pm

APC PDU monitoring

Post by untaimaishu »

Great template. I got it to work 'out of the box' with the following APC Rack PDU.

AP78300 Rack PDU - 24 Port
AP7801 Rack PDU - 8 Port

We also got the following:

AP7862 - 42 port 3 Phase Rack PDU

but I'm only able to get one of the phases to show up. Has anyone tried this? I'm sort of a newb with all this Cacti stuff so any information would be helpful.
Attachments
apc.jpg
apc.jpg (81.72 KiB) Viewed 80243 times
untaimaishu
Posts: 2
Joined: Tue Jan 09, 2007 9:55 pm

Sorry

Post by untaimaishu »

Sorry for the post. I found it under this after a seach on the forums. DUH?

http://forums.cacti.net/viewtopic.php?t ... hlight=pdu
jhoffert
Posts: 4
Joined: Thu Oct 26, 2006 10:34 am
Location: Columbia, MD

APC PDU

Post by jhoffert »

untaimaishu,

How did you get Cacti to show you all the outlets on the PDU. From the templates, I can only get a total AMPS.

Thanks!
jhoffert
Posts: 4
Joined: Thu Oct 26, 2006 10:34 am
Location: Columbia, MD

Re: APC PDU

Post by jhoffert »

Sorry, I read the graphs the wrong way, but I'm still curious if there is a way to graph all the ports on the PDU, not just the total PDU AMP Usage.?
noskill
Posts: 32
Joined: Mon Feb 21, 2005 12:32 am

Post by noskill »

No, there isn't a way, at least on 79xx's
TimothyClarke
Posts: 3
Joined: Mon Mar 19, 2007 9:28 am

levels need to be raised

Post by TimothyClarke »

Nice template, just a minor point, for anyone who's using more than a single phase, you'll need to alter the maxium values in the data templates.

They are set to 20 by default

Also it would be nice if the templates showed per phase values
sscott
Posts: 3
Joined: Tue Jul 03, 2007 11:43 am

Would have been great if you hadn't changed the RRA def's

Post by sscott »

Wish a graph export didn't include all the additional definitions
zkenton
Posts: 47
Joined: Fri Jun 29, 2007 2:22 pm

Post by zkenton »

has anyone gotten these templates to work with AP7840?
User avatar
Setarcos
Cacti User
Posts: 143
Joined: Mon Dec 13, 2004 2:55 pm
Location: San Jose, CA
Contact:

Updated version

Post by Setarcos »

Hi Folks,

Here is an updated version that also graphs the low threshold (helpful if you use this feature)
Attachments
cacti_host_template_apc_pdu.zip
PDU host template
(14.35 KiB) Downloaded 3854 times
Screenshot
Screenshot
graph_image-PDU.php.png (26.81 KiB) Viewed 76165 times
aboyce
Posts: 1
Joined: Tue Sep 04, 2007 10:03 am

AP7840/AP7841

Post by aboyce »

APC PDUs with recent firmware (3.5.6 in my case) do not apparently provide APC MIB data (.1.3.6.1.4.1.318) via SNMP v1. All that is available are interface stats. I have no idea why, but everything seems to work fine when using V3.

I've tested this with AP7840 & AP7841.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests