Host template for Compaq (HP) Insight Manager.

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

Moderators: Developers, Moderators

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.

Post by mgb »

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 6019 times
BadKarma
Posts: 13
Joined: Mon Jun 21, 2004 7:36 am
Location: Londen - United Kingdom

Data query's

Post by BadKarma »

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

Post by dimi »

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

Post by mgb »

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 4127 times
mgb_compaq_Disk.xml
Template to query the disks
(1.66 KiB) Downloaded 4012 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 5027 times
dimi

Post by dimi »

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

Post by Guest »

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

Post by mgb »

They previous post, that was me :lol:

Michael
jogy

php error

Post by jogy »

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

Post by jogy »

... 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

Post by mgb »

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

Post by mletschin »

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

Post by mgb »

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:

Post by snapReality »

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

Post by scavenger67 »

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

Post by rayvd »

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

Who is online

Users browsing this forum: No registered users and 3 guests