Hi,
first: sorry for crossposting. I asked already in another forum, but found this one later. But here my question is much better placed. Maybe someone (the morderator ?) can delete the old posting in the insight remote supprt forum, i didn't find a solution to delete my own posting (the internet will never forget ...).
My question:
We have several HP servers running, and a HP FC SAN. I currently established a two node cluster with pacemaker on SLES 11 SP4. Pacemaker has a resource agent "ClusterMon" which is intended to be used for monitoring the cluster via SNMP. My SIM is already running fine and monitoring several devices.
What i did already:
I configured SNMP. I created on both nodes a resource for the ClusterMon agent. I added pcmk-mib.mib and linux-ha-mib.mib from the pacemaker package to SIM using mcompile and mxbin. They are both listet now with mxmib -l. I added one node to SIM. I have a successfull initial data collection from it and it is shown in "Events" as "Discovered system". When i mgrate e.g. a resource, several smnp packets are sent to the SIM server (checked with tcpdump). But i see nothing in events. What do i have to do that messages from the agent are shown in "Events" and i can configure SIM furthermore that i get e-Mails if something relevant happens in the cluster.
Furthermore:
Choosing Options ==> Events ==> SNMP ==> PCMK-MIB.mib i see no traps.
Also "mxmib -t PCMK-MIB.mib" shows no traps. It seems my mib file is broken ...
Next try:
There is another possibility to monitor a pacemaker cluster with SNMP:
https://github.com/sys4/pacemaker-snmp . Everything on the side of the node of the cluster went fine.
But again "mxmib -t" for the two included mib files show no traps. I think that's the problem.
HP SIM seems to not like the mib files.
mcompile throws a lot of warnings:
vm59093-4:/opt/mx/mibs # /opt/mx/bin/mcompile -d /opt/mx/mibs/ PACEMAKER.mib
HP Systems Insight Manager Mib Compiler, Version 1.0
Copyright (c) 2003 Hewlett Packard Corporation
Compiling PACEMAKER.mib
Line: 86: Warning: Expected comma, found STRING
Line: 86: Warning: Skipping unexpected comma ,
Line: 87: Warning: Expected comma, found Integer32
Line: 87: Warning: Skipping unexpected comma ,
Line: 88: Warning: Expected comma, found Integer32
Line: 91: Warning: Expected comma, found sys4PcmkNodeIndex
Line: 92: Warning: Expected comma, found SYNTAX
Line: 93: Warning: Expected comma, found MAX-ACCESS
Line: 94: Warning: Expected comma, found STATUS
Line: 95: Warning: Expected comma, found DESCRIPTION
Line: 96: Warning: Expected comma, found index
Line: 96: Warning: Expected comma, found the
Line: 96: Warning: Expected comma, found of
Line: 96: Warning: Expected comma, found pacemaker
Line: 97: Warning: Expected comma, found ::=
Line: 97: Warning: Expected comma, found sys4PcmkNodeEntry
Line: 200: Warning: Expected comma, found STRING
Line: 200: Warning: Skipping unexpected comma ,
Line: 201: Warning: Expected comma, found INTEGER
Line: 201: Warning: Skipping unexpected comma ,
Line: 202: Warning: Expected comma, found Integer32
Line: 205: Warning: Expected comma, found sys4PcmkResourceIndex
Line: 206: Warning: Expected comma, found SYNTAX
Line: 207: Warning: Expected comma, found MAX-ACCESS
Line: 208: Warning: Expected comma, found STATUS
Line: 209: Warning: Expected comma, found DESCRIPTION
Line: 210: Warning: Expected comma, found index
Line: 210: Warning: Expected comma, found the
Line: 210: Warning: Expected comma, found of
Line: 210: Warning: Expected comma, found pacemaker
Line: 211: Warning: Expected comma, found ::=
Line: 211: Warning: Expected comma, found sys4PcmkResourceEntry
Processing import file: SNMPv2-SMI.mib
Processing import file: SNMPv2-TC.mib
Processing import file: sys4-mib.mib
Mib Compilation completed successfully
Compilation for SYS4.mib went successfully.
Can anyone give me a clue what is wrong with the mib files and what i can do ? I'm not an expert with the syntax of these files.
Thanks.
Bernd