Re: NOC scripting

2001-01-24 Thread Stephane Bortzmeyer

On Tuesday 23 January 2001, at 16 h 50, the keyboard of Debian Ghost 
<[EMAIL PROTECTED]> wrote:

> switches and devices) so I gess basically what I need is a scripting
> method to read in login: and reply passwd: and reply 

expect, without any doubt. Example at the end.

> and a method to place
> and size Eterm/Xterm on various virtual desktops (E) ?

Depends on your window manager. 

To connect on a machine whose syadmin does not want to install ssh :-(

#!/usr/bin/expect -f

set host dahlia.xxx.yyy.fr
set login bortzmeyer
set password jevaispasledire

spawn telnet $host

expect  {*login:*} {} \
timeout {timedout "waiting for password prompt"}
send ${login}\r

expect  {*Password:*} {} \
timeout {timedout "waiting for password prompt"}
send ${password}\r
expect {*invalid login*}{send_user "Bad password\n"; exit} \
{*Last unsuccessful}{} \
timeout {timedout waiting for login prompt}

send \r

interact

proc timedout {} {
send_user "Server timed out.  Try again later.\n"
exit 1
}



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-24 Thread Stephane Bortzmeyer

On Tuesday 23 January 2001, at 11 h 40, the keyboard of [EMAIL PROTECTED] 
wrote:

> Funcionan con SNMP habilitado o simples paquetes UDP 

My spanish is a bit rusty but, no, BigBrother and mon do not use SNMP. (Both 
of them can run custom shell scripts which may use snmpget.) Remember that mon 
is a scheduler, relying on external scripts for the actual tests. As usual in 
the free software world, you have the choice, you don't use a 
everything-in-a-big-bloatware way.




--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-23 Thread Debian Ghost

Hello Everyone,
Thank you all for the replies regarding Big Brother/Netsaint/mon.
Those are all very well to monitor hosts and networks. We aleready have
something similar implemented made by Harris Systems. I was doing a
seperate project to actually have a machine that has all connections open
automatically (via ssh, telnet, rsh) and yes, many of these systems do
have a funky interface that needs vt100 or something similar (mostly telco 
switches and devices) so I gess basically what I need is a scripting
method to read in login: and reply passwd: and reply and a method to place
and size Eterm/Xterm on various virtual desktops (E) ? I don't need an all
around monitoring system, but rather a machine to supply actual
connections to devices.

Thanks,

Ashby Gochenour
NTELOS 
NOC


On Tue, 23 Jan 2001, Stephane Bortzmeyer wrote:

> On Monday 22 January 2001, at 18 h 16, the keyboard of Debian Ghost 
> <[EMAIL PROTECTED]> wrote:
> 
> > using to develop the system. I plan on using enlightenment as a WM and
> > wanted to ask for advice on the best way to write a script to open
> > multiple terminal windows (Eterm or Xterm) to connect and log in to the
> > many various systems that we monitor. 
> 
> It looks really old-fashioned. Many years ago, I saw supervision consoles in 
> telcos which were operated that way, with a human in front of the console 
> 24h/day, with nothing else to do than to watch.
> 
> Unless you have a lot of staff, why not use more automatic systems like mon 
>?
> 
> 
> 


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-23 Thread brian moore

On Tue, Jan 23, 2001 at 03:37:25PM +0100, Stephane Bortzmeyer wrote:
> On Tuesday 23 January 2001, at 10 h 26, the keyboard of Michael Boman 
> <[EMAIL PROTECTED]> wrote:
> 
> > you may ask? Well, what if the
> > router/switch/firewall/another-single-point-of-failure between your
> > monitoring server and the rest of the network goes down? BB will scream
> > that every server/router (etc) you have on the other side is down, while
> > NetSaint understands that it's the router/firewall/etc that is down.
> 
> mon  does the same, with its
> useful feature 'depend':
> 
> watch kata
>service http
> interval 2m
> monitor http.monitor
> depend kata:ping
> 
> If the machine does not reply to pings, there is no need testing
> Apache.

Yes, and mon is very very nice.  I have a 'main-mon' instance running on
one machine that monitors everything from pingability to router port
status (via snmp) to mysql status, radius server status, disk space,
etc, with a simple dependency setup so that if a router port goes down
(did I mention MCI sucks?), I don't get alerted about remote systems
being unreachable or ssh failing on them, just the router port. 

Because I'm paranoid, I have a 'mini-mon' running on another machine
that just makes sure 'main-mon' is running.   (Okay, it's never failed,
but the machine 'mini-mon' is running on is sorta flaky and makes me
paranoid)

It's simple to use, simple to write your own monitors for, and flexible
(use m4 for configs!).   It can be accessed via command line ('monshow'
or 'moncmd') or from a web interface ('monshow' or 'mon.cgi') which
I use depends on where I am.

Oh, and the way cool feature: 'acks' of alerts.  You can say 'damn, MCI
sucks again', ack the page and mon won't page you again about that
outage until it comes back up again.  (ie, it's a "disable this until
it's fixed, but then re-enable it" so you don't have to remember to do
it).  Jim Trocki has a cool pager that he can use to ack pages without
actually logging in.

Mon is what lets me sleep at night.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-23 Thread JSeverino


Funcionan con SNMP habilitado o simples paquetes UDP 

Jorge


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-23 Thread Stephane Bortzmeyer

On Tuesday 23 January 2001, at 10 h 26, the keyboard of Michael Boman 
<[EMAIL PROTECTED]> wrote:

> you may ask? Well, what if the
> router/switch/firewall/another-single-point-of-failure between your
> monitoring server and the rest of the network goes down? BB will scream
> that every server/router (etc) you have on the other side is down, while
> NetSaint understands that it's the router/firewall/etc that is down.

mon  does the same, with its useful feature 
'depend':

watch kata
   service http
interval 2m
monitor http.monitor
depend kata:ping

If the machine does not reply to pings, there is no need testing Apache.



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-23 Thread Stephane Bortzmeyer

On Monday 22 January 2001, at 18 h 16, the keyboard of Debian Ghost 
<[EMAIL PROTECTED]> wrote:

> using to develop the system. I plan on using enlightenment as a WM and
> wanted to ask for advice on the best way to write a script to open
> multiple terminal windows (Eterm or Xterm) to connect and log in to the
> many various systems that we monitor. 

It looks really old-fashioned. Many years ago, I saw supervision consoles in 
telcos which were operated that way, with a human in front of the console 
24h/day, with nothing else to do than to watch.

Unless you have a lot of staff, why not use more automatic systems like mon 
?



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-22 Thread Mailing List

I must agree. Netsaint is a superior system for a NOC, since you're not just
monitoring hosts, but also your network.

What's the point of knowing 50 odd hosts are down when the actual problem
lies with a switch connecting them all? I suppose you could GUESS, but why
do it when netsaint is obviously the best choice? It can even make up a cute
3d map and all.

Thats what we use and we're happy.

Jason Lim.

- Original Message -
From: "Michael Boman" <[EMAIL PROTECTED]>
To: "Brian Johnston" <[EMAIL PROTECTED]>
Cc: "Debian Ghost" <[EMAIL PROTECTED]>; "debian-isp"
<[EMAIL PROTECTED]>
Sent: Tuesday, 23 January, 2001 10:26 AM
Subject: Re: NOC scripting


> Brian Johnston wrote:
> >
> > We use Big Brother http://www.bb4.com to monitor NT,linux,solaris... etc
etc...
> >
> > Brian Johnston
> > System Administrator
> > Optigate Networks
> > [EMAIL PROTECTED]
>
> Legend: BB = Big Brother
>
> The problem with BB as I see it is that it is a HOST monitor, while
> NetSaint is a HOST and NETWORK monitor. What difference does it make,
> you may ask? Well, what if the
> router/switch/firewall/another-single-point-of-failure between your
> monitoring server and the rest of the network goes down? BB will scream
> that every server/router (etc) you have on the other side is down, while
> NetSaint understands that it's the router/firewall/etc that is down.
>
> IMHO it's a smarter system.
>
> /Mike
>
>
> > At 06:16 PM 1/22/01 -0500, Debian Ghost wrote:
> > >Hello Debian-ISPers,
> > >
> > >I work in a fairly large NOC that monitors many various systems (many
> > >unix). I am working on developing a survailance system that accesses
the
> > >various systems. I plan on using debian as the OS of the survailance
> > >system and have installed potato stable on a few test systems I will be
> > >using to develop the system. I plan on using enlightenment as a WM and
> > >wanted to ask for advice on the best way to write a script to open
> > >multiple terminal windows (Eterm or Xterm) to connect and log in to the
> > >many various systems that we monitor. As it stands now, most of the
> > >analyists use NT as a desktop, but I have been given the go ahead to
try
> > >to develop a system that will be superior to the NT setup. I hope that
I
> > >can launch one startup script (on X initiation) that will basically
place
> > >all my windows on various virtual desktops and rsh and/or telnet and
login
> > >to the devices that need to be accessed. Does anyone on this list have
a
> > >suggestion or a starting place on launching multiple windows and/or a
way
> > >to script an automatic telnet login?
> > >
> > >Thanks in advanced!
> > >
> > >Ashby Gochenour
> > >NTELOS
> > >NOC
> > >
> > >
> > >--
> > >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > >with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
> --
> "eLINUX  ---  Enabling the Net Economy on Linux"
> --
> Michael Boman   eLinux Pte Ltd
> Technical Consultanthttp://www.elinux.com.sg
> [EMAIL PROTECTED]   Tel:(65)  227 6180
> Fax:(65)  227 5808
> --


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-22 Thread Michael Boman

Brian Johnston wrote:
> 
> We use Big Brother http://www.bb4.com to monitor NT,linux,solaris... etc etc...
> 
> Brian Johnston
> System Administrator
> Optigate Networks
> [EMAIL PROTECTED]

Legend: BB = Big Brother

The problem with BB as I see it is that it is a HOST monitor, while
NetSaint is a HOST and NETWORK monitor. What difference does it make,
you may ask? Well, what if the
router/switch/firewall/another-single-point-of-failure between your
monitoring server and the rest of the network goes down? BB will scream
that every server/router (etc) you have on the other side is down, while
NetSaint understands that it's the router/firewall/etc that is down.

IMHO it's a smarter system.

/Mike

 
> At 06:16 PM 1/22/01 -0500, Debian Ghost wrote:
> >Hello Debian-ISPers,
> >
> >I work in a fairly large NOC that monitors many various systems (many
> >unix). I am working on developing a survailance system that accesses the
> >various systems. I plan on using debian as the OS of the survailance
> >system and have installed potato stable on a few test systems I will be
> >using to develop the system. I plan on using enlightenment as a WM and
> >wanted to ask for advice on the best way to write a script to open
> >multiple terminal windows (Eterm or Xterm) to connect and log in to the
> >many various systems that we monitor. As it stands now, most of the
> >analyists use NT as a desktop, but I have been given the go ahead to try
> >to develop a system that will be superior to the NT setup. I hope that I
> >can launch one startup script (on X initiation) that will basically place
> >all my windows on various virtual desktops and rsh and/or telnet and login
> >to the devices that need to be accessed. Does anyone on this list have a
> >suggestion or a starting place on launching multiple windows and/or a way
> >to script an automatic telnet login?
> >
> >Thanks in advanced!
> >
> >Ashby Gochenour
> >NTELOS
> >NOC
> >
> >
> >--
> >To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
"eLINUX  ---  Enabling the Net Economy on Linux"
--
Michael Boman   eLinux Pte Ltd
Technical Consultanthttp://www.elinux.com.sg
[EMAIL PROTECTED]   Tel:(65)  227 6180
Fax:(65)  227 5808
--
 S/MIME Cryptographic Signature


Re: NOC scripting

2001-01-22 Thread Michael Boman

Tamas TEVESZ wrote:
> 
> On Tue, 23 Jan 2001, Michael Boman wrote:
> 
>  > atleast use SSH (OpenSSH comes to mind, released under GPL and all =) ).
> 
> i would be more than fscking damn surprised. you should at least
> attempt to check before you're spreading nonsense.

