[mrtg] Re: Win98 machines in use?

Glenn Forbes Fleming Larratt glratt at rice.edu
Mon Mar 6 22:18:25 MET 2000


	Perhaps:

Target[whatever]: `nmap -sP 192.168.18.0/24 | awk '/ hosts up/{print $8}' | awk -F\( '{printf "%s\n%s\n0\n0\n",$2,$2}' `

	OK, it's a gratuitous plug for nmap, but it'd work :)

		-g


On Mon, 6 Mar 2000, Stieers, Ken wrote:

> Date: Mon, 6 Mar 2000 14:56:30 -0600 
> From: "Stieers, Ken" <KStieers at dainrauscher.com>
> To: "'Drouillard, Ken'" <ken at ivey.uwo.ca>, mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: Win98 machines in use?
> 
> How about a ping test of some kind? 
> 
> Write a script that pings a list of machines, parses the result sends that
> to MRTG? 
> 
> Ken 
>  
> > Hi all,
> > I am running MRTG on WinNT, works fine if a little disk intensive.
> > I need to monitor the # of Win98 machines in use (powered on) 
> > in our student
> > lab. I tried the sum ifOperStatus across all IP's to no 
> > avail.....is there
> > another way to go about this? Something which perhaps would 
> > return 1 if on
> > and 0 if off, so I could just perform a sum?
> > Any suggestions would be appreciated.
>  
> 
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/mrtg
> 
> 

				Glenn Forbes Fleming Larratt
				Rice University Network Management 
				glratt at rice.edu

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list