Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ /home/shire/bin/xymoncmd --env=/home/shire/etc/xymonclient.cfg
- sh-4.1$ ls
- bin ext logs tmp xymon-4.3.18.tar.gz
- etc local runclient.sh xymon-4.3.18
- sh-4.1$ sh -x bin/xymonclient.sh
- + LANG=C
- + LC_ALL=C
- + LC_MESSAGES=C
- + export LANG LC_ALL LC_MESSAGES
- + LOCALMODE=no
- + test 0 -ge 1
- + test '' = ''
- ++ uname -s
- ++ tr '[ABCDEFGHIJKLMNOPQRSTUVWXYZ/]' '[abcdefghijklmnopqrstuvwxyz_]'
- + XYMONOSSCRIPT=xymonclient-linux.sh
- + MSGFILE=/home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt
- + MSGTMPFILE=/home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt.3140
- + LOGFETCHCFG=/home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg
- + LOGFETCHSTATUS=/home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.status
- + export LOGFETCHCFG LOGFETCHSTATUS
- + rm -f /home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt.3140
- + touch /home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt.3140
- ++ /home/shire/bin/clientupdate --level
- + CLIENTVERSION=
- + test -z ''
- ++ /home/shire/bin/xymon --version
- + CLIENTVERSION='Xymon version 4.3.18'
- + test no = yes
- + echo 'client compass2,imaginenetworksllc,com.linux linux'
- + /home/shire/bin/xymonclient-linux.sh
- + test -f /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg
- + /home/shire/bin/logfetch /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.status
- + echo '[clientversion]'
- + echo 'Xymon version 4.3.18'
- + test -d /home/shire/local
- + for MODULE in '$XYMONHOME/local/*'
- + test -x /home/shire/local/README
- + echo '[clock]'
- + /home/shire/bin/logfetch --clock
- + test no = yes
- + /home/shire/bin/xymon --debug 74.218.208.202 @
- + test -f /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg.tmp
- + test -s /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg.tmp
- + mv /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg.tmp /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg
- + rm -f /home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt
- + mv /home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt.3140 /home/shire/tmp/msg.compass2.imaginenetworksllc.com.txt
- + test no '!=' yes -a -f /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg
- ++ cut -d: -f2
- ++ grep '^clientversion:' /home/shire/tmp/logfetch.compass2.imaginenetworksllc.com.cfg
- + SERVERVERSION=
- + test '' '!=' '' -a '' '!=' 'Xymon version 4.3.18'
- + exit 0
- sh-4.1$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement