Re: 3.3 Stable Performance Monitoring

1999-10-23 Thread Mike Nowlin


 We also have a few Solaris machines around.  We've purchased a SNMP agent
 from Empire Technology (www.empiretech.com) which can report various system
 performance related parameters, like swap usage, system load, cpu
 utilization, number of open file descriptor, number of processes, etc.
 
 The bad news is that their product doesn't support FreeBSD, although it does
 support Linux.  So we cannot use this tool to monitor the system
 performance.  Instead, we need something else which can do roughly the same
 thing.
 
 Among so many parameters our immediate interests is the following:
 * CPU utilization, % used in Kernel space vs % used in user space
 * RAM utilization
 * SWAP utilization
 * Network bandwidth usage
 * number of file descriptors used
 
 As ususal, any hints/comments are more than welcomed.  Please do mail a copy
 of your response to me directly.  Thanks!
 

I've been writing a program to monitor various values dealing with SNMP --
it's not finished, but it works.  Basically, you tell it what to watch,
and if the values go outside defined thresholds or certain values are/are
not met, it triggers an "alert" -- mail, paging (both TAP and SNPP), etc.
Right now, it's running under Linux with ucd-snmp, but porting it over to
FreeBSD should be simple -- the errors I'm getting are dumb ones that are
easily fixed.  If anybody's interested, let me know -- it's not available
to the general public (I'm sorta embarresed by the code), but the geeks of
the world can get their hands on what I have so far by asking.

mike

(I'll include one of the config files for your browsing and commentary.)






# Machines at SML
#doublewalk {
#name "r2d2_processlist"
#host "r2d2.smlab.com"
#community "Mlx-20L"
#fromoid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrorflag"
#tooid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrmessage"
#frequency 41
#mode 0
#alert "mike_pager"
#}

#doublewalk {
 #   name "r2d2_df"
 #   host "r2d2.smlab.com"
 #   community "Mlx-20L"
 #   fromoid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrorflag"
 #   tooid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrormsg"
 #   frequency 42
 #   mode 0
 #   alert "mike_pager"
#}

doublewalk {
name "palpatine_pslist"
host "palpatine.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrmessage"
frequency 41
mode 0
alert "mike_pager"
}

doublewalk {
name "palpatine_df"
host "palpatine.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrormsg"
frequency 42
mode 0
alert "mike_pager"
}

doublewalk {
name "watto_pslist"
host "watto.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrmessage"
frequency 41
mode 0
alert "mike_pager"
}

doublewalk {
name "watto_df"
host "watto.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrormsg"
frequency 42
mode 0
alert "mike_pager"
}

# check owen's transmit.LOCK lockfile for the reporting/paging system to make
# sure it's not too long...
reportchain {
name "owen_txlockfile"
host "owenpub.smlab.com"
community "Mlx-20L"
oidroot ".1.3.6.1.4.enterprises.ucdavis.50.101"
frequency 60
alert "mike_pager"
}

doublewalk {
name "owen_processload"
host "owenpub.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.loadtable.laentry.laerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.loadtable.laentry.laerrmessage"
frequency 51
mode 0
alert "mike_pager"
}

doublewalk {
name "owen_df"
host "owenpub.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.disktable.dskentry.dskerrormsg"
frequency 52
mode 0
alert "mike_pager"
alert "mike_mail"
}

doublewalk {
name "owen_processlist"
host "owenpub.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrorflag"
tooid ".1.3.6.1.4.enterprises.ucdavis.proctable.prentry.prerrmessage"
frequency 53
mode 0
alert "mike_pager"
}

doublewalk {
name "tarkin_processload"
host "www.smlab.com"
community "Mlx-20L"
fromoid ".1.3.6.1.4.enterprises.ucdavis.loadtable.laentry.laerrorflag"
tooid 

Re: 3.3 Stable Performance Monitoring

1999-10-23 Thread Dennis Michael F.Ponseca

*This message was transferred with a trial version of CommuniGate(tm) Pro*
On Sat, 23 Oct 1999, Tom wrote:

Another way to the monitor system performance in conjunction to snmp is try to
use the MRTG package, in the contrib directory u can find a lot of useful and
working plugins that will monitor system performance.




 *This message was transferred with a trial version of CommuniGate(tm) Pro*
 On Sat, 23 Oct 1999, Gong Wei wrote:
 
  We also have a few Solaris machines around.  We've purchased a SNMP agent
  from Empire Technology (www.empiretech.com) which can report various system
  performance related parameters, like swap usage, system load, cpu
  utilization, number of open file descriptor, number of processes, etc.
  
  The bad news is that their product doesn't support FreeBSD, although it does
  support Linux.  So we cannot use this tool to monitor the system
  performance.  Instead, we need something else which can do roughly the same
  thing.
  
  Among so many parameters our immediate interests is the following:
  *   CPU utilization, % used in Kernel space vs % used in user space
  *   RAM utilization
  *   SWAP utilization
  *   Network bandwidth usage
  *   number of file descriptors used
  
  As ususal, any hints/comments are more than welcomed.  Please do mail a copy
  of your response to me directly.  Thanks!
 
   The ucd-snmp package includes a snmp daemon (snmpd).  That last time I
 did a snmpwalk on it, it reported lots of stuff like you want.  The funny
 part, is that this server probably works on Solaris too, and doesn't cost
 anything!
 
   BTW, I usually get the network bandwidth off the switch the server is
 plugged into though.
 
 Tom
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



RE: 3.3 Stable Performance Monitoring

1999-10-23 Thread Duane H. Hesser

Big Brother?

home: http://maclawran.ca/bb-dnld/index.html

demo: http://maclawran.ca/bb-dnld/new-demo.html

--
Duane H. Hesser
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



No Subject

1999-10-23 Thread Steve Anderson

auth a2ecdf82 unsubscribe freebsd-stable [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: building pgp5 from ports fails

1999-10-23 Thread Satoshi - Ports Wraith - Asami

 * From: Kris Kennaway [EMAIL PROTECTED]

 * Having said that, is there any way you could get bento building restricted
 * ports, but not publishing the packages? It's quite useful for the kind of
 * thing I tried to apply it to (i.e. figuring out whether the port itself is
 * broken, or if it's just the local setup).

That's a good idea.  Since the packages are copied over to
ftp.FreeBSD.org only once per week, there shouldn't be any problem
building RESTRICTED ports during other times.

Actually, since it now creates a restricted.sh file that can be used
to remove restricted packages and distfiles, maybe I can always build
everything and run the script before copying the files over

-PW


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message