Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 3:35 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: [XML] Compaq Server Health Query
PostPosted: Mon Nov 24, 2003 4:34 pm 
Offline
Cacti User

Joined: Wed Oct 29, 2003 7:08 am
Posts: 101
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-health-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


Top
 Profile  
 
 Post subject:
PostPosted: 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 :)


Top
  
 
 Post subject:
PostPosted: Mon Dec 01, 2003 12:37 pm 
Do you have one for monitoring win2k memory? Virtual memory vs physical


Top
  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 4:46 am 
Offline
Cacti User

Joined: Wed Oct 29, 2003 7:08 am
Posts: 101
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 9:28 am 
Offline

Joined: Wed Nov 24, 2004 9:11 am
Posts: 12
Location: Manchester, UK
this is excellent thanks for this


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 05, 2005 12:27 pm 
Offline
Cacti User
User avatar

Joined: Fri Dec 31, 2004 7:07 am
Posts: 247
Location: UK
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:
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 05, 2005 4:36 pm 
Offline
Cacti User
User avatar

Joined: Fri Dec 31, 2004 7:07 am
Posts: 247
Location: UK
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!


Top
 Profile  
 
 Post subject: strange..
PostPosted: Fri Jul 01, 2005 6:39 am 
Offline

Joined: Fri Mar 18, 2005 7:33 am
Posts: 49
Location: France
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 ?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 14, 2005 7:14 am 
Offline

Joined: Fri Aug 27, 2004 5:44 am
Posts: 17
Location: sweden
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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