Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Host template for Compaq (HP) Insight Manager.
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
mgb
Cacti User


Joined: 21 Jun 2004
Posts: 119
Location: North of the Netherlands

PostPosted: Mon Jun 21, 2004 4:39 am    Post subject: Host template for Compaq (HP) Insight Manager. Reply with quote

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



cacti_host_template_compaq_general.xml
 Description:
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.

Download
 Filename:  cacti_host_template_compaq_general.xml
 Filesize:  135.75 KB
 Downloaded:  4321 Time(s)

Back to top
BadKarma



Joined: 21 Jun 2004
Posts: 13
Location: Londen - United Kingdom

PostPosted: Mon Jun 21, 2004 7:39 am    Post subject: Data query's Reply with quote

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
Back to top
dimi
Guest





PostPosted: Mon Jun 21, 2004 8:14 am    Post subject: Reply with quote

Hi Michael,

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


Thanx
dimi
Back to top
mgb
Cacti User


Joined: 21 Jun 2004
Posts: 119
Location: North of the Netherlands

PostPosted: Mon Jun 21, 2004 9:19 am    Post subject: DataQueries Reply with quote

O.K,

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.

Michael



das_compaq_temps.xml
 Description:
This data query is not mine. I only place it to be complete. Hope the author doesn' t mind.

Download
 Filename:  das_compaq_temps.xml
 Filesize:  2.18 KB
 Downloaded:  3920 Time(s)


mgb_compaq_Disk.xml
 Description:
Template to query the disks

Download
 Filename:  mgb_compaq_Disk.xml
 Filesize:  1.66 KB
 Downloaded:  3005 Time(s)


mgb_compaq_CPU.xml
 Description:
Template to query the CPU

Download
 Filename:  mgb_compaq_CPU.xml
 Filesize:  1.16 KB
 Downloaded:  3122 Time(s)

Back to top
dimi
Guest





PostPosted: Mon Jun 21, 2004 9:56 am    Post subject: Reply with quote

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
Back to top
Guest






PostPosted: Mon Jun 21, 2004 4:34 pm    Post subject: Insight Manager version Reply with quote

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
Back to top
mgb
Cacti User


Joined: 21 Jun 2004
Posts: 119
Location: North of the Netherlands

PostPosted: Mon Jun 21, 2004 4:35 pm    Post subject: Oops Reply with quote

They previous post, that was me

Michael
Back to top
jogy
Guest





PostPosted: Wed Aug 25, 2004 9:08 am    Post subject: php error Reply with quote

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
Back to top
jogy
Guest





PostPosted: Thu Aug 26, 2004 1:47 am    Post subject: Reply with quote

... sorry, my fault.
the xml files did not have the correct acces rights. (The httpd user could not read them)
jogy
Back to top
mgb
Cacti User


Joined: 21 Jun 2004
Posts: 119
Location: North of the Netherlands

PostPosted: Wed Sep 01, 2004 2:50 am    Post subject: Thanks Reply with quote

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
Back to top
mletschin



Joined: 30 Nov 2004
Posts: 8

PostPosted: Thu Dec 23, 2004 10:50 am    Post subject: Reply with quote

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
Back to top
mgb
Cacti User


Joined: 21 Jun 2004
Posts: 119
Location: North of the Netherlands

PostPosted: Tue Dec 28, 2004 5:05 am    Post subject: Temp Sensors Reply with quote

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
Back to top
snapReality



Joined: 04 Feb 2005
Posts: 5
Location: Montreal, QC

PostPosted: Fri Apr 15, 2005 10:47 am    Post subject: Reply with quote

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.
Back to top
scavenger67



Joined: 18 Mar 2005
Posts: 49
Location: France

PostPosted: Tue Apr 19, 2005 9:06 am    Post subject: k instead of G Reply with quote

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

thanks
Back to top
rayvd



Joined: 18 Apr 2005
Posts: 6
Location: Chico, CA

PostPosted: Tue Apr 19, 2005 2:14 pm    Post subject: Reply with quote

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!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 



Powered by phpBB © 2001, 2005 phpBB Group