APC Environment Templates.

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

Moderators: Moderators, Developers

Author
Message
clustersnarf
Posts: 3
Joined: Tue Jun 15, 2004 10:15 am
Location: Atlanta, GA
Contact:

APC Environment Templates.

#1 Post by clustersnarf » Mon Feb 06, 2006 11:34 pm

I tracked down the OID for the APC Environmental Sensors and started creating a set of templates for it.

This was made with 0.8.6.c. I have attached a zip file with the following templates in it.

cacti_data_template_apctemp.xml
cacti_graph_template_apc_temperature_sensor_degrees_c.xml
cacti_graph_template_apc_temperature_sensor_degrees_f.xml
cacti_host_template_apc_sensor.xml

The Degrees F uses a custom CDEF that does the following:
cdef=CURRENT_DATA_SOURCE,1.8,*,32,+

Have fun. I should update soon with the Humidity graphing.
Attachments
APC_Environmental_Temp_Sensor.1.0.zip
Contains:
cacti_data_template_apctemp.xml
cacti_graph_template_apc_temperature_sensor_degrees_c.xml
cacti_graph_template_apc_temperature_sensor_degrees_f.xml
cacti_host_template_apc_sensor.xml
(8.77 KiB) Downloaded 4382 times
--------------------------------------------------------
Daniel Powell -- Network Geek
http://www.networkgeek.org
--------------------------------------------------------

clustersnarf
Posts: 3
Joined: Tue Jun 15, 2004 10:15 am
Location: Atlanta, GA
Contact:

Update

#2 Post by clustersnarf » Fri Feb 10, 2006 11:40 am

I have updated the templates with Degrees F and Degrees C. There is also a new Humidity graph along with this.


I have also found out the sensors have 2 ports on them, I have only written this for port 1. I will probably add port 2 in the future.
Attachments
APC_Environmental_Temp_Sensor.1.5.zip
Contains:
cacti_data_template_apchumidity.xml
cacti_data_template_apctemp.xml
cacti_graph_template_apc_temperature_sensor_degrees_c.xml
cacti_graph_template_apc_temperature_sensor_degrees_f.xml
cacti_host_template_apc_sensor.xml
(11.8 KiB) Downloaded 4801 times
graph_image.php.png
Graph Example Image
graph_image.php.png (4.17 KiB) Viewed 65697 times
--------------------------------------------------------
Daniel Powell -- Network Geek
http://www.networkgeek.org
--------------------------------------------------------

parid
Posts: 3
Joined: Thu Apr 29, 2004 5:42 pm
Contact:

#3 Post by parid » Tue May 30, 2006 5:54 pm

Worked great for me. Thanks!

carlilek
Posts: 18
Joined: Thu Jun 22, 2006 1:51 pm

#4 Post by carlilek » Thu Jun 22, 2006 1:54 pm

Just to clarify, this is for the environmental sensor stand alone products, correct? Not the Network Management card with Environmental sensor smartslot card (ie, number AP9618 or AP9619).

I couldn't get it to work with those, so APC must be using different codes for those devices. If anyone does have a template for those sensors...

BTW, the SU5000 templates work for my SU3000 with the 9619 card; I just don't get my environmental data out of it.


