Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Apr 18, 2019 11:41 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 51 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Host template for Compaq (HP) Insight Manager.
PostPosted: Mon Jun 21, 2004 4:39 am 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
Created a Host template to use with Compaq (HP) machines running the Insight Manager agents.
The CPU data Query is able to detect 2CPU's in a hyperthreading machine but I'm not sure if it works for more than one CPU.

Hope this is a usefull addition.

Michael


Attachments:
File comment: Complete Host file with all the dependendent files. Not sure if you can install the data queries this way. If not, let me know and I will post the data queries sepperate.
cacti_host_template_compaq_general.xml [135.75 KiB]
Downloaded 5834 times
Top
 Profile  
 
 Post subject: Data query's
PostPosted: Mon Jun 21, 2004 7:39 am 
Offline

Joined: Mon Jun 21, 2004 7:36 am
Posts: 13
Location: Londen - United Kingdom
Hi Michael,

I Tried installing the host template but unfortunatly the snmp-query's arn't installed.
Could you please post them seperatly..

Thanx!

Eelco


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2004 8:14 am 
Hi Michael,

I have the same problem. I can't find the snmp-queries.
I hope you can fix this.


Thanx
dimi


Top
  
 
 Post subject: DataQueries
PostPosted: Mon Jun 21, 2004 9:19 am 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
O.K, :oops:

was affraid I needed to uploads the dataqueries so here they come. Place them in the resources/snmp_queries directory.

Hope you have more luck this time. :wink:

Michael


Attachments:
File comment: This data query is not mine. I only place it to be complete. Hope the author doesn' t mind.
das_compaq_temps.xml [2.18 KiB]
Downloaded 4896 times
File comment: Template to query the disks
mgb_compaq_Disk.xml [1.66 KiB]
Downloaded 3875 times
File comment: Template to query the CPU
mgb_compaq_CPU.xml [1.16 KiB]
Downloaded 3988 times
Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2004 9:56 am 
Hi,

now it looks like it works.
On which HP/compaq hardware did ypu tested it? Or with which compaq/hp insight management software version?
I think there are some differences.


Thanx
dimi


Top
  
 
 Post subject: Insight Manager version
PostPosted: Mon Jun 21, 2004 4:34 pm 
I've tested this on new hardware (HP DL380G3) with the newest insight manager and on old hardware (Proliant something). The older hardware is at least 4 years old as are the agents running on it. So far the scripts seem to work with all these machines. Still have to figure out memory. Normal and non-paged. Seems they are not the insight manager mibs but just the microsoft ones. All the machines are running windows 2k.

Cheers,
Michael


Top
  
 
 Post subject: Oops
PostPosted: Mon Jun 21, 2004 4:35 pm 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
They previous post, that was me :lol:

Michael


Top
 Profile  
 
 Post subject: php error
PostPosted: Wed Aug 25, 2004 9:08 am 
Hi,
I am new to cacti. But what I have seen so far seems quite impressive.
I found this compaq templates and WOW - that is what I need.

I imported the template, copied the queries to the proper directory...

But here i am stuck - the Data_query produces two errors:

Warning: file(/usr/share/cacti/resource/snmp_queries/mgb_compaq_cpu.xml): failed to open stream: Permission denied in /usr/share/cacti/lib/data_query.php on line 57

Warning: implode(): Bad arguments. in /usr/share/cacti/lib/data_query.php on line 57


Any help is appreciated.
Thx
jogy


Top
  
 
 Post subject:
PostPosted: Thu Aug 26, 2004 1:47 am 
... sorry, my fault.
the xml files did not have the correct acces rights. (The httpd user could not read them)
jogy


Top
  
 
 Post subject: Thanks
PostPosted: Wed Sep 01, 2004 2:50 am 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
Glad my template has some use for someone.

Found out It's not possible without installing additional software on the server to graph memory. M$ still not fully support SNMP.

Michael


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 23, 2004 10:50 am 
Offline

Joined: Tue Nov 30, 2004 11:53 am
Posts: 8
I have these running and they look great - Thanks. I do have a questionhowever. You label them as temp 1,2 ... How do we know exaclty which is which temp sensor. My boss wants me to get ones for hard drive temp, cpu temp, mem temp... That kind.

Thanks


Top
 Profile  
 
 Post subject: Temp Sensors
PostPosted: Tue Dec 28, 2004 5:05 am 
Offline
Cacti User

Joined: Mon Jun 21, 2004 4:06 am
Posts: 124
Location: North of the Netherlands
I compared the temps with the ones measured with insight manager but couldn't find any logic for the temp sensors. The script just uses the information in the mib and I couldn't find any usefull information.

Regards and best wishes,
MGB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 15, 2005 10:47 am 
Offline

Joined: Fri Feb 04, 2005 5:11 pm
Posts: 5
Location: Montreal, QC
Thanks mgb, this is exactly what I was looking for!

I needed to get CPU, Mem and Disk for older Windows NT4 servers. Using the built-in Cacti "SNMP - Get Processor Information" and "SNMP - Get Mounted Partitions" does not work on NT4 (it does with 2000/2003).

Since all these older NT4 servers are Compaqs, I was going to write my own template to query the Insight agents but came accross yours. Great already done.

Good job.


Top
 Profile  
 
 Post subject: k instead of G
PostPosted: Tue Apr 19, 2005 9:06 am 
Offline

Joined: Fri Mar 18, 2005 7:33 am
Posts: 49
Location: France
the hard disk graph is returning "k" for y axis instead of "g" as giga. how can i change that ?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 19, 2005 2:14 pm 
Offline

Joined: Mon Apr 18, 2005 6:22 pm
Posts: 6
Location: Chico, CA
Had to do a couple things to get this to work on my DL360 G3 (have yet to try it on a DL380).

In your snmp_queries directory:

mv mgb_compaq_cpu.xml mgb_compaq_CPU.xml
mv mgb_compaq_disk.xml mgb_compaq_Disk.xml

Had to edit the das_compaq_temps.xml file and remove the trailing .0 from all the OID's.

Other than that, works great!


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

All times are UTC - 5 hours


Who is online

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