Xymon Mailing List Archive search

Troubleshooting Client Process

3 messages in this thread

list Patrick Nixon · Fri, 28 Aug 2009 12:58:05 -0400 ·
Hey all,
 I have six or eight Redhat AS3 clients that are being troublesome.

 I've defined a client process in clientlaunch.cfg as:
[mmsclient]
        ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
        LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient-mms.log
        CMD $HOBBITCLIENTHOME/scripts/exec_client.sh
        INTERVAL 5m


On the problem servers, it'll launch once at startup
(/etc/init.d/xymon-client start) and then never loops back through.

Does anyone have some pointers on where to go to troubleshoot this?

Thanks!
--Patrick
list Martin Flemming · Fri, 28 Aug 2009 19:09:17 +0200 (CEST) ·
Hi !

Is the script executable on the problem servers ?

.. or try

cd /usr/lib/hobbit/server
./bin/bbcmd sh -x ext/exec_client.sh


cheers,
 	martin
quoted from Patrick Nixon

On Fri, 28 Aug 2009, Patrick Nixon wrote:
Hey all,
I have six or eight Redhat AS3 clients that are being troublesome.

I've defined a client process in clientlaunch.cfg as:
[mmsclient]
       ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
       LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient-mms.log
       CMD $HOBBITCLIENTHOME/scripts/exec_client.sh
       INTERVAL 5m


On the problem servers, it'll launch once at startup
(/etc/init.d/xymon-client start) and then never loops back through.

Does anyone have some pointers on where to go to troubleshoot this?

Thanks!
--Patrick

list Patrick Nixon · Fri, 28 Aug 2009 14:16:00 -0400 ·
[xymon at host client]$ ./bin/bbcmd sh -x
/usr/local/xymon/client/scripts/exec_client.sh
2009-08-28 14:15:10 Using default environment file
/usr/local/xymon/client/etc/hobbitclient.cfg
+ BBHOME=/usr/local/xymon/client
+ BBCMD=/usr/local/xymon/client/bin/bbcmd
+ CMD=/usr/local/xymon/client/scripts/hobbitclient-custom.sh
+ ENVFILE=/usr/local/xymon/client/etc/hobbitclient.cfg
+ LOGFILE=/usr/local/xymon/client/logs/hobbitclient-custom.log
+ /usr/local/xymon/client/bin/bbcmd
--env=/usr/local/xymon/client/etc/hobbitclient.cfg
/usr/local/xymon/client/scripts/hobbitclient-custom.sh
+ exit 0

looks normal to me.
quoted from Martin Flemming

On Fri, Aug 28, 2009 at 1:09 PM, Martin Flemming<user-f286aaa49a76@xymon.invalid> wrote:
Hi !

Is the script executable on the problem servers ?

.. or try

cd /usr/lib/hobbit/server
./bin/bbcmd sh -x ext/exec_client.sh


cheers,
       martin

On Fri, 28 Aug 2009, Patrick Nixon wrote:
Hey all,
I have six or eight Redhat AS3 clients that are being troublesome.

I've defined a client process in clientlaunch.cfg as:
[mmsclient]
      ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg
      LOGFILE $HOBBITCLIENTHOME/logs/hobbitclient-mms.log
      CMD $HOBBITCLIENTHOME/scripts/exec_client.sh
      INTERVAL 5m


On the problem servers, it'll launch once at startup
(/etc/init.d/xymon-client start) and then never loops back through.

Does anyone have some pointers on where to go to troubleshoot this?

Thanks!
--Patrick