Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 1:29 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Dell Poweredge Temperature Templates
PostPosted: Mon Jan 02, 2006 7:39 pm 
Offline

Joined: Fri Mar 18, 2005 12:25 am
Posts: 26
Hi All,

Below are some temperature templates for Dell poweredge servers. It works on most servers using the latest openmanage installation.

Cheers

Brett


Attachments:
temp.JPG
temp.JPG [ 33.92 KiB | Viewed 50663 times ]
Dell Poweredge separate files.zip [9.44 KiB]
Downloaded 4909 times
cacti_graph_template_dell_poweredge_temperature with data dependancies.zip [3.86 KiB]
Downloaded 4312 times
Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 22, 2006 11:08 am 
Offline

Joined: Fri May 27, 2005 10:41 am
Posts: 10
these are great - i don't suppose you have the same sort of template available for fans do you?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 26, 2006 9:58 pm 
Offline

Joined: Fri Mar 18, 2005 12:25 am
Posts: 26
Try this post

http://forums.cacti.net/viewtopic.php?t ... t=dell+fan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 09, 2006 6:36 am 
Offline

Joined: Sat Feb 25, 2006 4:51 am
Posts: 20
Location: Germany
nice work!

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 10:39 am 
Offline
Cacti User

Joined: Thu Oct 14, 2004 4:14 pm
Posts: 97
You'll have to be careful with these as the OID's in Dell servers change depending on the server type/spec etc.

For example, an OID in one PE server that references a CPU temp might reference the backplane temp in another.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 1:42 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
I had started to put together an snmp index for Dell Temps... but I've hit a snag..

Attached are "inprogress" results (be warned!)

They simply take an SNMP Index result, and use the name as provided by the name OID. But unfortunately.. it hits a snag when reading the CPU minimum temps.

Dell have decided not to give out a value for CPU Minimum values.. so when I walk the tree I get:

Code:
[[email protected] backups]# snmpwalk -On -v1 -cpublic serv1 .1.3.6.1.4.1.674.10892.1.700.20.1.12
.1.3.6.1.4.1.674.10892.1.700.20.1.12.1.2 = INTEGER: 80
.1.3.6.1.4.1.674.10892.1.700.20.1.12.1.3 = INTEGER: 80
.1.3.6.1.4.1.674.10892.1.700.20.1.12.1.4 = INTEGER: 80
.1.3.6.1.4.1.674.10892.1.700.20.1.12.1.5 = INTEGER: 80


In my example.. the CPU is ...12.1.1 which in the OpenManage GUI gets shown as N/A.

This seems to cause Cacti to think there's an SNMP timeout, and it then marks the whole host as offline.

Code:
11/04/2006 06:26:37 PM - SYSTEM STATS: Time:95.0280 Method:cactid Processes:1 Threads:1 Hosts:12 HostsPerProcess:12 DataSources:350 RRDsProcessed:174
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[364] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[363] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[362] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[361] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[360] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[364] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[363] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[362] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[361] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[360] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[364] WARNING: SNMP timeout detected [500 ms], ignoring host 'ubiq-serv1'
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[363] WARNING: Result from SNMP not valid. Partial Result: ...
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[362] WARNING: Result from SNMP not valid. Partial Result: ...
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[361] WARNING: Result from SNMP not valid. Partial Result: ...
11/04/2006 06:26:33 PM - CACTID: Poller[0] Host[4] DS[360] WARNING: Result from SNMP not valid. Partial Result: ...



So the question is then: For reading SNMPIndexed, how can you specify that no-return isn't a failure.


Attachments:
File comment: Data query inc. all elements (GT, DS, CDEF)
cacti_data_query_dell_poweredge_temperatures.xml [25.75 KiB]
Downloaded 1792 times
File comment: XML file for snmp_queries
dell_temp.xml [1.81 KiB]
Downloaded 1570 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 13, 2006 1:00 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Please post a walk of .1.3.6.1.4.1.674.10892.1.700.20.1
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 15, 2006 8:09 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
Here you go.. note the missing OIDs...

