I doubt it - try it.  Leave the space that is there.  It won't be in the
config file for Server name or Pretty name. It will be there for HostID.

It's a little hard to tell with notepad, but a good editor like
Ultraedit will show where the spaces are.

I still claim the cause is the formatting picture ( or lack of ) used by
SA to write the line to the file.  In something like the Access or VB
immediate pane try the following:
X =99
?X
You will get:
 99
Now try
X=-99 ( that is XEqualsMinus99 )
?X
You will get
-99

In the first, the space is the implied sign of the number so it will
line up in a column.  If you don't want that space you need to use 
?Format(X)

If you retrieve the file into Excel as a tab delimited then save it back
out, Excel strips out the space.  And for whatever reason, SA will choke
on the file.

Using Excel for that purpose is like using a screwdriver to pound nails.
It might work if you are truly determined but there are much better
tools available.

That is why I suggest that if you want to bulk change anything in SA's
config file you need to use Access (or similar) and make each field
TEXT.  If there is a leading space then it will stay put.  Like I say,
have done this numerous times to sort and rearrange and use different
files for various watch scenarios.

Pete

-----Original Message-----
From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, June 15, 2002 2:20 PM
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Suggestions


That could be it.

Dirk.
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of doubleu
Sent: Sat Jun 15 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [SA-list] Suggestions


Does it have anything to do with the fact that when you add a new host,
and click in the host name box, pretty name box, or host ID box, that
there is actually a space in those fields initially?

----- Original Message -----
From: "Turner, Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 3:00pm
Subject: RE: [SA-list] Suggestions


I would claim there is a space before every hostID - probably the sign
of the number. Same with timeout and probably any other "signed"
variables.

I import/export all the time and once I figure out the pattern for a
setting, it works fine.  I use Access - much more reliable for that
purpose. just call it tab delimited and make every field text.

Would be nice to have a decoder sheet for the various fields though.

Pete Turner


-----Original Message-----
From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Suggestions


Weird, if you would look at the source code (something I can do :-)) you
would see that we put TABS in it and not spaces.


Dirk.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jack Lyons
Sent: Fri Jun 14 8:30 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [SA-list] Suggestions


try viewing it an editor that will show you the whitespace characters

> -----Original Message-----
> From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 2:25 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [SA-list] Suggestions
>
>
> Those are TABs I can assure you.
>
>
> Dirk.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Sutherland, Bryon
> Sent: Fri Jun 14 5:32 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [SA-list] Suggestions
>
>
> There are spaces in the file that are not part of a text string, the 
> line below is from my servers.txt:
>
> pscdalpcshare10 80 10 true ...
>
> If you run your cursor through it you'll see that it looks like this:
>
> pscdalpcshare10TABTABSpace80TABSpace10TABtrue
>
> The 80 is the port check, and 10 the timeout (as far as I can figure).

> I haven't tested using just one line and removing one space, but I can

> tell you that saving the file as a TSV from Excel won't work.  I
> printed out the
> Excel version and the SA version and laid one on top of the
> other, shown a
> bright light through them, and the only difference that I
> could see were the
> spaces.
>
>
> On the other point, Warning shouldn't be a problem.  If someone is 
> just reconfiguring they probably aren't going to mind being warned.  I

> doubt anyone does massive reconfiguration of checks (unlike timeout
> intervals,
> etc).
>
> Anyway, these are my suggestions.  You certainly aren't any pressure 
> to adopt them, but I figured that you'd value user feedback.
>
>
> -----Original Message-----
> From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [SA-list] Suggestions
>
>
> The file is only tab delimited.  IF there are spaces in it, then it's 
> for example within the body text of the mails that should be send OR 
> within the subject of the mail.  Not much to do about that.
>
> How can we warn about the 2nd check?  It could well be that you no 
> longer need the original check and just are re-configuring. Allowing 
> several checks within one entry is something that we don't want to do.

> Our idea is that
> each check can have it's own alerts; and if you add several
> checks to one
> entry this is no longer the case.
>
>
>
> Dirk.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Sutherland, Bryon
> Sent: Fri Jun 14 5:13 PM
> To: '[EMAIL PROTECTED]'
> Subject: [SA-list] Suggestions
>
>
> I have a couple of suggestions that I think would be simple to 
> implement and make SA into an even better product.
>
> 1.  If you are attempting to add a second type of check to a single 
> entry it should warn you that you are about to remove the first check.

> Found that out the hard way.  Each type of check for a server (ex: 
> URL, Drive Space,
> etc) have to be a separate entry.
>
> An obvious alternative to the warning would be allowing multiple types

> of checks for each entry.
>
> 2.  The servers.txt configuration file looks like it's Tab-delimited, 
> but that's not exactly true.  I opened it up in Excel because I wanted

> to make a specific change to all of my entries, and when I saved it 
> back as a tab-delimited file SA wouldn't work with it.  I eventually
> realized that the
> file has spaces in strategic places.  I would *love* if the
> file were purely
> tab (comma, or whatever) delimited so I could make massive
> changes with
> Excel instead of opening each entry one-at-a-time in the GUI.
>  Even better
> would be a line across the top that told us exactly what the
> fields were so
> there'd be no guessing.  I believe others may have requested something
> similar.
> To unsubscribe from a list, send a mail message to
> [EMAIL PROTECTED]
> With the following in the body of the message:
>    unsubscribe SAlive
>
>
>
> To unsubscribe from a list, send a mail message to 
> [EMAIL PROTECTED] With the following in the body of the message:
>    unsubscribe SAlive
> To unsubscribe from a list, send a mail message to 
> [EMAIL PROTECTED] With the following in the body of the message:
>    unsubscribe SAlive
>
>
>
> To unsubscribe from a list, send a mail message to 
> [EMAIL PROTECTED] With the following in the body of the message:
>    unsubscribe SAlive
>
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive



To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive


To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive



To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive
To unsubscribe from a list, send a mail message to [EMAIL PROTECTED]
With the following in the body of the message:
   unsubscribe SAlive

Reply via email to