Re: Monitoring NT Services

2003-03-19 Thread brian_fender

I've found monitoring NT over SNMP to be extremely unreliable, but it's possible.  This is what I did for NT4.0, it may be different for win2k:

Check out this 'http://www.techie.net.nz/networking/mrtg/' site (which has changed drastically since I last used it).  Basically, you need to install the perf SNMP extension on each monitored host, either get find it online on the NT resource kit cd.  If it is already included in win2k this will be much easier.  Then find a copy of mbrowse for linux, I think it is on sourceforge.net.  Install the windows perf extension MIB on your linux box and fire up mbrowse.  Browse for the values you are interested in.  There's probably a canned SNMP monitor for mon, but I am testing with a shell script that uses the ucd-snmp's 'snmpget' and 'snmpwalk'.

All of these can be obtained free online, though the perf SNMP extension is Microsoft property and may have a license.


Brian Fender








"Winters, Jason" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/18/03 01:11 PM

        
        To:        "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        cc:        
        Subject:        Monitoring NT Services


I'm trying to setup Mon to monitor NT services running on Windows 2000 boxes.  Unfortunately, I have little experience with Mon or with network management/monitoring.   Has anyone found a way to monitor NT services reliably?  I've considered using SNMP; however, I haven't found any way to use SNMP to check the status of a running service.  I've considered using SNMP traps; however, this doesn't seem terribly reliable since the UDP packet could never make it to the server running Mon.  Using traps tells me something bad happened but it doesn't give me the sense of security that actually checking the services periodically would give me.
 
Has anyone else in the Mon community found a way to solve this problem?  If possible I'd like to implement something that doesn't require installing software (particularly commercial software) on all of my NT boxes.  Any suggestions, experiences, best practices, things to avoid, etc. would be greatly appreciated.
 
Thanks,
Jason Winters



Re: mon talk at philadelphia perl mongers, 9-dec-2002

2002-12-09 Thread brian_fender

Sorry for late notice, I will be attending perl mongers meeting today (Dec 09).  I live in the area, and use mon extensively to monitor systems at work.

Brian Fender
Bigchalk - The Education Network
www.bigchalk.com








Jim Trocki <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/02/02 06:12 PM

        
        To:        mon mailing list <[EMAIL PROTECTED]>
        cc:        
        Subject:        mon talk at philadelphia perl mongers, 9-dec-2002


on monday, 9-dec 19:00 i'll be giving a talk about mon at this month's
philadelphia perl mongers meeting. if you're interested in learning
more about mon, or if you'd like to badger me about merging some patches
you've sent since the last release, you're welcome to come pay a visit,
meet some people, and otherwise participate.

meetings are held at ISI on 3501 market street, philadelphia, pa.
maps and other information about phl.pm can be found here:

http://phl.pm.org/

hope to see you there. thanks to walt mankowski for scheduling the event.


Jim Trocki <[EMAIL PROTECTED]>
Computer System and Network Engineer
Transmeta Corporation
Santa Clara, CA
___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon




Re: WINDOWS-NT-PERFORMANCE MIB for snmpdiskspace.monitor

2002-11-11 Thread brian_fender

Check this out: 'http://www.geocities.com/Area51/Rampart/9209/'
It has a link a zip, perfm.zip, that has all you need and a nice batch file to install it.

Brian Fender









"Aled Treharne" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/08/02 11:18 AM

        
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        WINDOWS-NT-PERFORMANCE MIB for snmpdiskspace.monitor


Hi guys.

I've been trying to use snmpdiskspace.monitor but running on the command
line, the first line of output is:

aledt:/usr/local/src/mon# ./snmpdiskspace.monitor --community public
--config /usr/local/src/mon/snmpdiskspace.cf krag
Cannot find module (WINDOWS-NT-PERFORMANCE): At line 0 in (none)
krag

[Info I expected to see]

I'm guessing that I'm missing the WindowsNT performance MIB - anyone
know where I can get it, or any pointers would be great...

Thanks,
Aled.

--
Aled Treharne - Technical Solutions Advisor - Frontier Internet Services
Ltd
Tel: 029 2082  Fax: 029 2082 0038  http://www.frontier.net.uk
Statements made are at all times subject to Frontier's Terms and
Conditions of Business, which are available upon request.




RE: SNMP

2002-11-07 Thread brian_fender

Scott and William,,

        I agree, snmp on NT is a pain.  Often many values are empty, or tables are incomplete.  The snmp service also crashes often enough I have to use a batch loop to keep it running.  Many services can be tested in other ways, though.  You can directly connect to mail servers via shell or expect,  scan for listening ports to determine applications that are alive, and use the samba suite to test file and print services.  Performance data is hit-or-miss, you can get it using snmp on some boxes and not others.  Check out this site for more about snmp on NT if you do decide to use it: http://www.geocities.com/Area51/Rampart/9209/

Brian Fender







"Scott Prater" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/04/02 04:24 AM

        
        To:        <[EMAIL PROTECTED]>
        cc:        
        Subject:        RE: SNMP



A caveat:  we've had horrible experience with the Microsoft perfmib and snmp
service.  Some problems we've encountered:

   -- If an interface on a card changes to a down state, the instance
variable simply disappears.
   --  CPU, memory, disk space:  the values never get refreshed after the
first snmp query.  Microsoft recommends stopping and starting the snmp
service every five minutes as a programmed task in order to force a refresh.

In short, forget the Microsoft snmp service.  You'll be much happier
installing an snmp service from either the machine vendor (Compaq and Dell
both have snmp services), or some third-party software, such as Net-SNMP for
Windows.

Or, just reformat the hard drive and install Linux.

Scott Prater
Dpto. Sistemas
[EMAIL PROTECTED]

SERVICOM 2000
Av. Primado Reig, 189 entlo.
46020 Valencia - Spain
Tel. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
www.servicom2000.com




> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
> nombre de Jim Trocki
> Enviado el: viernes, 01 de noviembre de 2002 16:05
> Para: William Bartholomew
> CC: [EMAIL PROTECTED]
> Asunto: Re: SNMP
>
>
> On Fri, 1 Nov 2002, William Bartholomew wrote:
>
> > Can anyone tell me step by step or point me to documentation that tells
> > me what I need to do to set up a linux box that is already running mon
> > to use SNMP to monitor a Windows server.
>
> you didn't say what you want to monitor. to me "monitor a windows server"
> means to decimate a windows server by smashing a 19" viewsonic into it :)
>
> you can use the windows perfmib and snmpvar.monitor to watch things like
> virtual memory, disk performance, etc. hp has their own agent and mibs
> for proliant systems which gives you different details about things like
> whether or not the fans in the chassis are working, status of psus, etc.
> so, it depends on what you want to
>
> snmpvar.monitor comes with a readme which tells you how to get started:
>
> http://ftp.kernel.org/pub/software/admin/mon/contrib/monitors/snmpvar/
>
>
>
> ___
> mon mailing list
> [EMAIL PROTECTED]
> http://linux.kernel.org/mailman/listinfo/mon
>

___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon