On 31 May 2013 19:50, deepak deore <deepakdeore2004 at gmail.com> wrote:
So, do you mean to say that these variables which I listed are only available during alerts ? Can I echo these variables in any of my custom script?
Yes.
eg. put "echo $BBALPHAMSG > some_file" in my custom script?
Only in an alert script.
J
I did echo this variable in one of my custom script on xymon client. i.e. client/ext/myscript.sh
But I didn't get the value.
Is this the file you are talking about or any other alert script?
On Mon, Jun 3, 2013 at 5:13 AM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
On 31 May 2013 19:50, deepak deore <deepakdeore2004 at gmail.com> wrote:
So, do you mean to say that these variables which I listed are only available during alerts ? Can I echo these variables in any of my custom script?
Yes.
eg. put "echo $BBALPHAMSG > some_file" in my custom script?
Only in an alert script.
J
On 3 June 2013 23:21, deepak deore <deepakdeore2004 at gmail.com> wrote:
I did echo this variable in one of my custom script on xymon client. i.e. client/ext/myscript.sh
But I didn't get the value.
Is this the file you are talking about or any other alert script?
This should apply to any script named in an SCRIPT clause in alerts.cfg. But it only applies when the script is called by xymond_alert as a result of an alert condition.
J
hmmm, i got the variables now. Thanks a lot
On Tue, Jun 4, 2013 at 10:21 AM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:
On 3 June 2013 23:21, deepak deore <deepakdeore2004 at gmail.com> wrote:
I did echo this variable in one of my custom script on xymon client. i.e. client/ext/myscript.sh
But I didn't get the value.
Is this the file you are talking about or any other alert script?
This should apply to any script named in an SCRIPT clause in alerts.cfg. But it only applies when the script is called by xymond_alert as a result of an alert condition.
J
participants (2)
-
deepakdeore2004@gmail.com
-
jlaidman@rebel-it.com.au