Templates for HP Servers
Moderators: Developers, Moderators
Templates for HP Servers
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)
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 10135 times
Last edited by Cova on Tue Jun 26, 2007 6:21 pm, edited 2 times in total.
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
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:
Here is the graph debug from one of them:
Any assistance would be GREATLY appreciated.
Thanks
app
Code: Select all
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:
Code: Select all
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 \
Thanks
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]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)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]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)[/list]
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.
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.
Can you post pictures?
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
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
-
- Posts: 2
- Joined: Wed May 23, 2007 7:26 am
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.
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
-
- TempGraph.PNG (15.98 KiB) Viewed 61097 times
-
- CPUGraph.PNG (29.93 KiB) Viewed 61097 times
-
- ArrayController.PNG (68.73 KiB) Viewed 61098 times
-
- DiskGraph.PNG (19.26 KiB) Viewed 61097 times
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
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
thanks
app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]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)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]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)[/list]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
can you run the data queries in verbose mode ?
can you run the data queries in verbose mode ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Hello !
Yes I can run all data query in verbose mode ! But For each query No SNMP data returned...
And my server is a HP Prolian DL380 G5.
thanks for your help
Yes I can run all data query in verbose mode ! But For each query No SNMP data returned...
Code: Select all
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'
thanks for your help
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 |
Code: Select all
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
Who is online
Users browsing this forum: No registered users and 3 guests