Ad Widget
Collapse
Snmp - HP Proliant & Mibs
Collapse
X
-
Thanks a lot for your work, Kevin and for posting templates again! Are those the latest from your development? I assume that over two years since you've posted them originally you may improved it farther?OK, can't upload them here, so here are some links:
Template_HP_SNMP_Agents (for HP blades & servers):
http://goput.it/v/y4f.xml
Template_HP_Chassis (for HP Bladecenters):
http://goput.it/v/rnv.xml
-Kevin
Also, I may be doing smth. stupid, but together with the previous commentator I get the following error with Zabbix 2.0.9:
Cannot import template "Template_HP_SNMP_Agent", linked template "Template_SNMP_traps" does not exist.
Where that template comes from?
Regards,
BaTComment
-
Template_SNMP_Traps
Did anyone get anywhere with this issue on importing the HP_SNMP.xml template that go posted... When i try and import this template into our Zabbix environment which is v2.0.11 i get this error..
Cannot import template "Template_HP_SNMP_Agent", linked template "Template_SNMP_traps" does not exist.
Now obviously the reason for the error is because this template does not exist, i just don't where to find it to ensure it can import successfully. I'm trying to get SNMP working on Zabbix with HP DL servers + C7000 blade enclosure unfortunately none of the Wiki templates work as they appear to be valid with version 1.8..Comment
-
First of all thanks for this great piece of work!I was finally able to create an account on the Zabbix wiki, so I posted it there on the Servers section of the Templates page. This version doesn't have a linked template. Here's a direct link to the file:
https://www.zabbix.org/mw/images/0/0...SNMP_Agent.xml
I tried to import this template but received the error below:
ERROR: Import failed
Created: Application "Drive Array" on "Template_HP_SNMP_Agent".
Created: Application "HP SNMP Agent" on "Template_HP_SNMP_Agent".
Cannot find value map "cpqCondition" used for item "Drive Array Accelerator Condition" on "Template_HP_SNMP_Agent".
What am I doing wrong?
Regards!Comment
-
Zabbix has "issues" with value maps; I don't know a way to export/import them, I believe they need to be entered manually. I'll guess that you're using Zabbix 2.2 which I think won't let you import a template which references a value map if the map doesn't exist. It should be possible to hand-edit the template xml file to get rid of the value maps, but better to enter them so that you can see meaningful data instead of raw numbers.
Here are the value maps that I use (FYI the mappings come from the SNMP MIB files).
cpqCondition
1 ⇒ other
2 ⇒ OK
3 ⇒ degraded
4 ⇒ failed
cpqDaAccelStatus
1 ⇒ other
2 ⇒ invalid
3 ⇒ enabled
4 ⇒ tmpDisabled
5 ⇒ permDisabled
cpqDaCntlrDriveWriteCacheState
1 ⇒ other
2 ⇒ disabled
3 ⇒ enabled
cpqDaCntlrModel
1 ⇒ other
2 ⇒ ida
3 ⇒ idaExpansion
4 ⇒ ida-2
5 ⇒ smart
6 ⇒ smart-2e
7 ⇒ smart-2p
8 ⇒ smart-2sl
9 ⇒ smart-3100es
10 ⇒ smart-3200
11 ⇒ smart-2dh
12 ⇒ smart-221
13 ⇒ sa-4250es
14 ⇒ sa-4200
15 ⇒ sa-integrated
16 ⇒ sa-431
17 ⇒ sa-5300
18 ⇒ raidLc2
19 ⇒ sa-5i
20 ⇒ sa-532
21 ⇒ sa-5312
22 ⇒ sa-641
23 ⇒ sa-642
24 ⇒ sa-6400
25 ⇒ sa-6400em
26 ⇒ sa-6i
27 ⇒ sa-generic
29 ⇒ sa-p600
30 ⇒ sa-p400
31 ⇒ sa-e200
32 ⇒ sa-e200i
33 ⇒ sa-p400i
34 ⇒ sa-p800
35 ⇒ sa-e500
36 ⇒ sa-p700m
37 ⇒ sa-p212
38 ⇒ sa-p410
39 ⇒ sa-p410i
40 ⇒ sa-p411
41 ⇒ sa-b110i
42 ⇒ sa-p712m
43 ⇒ sa-p711m
44 ⇒ sa-p812
45 ⇒ sw-1210m
cpqDaLogDrvFaultTol
1 ⇒ other
2 ⇒ none
3 ⇒ mirroring
4 ⇒ dataGuard
5 ⇒ distribDataGuard
7 ⇒ advancedDataGuard
8 ⇒ raid50
9 ⇒ raid60
cpqDaLogDrvStatus
1 ⇒ other
2 ⇒ ok
3 ⇒ failed
4 ⇒ unconfigured
5 ⇒ recovering
6 ⇒ readyForRebuild
7 ⇒ rebuilding
8 ⇒ wrongDrive
9 ⇒ badConnect
10 ⇒ overheating
11 ⇒ shutdown
12 ⇒ expanding
13 ⇒ notAvailable
14 ⇒ queuedForExpansion
15 ⇒ multipathAccessDegraded
16 ⇒ erasing
cpqDaPhyDrvStatus
1 ⇒ other
2 ⇒ ok
3 ⇒ failed
4 ⇒ predictiveFailure
5 ⇒ erasing
6 ⇒ eraseDone
7 ⇒ eraseQueued
cpqTruthValue
1 ⇒ false
2 ⇒ trueComment
-
I tried Template but i have many errors :
SNMP from zabbix server to Hp server is OPEN425:20141126:102433.779 item "SSGH12:cpqDaPhyDrvReads.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvReads.0.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvReads.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvReads.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvWrites.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvWrites.0.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvWrites.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102433.786 item "SSGH12:cpqDaPhyDrvWrites.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1425:20141126:102504.076 item "SSGH12:RandomWriteRatePctMax" became not supported: Cannot evaluate function "avg(#3)": item "SSGH12:cpqDaPhyDrvWrites.0.0" not supported.
1425:20141126:102514.165 item "SSGH12:vfs.file.regmatch["/etc/init.d/snmpd","^OPTIONS=\"-Lsd","*"]" became not supported: Cannot open file: [2] No such file or directory
1421:20141126:103233.747 item "SSGH12:cpqDaAccelCondition.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.747 item "SSGH12:cpqDaAccelStatus.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.747 item "SSGH12:cpqDaAccelWriteCachePercent.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaCntlrDriveWriteCacheState.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaCntlrPerfAvgLatency.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaLogDrvCondition.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaLogDrvFltTol.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaLogDrvPerfAvgQueueDepth.0.1.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaLogDrvStatus.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaPhyDrvCondition.0.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaPhyDrvCondition.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaPhyDrvStatus.0.0" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqDaPhyDrvStatus.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqHeFltTolFanCondition.0.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
1421:20141126:103233.748 item "SSGH12:cpqHeFltTolFanCondition.1.1" became not supported: SNMP error: (noSuchName) There is no such variable name in this MIB.
for example if i try cpqDaPhyDrvCondition.0.0 (OID is 1.3.6.1.4.1.232.3.2.5.1.1.37.0.0)
snmpwalk ssgh12 -v2c -c public 1.3.6.1.4.1.232.3.2.5.1.1.37.0.0
-> there is no errors but no resultsComment
-
That's because those values are not defined in the MIB"there is no value 28 for cpqDaCntlrModel in your post
and value 6 for cpqDaLogDrvFaultTol"
This template was designed to be uses with HP BL and DL series servers (blades and pizza boxes), and has been tested with G6, G7, and G8 series servers. In our case the servers always have an IDA controller and 2 drives. If you have some other configuration you may need to change/disable any items that don't apply to your hardware."I tried Template but i have many errors"
If your server has an IDA controller, you can see what your hardware supports by walking the CPQIDA-MIB (you'll first need to copy the mib file to its proper location, i.e. /usr/share/snmp/mibs for CentOS/RHEL)
snmpwalk -v 2c -c public server-name-or-ip CPQIDA-MIB::cpqDriveArray
What kind of equipment are you using it with that is generating the errors?Comment
-
Your issue might be that your server doesn't have a Drive Array controller installed; if that's the case the CPQ-IDA mib won't help, and you'll want to remove or disable the Drive Array items in the template.
If you have the CPQSTDEQ-MIB installed, you can see what hardware is installed in your server:
If you have a Drive Array controller installed, the result will include something like this:Code:snmpwalk -v 2c -c public server-name-or-ip-address CPQSTDEQ-MIB::cpqStdEquipment | less
On CentOS/RHEL, mib files can be installed by copying them to /usr/share/snmp/mibsCode:CPQSTDEQ-MIB::cpqSePciSlotBoardName.2.0 = STRING: "HP Smart Array P420i Controller"
I usually get the mib files from an HP support pack, but they are available for download from a number of sites such as:
Comment
-
tried downloading both MIBs, but when I do an snmptranslate or snmpwalk it says "CPQSTDEQ-MIB::cpqDaNw3xDriverStatTable: Unknown Object Identifier" for example. How do I rectify this one?Comment

Comment