[XML] Compaq Server Health Query

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

Moderators: Moderators, Developers

Post Reply
Author
Message
Deano
Cacti User
Posts: 101
Joined: Wed Oct 29, 2003 7:08 am
Contact:

[XML] Compaq Server Health Query

#1 Post by Deano » Mon Nov 24, 2003 4:34 pm

I've created an SNMP Query and associated Graph/Data Templates for the Compaq Server Health - temperature MIB.

Gives graphs of each sensor with actual and threshold lines.

Details here:- http://www.eatworms.org.uk/cacti/compaq ... -temps.php

Full XML Import:- cacti_data_query_compaq_health_temperatures.xml

Query XML:- das_compaq_temps.xml

I have several more to share - but I need to tidy them up a bit first...

Deano

SolsticeDax

#2 Post by SolsticeDax » Mon Dec 01, 2003 4:16 am

heh works perfectly... not quite sure where i got it wrong when i tried this, but thanks and i can work from this example :)

Guest

#3 Post by Guest » Mon Dec 01, 2003 12:37 pm

Do you have one for monitoring win2k memory? Virtual memory vs physical

Deano
Cacti User
Posts: 101
Joined: Wed Oct 29, 2003 7:08 am
Contact:

#4 Post by Deano » Tue Dec 02, 2003 4:46 am

Wouldn't Physical memory just be constant ?

Do you have the OIDs or MIB details ?

These are the OIds for Total Available vs Comitted Memory.

memoryAvailableBytes = .1.3.6.1.4.1.311.1.1.3.1.1.1.2.0
memoryCommittedBytes = .1.3.6.1.4.1.311.1.1.3.1.1.1.3.0

I'll try and get them into a template later.

Deano

aceg3905
Posts: 12
Joined: Wed Nov 24, 2004 9:11 am
Location: Manchester, UK

#5 Post by aceg3905 » Wed Nov 24, 2004 9:28 am

this is excellent thanks for this

User avatar
pshankland
Cacti User
Posts: 247
Joined: Fri Dec 31, 2004 7:07 am
Location: UK

#6 Post by pshankland » Wed Jan 05, 2005 12:27 pm

I have imported the XML script and eveything seems to work like a charm but when I go to the device I want to monitor and under Associated Data Queries add the Compaq - Health Temperatures in I get the following error:

Code: Select all

Warning: Variable passed to each() is not an array or object in D:\Cacti\lib\data_query.php on line 490

Warning: Cannot modify header information - headers already sent by (output started at D:\Cacti\lib\data_query.php:490) in D:\Cacti\host.php on line 104
Any ideas as I have a load of Compaq servers that this would be really useful for monitoring.

Thanks.

User avatar
pshankland
Cacti User
Posts: 247
Joined: Fri Dec 31, 2004 7:07 am
Location: UK

#7 Post by pshankland » Wed Jan 05, 2005 4:36 pm

Problem was that within the Data Query the XML file couldn't be located. I copied this from the authers website into resources\snmp_queries\*.* and it now works like a charm!

scavenger67
Posts: 49
Joined: Fri Mar 18, 2005 7:33 am
Location: France

strange..

#8 Post by scavenger67 » Fri Jul 01, 2005 6:39 am

A strange things. regading the 'location' fields display when you verbose the query:
it returns only the number of the location and not the description
eg : 6 instead of cpu(6)
i use getif and throught getif if works fine.
any idea regarding the problem ?

kirigoe
Posts: 17
Joined: Fri Aug 27, 2004 5:44 am
Location: sweden
Contact:

#9 Post by kirigoe » Mon Nov 14, 2005 7:14 am

these are the location values reported by my DL380 GL if it can help anyone:

Location values: 1=other, 2=unknown, 3=system, 4=system board, 5=I/O board, 6=CPU, 7=memory, 8=storage, 9=removable media, 10=power supply, 11=ambient, 12=chassis, 13=bridge card

Post Reply