Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


APC Environment Templates.
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
jberanek



Joined: 25 Jul 2008
Posts: 2

PostPosted: Fri Jul 25, 2008 6:28 am    Post subject: My APC templates Reply with quote

I thought I'd post my recently tidied/formulated APC templates. We use them on a Symmetra UPS, and they graph:

Templates were exported from a Cacti 0.8.7b installation.

* Battery Capacity
* Voltages (In/Out)
* UPS Load
* Internal (Battery) Temperature
* Room temperature
* Room humidity

The 2 room graphs utilise "Probe 1" on (I believe) an addin environment sensing card. Retrieved by SNMP as:

mUpsEnvironAmbientTemperature 1.3.6.1.4.1.318.1.1.2.1.1
mUpsEnvironRelativeHumidity 1.3.6.1.4.1.318.1.1.2.1.2

This is my first template post, so hopefully it goes OK...

John.



humidity.png
 Description:
Room humidity
 Filesize:  24.21 KB
 Viewed:  1136 Time(s)

humidity.png



room-temp.png
 Description:
Room temperature
 Filesize:  19.72 KB
 Viewed:  1136 Time(s)

room-temp.png



internal-temp.png
 Description:
Internal temperature
 Filesize:  20.16 KB
 Viewed:  1136 Time(s)

internal-temp.png



battery-capacity.png
 Description:
Battery capacity
 Filesize:  19.95 KB
 Viewed:  1136 Time(s)

battery-capacity.png



UPC-Symmetra-1.0.zip
 Description:
Graph templates for APC Symmetra UPS - utilises SNMP data from the POWERNET MIB.

Download
 Filename:  UPC-Symmetra-1.0.zip
 Filesize:  15.57 KB
 Downloaded:  114 Time(s)



Last edited by jberanek on Fri Jul 25, 2008 6:35 am; edited 2 times in total
Back to top
jberanek



Joined: 25 Jul 2008
Posts: 2

PostPosted: Fri Jul 25, 2008 6:28 am    Post subject: Reply with quote

The 6th attachment


ups-load.png
 Description:
UPS Load
 Filesize:  18.48 KB
 Viewed:  1134 Time(s)

ups-load.png


Back to top
drsprite



Joined: 15 Oct 2008
Posts: 5

PostPosted: Mon Oct 27, 2008 9:26 pm    Post subject: Reply with quote

Hello all,

I have about 12 AP9340 environmental monitor units, and i can't seem to get these templates to graph them... I was able to get a quick blip, but it came in Celsius, then it stopped graphin.

I would like to get these to graph correctly in Fahrenheit.

Any ideas on how to get this working?

Any help would be great!
Back to top
dave99



Joined: 17 Mar 2006
Posts: 19

PostPosted: Wed Oct 29, 2008 2:59 pm    Post subject: Reply with quote

use a CDEF in your graph template that does the conversion.
Back to top
drsprite



Joined: 15 Oct 2008
Posts: 5

PostPosted: Wed Oct 29, 2008 3:28 pm    Post subject: Reply with quote

Well, the CDEF won't work when I can't get it to graph. All searches on this forum (and on google) for the OID returns ones that don't work.

I have a call into an APC tech to get back to me.
Back to top
dave99



Joined: 17 Mar 2006
Posts: 19

PostPosted: Wed Oct 29, 2008 4:07 pm    Post subject: Reply with quote

have you tried doing a snmpwalk on the device, and finding the OID's directly?
Back to top
drsprite



Joined: 15 Oct 2008
Posts: 5

PostPosted: Wed Oct 29, 2008 5:02 pm    Post subject: Reply with quote

yeah i have done an snmpwalk, me and a buddy haven't been able to figure it out. I work with APC on a lot of projects, so I've emailed them for some help. We'll see what they say I suppose.
Back to top
vikingmaster



Joined: 28 Apr 2002
Posts: 12

PostPosted: Tue Dec 30, 2008 8:22 am    Post subject: Reply with quote

thanks for you information
Back to top
Shmegles



Joined: 05 Oct 2007
Posts: 13

PostPosted: Tue Dec 30, 2008 11:55 am    Post subject: Reply with quote

I've posted some templates for AP9340, find 'em at http://forums.cacti.net/viewtopic.php?t=30362. You'll get graphs for both temp (in F) and humidity.

If you're unable to get anything to graph, are you getting a '0's' or "nan"? If "nan", try this (if you're using linux) "snmpget -c [communitystring] [host] sysDescr.0"

"snmpget -c [communitystring] -v 2c [host] sysDescr.0"

if those fail, try this:

"snmpget -c [communitystring] -v 1 [host] sysDescr.0"

if none of 'em work, you've likely got a problem with something like your community string (perhaps it's inaccurate), network connectivity, an access list on the AP9340, or some such.

if only the last works, you'll need to specify snmp v1 OR much better, upgrade the firmware on your AP9340's as mine respond to snmp v2 queries...using v3.5.6 of APC firmware.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group