Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 8:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 53 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Templates for HP Servers
PostPosted: Fri Mar 23, 2007 3:30 pm 
Offline

Joined: Mon Nov 27, 2006 1:47 pm
Posts: 15
As I said a while back over in the other HP-related thread - I've been working on a set of templates based on the SNMP information made available by HP's Insight Agents. Some of these OIDs are available on any system with the HP agents installed, some of them are specific to the windows agent. There is a OID tree specific to linux agents as well, however they don't really provide much on an ESX host and I don't have physical HP linux boxes to develop templates against. OIDs that should be available on any OS with the agents installed I've labeled as "generic OIDs".

In the attached zip is a single export of my templates from Cacti 0.8.6j - hopefully it detected all the dependancies correctly and isn't missing anything and also doesn't include too much extra. There are also 6 data queries (the 6 small files) that need to be installed into your <cacti_path>/resource/snmp_queries/ directory.

These templates currently allow for monitoring:
CPU Utilization (User/System time - uses Windows agent OIDs)
Memory Faults (soft/hard faults per second - uses Windows agent OIDs)
NIC Utilization (Bytes/Packets sent/received, queue, errors - uses Windows agent OIDs)
Disk Utilization (Bytes/IOs read/write per second, queue length - uses Windows agent OIDs)
Temperature sensors (current temp + threshold - uses generic agent OIDs)
SmartArray Controller utilization (commands / sec, raid CPU utilization, command latency - uses generic agent OIDs)
SmartArray Logical Drive utilization (read/write IOs per second, cache hits/misses/depth, read/read-ahead/write sectors per second - uses generic agent OIDs)

Update:
There might be some un-documented fixes scattered around. I re-exported it to get the new graphs below included. You're also likely getting my 5-year RRA - since all RRA's are selected by default you'll have to go through and delete that one if you don't want to keep data for that long.

SmartArray Physical Disk info (read/write sectors per second, some static drive info (serial no, firmware, etc.) - uses generic agent OIDs)


Attachments:
HP-Windows-Server.zip [22.76 KiB]
Downloaded 8098 times


Last edited by Cova on Tue Jun 26, 2007 6:21 pm, edited 2 times in total.
Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 26, 2007 4:55 am 
Offline
Cacti User

Joined: Fri Feb 02, 2007 8:36 am
Posts: 78
Location: Eindhoven/The Netherlands
Thank you!
Implementing them right now one some Vmware ESX servers, and they seems to be working great(the non-windows parts).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 27, 2007 1:08 pm 
Offline

Joined: Tue Aug 01, 2006 10:24 am
Posts: 34
Great work - thank you for posting these!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 25, 2007 3:17 pm 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
Thanks for these great templates. I am having a problem on a couple of my machines. Some of the data just does not show up on them. At first, i thought it was because the systems are DL360 G5s, and things may have changed from the G4 to the G5, but that doesnt appear to be the problem. On one system, the LogicalDrive IOs doesn't show a graph, but on another one, that graph shows up great, but the ArrayController doesn't seem to work. In the log file for these it says:
Code:
04/25/2007 01:11:00 PM - CMDPHP: Poller[0] Host[148] DS[1489] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:11:00 PM - CMDPHP: Poller[0] Host[148] DS[1489] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:54 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3259] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3258] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3258] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:52 PM - CMDPHP: Poller[0] Host[238] DS[3258] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:30 PM - CMDPHP: Poller[0] Host[221] DS[2761] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:30 PM - CMDPHP: Poller[0] Host[221] DS[2761] WARNING: Result from SNMP not valid. Partial Result:
04/25/2007 01:10:30 PM - CMDPHP: Poller[0] Host[221] DS[2761] WARNING: Result from SNMP not valid. Partial Result:


Here is the graph debug from one of them:
Code:
Data Source Debug

E:/rrdtool/rrdtool.exe create \
E:/cacti/rra/emymas_cpupercent_2761.rrd \
--step 300  \
DS:CPUPercent:GAUGE:600:0:U \
DS:CmdCount:GAUGE:600:0:U \
DS:AvgLatency:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:AVERAGE:0.5:864:732 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MIN:0.5:864:732 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:MAX:0.5:864:732 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
RRA:LAST:0.5:864:732 \


Any assistance would be GREATLY appreciated.

Thanks

app

_________________
Cacti Version - 0.8.7b
Plugin Architecture - 2.2 Beta
Poller Type - CMD.php
Server Info - Linux 2.6.9-78.0.1.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
MySQL - 4.1.22
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    Global Plugin Settings (settings - v0.5)
    SuperLinks (superlinks - v0.72)
    Host Info (hostinfo - v0.2)
    Report Creator (reports - v0.3)
    Update Checker (update - v0.4)
    Realtime for Cacti (realtime - v0.35)
    Cacti Log View (clog - v1.1)
    RRD File Cleaner (rrdclean - v0.36)
    Network Discovery (discovery - v0.9)
    Uptime (uptime - v0.4)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 30, 2007 4:06 pm 
Offline

