Xymon Mailing List Archive search

DEBUG=N: is not an identifier

list Jayanta Kundu
Mon, 13 Sep 2010 12:59:01 +0530
Message-Id: <AANLkTinEWkkRNMn0t-kpvcUFTL0H=mG=user-8771212780df@xymon.invalid>

Hi Guys,


I am writing my own KPI(named “ABL_CB_ERROR.sh”) and keep it into the
/export/home/xymon /client/script/ path and configure it into
“clientlaunch.cfg” file in Agent(Client) side and also configure bb-host
configuration file in the Collector(Server) side.

In the “ABL_CB_ERROR.sh” file very first line it is giving following error:

/export/home/xymon/client/script/ABL_CB_ERROR.sh: DEBUG=N: is not an
identifier


 “ABL_CB_ERROR.sh” file look like:

Version=1.0a

# Debug-Mode ? (y/Y/N)

[[ "$1" = "Y" ]] || [[ "$1" = "y" ]] && export DEBUG="$1" || export
DEBUG="N"

- - - - - - - -- - - - - - - -- - - - - - - -

- - - - - - - -- - - - - - - -- - - - - - - -

- - - - - - - -- - - - - - - -- - - - - - - -


How can I resolve this issue? Kindly provide me the solution.


With Regards,
Jayanta.