Alerts do not seem to be triggering or otherwise executing my script
On 21-07-2011 23:39, Chris Allen wrote:
There is an alert that should have been triggering (It's covered by the time displayed in the log output below).
It is indeed triggering, the notifications.log file show that the script-alert happens:
Thu Jul 21 13:52:09 2011 ads2.procs (68.168.100.16) "arn:aws:sns:us-east-1:871321084716:ops" 1311281521 300
I cannot see which Xymon version you are running. If you are running an older version, then an explanation *could* be that the alert text - which includes the full text from the "procs" status page - is passed via an environment variable to your script, and your system cannot cope with such large environment variables. That would cause the script execution to fail.
That is about the only explanation I can come up with.
The 4.3.x version truncates the status-text to 4 kB by default, so it avoids this problem. I would suggest that you try upgrading Xymon.
Regards, Henrik
participants (1)
-
henrik@hswn.dk