Joined: Mon Nov 27, 2006 1:47 pm
Posts: 15
I'm afraid I often have the same problem with some hosts. It seems to be a bug in the HP SNMP agents - rebooting the host usually fixes it. Unfortunately having cacti problems isn't enough justification to reboot production servers here so I usually have to wait till the next microsoft patch cycle.

If you run an snmpwalk against the servers showing that problem you will notice that they don't return any data at all. I've got a windows 2000 / SQL 2000 server here right now that the entire .1.3.6.1.4.1.232.19 tree is missing - though it was there a couple weeks ago. Neither restarting the SNMP service or the HP Insight Agents resolves the problem.


Top
 Profile  
 
 Post subject: Can you post pictures?
PostPosted: Thu May 24, 2007 5:57 pm 
Offline

Joined: Thu May 24, 2007 5:55 pm
Posts: 1
I'm very curious what the temperature graph looks like. Can someone post some pictures of some temperature data?

I don't have Cacti currently running (I will shortly), but I'd love to see what it can do against HP temperature information.

Thanks!

Rich


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 25, 2007 2:04 am 
Offline

Joined: Wed May 23, 2007 7:26 am
Posts: 2
Good morning fellow mates!
Has anybody made some templates for Disk Array Physical Drives too?
if so, then i would appreciate that a lot.

Cheers.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 15, 2007 5:39 pm 
Offline
User avatar

Joined: Tue Dec 27, 2005 5:36 pm
Posts: 36
Note: I had to increase the width of the graph templates to be 525. It was cutting of the "m" in the maximum fields.

Looking at the graphs this morning and I'm seeing 94.68 for maximum command latency and I'm thinking HOLY SH!T! It's taking over a minute and a half to complete SCSI commands!!!

:oops:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 26, 2007 6:15 pm 
Offline

Joined: Mon Nov 27, 2006 1:47 pm
Posts: 15
Ok - did some more work on these. I'll update the original post in a moment with a new version of the attachment. Here's some screens of graphs - this is NOT a complete set of all the graphs included in the host template.

Yes - it now does disk array physical drives too. Anything else you'd like graphed from the HP Insight Agent MIBs, post in this thread and I'll see if it can be done.


Attachments:
DiskGraph.PNG
DiskGraph.PNG [ 19.26 KiB | Viewed 55519 times ]
ArrayController.PNG
ArrayController.PNG [ 68.73 KiB | Viewed 55520 times ]
CPUGraph.PNG
CPUGraph.PNG [ 29.93 KiB | Viewed 55519 times ]
TempGraph.PNG
TempGraph.PNG [ 15.98 KiB | Viewed 55519 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 27, 2007 11:07 am 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
These templates ROCK!!!!! I mean they were great before, but the fact that we can now see down to the individual disk level, that is very cool. Now i need to add this to all of my systems. I will look through everything else that HPInsight collects, and let you know if i see anything else useful.

thanks

app

_________________
Cacti Version - 0.8.7b
Plugin Architecture - 2.2 Beta
Poller Type - CMD.php
Server Info - Linux 2.6.9-78.0.1.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
MySQL - 4.1.22
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    Global Plugin Settings (settings - v0.5)
    SuperLinks (superlinks - v0.72)
    Host Info (hostinfo - v0.2)
    Report Creator (reports - v0.3)
    Update Checker (update - v0.4)
    Realtime for Cacti (realtime - v0.35)
    Cacti Log View (clog - v1.1)
    RRD File Cleaner (rrdclean - v0.36)
    Network Discovery (discovery - v0.9)
    Uptime (uptime - v0.4)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 10:03 am 
Offline
Cacti User
User avatar

Joined: Fri Jan 25, 2008 8:43 am
Posts: 271
Location: California - USA
hello !

I've get the seven small file in <cacti-path>/ressource/snmp_queries and after this, I've imported the big file into cacti.

I've created new host and associed the host template. All Associated data Querie are the status "Success" but each of them are 0 items and 0 rows ...

why ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 10:06 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi

can you run the data queries in verbose mode ?

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 1:41 am 
Offline
Cacti User
User avatar

Joined: Fri Jan 25, 2008 8:43 am
Posts: 271
Location: California - USA
Hello !

Yes I can run all data query in verbose mode ! But For each query No SNMP data returned...

Code:
Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/hpWinOSMgmt-CPU.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.232.19.2.3.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/hpWinOSMgmt-CPU.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/hpWinOSMgmt-CPU.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/hpWinOSMgmt-CPU.xml'


And my server is a HP Prolian DL380 G5.

thanks for your help


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 2:10 am 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12158
Location: USA
Post a snmpwalk of .1.3.6.1.4.1.232.19.2.3.2.1

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 04, 2008 2:23 am 
Offline
Cacti User
User avatar

Joined: Fri Jan 25, 2008 8:43 am
Posts: 271
Location: California - USA
Code:
chmscacti:/var/www/cacti# snmpwalk -c public -v1 172.25.16.23 .1.3.6.1.4.1.232.19.2.3.2.1
End of MIB


hum ! Why ?? lol


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 53 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 2 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