[mrtg] Re: Bea Weblogic monitoring?

Pavleck, Jeremy Jeremy.Pavleck at capella.edu
Wed Aug 11 20:20:06 MEST 2004


 True, but the problem with is the way WebLogic works. En explicit OID
for, say, the current idle thread count will return multiple OID's with
values. 
Querying .1.3.6.1.4.1.140.625.180.1.25 will return up to 11 different
OIDs, each with a different value (These correspond to the nodes in the
cluster and other things). So far, I've had to take those real long OIDs
and add them together manually, which is a pain when things break on me.
I was hoping there would be an easier way to do it. 

To put it more graphically - I'd like to be able to query:
.1.3.6.1.4.1.140.625.180.1.25
Which returns
.1.3.6.1.4.1.140.625.180.1.25.32.102.56.53.57.57.55.50.99.56.102.99.57.5
6.98.50.102.98.49.99.50.97.54.48.55.56.57.99.56.57.98.53.50 : 7
.1.3.6.1.4.1.140.625.180.1.25.32.56.53.101.53.56.97.49.55.102.54.102.102
.50.99.48.100.101.100.56.51.102.50.55.51.102.99.52.101.57.97.52.49 : 2
.1.3.6.1.4.1.140.625.180.1.25.32.50.97.50.55.53.102.100.57.49.51.51.48.9
7.101.102.100.49.102.50.101.51.51.50.55.48.48.50.55.54.97.50.102 : 25
(etc etc)
And adds them up and graphs it without having to do
longassoid&longassoid + Longassoid&longassoid, etc etc. 
I've tried different variations of using the root OID, but all my
efforts always end up with the errors " $target->[1]{$mode} ' did not
eval into defined data" or " $target->[1]{$mode} ' (warn): Use of
uninitialized value in concatenation (.) or string at (eval 9) line 1.".


So maybe I am just truly showing just how little of MRTG I know,
especially when it comes to this goofy thing (All SNMP queries are
directed at the admin node, with variations of the SNMP Community
telling it what info to grab. A community like ME at DOM for an admin node,
then ME at NodeA, ME at NodeB, etc for the nodes in the cluster. OI!)

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Britt Tabor
Sent: Wednesday, August 11, 2004 12:59 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Bea Weblogic monitoring?

Pavleck,

	I know that the OIDs will return a large string of numbers but
you should still be able to refer to their explicit OID and have the
value returned. example:

I monitor pagefile usage and the explicit OID for that is:
1.3.6.1.4.1.311.1.1.3.1.1.6.1.3.0

If I run a get on this a get a value (integer 3), if I do a snmpwalk on:
1.3.6.1.4.1.311.1.1.3.1.1.6.1.3

it returns:
1.3.6.1.4.1.311.1.1.3.1.1.6.1.3.101.123.104.45.12.140.115.128: integer 3

So even though the OID that shows in a walk is long and doesn't seem
correct or changes you should still be able to GET the explicit OID
value.

Try that and let me know how it goes...



Britt Tabor
I.T. Infrastructure Engineer



-----Original Message-----
From: Pavleck, Jeremy [mailto:Jeremy.Pavleck at capella.edu]
Sent: Wednesday, August 11, 2004 1:43 PM
To: Britt Tabor
Subject: RE: [mrtg] Bea Weblogic monitoring?

There's a whole slew of OIDs that we monitor, things like Heap size,
heap free, connections, etc - the only problem is is that it's not
simple to do - you have to call the OIDs explicitly and they will change
at random times. Something like the IdleThreadCount at
.1.3.6.1.4.1.140.625.180.1.25 will pull back a slew of OIDs with their
values like
.1.3.6.1.4.1.140.625.180.1.25.32.49.54.52.49.51.102.54.56.102.97.57.52.4
8.52.51.97.57.48.57.54.101.52.97.57.55.55.56.51.52.48.54.102 , etc. That
we add up to graph. But seeing as Weblogic uses a nonstandard SNMP
wrapper (You have to enable NoMib2) and we have it on a non-standard
port, there aren't a lot of tools I can use to script something logical.
I was hoping someone would have an answer out there, but it looks like
no one really does! 

-----Original Message-----
From: Britt Tabor [mailto:Britt_Tabor at Jabil.com]
Sent: Wednesday, August 11, 2004 12:34 PM
To: Pavleck, Jeremy
Subject: RE: [mrtg] Bea Weblogic monitoring?

I use weblogic and MRTG but don't use MRTG to monitor WL. I didn't
realize that they had SNMP hooks imbedded in the application. What
exactly are you trying to monitor???



Britt Tabor
I.T. Infrastructure Engineer



-----Original Message-----
From: Pavleck, Jeremy [mailto:Jeremy.Pavleck at capella.edu]
Sent: Wednesday, August 11, 2004 1:03 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Bea Weblogic monitoring?

Is anybody out there monitoring BEA WebLogic server with MRTG? I'd like
to find out how you're doing it - as it's a pain in the butt to
reconstruct the config everytime the OIDs change (Not to mention all the
additon and what not). 




--
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