How to get the Absolutely essential result "PS".
list Jayanta Kundu
Hi All, I configured in Server side : "hobbitserver.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" Also i configured in Client side : "hobbitclient.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" After that i restart xymon client and server both. But still i got the result of: PS="ps ax" I am unable to get the result of: PS="ps -aef | egrep "process1 | process2"" Kindly provide solution regarding this. With Regards, Jayanta.
list Stef Coene
▸
On Friday 24 December 2010, Jayanta Kundu wrote:
Hi All, I configured in Server side : "hobbitserver.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" Also i configured in Client side : "hobbitclient.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" After that i restart xymon client and server both. But still i got the result of: PS="ps ax" I am unable to get the result of: PS="ps -aef | egrep "process1 | process2"" Kindly provide solution regarding this.
From hobbitserver.cfg: "# DF,DFCMD and PS are for compatibility only, NOT USED by the Hobbit client" The client is actually a script. 1 script / platform. You have to edit that script. For linux, the script is hobbitclient-linux.sh in the client/bin directory. Stef
list Jayanta Kundu
Hi Stef, Thanks for your valuable suggestion. It is working fine. With Regards, Jayanta.
▸
On Fri, Dec 24, 2010 at 12:26 PM, Stef Coene <user-dbffe946c0f4@xymon.invalid> wrote:
On Friday 24 December 2010, Jayanta Kundu wrote:Hi All, I configured in Server side : "hobbitserver.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" Also i configured in Client side : "hobbitclient.cfg" as follows: PS="ps -aef | egrep "process1 | process2"" After that i restart xymon client and server both. But still i got the result of: PS="ps ax" I am unable to get the result of: PS="ps -aef | egrep "process1 | process2"" Kindly provide solution regarding this.From hobbitserver.cfg: "# DF,DFCMD and PS are for compatibility only, NOT USED by the Hobbit client" The client is actually a script. 1 script / platform. You have to edit that script. For linux, the script is hobbitclient-linux.sh in the client/bin directory. Stef