BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} bb-top.sh, bb-axis.sh



If its a shell script, try changing the first line from:

#!/bin/sh (or #!/bin/bash)

to

#!/bin/sh -x (or #!/bin/bash -x)

Then run it manually and look at the output. All your var's will be expanded and you should be able to determine if a problem exists.

AD

Misty Stanley-Jones wrote:

I am doing it that way, and no dice. I get no overt errors from the script. I'm able to do the same thing the script is doing as far as FTP, and get no errors. I can download the status and config files by hand, but the script can't seem to do it. Is there a way to debug what is going on?

On Friday 28 May 2004 12:58 am, Ralf.Strandell@silja.com wrote:

Modify bb-hosts on the same server as where you run the Axis test.

The bb-axis.sh needs a *local* configuration file (bb-hosts) on the host
where it is running, of course. How could it otherwise read its settings?

bb-axis.sh is a network test: it connects to remote Axis print servers and
downloads some statistics. You can run it on the display server or on the
BBNET server or on any server of your choise.


-----Original Message-----
From: Misty Stanley-Jones [mailto:misty@borkholder.com]
Sent: 27. toukokuuta 2004 19:21
To: bb@bb4.com
Subject: Re: {bb} bb-top.sh, bb-axis.sh


Do you mean the bb-hosts on the display server? Here is my current line:


192.168.1.5 blah.yadda.com # testip !telnet axis


On Thursday 27 May 2004 01:43 am, Ralf.Strandell@silja.com wrote:

I am using the bb-axis.sh to monitor a total of 26 Axis

print servers.



Use the "axis" keyword in bb-hosts:

127.0.0.1 hostname # axis


Known problems: bb-axis.sh uses ftp to get status reports

from the Axis



print servers. Sometimes the ftp connection might hang

because of network



related problems or bugs in ftp clients etc. As bb-axis.sh works
sequentially, all tests are blocked until the hung ftp

process is killed.



This situation is easy to detect: all axis tests go purple,

or clear if



they are "dialup". If you are unlucky enough to have such a

system that



hangs occasionally, then you just need to adjust the PURPLEDELAY of
bb-axis.sh and have a cron job to kill old ftp-processes.

But if you are



lucky you will never encounter this annoyance.

Of course I could modify the bb-axis.sh to make it

parallel... I have just



been to lazy for that... If you have trouble with the

script, then let me



know and I'll make some little modifications.

Note: If you want the bbchkhosts.sh diag script to work

too, then add



"axis" there too. Something like this: bbchkhosts.sh:

Around line 144:


	case $param
	in

http* | dns | dig | BBNET | BBDISPLAY | BBPAGER |

BBRELAY:* |



dialup | noping | testip | noconn | badconn:* | class:* |

route:* | axis )



-----Original Message-----
From: Misty Stanley-Jones [mailto:misty@borkholder.com]
Sent: 26. toukokuuta 2004 22:02
To: bb@bb4.com
Subject: {bb} bb-top.sh, bb-axis.sh


Hi,


I'm trying to get the above two ext scripts to work.  I get
no errors for
either of them, but no output in the BBDISPLAY.  For the

bb-axis.sh



especially, I am wondering how the heck it knows the IP of
the print server
to monitor.  I can't see where to tell it that.  For the
bb-top.sh, I have an
empty bb-toptab because I wanted to see the default values.
Do I have to
have something in it?  Also should bb-top.sh be in the ext
scripts for the
server, or for the client for which I want it to run.

I realize these are two different scripts, but I wanted to
throw it out there
to see who else is using them.

Thanks,
Misty
--
System Administrator
Borkholder Corporation
--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=



To unsubscribe from this list, or to subscribe to the

bb-digest list



send e-mail to mailto:majordomo@bb4.com with unsubscribe

bb -and/or-



subscribe bb-digest in the BODY of the message.

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=



To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

-- System Administrator Borkholder Corporation -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, or to subscribe to the bb-digest list send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or- subscribe bb-digest in the BODY of the message.

-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= To unsubscribe from this list, or to subscribe to the bb-digest list send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or- subscribe bb-digest in the BODY of the message.



-- Andrew Davis North County Computers http://www.nccomp.com

    Email:     andrew@nccomp.com
    Local:     760-525-4689
    Toll Free: 877-735-4689

  <a href="http://www.nccomp.com";>North County Computers</a>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index