Xymon Mailing List Archive search

New client problems

17 messages in this thread

list Josh Luthman · Fri, 13 Mar 2015 15:43:22 -0400 ·
I have a new machine running Centos 6.6 that for the life of me I can not
get started. I compiled 4.3.17 and 4.3.18 to see if it was a bug.  With
both versions I get the same results.

I've got it narrowed down to the point where is definitely a machine/client
problem.  With tcpdump I've shown that there are no packets being generated
after the (Xymon) client is started.  I can ping the server and create a
handshake (telnet) to 1984 on the server.

ps running: http://pastebin.com/8sbjyzRs

At this time SElinux is flat out disabled
$ sestatus
SELinux status:                 disabled

Host is just one IP, to rule out DNS problems.
$ head `pwd`/xymonclient.cfg
# Environment settings for the Xymon client.

XYMSRV="1.1.1.1"          # IP address of the Xymon server

Any suggestions would be very much appreciated and welcomed!

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
list Japheth Cleaver · Fri, 13 Mar 2015 13:13:02 -0700 ·
quoted from Josh Luthman

On Fri, March 13, 2015 12:43 pm, Josh Luthman wrote:
I have a new machine running Centos 6.6 that for the life of me I can not
get started. I compiled 4.3.17 and 4.3.18 to see if it was a bug.  With
both versions I get the same results.

I've got it narrowed down to the point where is definitely a
machine/client
problem.  With tcpdump I've shown that there are no packets being
generated
after the (Xymon) client is started.  I can ping the server and create a
handshake (telnet) to 1984 on the server.

ps running: http://pastebin.com/8sbjyzRs

At this time SElinux is flat out disabled
$ sestatus
SELinux status:                 disabled

Host is just one IP, to rule out DNS problems.
$ head `pwd`/xymonclient.cfg
# Environment settings for the Xymon client.

XYMSRV="1.1.1.1"          # IP address of the Xymon server

Any suggestions would be very much appreciated and welcomed!
Can you add --debug (or send a -USR2) to both xymonlaunch and the 'xymon'
call in xymonclient.sh?

Curious if it's a launch problem or a transmission issue.


HTH,

-jc
list Josh Luthman · Fri, 13 Mar 2015 16:25:54 -0400 ·
I assume you mean runclient.sh?

If so I edited start:
$XYMONCLIENTHOME/bin/xymonlaunch
--config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
--log=$XYMONCLIENTHOME/logs/clientlaunch.log
--pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --debug

But I'm not sure what "xymon call" you're referring to?

logs/clientlaunch.log:
2015-03-13 16:24:03 xymonlaunch starting
2015-03-13 16:24:03 Loading tasklist configuration from
/home/shire/./etc/client
launch.cfg
2016 2015-03-13 16:24:03 Opening file /home/shire/./etc/clientlaunch.cfg
2016 2015-03-13 16:24:03
2016 2015-03-13 16:24:03 Starting tasklist scan
2016 2015-03-13 16:24:03 About to start task client
2017 2015-03-13 16:24:03 client -> Loading environment from
/home/shire/./etc/xy
monclient.cfg area
2017 2015-03-13 16:24:03 Opening file /home/shire/./etc/xymonclient.cfg
2017 2015-03-13 16:24:03 client -> Assigning stdout/stderr to log
'/home/shire/.
/logs/xymonclient.log'
2016 2015-03-13 16:24:08
2016 2015-03-13 16:24:08 Starting tasklist scan
2016 2015-03-13 16:24:08 Task client active with PID 2017
2016 2015-03-13 16:24:12
2016 2015-03-13 16:24:12 Starting tasklist scan
2016 2015-03-13 16:24:17
2016 2015-03-13 16:24:17 Starting tasklist scan
2016 2015-03-13 16:24:22
2016 2015-03-13 16:24:22 Starting tasklist scan
2016 2015-03-13 16:24:27
2016 2015-03-13 16:24:27 Starting tasklist scan
quoted from Josh Luthman


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 4:13 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
On Fri, March 13, 2015 12:43 pm, Josh Luthman wrote:
I have a new machine running Centos 6.6 that for the life of me I can not
get started. I compiled 4.3.17 and 4.3.18 to see if it was a bug.  With
both versions I get the same results.

I've got it narrowed down to the point where is definitely a
machine/client
problem.  With tcpdump I've shown that there are no packets being
generated
after the (Xymon) client is started.  I can ping the server and create a
handshake (telnet) to 1984 on the server.

ps running: http://pastebin.com/8sbjyzRs

At this time SElinux is flat out disabled
$ sestatus
SELinux status:                 disabled

Host is just one IP, to rule out DNS problems.
$ head `pwd`/xymonclient.cfg
# Environment settings for the Xymon client.

XYMSRV="1.1.1.1"          # IP address of the Xymon server

Any suggestions would be very much appreciated and welcomed!
Can you add --debug (or send a -USR2) to both xymonlaunch and the 'xymon'
call in xymonclient.sh?

Curious if it's a launch problem or a transmission issue.


HTH,

-jc

list Japheth Cleaver · Fri, 13 Mar 2015 13:41:26 -0700 ·
quoted from Josh Luthman
On Fri, March 13, 2015 1:25 pm, Josh Luthman wrote:
I assume you mean runclient.sh?

If so I edited start:
$XYMONCLIENTHOME/bin/xymonlaunch
--config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
--log=$XYMONCLIENTHOME/logs/clientlaunch.log
--pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --debug

But I'm not sure what "xymon call" you're referring to?

logs/clientlaunch.log:
2015-03-13 16:24:03 xymonlaunch starting
2015-03-13 16:24:03 Loading tasklist configuration from
/home/shire/./etc/client
launch.cfg
2016 2015-03-13 16:24:03 Opening file /home/shire/./etc/clientlaunch.cfg
2016 2015-03-13 16:24:03
2016 2015-03-13 16:24:03 Starting tasklist scan
2016 2015-03-13 16:24:03 About to start task client
2017 2015-03-13 16:24:03 client -> Loading environment from
/home/shire/./etc/xy
monclient.cfg area
2017 2015-03-13 16:24:03 Opening file /home/shire/./etc/xymonclient.cfg
2017 2015-03-13 16:24:03 client -> Assigning stdout/stderr to log
'/home/shire/.
/logs/xymonclient.log'
2016 2015-03-13 16:24:08
2016 2015-03-13 16:24:08 Starting tasklist scan
2016 2015-03-13 16:24:08 Task client active with PID 2017
2016 2015-03-13 16:24:12
2016 2015-03-13 16:24:12 Starting tasklist scan
2016 2015-03-13 16:24:17
2016 2015-03-13 16:24:17 Starting tasklist scan
2016 2015-03-13 16:24:22
2016 2015-03-13 16:24:22 Starting tasklist scan
2016 2015-03-13 16:24:27
2016 2015-03-13 16:24:27 Starting tasklist scan

Well, that's good. It means the client task is getting launched properly.

the "xymon call" is actually "$XYMON $XYMSRV..." in what should be
/home/shire/./bin/xymonclient.sh, based on what the output here. You'd
want to change that to "$XYMON --debug $XYMSRV..."


After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
/home/shire/./bin/xymonclient.sh


That should give us more indication of where we're failing.


HTH,

-jc
list Josh Luthman · Fri, 13 Mar 2015 16:47:41 -0400 ·
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?
quoted from Josh Luthman


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 4:41 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
On Fri, March 13, 2015 1:25 pm, Josh Luthman wrote:
I assume you mean runclient.sh?

If so I edited start:
$XYMONCLIENTHOME/bin/xymonlaunch
--config=$XYMONCLIENTHOME/etc/clientlaunch.cfg
--log=$XYMONCLIENTHOME/logs/clientlaunch.log
--pidfile=$XYMONCLIENTHOME/logs/clientlaunch.$MACHINEDOTS.pid --debug

But I'm not sure what "xymon call" you're referring to?

logs/clientlaunch.log:
2015-03-13 16:24:03 xymonlaunch starting
2015-03-13 16:24:03 Loading tasklist configuration from
/home/shire/./etc/client
launch.cfg
2016 2015-03-13 16:24:03 Opening file /home/shire/./etc/clientlaunch.cfg
2016 2015-03-13 16:24:03
2016 2015-03-13 16:24:03 Starting tasklist scan
2016 2015-03-13 16:24:03 About to start task client
2017 2015-03-13 16:24:03 client -> Loading environment from
/home/shire/./etc/xy
monclient.cfg area
2017 2015-03-13 16:24:03 Opening file /home/shire/./etc/xymonclient.cfg
2017 2015-03-13 16:24:03 client -> Assigning stdout/stderr to log
'/home/shire/.
/logs/xymonclient.log'
2016 2015-03-13 16:24:08
2016 2015-03-13 16:24:08 Starting tasklist scan
2016 2015-03-13 16:24:08 Task client active with PID 2017
2016 2015-03-13 16:24:12
2016 2015-03-13 16:24:12 Starting tasklist scan
2016 2015-03-13 16:24:17
2016 2015-03-13 16:24:17 Starting tasklist scan
2016 2015-03-13 16:24:22
2016 2015-03-13 16:24:22 Starting tasklist scan
2016 2015-03-13 16:24:27
2016 2015-03-13 16:24:27 Starting tasklist scan

Well, that's good. It means the client task is getting launched properly.

the "xymon call" is actually "$XYMON $XYMSRV..." in what should be
/home/shire/./bin/xymonclient.sh, based on what the output here. You'd
want to change that to "$XYMON --debug $XYMSRV..."


After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
/home/shire/./bin/xymonclient.sh


That should give us more indication of where we're failing.


HTH,

-jc

list Japheth Cleaver · Fri, 13 Mar 2015 14:21:57 -0700 ·
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc
quoted from Josh Luthman


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
/home/shire/./bin/xymonclient.sh
list Josh Luthman · Fri, 13 Mar 2015 17:40:25 -0400 ·
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU
quoted from Josh Luthman


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh -x
/home/shire/./bin/xymonclient.sh
list Japheth Cleaver · Fri, 13 Mar 2015 17:21:48 -0700 ·
Can you validate that you can execute the xymonclient.sh script manually?
Any permissions problems going on?

It seems like we're not even getting to a point where we're executing.
quoted from Josh Luthman

-jc


On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg
sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh
-x
/home/shire/./bin/xymonclient.sh
list Josh Luthman · Fri, 13 Mar 2015 20:29:06 -0400 ·
$ ll xymonclient.sh
-rwxr-xr-x 1 shire shire 3333 Mar 13 16:45 xymonclient.sh

$ ./xymonclient.sh
touch: cannot touch `/msg..txt.2516': Permission denied
./xymonclient.sh: line 45: /bin/clientupdate: No such file or directory
./xymonclient.sh: line 47: --version: command not found
./xymonclient.sh: line 54: /msg..txt.2516: Permission denied
./xymonclient.sh: line 55: /msg..txt.2516: Permission denied
./xymonclient.sh: line 62: /msg..txt.2516: Permission denied
./xymonclient.sh: line 63: /msg..txt.2516: Permission denied
./xymonclient.sh: line 78: /msg..txt.2516: Permission denied
./xymonclient.sh: line 79: /msg..txt.2516: Permission denied
./xymonclient.sh: line 85: /msg..txt.2516: No such file or directory
mv: cannot stat `/msg..txt.2516': No such file or directory

Line 45 is: CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"

I'm not seeing any breaks but that does look like the case, no?  Not sure
what it is supposed to do, it just returns a blank line.
quoted from Japheth Cleaver


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
Can you validate that you can execute the xymonclient.sh script manually?
Any permissions problems going on?

It seems like we're not even getting to a point where we're executing.

-jc


On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg
sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh
-x
/home/shire/./bin/xymonclient.sh
list Japheth Cleaver · Fri, 13 Mar 2015 18:31:37 -0700 ·

Well, at this point we're simply not running in the environment.

Try:
/home/shire/bin/xymoncmd --env=/home/shire/etc/xymonclient.cfg

(This should drop you into a subshell)

Then:
sh -x bin/xymonclient.sh
quoted from Josh Luthman


-jc


