[mrtg] Re: NT stats gathering problem
Mark Spieth
mspieth at telserve.com
Wed Aug 25 02:31:12 MEST 1999
no you shouldnt have to put the mid in. MRTG doesnt care about the mib just
as long as it can get a value from the oid.
umm, I assume this counter never worked. You need 2 oids..
Target[pooh.cpu]:1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.0&1.3.6.1.4.1.311.1.1.3.1.1
.2.1.4.0:public at host
> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
> Behalf Of Mike Holley-
> Sent: Tuesday, August 24, 1999 8:18 PM
> To: 'Hugh Messenger'; Mark Spieth
> Cc: 'MRTG mailing list'
> Subject: [mrtg] Re: NT stats gathering problem
>
>
> I am running the MRTG application on a Linux 6.0 box and I am polling the
> CPU and memory stats of an NT 4.0 box. You bring up an interesting point
> about the MIB file. I am able to get the value of the OID that MRTG is
> complaining about by using SNMPGET without any difficulty, but is there
> somewhere, either within Linux or MRTG that I have to place the NT
> performance monitor MIB in order for MRTG to perform a get on the related
> OIDs?
>
> Michael D. Holley, CNE
> IT Technician
> Delta Controls Inc.
> mholley at deltacontrols.com
>
>
> -----Original Message-----
> From: Hugh Messenger [SMTP:hugh at HiWAAY.net]
> Sent: Tuesday, August 24, 1999 5:08 PM
> To: Mark Spieth
> Cc: 'MRTG mailing list'
> Subject: [mrtg] Re: NT stats gathering problem
>
>
> I'm confused - is Mike running this on NT? I thought his message
> indicated that he is running on Linux, but trying to add polling of
> an NT
> box to his stats.
>
> In which case, likely problem is not having the correct MIB loaded
> ..
>
> -- hugh
>
> On Tue, 24 Aug 1999, Mark Spieth wrote:
>
> > 1. Yes they are basicly portable, as long as you change your
> > working directory. Which in this case seems to be your problem.
> > If you are running on NT you dont have a /home directory. It
> > should be something like c:\inetpub\wwwroot\mrtg
> >
> > workDir: /home/httpd/html/web/nt/phoenix
> > IconDir: /home/http/html/web
> >
> >
> >
> >
> > > > -----Original Message-----
> > > > From: mrtg-bounce at list.ee.ethz.ch
> [mailto:mrtg-bounce at list.ee.ethz.ch]On
> > > > Behalf Of Mike Holley-
> > > > Sent: Tuesday, August 24, 1999 7:27 PM
> > > > To: 'MRTG mailing list'
> > > > Subject: [mrtg] NT stats gathering problem
> > > >
> > > >
> > > > Hi there,
> > > >
> > > > I am trying to setup MRTG to monitor the CPU utilization for
> > > one of our NT
> > > > boxes. MRTG is working fine on our Linux box for monitoring
> our router
> > > > throughputs, but when I attempt to use the following config
> file
> > > > along with
> > > > MRTG to poll the NT box for its CPU Util. It errors out. The
> > > following is
> > > > the config file that I am using along with the errors
> generated.
> > > > I know that
> > > > the config file mentions that it is for MRTG for NT, so
> another
> > > question I
> > > > have is whether or not the config files are portable between
> platforms.
> > > > Thanks in advance for any help.
> > > >
> > > > The following is the content of ntcpu.cfg that is used for
> > > polling the NT
> > > > box for CPU utilization
> > > >
> > > >
> ####################################################################
> > > > # MRTG WINDOWS NT CONFIG FILE
> > > > # EDM268: CPU #1 Usage (%)
> > > > # Researched and configured (including compile into NT
> environment)
> > > > # by Garth K. Williams (1998)
> > > > # Edmonton, AB (403) 469-4341
> > > > # Original Date: 05April1998
> > > > # Lost ALOT of sleep, but couldn't have done it without:
> > > > # MRTG (WHAT A GREAT PROGRAM!)
> > > > # PERL (SEE ABOVE)
> > > > # GD (DITTO)
> > > > # DJGPP (DITTO, AND ALSO HARD TO BELIEVE IT'S FREE)
> > > >
> ####################################################################
> > > > workDir: /home/httpd/html/web/nt/phoenix
> > > > IconDir: /home/http/html/web
> > > >
> > > > Title[^]: CPU #1 Usage (%) on System:
> > > >
> > > > Background[192.168.50.251_CPU1]: #9090909
> > > >
> Target[192.168.50.251_CPU1]:1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0:publ
> > > > ic at 192.168
> > > > .50.251
> > > > MaxBytes[192.168.50.251_CPU1]: 100
> > > > Title[192.168.50.251_CPU1]: Phoenix
> > > > PageTop[192.168.50.251_CPU1]: <H2>CPU #1 Usage (%) on System:
> > > Phoenix</H2>
> > > > options[192.168.50.251_CPU1]: gauge, nopercent, absolute,
> transparent
> > > > Unscaled[192.168.50.251_CPU1]: dwmy
> > > > #Supress[192.168.50.251_CPU1]:dwmy
> > > > XSize[192.168.50.251_CPU1]: 380
> > > > YSize[192.168.50.251_CPU1]: 100
> > > > YLegend[192.168.50.251_CPU1]: CPU Usage (%)
> > > > ShortLegend[192.168.50.251_CPU1]: %
> > > > Legend1[192.168.50.251_CPU1]: CPU use in percent
> > > > #Legend2[192.168.50.251_CPU1]:
> > > > #Legend3[192.168.50.251_CPU1]:
> > > > #Legend4[192.168.50.251_CPU1]:
> > > > LegendI[192.168.50.251_CPU1]: CPU: 
> > > >
> > > > Errors received are as follows :
> > > >
> > > > SNMPGET problems for ifOutOctets sysUptime sysName on
> > > > public at 192.168.50.251
> > > > <mailto:public at 192.168.50.251>
> > > > SNMPGET:Failed to reach target:
> > > > "1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0:public at 192.168.50.251. I
> > > tried multiple
> > > > times!
> > > >
> > > > If I use SNMPGET to query OID :
> 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.0
> > > > it returns
> > > > the value without any problems.
> > > >
> > > > It looks like MRTG is still attempting to query the OIDs for
> the router
> > > > traffic stats. Are there modifications to the MRTG perl script
> > > > that need to
> > > > be made in order to do all of the extra data collection, such
> > > as the CPU,
> > > > hard drive, etc.. monitoring? I thought it was simply the
> > > > implementation of
> > > > the custom config file that was needed in this case.
> > > >
> > > > Michael D. Holley, CNE
> > > > IT Technician
> > > > Delta Controls Inc.
> > > > mholley at deltacontrols.com
> > > >
> > > > --
> > > > * To unsubscribe from the mrtg mailing list, send a message
> with the
> > > > subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > > > * The mailing list archive is at
> http://www.ee.ethz.ch/~slist/mrtg
> > > >
> >
> > --
> > * To unsubscribe from the mrtg mailing list, send a message with
> the
> > subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> > * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
> >
> >
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
> --
> * To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
> * The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list