EDIT: Got a basic graph working with the Generic SNMP OID graph template. Just for reference, the OID for the temp sensor is:
.1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1
and the humidity sensor (don't have one) appears to be:
.1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1

mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

#5 Post by mek1 » Mon Jul 31, 2006 12:02 pm

Hi,

I've installed this template to watch our APC Symmetra devices. They have external sensors that show within the UPS's web console that the temp is 75.25. THe graphs return 32 degrees F, which converted is 0 celsius.

anyone know what i might need to change?


a lesser issue is one of the two devices can sense humidity and that does not plot on the graph either.


thanks!

carlilek
Posts: 18
Joined: Thu Jun 22, 2006 1:51 pm

#6 Post by carlilek » Mon Jul 31, 2006 12:10 pm

I would bet that you need to do what I did, with the separate OIDs. Try doing an snmpwalk on your UPSes to verify my OIDs--I've only got one sensor per UPS. (ok, fine, one sensor total, but...)

The environment sensor referenced in the root of this thread is (I believe) APC's standalone environment sensor suite.

mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

#7 Post by mek1 » Mon Jul 31, 2006 1:48 pm

carlilek wrote:I would bet that you need to do what I did, with the separate OIDs. Try doing an snmpwalk on your UPSes to verify my OIDs--I've only got one sensor per UPS. (ok, fine, one sensor total, but...)

The environment sensor referenced in the root of this thread is (I believe) APC's standalone environment sensor suite.
ok, just entered the correct numbers you posted above and it returns:

SNMPv2-SMI::enterprises.318.1.1.10.2.3.2.1.6.1 - INTEGER: -1

edit:

i jsut changed the existing OID to .1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1

will have to wait a few to see if it takes. should that be it?

further edit:

here's what the graph is doing. It definately isn't graphing the temps correctly, the device's displayed temp is 75-77 average at all times, weird.
Attachments
snapshotapc.jpg
snapshotapc.jpg (25.98 KiB) Viewed 63735 times

Era_Russland
Posts: 10
Joined: Wed Aug 02, 2006 4:41 am
Contact:

APC Cel graph problem

#8 Post by Era_Russland » Wed Aug 02, 2006 4:55 am

Hi
I installed APC template on linux box to monitor APC device(Environment Monitoring Unit). Everything is OK but I can't see correct graph. I secusefully create two graphs(degrees C and degress F) but the grapth with degress C is incorrect. Please,look at pics below.

Thanks
Attachments
cel.jpg
no temperature on the graph
cel.jpg (19.55 KiB) Viewed 63647 times
fahr.jpg
Correct temperature on the graph
fahr.jpg (20.62 KiB) Viewed 63647 times

mek1
Cacti User
Posts: 55
Joined: Tue Mar 21, 2006 11:31 am

#9 Post by mek1 » Wed Aug 02, 2006 9:20 am

Did you have to make any configuration changes to get the graphs to start displaying correct temperatures? What model APC do you have? thanks

User avatar
fmangeant
Cacti Guru User
Posts: 2326
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: APC Cel graph problem

#10 Post by fmangeant » Wed Aug 02, 2006 9:29 am

Era_Russland wrote:Hi
I installed APC template on linux box to monitor APC device(Environment Monitoring Unit). Everything is OK but I can't see correct graph. I secusefully create two graphs(degrees C and degress F) but the grapth with degress C is incorrect. Please,look at pics below.
Hi

in this graph templates, the 2 values are AREA. This means that if humidity > temperature, you won't see the temperature.

A solution would be to use an AREA an a STACK, so that you'll always see the 2 values.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]

carlilek
Posts: 18
Joined: Thu Jun 22, 2006 1:51 pm

#11 Post by carlilek » Wed Aug 02, 2006 10:39 am

mek1 wrote:Did you have to make any configuration changes to get the graphs to start displaying correct temperatures? What model APC do you have? thanks
From what I can see, you used the humidity OID... which would probably give you incorrect temperatures! ;)

Try .4.1 instead of .6.1. I don't know what humidity graphs look like; all I have is the temp sensor. It's an APC SU3000 with the AP9619 card.

Era_Russland
Posts: 10
Joined: Wed Aug 02, 2006 4:41 am
Contact:

Re: APC Cel graph problem

#12 Post by Era_Russland » Thu Aug 03, 2006 12:57 am

fmangeant wrote:
Era_Russland wrote:Hi
I installed APC template on linux box to monitor APC device(Environment Monitoring Unit). Everything is OK but I can't see correct graph. I secusefully create two graphs(degrees C and degress F) but the grapth with degress C is incorrect. Please,look at pics below.
Hi

in this graph templates, the 2 values are AREA. This means that if humidity > temperature, you won't see the temperature.

A solution would be to use an AREA an a STACK, so that you'll always see the 2 values.
Hi
I'm not exactly understand, what have I do to make temperature graph visible?
The most simple way is to change the grapth order(to make the humidity<temperature). But I don't know how can I do this?
I'm just beginer cacti user :)

number_six
Posts: 1
Joined: Tue Feb 26, 2008 4:30 am

Sensor = AP9512TBLK / Unit = APC9619

#13 Post by number_six » Tue Feb 26, 2008 4:39 am

Hi all - I hope you cacti experts are still looking at this thread as I need help please I'm a Cacti new user?

I used the xml plugins above but they're not graphing any temperature data (My sensor doesn't do humidity so not bothered about that). So I used a SNMP - Generic OID Template with .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1

This seems to be graphing accurately the temp data but I'd like to show it go red when it reaches a certain value. Is this easy to do and if somebody wouldn't mind explaining how to do this then I'd be very grateful for your time?
Attachments
temp_apc.JPG
temp_apc.JPG (27.81 KiB) Viewed 54732 times

woody
Posts: 3
Joined: Wed Apr 30, 2008 4:02 am

#14 Post by woody » Tue May 06, 2008 7:32 am

hi all,

I'm a Cacti new user too. i have installed the plugin. i have the graph but no informations into.

[/img]
Attachments
graph_image.php.png
graph_image.php.png (22.27 KiB) Viewed 52155 times

bclaveau
Posts: 1
Joined: Wed May 28, 2008 12:37 pm

#15 Post by bclaveau » Wed May 28, 2008 1:05 pm

Has Anyone got this working for a
Smart-Ups 3000XLM with Network Management Card with Temp/Humid sensor?

Post Reply