On Fri, March 13, 2015 5:29 pm, Josh Luthman wrote:
$ ll xymonclient.sh
-rwxr-xr-x 1 shire shire 3333 Mar 13 16:45 xymonclient.sh

$ ./xymonclient.sh
touch: cannot touch `/msg..txt.2516': Permission denied
./xymonclient.sh: line 45: /bin/clientupdate: No such file or directory
./xymonclient.sh: line 47: --version: command not found
./xymonclient.sh: line 54: /msg..txt.2516: Permission denied
./xymonclient.sh: line 55: /msg..txt.2516: Permission denied
./xymonclient.sh: line 62: /msg..txt.2516: Permission denied
./xymonclient.sh: line 63: /msg..txt.2516: Permission denied
./xymonclient.sh: line 78: /msg..txt.2516: Permission denied
./xymonclient.sh: line 79: /msg..txt.2516: Permission denied
./xymonclient.sh: line 85: /msg..txt.2516: No such file or directory
mv: cannot stat `/msg..txt.2516': No such file or directory

Line 45 is: CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"

I'm not seeing any breaks but that does look like the case, no?  Not sure
what it is supposed to do, it just returns a blank line.


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Can you validate that you can execute the xymonclient.sh script
manually?
Any permissions problems going on?

It seems like we're not even getting to a point where we're executing.

-jc


On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd
--env=/home/shire/./etc/xymonclient.cfg
sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what
was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg
sh
-x
/home/shire/./bin/xymonclient.sh
list Josh Luthman · Sat, 14 Mar 2015 12:53:58 -0400 ·
Looks pretty clean to me, but I'm not sure what I'm looking for here:

http://pastebin.com/FN6f34HK
quoted from Japheth Cleaver


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 9:31 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
Well, at this point we're simply not running in the environment.

Try:
/home/shire/bin/xymoncmd --env=/home/shire/etc/xymonclient.cfg

(This should drop you into a subshell)

Then:
sh -x bin/xymonclient.sh


-jc


On Fri, March 13, 2015 5:29 pm, Josh Luthman wrote:
$ ll xymonclient.sh
-rwxr-xr-x 1 shire shire 3333 Mar 13 16:45 xymonclient.sh

$ ./xymonclient.sh
touch: cannot touch `/msg..txt.2516': Permission denied
./xymonclient.sh: line 45: /bin/clientupdate: No such file or directory
./xymonclient.sh: line 47: --version: command not found
./xymonclient.sh: line 54: /msg..txt.2516: Permission denied
./xymonclient.sh: line 55: /msg..txt.2516: Permission denied
./xymonclient.sh: line 62: /msg..txt.2516: Permission denied
./xymonclient.sh: line 63: /msg..txt.2516: Permission denied
./xymonclient.sh: line 78: /msg..txt.2516: Permission denied
./xymonclient.sh: line 79: /msg..txt.2516: Permission denied
./xymonclient.sh: line 85: /msg..txt.2516: No such file or directory
mv: cannot stat `/msg..txt.2516': No such file or directory

Line 45 is: CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"

I'm not seeing any breaks but that does look like the case, no?  Not sure
what it is supposed to do, it just returns a blank line.


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Can you validate that you can execute the xymonclient.sh script
manually?
Any permissions problems going on?

It seems like we're not even getting to a point where we're executing.

-jc


On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd
--env=/home/shire/./etc/xymonclient.cfg
sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what
was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg
sh
-x
/home/shire/./bin/xymonclient.sh
list Japheth Cleaver · Sat, 14 Mar 2015 17:28:34 -0700 ·
quoted from Josh Luthman

On Sat, March 14, 2015 9:53 am, Josh Luthman wrote:
Looks pretty clean to me, but I'm not sure what I'm looking for here:

http://pastebin.com/FN6f34HK

Indeed, looks normal. Plus, a response was received, since the 'test -s'
on the transmission's output tmpfile succeeded.

Can you run
/home/shire/bin/xymon --debug <ip from pastebin> "ping"


-jc
list Josh Luthman · Sat, 14 Mar 2015 20:36:05 -0400 ·
IP being the Xymon server?
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