Sorry, I was wrong. It's under the BSD license, my fault. I should have
checked it out.

/Mike

-- 
"eLINUX  ---  Enabling the Net Economy on Linux"
--
Michael Boman   eLinux Pte Ltd
Technical Consultanthttp://www.elinux.com.sg
[EMAIL PROTECTED]   Tel:(65)  227 6180
Fax:(65)  227 5808
--
 S/MIME Cryptographic Signature


Re: NOC scripting

2001-01-22 Thread Tamas TEVESZ

On Tue, 23 Jan 2001, Michael Boman wrote:

 > atleast use SSH (OpenSSH comes to mind, released under GPL and all =) ).

i would be more than fscking damn surprised. you should at least
attempt to check before you're spreading nonsense.

-- 
[-]
So, you're a Ph.D. Just don't touch anything.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-22 Thread Brian Johnston

We use Big Brother http://www.bb4.com to monitor NT,linux,solaris... etc etc...

Brian Johnston
System Administrator
Optigate Networks
[EMAIL PROTECTED]

At 06:16 PM 1/22/01 -0500, Debian Ghost wrote:
>Hello Debian-ISPers,
>
>I work in a fairly large NOC that monitors many various systems (many
>unix). I am working on developing a survailance system that accesses the
>various systems. I plan on using debian as the OS of the survailance
>system and have installed potato stable on a few test systems I will be
>using to develop the system. I plan on using enlightenment as a WM and
>wanted to ask for advice on the best way to write a script to open
>multiple terminal windows (Eterm or Xterm) to connect and log in to the
>many various systems that we monitor. As it stands now, most of the
>analyists use NT as a desktop, but I have been given the go ahead to try
>to develop a system that will be superior to the NT setup. I hope that I
>can launch one startup script (on X initiation) that will basically place
>all my windows on various virtual desktops and rsh and/or telnet and login
>to the devices that need to be accessed. Does anyone on this list have a
>suggestion or a starting place on launching multiple windows and/or a way
>to script an automatic telnet login?
>
>Thanks in advanced!
>
>Ashby Gochenour
>NTELOS
>NOC
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NOC scripting

2001-01-22 Thread Michael Boman

Debian Ghost wrote:
> 
> Hello Debian-ISPers,
> 
> I work in a fairly large NOC that monitors many various systems (many
> unix). I am working on developing a survailance system that accesses the
> various systems. I plan on using debian as the OS of the survailance
> system and have installed potato stable on a few test systems I will be
> using to develop the system. I plan on using enlightenment as a WM and
> wanted to ask for advice on the best way to write a script to open
> multiple terminal windows (Eterm or Xterm) to connect and log in to the
> many various systems that we monitor. As it stands now, most of the
> analyists use NT as a desktop, but I have been given the go ahead to try
> to develop a system that will be superior to the NT setup. I hope that I
> can launch one startup script (on X initiation) that will basically place
> all my windows on various virtual desktops and rsh and/or telnet and login
> to the devices that need to be accessed. Does anyone on this list have a
> suggestion or a starting place on launching multiple windows and/or a way
> to script an automatic telnet login?
> 
> Thanks in advanced!
> 
> Ashby Gochenour
> NTELOS
> NOC

You should check-out "expect". But really, why don't you install
something like NetSaint (http://www.netsaint.org)? What is the reason
for you to login on so many system - and with _telnet_ ?? You should
atleast use SSH (OpenSSH comes to mind, released under GPL and all =) ).

I'd say that you should atleast take a look at NetSaint, including all
3rd party modules. I can't imagine anything that you can't do with
NetSaint but you can do with a Telnet session (unless you are running
some wierd interactive software).

NetSaint runs on most UNIX/BSD/Linux platforms, but limited controll
over NT (SNMP only IIRC).

Best regards
 Michael Boman

-- 
"eLINUX  ---  Enabling the Net Economy on Linux"
--
Michael Boman   eLinux Pte Ltd
Technical Consultanthttp://www.elinux.com.sg
[EMAIL PROTECTED]   Tel:(65)  227 6180
Fax:(65)  227 5808
--
 S/MIME Cryptographic Signature


Re: NOC scripting

2001-01-22 Thread StarDrifter

Could someone help me with the following:

The idea of this my project is to create a simple protection plan (SSL) for
virtual hosts.
If you have any ideas it would greatly be appreciated.
This virtual host protection module would not need a certificate to identify
it as a secure site, it would probably encrypt it using 2 or more different
types of programs or algorithms like DES, et cetera. It would then transfer
to the SSL (https) port.

Please email with ideas. Thanks.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]