Zum Inhalt springen

Erzeugung eines Testevents mit IBM Director


Empfohlene Beiträge

Geschrieben

Hallo zusammen, ich kämpfe mich derzeit mit dem IBM Director 6.2 ab.

Gibt es jemanden hier, der sich damit auskennt?

Habe bereits im Forum von IBM gepostet und keine Antwort bekommen, Redbooks und IBM Dokumente gelesen, Google wie ein Irrer durchforstet und mich mit der denkbar schlechten Hotline von IBM abgeqäult.

Und zwar geht es um die Frage, wie ich Testevents erzeuge.

Ich habe in meinen Recherchen herausgefunden, dass das Tool "genevent" dafür das richtige ist.

An dem Director-Server muss ich "smcli genevent" ausführen, da es genevent dort scheinbar nicht standalone gibt.

"smcli Benutzername genevent /text:"Test" /compcat:"TestCat" /comptype:"TestTyp" funktioniert.

Jetzt möchte ich das Testevent jedoch vom Client mit Platform-Agent starten. Dort gibt es smcli wiederum nicht, so dass ich genevent in der Konsole ausführen muss . Dieses Genevent hat aber scheinbar eine völlig andere Syntax, als das Genevent am Server.

Wenn ich Genevent ohne Parameter starte, lande ich im Interactive-Mode.

Dort kann ich zwischen verschiedenen Namespaces wählen


Genevent interactive mode

0.  root/subscription

1.  root/subscription/ms_409

2.  root/qlogic_cmpi

3.  root/DEFAULT

4.  root/DEFAULT/ms_409

5.  root/IBMSD

6.  root/IBMSD/IBMSD

7.  root/CIMV2

8.  root/CIMV2/Security

9.  root/CIMV2/Security/MicrosoftTpm

10.  root/CIMV2/power

11.  root/CIMV2/power/ms_409

12.  root/CIMV2/ms_409

13.  root/CIMV2/TerminalServices

14.  root/CIMV2/TerminalServices/ms_409

15.  root/PG_Internal

16.  root/Cli

17.  root/Cli/MS_409

18.  root/nap

19.  root/adpt

20.  root/SECURITY

21.  root/PG_InterOp

22.  root/RSOP

23.  root/RSOP/User

24.  root/RSOP/User/ms_409

25.  root/RSOP/Computer

26.  root/RSOP/Computer/ms_409

27.  root/WMI

28.  root/WMI/ms_409

29.  root/IBMSE

30.  root/directory

31.  root/directory/LDAP

32.  root/directory/LDAP/ms_409

33.  root/Policy

34.  root/Policy/ms_409

35.  root/Interop

36.  root/Interop/ms_409

37.  root/Hardware

38.  root/Hardware/ms_409

39.  root/LSI_MR_1_3_0

40.  root/Microsoft

41.  root/Microsoft/HomeNet

42.  root/aspnet

43.  root/brocade

Select the namespace:
Wähle ich nun "2" um ein IBMSD (Systems Director) Event zu generieren, komme ich zu folgender Auswahl.
NameSpace =root/IBMSD

The following classes derive from CIM_AlertIndication.

0.  IBMPSG_ProcessorPFEvent

1.  IBM_MgmtHwLogClearEvent

2.  IBMPSG_PowerSupplyEvent

3.  CIM_SecurityIndication

4.  CIM_IPNetworkSecurityIndication

5.  CIM_IPPacketFilterIndication

6.  IBMPSG_NetworkAdapterSwitchOverEvent

7.  CIM_AlertInstIndication

8.  IBMPSG_NetworkAdapterOnlineEvent

9.  CIM_IndicationSubscriptionAlert

10.  CIM_ThresholdIndication

11.  IBMPSG_VoltageEvent

12.  IBMPSG_MemoryPFEvent

13.  IBM_MgmtHwLogFullEvent

14.  IBMPSG_NetworkAdapterSwitchBackEvent

15.  IBMPSG_NetworkAdapterOfflineEvent

16.  IBM_AlertIndication

17.  IBM_MgmtHwLogStatus

18.  IBM_MgmtHwLogEntryEvent

19.  IBMPSG_FanEvent

20.  IBMPSG_TemperatureEvent

21.  IBMx_AutomaticServerRestartEvent

Select the indication class:
Jetzt wähle ich mit "12" beispielsweise einen Speicherfehler und anschließend mit "2" als Ausmaß "Schwerwiegend". Dann stürzt Genevent mit folgender Fehlermeldung ab:
ClassName =IBMPSG_MemoryPFEvent


NameSpace =root/IBMSD


Severity =2


 Exception: Class IBMPSG_IndicationGenerator not in repository : CIM_ERR_NOT_FOU

ND


 Please check if required MOF's for this tool are compiled


 For more information refer to :-

 https://w3.tap.ibm.com/w3ki/display/cvincent/CIMOM+Configuration+Guide#CIMOMCon

figurationGuide-ValidatingIndicationFlow
Die URL, die angegeben ist, ist nicht verfügbar. Ich habe leider wenig Ahnung von MOF-Dateien - Daher habe ich mit
mofcomp n:root\IBMSD "C:\Program Files (x86)\Common Files\ibm\icc\cimom\mof\ibmsd.mof"

versucht IBMSD zu implementieren.

Der Import scheint auch geklappt zu haben ("Done!")

Genevent schlägt jedoch immer noch fehl.

Ich hoffe ihr könnt mir helfen, bin derzeit ziemlich am verzweifeln.

  • 8 Monate später...
Geschrieben

hy!!!

falls noch von interesse könnte das vielleicht helfen.

If this is the first time you have issued the genevent command from the Beta system, then

you may see an error message. You will need to enable the genevent tool. Use the

following procedure, if needed:

__ c. Compile the DiagnosticProviderSchema.mof in root/ibmsd:

mofcomp -N:root\ibmsd -class:safeupdate "c:\Program Files\Common

Files\IBM\icc\cimom\mof\DiagnosticProviderSchema.mof"

__ d. Compile the DiagnosticProviderRegistration.mof in root/PG_InterOp:

mofcomp -N:root\PG_InterOp -class:safeupdate "c:\Program Files\Common

Files\IBM\icc\cimom\mof\DiagnosticProviderRegistration.mof"

__ e. Stop the wmicimserver.

net stop wmicimserver

__ f. Stop wmicpa.

taskkill /F /IM wmicpa.exe

__ g. Stop wmiprsve.

taskkill /F /IM wmiprvse.exe

__ h. Restart the wmicimserver.

net start wmicimserver

__ i. Wait about five minutes so that the stack is completely up and running.

__ j. Rerun the genevent command.

gruß

dc8030

Erstelle ein Benutzerkonto oder melde Dich an, um zu kommentieren

Du musst ein Benutzerkonto haben, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen. Es ist einfach!

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde Dich hier an.

Jetzt anmelden

Fachinformatiker.de, 2024 by SE Internet Services

fidelogo_small.png

Schicke uns eine Nachricht!

Fachinformatiker.de ist die größte IT-Community
rund um Ausbildung, Job, Weiterbildung für IT-Fachkräfte.

Fachinformatiker.de App

Download on the App Store
Get it on Google Play

Kontakt

Hier werben?
Oder sende eine E-Mail an

Social media u. feeds

Jobboard für Fachinformatiker und IT-Fachkräfte

×
×
  • Neu erstellen...