quoted from Japheth Cleaver
On Mar 14, 2015 8:28 PM, "J.C. Cleaver" <user-87556346d4af@xymon.invalid> wrote:
On Sat, March 14, 2015 9:53 am, Josh Luthman wrote:
Looks pretty clean to me, but I'm not sure what I'm looking for here:

http://pastebin.com/FN6f34HK

Indeed, looks normal. Plus, a response was received, since the 'test -s'
on the transmission's output tmpfile succeeded.

Can you run
/home/shire/bin/xymon --debug <ip from pastebin> "ping"


-jc

list Japheth Cleaver · Sat, 14 Mar 2015 17:57:03 -0700 ·
Correct. Didn't want to record that for posterity in the list :)

A 'ping' should send a generic output line from the destination server. If
you get something back then you know the communications channel is working
(and tcpdump should confirm as such).


HTH,

-jc
quoted from Josh Luthman


On Sat, March 14, 2015 5:36 pm, Josh Luthman wrote:
IP being the Xymon server?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Mar 14, 2015 8:28 PM, "J.C. Cleaver" <user-87556346d4af@xymon.invalid> wrote:
On Sat, March 14, 2015 9:53 am, Josh Luthman wrote:
Looks pretty clean to me, but I'm not sure what I'm looking for here:

http://pastebin.com/FN6f34HK

Indeed, looks normal. Plus, a response was received, since the 'test -s'
on the transmission's output tmpfile succeeded.

Can you run
/home/shire/bin/xymon --debug <ip from pastebin> "ping"


-jc

list Josh Luthman · Sat, 14 Mar 2015 23:17:00 -0400 ·
3566 2015-03-14 23:16:01 Connect status is 0

Full output here: http://pastebin.com/rwzAKaYS
quoted from Japheth Cleaver


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Sat, Mar 14, 2015 at 8:57 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
quoted from Japheth Cleaver
wrote:
Correct. Didn't want to record that for posterity in the list :)

A 'ping' should send a generic output line from the destination server. If
you get something back then you know the communications channel is working
(and tcpdump should confirm as such).


HTH,

-jc


On Sat, March 14, 2015 5:36 pm, Josh Luthman wrote:
IP being the Xymon server?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Mar 14, 2015 8:28 PM, "J.C. Cleaver" <user-87556346d4af@xymon.invalid> wrote:
On Sat, March 14, 2015 9:53 am, Josh Luthman wrote:
Looks pretty clean to me, but I'm not sure what I'm looking for here:

http://pastebin.com/FN6f34HK

Indeed, looks normal. Plus, a response was received, since the 'test -s'
on the transmission's output tmpfile succeeded.

Can you run
/home/shire/bin/xymon --debug <ip from pastebin> "ping"


-jc

list Japheth Cleaver · Sun, 15 Mar 2015 07:30:35 -0700 ·
quoted from Josh Luthman
On Sat, March 14, 2015 8:17 pm, Josh Luthman wrote:
3566 2015-03-14 23:16:01 Connect status is 0

Full output here: http://pastebin.com/rwzAKaYS

Josh,

Given this, it seems like your system is capable of and sending data OK to
the server.

Can you describe your server config? Any reason this client message would
not be accepted server-side? The hobbit server is pretty old, but AFAIK
even that far back a current message should work.


Regards,

-jc
list Josh Luthman · Sun, 15 Mar 2015 11:20:15 -0400 ·
I don't see why it wouldn't be accepted.  I've never had problems with any
clients before.  The server is also Centos.  What other details are you
asking for?
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

quoted from Japheth Cleaver
On Mar 15, 2015 10:30 AM, "J.C. Cleaver" <user-87556346d4af@xymon.invalid> wrote:
On Sat, March 14, 2015 8:17 pm, Josh Luthman wrote:
3566 2015-03-14 23:16:01 Connect status is 0

Full output here: http://pastebin.com/rwzAKaYS

Josh,

Given this, it seems like your system is capable of and sending data OK to
the server.

Can you describe your server config? Any reason this client message would
not be accepted server-side? The hobbit server is pretty old, but AFAIK
even that far back a current message should work.


Regards,

-jc