12.1.1
and
13.1.1


Attachments:
walk.txt [4.13 KiB]
Downloaded 1666 times
Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 02, 2006 7:42 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
Any ideas??


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 02, 2006 3:03 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12158
Location: USA
Funny you should be working on Dell templates -- I just started on some this morning ;-).

Look in OpenManager in the temperatures section. Is the CPU missing any threshhold min/max values? If so, thats why they're not present via SNMP.

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 8:04 am 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
new job... new toys... same old tools...

Yeah.. Openmanage lists them as n/a... but the real question is how can we get cacti to take this into account?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 12:19 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12158
Location: USA
I've noticed that too now. Well, my snmp data query has all the thresholds, but of course many of them are not present for some devices. Actually, all I notice in my cacti log is a warning about snmp being invalid, NOT cacti getting an snmp timeout.

Have you tried increasing the timeouts for that device? Don't forget about the ones in php.ini too.

I don't think there really is any way for cacti to take this lack of data into account...easily.

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 05, 2006 6:42 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
One way would be to have an "exception" list per DS.. so that you could - by default - treat all normal DSs as normal, but for cases where you want to ignore certain DSs, you could "blacklist" those OIDs.. maybe.. Not sure how that would work if the indexes shifted..


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 09, 2006 1:37 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 435
Location: UK
Tried increasing the timeout to 2000, but still no difference. I'm now experimenting with yours...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 4:33 pm 
Offline

Joined: Mon Dec 04, 2006 6:18 am
Posts: 13
Trying to use this on a PowerEdge 2650, latest version of OpenManage, using Cacti 0.8.7, MySQL 5.0.45, PHP 5.2.5, Apache 2.2.6

Getting the following error from RRDTool:

RRDTool Command:

c:/cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="LANDISA - Temperature" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Temperature (Celsius)" \
--slope-mode \
--font TITLE:10:c:/windows/fonts/calibri.ttf \
--font AXIS:8:c:/windows/fonts/calibri.ttf \
--font LEGEND:8:c:/windows/fonts/calibri.ttf \
--font UNIT:8:c:/windows/fonts/calibri.ttf \
DEF:a="C\:/htdocs/cacti/rra/landisa_pege_amb_temp_83.rrd":pege_amb_temp:AVERAGE \
DEF:b="C\:/htdocs/cacti/rra/landisa_pege_cpu1_temp_84.rrd":pege_cpu1_temp:AVERAGE \
DEF:c="C\:/htdocs/cacti/rra/landisa_pege_cpu2_temp_85.rrd":pege_cpu2_temp:AVERAGE \
DEF:d="C\:/htdocs/cacti/rra/landisa_pege_riser_temp_87.rrd":pege_riser_temp:AVERAGE \
DEF:e="C\:/htdocs/cacti/rra/landisa_pege_planar_temp_86.rrd":pege_planar_temp:AVERAGE \
LINE1:a#FF0000:"Ambient" \
GPRINT:a:LAST:"Last\:" \
GPRINT:a:AVERAGE:"Average\:" \
GPRINT:a:MAX:"Max\:\n" \
LINE1:b#FF7D00:"CPU1" \
GPRINT:b:LAST:" Last\:" \
GPRINT:b:AVERAGE:"Average\:" \
GPRINT:b:MAX:"Max\:\n" \
LINE1:c#FF5700:"CPU2" \
GPRINT:c:LAST:" Last\:" \
GPRINT:c:AVERAGE:"Average\:" \
GPRINT:c:MAX:"Max\:\n" \
LINE1:d#B90054:"Riser" \
GPRINT:d:LAST:" Last\:" \
GPRINT:d:AVERAGE:"Average\:" \
GPRINT:d:MAX:"Max\:\n" \
LINE1:e#FF5576:"Planar" \
GPRINT:e:LAST:" Last\:" \
GPRINT:e:AVERAGE:"Average\:" \
GPRINT:e:MAX:"Max\:\n"
RRDTool Says:

ERROR: bad format for GPRINT in 'Last:'


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 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