Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 11:55 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: APC Environmental Management System Templates
PostPosted: Wed Dec 14, 2005 9:25 pm 
Offline

Joined: Fri Mar 18, 2005 12:25 am
Posts: 26
Only Graphs Temp & Humidity at the moment.

Single & Dual probe templates below

Let me know if you need anything else.

Brett


Attachments:
cacti_graph_template_apc_environmental_management_system_single_probe.xml [14.86 KiB]
Downloaded 3937 times
cacti_graph_template_apc_environmental_management_system_dual_probe.xml [24.61 KiB]
Downloaded 2906 times
untitled.JPG
untitled.JPG [ 35.5 KiB | Viewed 46289 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 17, 2005 12:55 am 
Offline

Joined: Fri Sep 23, 2005 11:33 pm
Posts: 24
How do I make it use F temperature instead of C?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 18, 2005 4:17 pm 
Offline

Joined: Fri Mar 18, 2005 12:25 am
Posts: 26
I think you need to set it on the device itself.

Under tools\preferences.

Did you manage to get the script imported?

Brett


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 07, 2006 8:31 pm 
Offline

Joined: Sun Jul 16, 2006 7:03 pm
Posts: 5
I get this error can anyone help?

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="APPCORE - APC Environmental Management System" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/usr/share/cacti/site/rra/appcore_apc_env_tmp_1_229.rrd":apc_env_tmp_1:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/appcore_apc_env_hum_1_228.rrd":apc_env_hum_1:AVERAGE \
LINE2:a#FF0000:"Probe 1 Temp\:" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE2:b#FF7D00:"Probe 1 Humidity\:" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n"
RRDTool Says:

ERROR: opening '/usr/share/cacti/site/rra/appcore_apc_env_tmp_1_229.rrd': No such file or directory


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 07, 2006 8:51 pm 
Offline

Joined: Sun Jul 16, 2006 7:03 pm
Posts: 5
I have it working but now there is no data in the graphs etc. I have an APC AP9320 APC Environmental Management System. Can someone tell me how to get the data to work. Do i have wrong oids etc.

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="APPCORE - APC Environmental Management System" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
DEF:a="/usr/share/cacti/site/rra/appcore_apc_env_tmp_1_229.rrd":apc_env_tmp_1:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/appcore_apc_env_hum_1_228.rrd":apc_env_hum_1:AVERAGE \
LINE2:a#FF0000:"Probe 1 Temp\:" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE2:b#FF7D00:"Probe 1 Humidity\:" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n"


Top
 Profile  
 
 Post subject: OID
PostPosted: Thu Jan 11, 2007 2:33 am 
Offline

Joined: Fri Feb 17, 2006 1:30 am
Posts: 7
Location: Australia
Apparently there are at least 2 versions of the environment monitor with different OID's.

The script above seems to be setup for the APC 9312 card.

It wouldnt work for me and I have an AP9619 card with environment sensor.

Modified script is for AP 9612 - 9619

# APC 9612 - 9619 card
.1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1 (temperature)
.1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1 (humidity)

# APC 9312 series card
1.3.6.1.4.1.318.1.1.2.1.1.0 (temperature sensor 1)
1.3.6.1.4.1.318.1.1.2.1.2.0 (humidity sensor 1)
1.3.6.1.4.1.318.1.1.2.1.3.0 (temperature sensor 2)
1.3.6.1.4.1.318.1.1.2.1.4.0 (humidity sensor 2)


Attachments:
File comment: Modified script
cacti_graph_template_apc_environmental_management_9619.zip [2.7 KiB]
Downloaded 2066 times
Top
 Profile  
 
 Post subject: -1 for temp and humidity on 9619
PostPosted: Tue Mar 20, 2007 2:02 pm 
Offline
Cacti User

Joined: Mon Oct 06, 2003 5:40 pm
Posts: 132
Location: Stanford, CA
My 9619 returns -1 for the 9619 temp and humidity OIDs - are they not all the same?:

[[email protected] fcocquyt]# snmpwalk -v 1 -c public UPS-01 .1.3.6.1.4.1.318.1.1.10.2.3.2.1.6.1
SNMPv2-SMI::enterprises.318.1.1.10.2.3.2.1.6.1 = INTEGER: -1
[[email protected] fcocquyt]# snmpwalk -v 1 -c public UPS-01 .1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1
SNMPv2-SMI::enterprises.318.1.1.10.2.3.2.1.4.1 = INTEGER: -1
[[email protected] fcocquyt]# snmpwalk -v 1 -c public UPS-01
SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v3.6.8 PF:v2.6.4 PN:apc_hw02_aos_264.bin AF1:v2.6.1 AN1:apc_hw02_sumx_261.bin MN:AP9619 HR:A10 SN: NA0637020606 MD:09/10/2006) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.318.1.3.2.13
SNMPv2-MIB::sysUpTime.0 = Timeticks: (697444597) 80 days, 17:20:45.97


