Bruce,

One last point on the relevance of these MIBs -

There's a 'secret' feature built into memconf
(http://www.4schmidts.com/memconf.html) where if you take the output of
"prtdiag -v" and "prtconf -pv" and 'cat' them together into one file,
you can then "memconf -v combinedoutput.txt". This will give you the
exact memory layout, cpu config, etc. as if you were on the host. This
can be extremely useful.

Tony

-- 
"Computer science is as much about computers as 
        astronomy is about telescopes" -- Edsger Dijkstra 
--------------------------------------------------------- 
Anthony Tonns, UNIX Administrator - [EMAIL PROTECTED] 

  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 28, 2004 5:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: agent hung up running "exec" process
> 
> I can agree with your point - that these can be expensive to query.
> However...
> 
> 1) I only query the prtdiag/prtconf MIBs once a day for automated
> inventory (and VERY occassionally manually), so it's really not THAT
> expensive. I'm looking at the idprom, etc.
> 
> 2) With the "ps" command, the hrSWRunTable doesn't provide 
> the user that
> is running the process or the parent process id. It's the difference
> between checking that root is running "syslog-ng" as a child 
> of init and
> some user is running "more syslog-ng.conf" - which used to trigger my
> alert systems all the time.
> 
> 3) These are working like a champ across my production 
> network (over 100
> hosts) with net-snmp 5.0.7 on Solaris 7 and on one earlier test system
> with net-snmp 5.0.4pre1 on Solaris 9. It's hard to justify gutting the
> existing production setup and changing all the homegrown scripts that
> use them.
> 
> -- 
> "Computer science is as much about computers as 
>         astronomy is about telescopes" -- Edsger Dijkstra 
> --------------------------------------------------------- 
> Anthony Tonns, UNIX Administrator - [EMAIL PROTECTED] 
> 
>   
> 
> > -----Original Message-----
> > From: Bruce Shaw [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, July 28, 2004 4:37 PM
> > To: Anthony Tonns; [EMAIL PROTECTED]
> > Subject: RE: agent hung up running "exec" process
> > 
> > Prtdiag can be pretty expensive in terms of resources and 
> > returns a lot of
> > irrelevant stuff.  Unfortunately, I haven't found the API's 
> > to deliver it
> > any other way, but I'm still looking.  I found another clue today.
> > Prtconf delivers stuff available in HOST-RESOURCES-MIB and 
> > UCD-SNMP-MIB.
> > Ps-au delivers stuff available in HOST-RESOURCES-MIB.
> > 
> > >exec .1.3.6.1.4.1.2021.50 prtdiag 
> /usr/platform/sun4u/sbin/prtdiag -v
> > >exec .1.3.6.1.4.1.2021.51 prtconf /usr/sbin/prtconf -pv
> > >exec .1.3.6.1.4.1.2021.52 ps /usr/bin/ps -ae -o user,pid,ppid,args
> > 
> > Given all three are extremely verbose, perhaps workaround 
> > could be found for
> > them and only query on the stuff you absolutely have to have 
> > using execs.
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_idG21&alloc_id040&op=ick
> _______________________________________________
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to