Wednesday, September 9, 2009

 

monitoring systems and the sysadmin intranet

Recently at work I got myself involved in revamping our monitoring system. This got me thinking about all of of the things a monitoring system should do for you and the needs of systems people for internal tools. Basically, for each type of system you want to monitor (os, jvm, webserver, etc) certain aspects should be defined on both the front-end and back-end of the app.


Reporting



entityCollectionStorageThresholdingAlertingDisplayTrending
OSSNMPRRDdisk too full? CPU too high?snmp traps, emailRRD for cpu, disk, netMonthly rollup/curve extrapolation
Apache httpdcurl/mod_statusRRD,csvvalues out of whack?snmp traps, emailapache-specific templateMonthly rollup
JVMJMXRRDGC too long? Old Gen too fullsnmp traps, emailincrease heap?


And that doesn't even start to get into the front-end needs for OLAP-style reporting needed for all of this stuff, a wiki to document everything, an admin interface to define new templates and collections, etc etc etc.

Another important aspect is a decent live console for 24/7 operations to watch for all of those Alerting things.

Labels:


Tuesday, September 8, 2009

 

some gcc flags

This is how I compiled openldap once. It allowed me to have all the dependencies available when I tar-ed up the openldap dir and distributed it around.

export LDFLAGS="-L/usr/lib/lwp/64 -L/lib/64 -L/usr/lib/64
-L/usr/sfw/lib/sparcv9 -Wl,-R/usr/lib/lwp/64 -Wl,-R/lib/64
-Wl,-R/usr/lib/64 -Wl,-R/usr/sfw/lib/sparcv9
-L/usr/local/openldap64-ol2.3.23-bdb4.2.52/lib
-Wl,-R/usr/local/openldap64-ol2.3.23-bdb4.2.52/lib -m64"


export CPPFLAGS="-I/usr/local/openldap64-ol2.3.23-bdb4.2.52/include"


export CFLAGS="-m64 -O2"

Labels: ,