Top
 Profile  
 
 Post subject: OIDs for AP9340
PostPosted: Tue Mar 27, 2007 5:00 am 
Offline

Joined: Wed Jan 24, 2007 4:15 am
Posts: 11
OIDs for AP9340
Temp1: 1.3.6.1.4.1.318.1.1.10.4.2.3.1.5.0.1
Temp2: 1.3.6.1.4.1.318.1.1.10.4.2.3.1.5.0.2
Humidity: 1.3.6.1.4.1.318.1.1.10.4.2.3.1.6.0.1
and Uptime (in minutes): .1.3.6.1.2.1.1.3.0


Attachments:
cacti_graph_template_apc_environmental_management_system_dual_probe.xml [24.3 KiB]
Downloaded 2079 times
Top
 Profile  
 
 Post subject: templates graphs for AP9319,9320 probe
PostPosted: Mon Sep 15, 2008 3:40 am 
Offline

Joined: Mon Sep 15, 2008 3:38 am
Posts: 1
hi everybdy,

Do you have templates (graphs) for AP9319, AP9320 probes?

Thanks in advance


Top
 Profile  
 
 Post subject: Re: templates graphs for AP9319,9320 probe
PostPosted: Wed Oct 15, 2008 10:43 pm 
Offline

Joined: Wed Oct 15, 2008 10:41 pm
Posts: 5
jgeret wrote:
hi everybdy,

Do you have templates (graphs) for AP9319, AP9320 probes?

Thanks in advance


I used the XML templates originally posted by Brettw, and they worked for my APC AP9319 Environmental Monitoring Unit ("EMU") - except it's graphing the temperature in Celsius, and my EMU AP9319 is set to Fahrenheit under System>Preferences.

Any thoughts?


Top
 Profile  
 
 Post subject: Re: templates graphs for AP9319,9320 probe
PostPosted: Thu Oct 16, 2008 4:28 pm 
Offline

Joined: Wed Oct 15, 2008 10:41 pm
Posts: 5
drsprite wrote:
jgeret wrote:
hi everybdy,

Do you have templates (graphs) for AP9319, AP9320 probes?

Thanks in advance


I used the XML templates originally posted by Brettw, and they worked for my APC AP9319 Environmental Monitoring Unit ("EMU") - except it's graphing the temperature in Celsius, and my EMU AP9319 is set to Fahrenheit under System>Preferences.

Any thoughts?


I found a solution in this post. This post worked for my AP9319 and graphs in fahrenheit. Thanks!!

http://forums.cacti.net/about11794.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 05, 2008 11:50 am 
Offline

Joined: Thu Sep 13, 2007 1:13 pm
Posts: 13
So I have a AP3940 with an extenstion module. Which templates should I be using? (I have a mix of Temp Probes and Temp/Hum Probes.)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 09, 2008 11:03 am 
Offline

Joined: Tue Dec 09, 2008 1:19 am
Posts: 1
I am having a great deal of difficulty in trying to locate an inconsistency that I cannot otherwise find the solution to:

I am currently successfully graphing temperature and humidity via SNMP thanks to the graph templates made available in this post. I have also successfully been able to convert from Celsius to Fahrenheit with the application of the proper CDEF. Everything is looking good with the exception of decimals.

In the web front, I get say, the number 25.65 °C, but the SNMP GET -or- WALK always return just the integer 25. Because this is what SNMP returns, thats what is getting graphed.

I would like to pull from SNMP the same value that is being displayed in the web interface _with_ decimals not just integer values being returned. However I cannot seem to find this exact value in any of the SNMP walks, nor can I see any way it is calculated.

Does anyone know if this is either a limitation of sorts or if there is something I can do using SNMP that will return exact results.


Please let me know if anyone has any insights into this rather odd issue I've observed. From the sample graphs in this post, it appears many others are experiencing the same issue.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 17, 2009 6:31 am 
Offline

Joined: Mon Jan 19, 2009 7:18 am
Posts: 4
Hi,

I have the template and graph above working with my APC Env monitor. We also have some fairly basic homemade constact sensors for fooding (contact sensor 1) and door entry (2)

How can i add these to the same graph?

Regards

Jon


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 17, 2009 6:33 am 
Offline

Joined: Mon Jan 19, 2009 7:18 am
Posts: 4
Hi,

I have the template and graph above working with my APC Env monitor. We also have some fairly basic homemade constact sensors for fooding (contact sensor 1) and door entry (2)

How can i add these to the same graph?

Regards

Jon


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group