SOI comes with some example .xml files to demonstrate the use of the cmd line "GCEventAddCmd.bat" command
Unfortunately, the examples for creating CIs and the one for sending an Alert do not fit together.
So, to test the command line then, I created a CI (MyMachine21) by using the 'universalAdd_ComputerSystem.xml' that comes with SOI
I then tried:
GCEventAddCmd.bat -hlocalhost:7090 -a00003 -i"ComuterSystem:sysname,mymachine21" -sMajor -tRisk -m"ComputerSystem has become unreachable"
GCEventAddCmd.bat -hlocalhost:7090 -a00004 -i"sysname,mymachine21" -sMinor -tRisk -m"ComputerSystem has become unreachable3"
GCEventAddCmd.bat -hlocalhost:7090 -a00005 -i"mymachine21" -sMinor -tRisk -m"ComputerSystem has become unreachable3"
GCEventAddCmd.bat -hlocalhost:7090 -a00006 -i"MyMachine21" -sMinor -tRisk -m"ComputerSystem has become unreachable3"
and possibly some other 10 combinations for -i and -s, but with no luck so far:
The alarm gets created, but is not assigned to the CI created previously
Could you provide a working example of how to send a single status event to a CI that has been created using one of the XML files?
And how would the 'universalAdd_Alerts.xml' look like if I wanted to alarm the above CI?
Jan
Remark for ProductManagemet:
I am using theses scripts for years, they worked previously, but with changes introduced in some version or patch, do no longer
Together with the fact that there is no real documentation, this is really a pain