LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Better filtered mail notifications

Posted 10-31-2012 at 09:18 AM by sag47

Note: this post is not about mail filtering but about getting better notified on mail that is already filtered. I will assume you have an understanding of bash scripting and how grep works. This includes modifying paths within scripts for your own environment. This is one of those hack together one job scripts.

Background

I am a Linux Systems Administrator at Drexel University and we're primarily a RedHat shop. My work day is high in volume with communication on...
Senior Member
Posted in Uncategorized
Views 1962 Comments 0 sag47 is offline
Old

Extending an LVM volume on a VMWare host

Posted 08-23-2012 at 12:17 PM by sag47
Updated 03-25-2013 at 08:28 AM by sag47
Tags lvm, snapshot

Back story
This is going to be a short blog post. Mostly with commands. Basically I run a media server for online courses/lectures called Echo360 ESS. At some point the LVM volume which holds the lecture captures nearly filled up. I was getting Icinga alerts on it and by looking at the rate of data generation in munin showed me I had better hop to it. So that's what this post is about.

The fun stuff

Add disk to VM

I added a disk to the virtual...
Senior Member
Posted in Uncategorized
Views 2541 Comments 0 sag47 is offline
Old

SELinux and Icinga

Posted 08-05-2012 at 12:39 AM by sag47
Updated 08-05-2012 at 12:57 AM by sag47

Today I ran into an SELinux problem when installing icinga. I followed their documentation "Adjusting the SELinux settings". However my cgis still would not run. When I ran,
Code:
cat /var/log/audit/audit.log | audit2allow -v
I received the following output,
Code:
#============= httpd_sys_script_t ==============
# src="httpd_sys_script_t" tgt="initrc_tmp_t" class="file", perms="{ read getattr open }"
# comm="tac.cgi"
...
Senior Member
Views 118659 Comments 3 sag47 is offline
Old

Leap second and Java woes

Posted 07-27-2012 at 12:25 PM by sag47
Updated 07-27-2012 at 12:27 PM by sag47

This is kind of an old event however I thought I'd talk about it for both myself in the future and for anyone looking for an answer when it happens again. There is a bug in java or the kernel in which leap seconds cause some really nasty behavior. For instance, All app servers which include Jetty, Tomcat, and JBoss were pegged at 100% CPU usage and ridiculously high load averages. I don't know if this affects weblogic because if I recall they ship their own custom build of java which may or may...
Senior Member
Posted in Uncategorized
Views 2561 Comments 0 sag47 is offline
Old

SELinux, syslog-ng, and the like

Posted 06-19-2012 at 10:12 AM by sag47
Updated 08-05-2012 at 12:58 AM by sag47

So recently in my home setup I installed a scheme for centralized logging. I use rsyslog or syslog on the client servers and syslog-ng on the central server. This is nothing new and has been done before.

rsyslog + syslog-ng = gold.

I have a script which parses the syslog-ng logs across all the servers, filters them, and then sends and email with a summary and unusual logs. Each time I got an email I would get, on average, ~200-500 log messages of SELinux errors and...
Senior Member
Views 11048 Comments 1 sag47 is offline

  



All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration