Host template for Compaq (HP) Insight Manager.

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

Moderators: Moderators, Developers

Author
Message
mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

Host template for Compaq (HP) Insight Manager.

#1 Post by mgb » Mon Jun 21, 2004 4:39 am

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
cacti_host_template_compaq_general.xml
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.
(135.75 KiB) Downloaded 5924 times

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

Data query's

#2 Post by BadKarma » Mon Jun 21, 2004 7:39 am

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

dimi

#3 Post by dimi » 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

mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

DataQueries

#4 Post by mgb » Mon Jun 21, 2004 9:19 am

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
mgb_compaq_CPU.xml
Template to query the CPU
(1.16 KiB) Downloaded 4068 times
mgb_compaq_Disk.xml
Template to query the disks
(1.66 KiB) Downloaded 3930 times
das_compaq_temps.xml
This data query is not mine. I only place it to be complete. Hope the author doesn' t mind.
(2.18 KiB) Downloaded 4972 times

dimi

#5 Post by dimi » 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

Guest

Insight Manager version

#6 Post by Guest » 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

mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

Oops

#7 Post by mgb » Mon Jun 21, 2004 4:35 pm

They previous post, that was me :lol:

Michael

jogy

php error

#8 Post by jogy » 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

jogy

#9 Post by jogy » 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

mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

Thanks

#10 Post by mgb » Wed Sep 01, 2004 2:50 am

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

mletschin
Posts: 8
Joined: Tue Nov 30, 2004 11:53 am

#11 Post by mletschin » Thu Dec 23, 2004 10:50 am

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

mgb
Cacti User
Posts: 124
Joined: Mon Jun 21, 2004 4:06 am
Location: North of the Netherlands

Temp Sensors

#12 Post by mgb » Tue Dec 28, 2004 5:05 am

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

snapReality
Posts: 5
Joined: Fri Feb 04, 2005 5:11 pm
Location: Montreal, QC
Contact:

#13 Post by snapReality » Fri Apr 15, 2005 10:47 am

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.

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

k instead of G

#14 Post by scavenger67 » Tue Apr 19, 2005 9:06 am

the hard disk graph is returning "k" for y axis instead of "g" as giga. how can i change that ?

thanks

rayvd
Posts: 6
Joined: Mon Apr 18, 2005 6:22 pm
Location: Chico, CA

#15 Post by rayvd » Tue Apr 19, 2005 2:14 pm

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!

Post Reply