[mrtg] Re: [mart] Re: Problem with bandwidth monitor

Johnston Michael J Contr AFRL/DES michael.johnston at kirtland.af.mil
Fri Jan 23 17:45:37 MET 2004


Sorry for not knowing, but will a WMI script run on a Linux server?  If it
doesn't, I'm sure someone has already written a script for Linux that does
this.  Thanks for the input William. :)

-----Original Message-----
From: William Owen [mailto:William.Owen at ProfilesInternational.com]
Sent: Friday, January 23, 2004 9:34 AM
To: Johnston Michael J Contr AFRL/DES; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] [mart] Re: Problem with bandwidth monitor


I had some issues early on monitoring windows boxes with SNMP and opted to
use WMI scripting to handle the job as apposed to SNMP.  Any value that you
can pull using WMI scripting can be graphed using MRTG.

Target[Example]: 'cscript //Nologo YourScript.vbs'

MRGT does a great job of graphing in this configuration.  Just remember that
your scripts need to feed it 4 bits of info:
Data I
Data O
Sys description
Sys uptime

If you only monitoring one thing (such as free memory or CPU usage) you can
output the value twice for Data I and Data O and use the noi or noo to
remove the redundant reading during graphing.

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil] 
Sent: Friday, January 23, 2004 9:18 AM
To: Dowling, Steve; mrtg at list.ee.ethz.ch
Subject: [mrtg] [mart] Re: Problem with bandwidth monitor

Thanks for the response!  I'm going to read though and see if I can figure
out exactly what I'm doing wrong with the SNMP on windows. =) 

Do you think that this method monitoring network traffic is that best or
should I be looking at another way?  Thanks again!

Mike Johnston

-----Original Message-----
From: Dowling, Steve [mailto:Steve.Dowling at tafensw.edu.au]
Sent: Thursday, January 22, 2004 7:44 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: [mart] Re: Problem with bandwidth monitor


Mike,

Ah ha!  Zeros in the log file!  This smells like a crook response from
your Windows machine.  
You must work out what your Windows machine is giving you in response to
your snmp query.

Try another snmp mib browser, I get very good results with GETIF 
(http://www.wtcs.org/snmp4tpc/getif.htm).  This will hep you separate
the snmp problems, 
from the Windows problems, from the mrtg problems ... 

Steve Dowling

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil] 
Sent: Friday, 23 January 2004 3:52 AM
To: 'brandon.baker '; Johnston Michael J Contr AFRL/DES;
'mrtg at list.ee.ethz.ch '
Subject: [mrtg] Re: [mart] Re: Problem with bandwidth monitor


Bradon,

The log file has only zeros in it.  The numbers are spaced apart like a
normal log file, but it's like there is no data.  I also don't see any
errors in the mrtg log file.  The strange thing is that it started
working for a brief while as I was messing with the cfg, but when I
added new machines to the file, its stopped working again.

Am I possibly missing something on the windows machines?  I can't wait
to figure this out... Thanks!

Mike

-----Original Message-----
From: brandon.baker
To: 'Johnston Michael J Contr AFRL/DES'; mrtg at list.ee.ethz.ch
Sent: 1/22/2004 5:41 AM
Subject: RE: [mrtg] Re: [mart] Re: Problem with bandwidth monitor

Mike,

What shows up in your log file for the systems that don't work.  If no
log file is created, then what is the error that you get when you run
mrtg against the config file?


Brandon

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil]
Sent: Thursday, January 22, 2004 12:17 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: [mart] Re: Problem with bandwidth monitor


Okay, I've tried several things here.  

I've separated the services I'm wanting to monitor to other files and
that didn't work.  I've re-arranged things in each file to no avail.
I'm almost positive that the Linux box is reading the SNMP from the
windows machines because it's reading the "Up Time" correctly.  When I
restart the SNMP Service on the windows machine, the "Up Time" resets to
zero.  

What could I be doing wrong?  I have one machine working perfectly and 4
that are not with the traffic monitor.  Oh, another thing I tried was
setting up a probe to monitor TCP connections to each machine, and they
all work!  Someone help before I go postal... ;) 

Mike

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil]
Sent: Wednesday, January 21, 2004 6:03 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Problem with bandwidth monitor


Maybe this is it... what is the difference between:

1:public at 10.10.10.11:
MRTG_INT_IP="10.10.10.11

Should these IP's be the same or is the MRTG_INT_IP telling the target
to go somewhere with that data?

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil]
Sent: Wednesday, January 21, 2004 5:55 PM
To: Waltman, Adam; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Problem with bandwidth monitor


Yeah that was a mistake in my attempt to hide my ip range... I'm a
slickster I tell ya...

Anyway, I got the second computer to work for 10 minutes, but when I
added another  machine below it, it stopped again.  The first one is
going strong still though...


-----Original Message-----
From: Waltman, Adam [mailto:AWaltman at anacomp.com]
Sent: Wednesday, January 21, 2004 5:51 PM
To: 'Johnston Michael J Contr AFRL/DES'; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Problem with bandwidth monitor


The only thing I see that's different is the Target line.  The target
for Eclipse has a 129.238.158.202 address while it is looking at the 10
network address.  Filer1's target line has the same 10 network address
as the SetEnv line.

Adam

-----Original Message-----
From: Johnston Michael J Contr AFRL/DES
[mailto:michael.johnston at kirtland.af.mil]
Sent: Wednesday, January 21, 2004 7:14 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Problem with bandwidth monitor



I'm wondering if anyone can tell me what I might be doing wrong here?
I'm running MRTG on a Linux box trying to monitor 2 windows machines.
For some reason, the first windows machine gives data but the other does
not.  I also have the SNMP services in windows setup exactly the same.
Please let me know if you see anything that I might be missing here.
Thanks!



########################################################################
###

Target[ECLIPSE]: 1:public at 129.238.158.202:
SetEnv[ECLIPSE]: MRTG_INT_IP="10.10.10.10"
MRTG_INT_DESCR="FastEthernet0/0"
MaxBytes[ECLIPSE]: 12500000
#-#Total[ECLIPSE]: Summary of Traffic
Title[ECLIPSE]: Traffic Analysis for Eclipse
PageTop[ECLIPSE]: <H1>Traffic Analysis</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Backup Server</TD></TR>
   <TR><TD>Maintainer:</TD>
<TD>michael.johnston at kirtland.af.mil</TD></TR>
   <TR><TD>Description:</TD><TD>FastEthernet0/0 application subnet
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/0</TD></TR>
   <TR><TD>Ip:</TD>         <TD>10.10.10.10 (application
subnet)</TD></TR>
 </TABLE>

########################################################################
###
 

Target[FILER2]: 1:public at 10.10.10.11:
SetEnv[FILER2]: MRTG_INT_IP="10.10.10.11"
MRTG_INT_DESCR="FastEthernet0/0"
MaxBytes[FILER2]: 12500000
#-#Total[FILER2]: Summary of Traffic
Title[FILER2]: Traffic Analysis for FILER2
PageTop[FILER2]: <H1>Traffic Analysis</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>Range Server</TD></TR>
   <TR><TD>Maintainer:</TD>
<TD>michael.johnston at kirtland.af.mil</TD></TR>
   <TR><TD>Description:</TD><TD>FastEthernet0/0 application subnet
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/0</TD></TR>
   <TR><TD>Ip:</TD>         <TD>10.10.10.11 (application
subnet)</TD></TR>
 </TABLE>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list