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 1, 2  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
clustersnarf



Joined: 15 Jun 2004
Posts: 3
Location: Atlanta, GA

PostPosted: Mon Feb 06, 2006 11:34 pm    Post subject: APC Environment Templates. Reply with quote

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.



APC_Environmental_Temp_Sensor.1.0.zip
 Description:
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

Download
 Filename:  APC_Environmental_Temp_Sensor.1.0.zip
 Filesize:  8.77 KB
 Downloaded:  1275 Time(s)

Back to top
clustersnarf



Joined: 15 Jun 2004
Posts: 3
Location: Atlanta, GA

PostPosted: Fri Feb 10, 2006 11:40 am    Post subject: Update Reply with quote

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.



graph_image.php.png
 Description:
Graph Example Image
 Filesize:  4.17 KB
 Viewed:  19325 Time(s)

graph_image.php.png



APC_Environmental_Temp_Sensor.1.5.zip
 Description:
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

Download
 Filename:  APC_Environmental_Temp_Sensor.1.5.zip
 Filesize:  11.8 KB
 Downloaded:  2047 Time(s)

Back to top
parid



Joined: 29 Apr 2004
Posts: 3

PostPosted: Tue May 30, 2006 5:54 pm    Post subject: Reply with quote

Worked great for me. Thanks!
Back to top
carlilek



Joined: 22 Jun 2006
Posts: 11

PostPosted: Thu Jun 22, 2006 1:54 pm    Post subject: Reply with quote

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
Back to top
mek1
Cacti User


Joined: 21 Mar 2006
Posts: 55

PostPosted: Mon Jul 31, 2006 12:02 pm    Post subject: Reply with quote

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!
Back to top
carlilek



Joined: 22 Jun 2006
Posts: 11

PostPosted: Mon Jul 31, 2006 12:10 pm    Post subject: Reply with quote

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.
Back to top
mek1
Cacti User


Joined: 21 Mar 2006
Posts: 55

PostPosted: Mon Jul 31, 2006 1:48 pm    Post subject: Reply with quote

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.



snapshotapc.jpg
 Description:
 Filesize:  25.98 KB
 Viewed:  17363 Time(s)

snapshotapc.jpg


Back to top
Era_Russland



Joined: 02 Aug 2006
Posts: 7

PostPosted: Wed Aug 02, 2006 4:55 am    Post subject: APC Cel graph problem Reply with quote

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



fahr.jpg
 Description:
Correct temperature on the graph
 Filesize:  20.62 KB
 Viewed:  17275 Time(s)

fahr.jpg



cel.jpg
 Description:
no temperature on the graph
 Filesize:  19.55 KB
 Viewed:  17275 Time(s)

cel.jpg


Back to top
mek1
Cacti User


Joined: 21 Mar 2006
Posts: 55

PostPosted: Wed Aug 02, 2006 9:20 am    Post subject: Reply with quote

Did you have to make any configuration changes to get the graphs to start displaying correct temperatures? What model APC do you have? thanks
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2324
Location: Sophia-Antipolis, France

PostPosted: Wed Aug 02, 2006 9:29 am    Post subject: Re: APC Cel graph problem Reply with quote

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.
Back to top
carlilek



Joined: 22 Jun 2006
Posts: 11

PostPosted: Wed Aug 02, 2006 10:39 am    Post subject: Reply with quote

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.
Back to top
Era_Russland



Joined: 02 Aug 2006
Posts: 7

PostPosted: Thu Aug 03, 2006 12:57 am    Post subject: Re: APC Cel graph problem Reply with quote

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
Back to top
number_six



Joined: 26 Feb 2008
Posts: 1

PostPosted: Tue Feb 26, 2008 4:39 am    Post subject: Sensor = AP9512TBLK / Unit = APC9619 Reply with quote

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?



temp_apc.JPG
 Description:
 Filesize:  27.81 KB
 Viewed:  8360 Time(s)

temp_apc.JPG


Back to top
woody



Joined: 30 Apr 2008
Posts: 3

PostPosted: Tue May 06, 2008 7:32 am    Post subject: Reply with quote

hi all,

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

[/img]



graph_image.php.png
 Description:
 Filesize:  22.27 KB
 Viewed:  5784 Time(s)

graph_image.php.png


Back to top
bclaveau



Joined: 28 May 2008
Posts: 1

PostPosted: Wed May 28, 2008 1:05 pm    Post subject: Reply with quote

Has Anyone got this working for a
Smart-Ups 3000XLM with Network Management Card with Temp/Humid sensor?
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 1, 2  Next
Page 1 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group