I am trying to integrate Spectrum with BMC system using BMC's msend utility. msend is a utility to send event/alarm data to BMC system. I have modified AlarmNotifier's SetScript so it invokes msend to relay alarm data to BMC system when there is alarm.
However, whenever AlarmNotifier invokes the SetScript msend always failed with the following error.
Error. Cell 'xxxxxxx' cannot be initialized. Check your server directory file and program arguments. 'xxxxxxx' is ignored.
Fatal error! msend cannot find any valid cell. Are there any cell specified in the program argument or for the ServerName parameter?
If I open a bash shell and run the command manually/interactively with all the argument values then msend works without error.