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    


Dell Poweredge Temperature Templates

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Brettw



Joined: 18 Mar 2005
Posts: 26

PostPosted: Mon Jan 02, 2006 7:39 pm    Post subject: Dell Poweredge Temperature Templates Reply with quote

Hi All,

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

Cheers

Brett



temp.JPG
 Description:
 Filesize:  33.92 KB
 Viewed:  26805 Time(s)

temp.JPG



Dell Poweredge separate files.zip
 Description:

Download
 Filename:  Dell Poweredge separate files.zip
 Filesize:  9.44 KB
 Downloaded:  2616 Time(s)


cacti_graph_template_dell_poweredge_temperature with data dependancies.zip
 Description:

Download
 Filename:  cacti_graph_template_dell_poweredge_temperature with data dependancies.zip
 Filesize:  3.86 KB
 Downloaded:  2300 Time(s)

Back to top
chewymix



Joined: 27 May 2005
Posts: 10

PostPosted: Wed Feb 22, 2006 11:08 am    Post subject: Reply with quote

these are great - i don't suppose you have the same sort of template available for fans do you?

thanks
Back to top
Brettw



Joined: 18 Mar 2005
Posts: 26

PostPosted: Sun Feb 26, 2006 9:58 pm    Post subject: Reply with quote

Try this post

http://forums.cacti.net/viewtopic.php?t=4369&highlight=dell+fan
Back to top
Discogalaxy



Joined: 25 Feb 2006
Posts: 20
Location: Germany

PostPosted: Thu Mar 09, 2006 6:36 am    Post subject: Reply with quote

nice work!

thank you
Back to top
tman
Cacti User


Joined: 14 Oct 2004
Posts: 94

PostPosted: Fri Mar 10, 2006 10:39 am    Post subject: Reply with quote

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


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Sat Nov 04, 2006 1:42 pm    Post subject: Reply with quote

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:
[root@ubiq-dell27-cacti2 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.



cacti_data_query_dell_poweredge_temperatures.xml
 Description:
Data query inc. all elements (GT, DS, CDEF)

Download
 Filename:  cacti_data_query_dell_poweredge_temperatures.xml
 Filesize:  25.75 KB
 Downloaded:  941 Time(s)


dell_temp.xml
 Description:
XML file for snmp_queries

Download
 Filename:  dell_temp.xml
 Filesize:  1.81 KB
 Downloaded:  813 Time(s)

Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 17009
Location: Muenster, Germany

PostPosted: Mon Nov 13, 2006 1:00 pm    Post subject: Reply with quote

Please post a walk of .1.3.6.1.4.1.674.10892.1.700.20.1
Reinhard
Back to top
adrianmarsh
Cacti User


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Wed Nov 15, 2006 8:09 pm    Post subject: Reply with quote

Here you go.. note the missing OIDs...

12.1.1
and
13.1.1



walk.txt
 Description:

Download
 Filename:  walk.txt
 Filesize:  4.13 KB
 Downloaded:  1003 Time(s)

Back to top
adrianmarsh
Cacti User


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Sat Dec 02, 2006 7:42 am    Post subject: Reply with quote

Any ideas??
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 9568
Location: WA, USA

PostPosted: Sat Dec 02, 2006 3:03 pm    Post subject: Reply with quote

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


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Mon Dec 04, 2006 8:04 am    Post subject: Reply with quote

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?
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 9568
Location: WA, USA

PostPosted: Mon Dec 04, 2006 12:19 pm    Post subject: Reply with quote

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


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Tue Dec 05, 2006 6:42 pm    Post subject: Reply with quote

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


Joined: 17 Aug 2005
Posts: 427
Location: UK

PostPosted: Sat Dec 09, 2006 1:37 pm    Post subject: Reply with quote

Tried increasing the timeout to 2000, but still no difference. I'm now experimenting with yours...
Back to top
AndrewRobinson



Joined: 04 Dec 2006
Posts: 13

PostPosted: Wed Nov 14, 2007 4:33 pm    Post subject: Reply with quote

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:'
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
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group