I'm trying to intergrate Third party tool with vFoglight 6.6 using the Intergration cartridge 5.6.2.
But I receive/see a truncation of the message in the logs & alerts never received in third party tool & after couple of truncation messages on the management server logs, my fms service crashes.
I had to re-start the fms service & disable the rule which forwards the alerts to the third party tool.
2012-01-18 11:06:07.421 VERBOSE [Thread-134] com.quest.foglight.integration.util.StreamGobbler - Command Action Out: Usage: C:\postemsg { -S <server> | -f <config_file> } [-r <severity>]
2012-01-18 11:06:07.421 VERBOSE [Thread-134] com.quest.foglight.integration.util.StreamGobbler - Command Action Out: [-m <message> ] [<slot_name=3Dvalue>, ...] <class> <source>
2012-01-18 11:06:07.856 INFO [Thread-135] com.quest.common.launcher.runner.ProcessNativeImpl - Process exited: [Integration Action, message: Process exited, exit code: 0]
Please make sure you have the below command on the perl script,Since in a windows platform, we believe "\n\r" should be needed for the search and replace in perl, however, it could be simply "\n".
For eg: if the perl script is as below:
my $uniqueId = $firstalarm->{'uniqueId'};
my $severity = $firstalarm->{'severity'};
my $starttime = $firstalarm->{'startTime'};
my $createdtime = $firstalarm->{'createdTime'};
my $message = $firstalarm->{'message'};
my $endtime;
my $clearedTime;
my $acknowledgedTime;
my $ruleName = "Foglight";
-Below the line
my $message = $firstalarm->{'message'};
-Add
$message =~ s/\n\r/ /g;
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center