You can just use the exe file for Windows. Unix you just need the proper binary for the matched OS.
There is also a perl version of msend which is more OS independant. It is available from here:
I have used it with Impact Manager 7.2 without any problems.
Thanks Guys, how would I go about sending a test event to an IM server ? Something like "msend -s "machinename" -g 1829 -n "cellname" -m testevent
Or would I have to copy the mcell.conf over to where I have copied the msend .exe ?
yes that's right, or you can also use external config and use msend with proper switches
Thanks but what would be the correct syntax if I wanted to send a test event to a BEM cell on another machine ? I tried the syntax above but couldn't get it to work ?
Do I need to copy over the mcell.conf to where I copied the msend exe ?
The correct syntax is:
msend -n CellName -a EventClass -m message
msend -n @HostNameOrIPAddress:PortNumber#EncryptionKey -a EventClass -m message
That did the trick. Much appreciated, thanks :-)
How could I go about sending this event to a high availability cell (s) deployed accrosss two different servers ?
Thanks in advance.
Just in case any one was wondering, you can do it as follows...
msend -n SIM -f "<location of the mcell.dir>" -a EventClass -m "message
Do you know the limit of characters for the field "msg" when you use the next example of msend :
msend -n CellName -b "mc_host = HostName; mc_origin = Origin; severity = CRITICAL; mc_object_class = NAME; mc_object = NAME; mc_parameter = NAME; msg = Limit_of_this_field" ?
We have tested this earlier and message slot can handle up to 5000 characters.
In the latest release [TSIM and remote cells], it can handle more than 5000 characters but have not tested the character limit or have not come across the details in official documentation.
Hope it helps
I think that the msg limit corresponding to the msg slot definition => STRING : UTF-8 string value with a maximum length of 65535 bytes.