Twitter Feed

    Swimming with a sea turtle

    I got to swim with a Sea Turtle during my recent visit in Hawaii. Though, I have been there several times, this was the first opportunity I had to do this, and it was absolutely amazing.

    Simple Puppet environment if/else statement

    I’m playing around with Puppet environments. One thing that I want to do is manipulate the module templates based on their appropriate environment. This is a simple example of how that it is done. In my case, I’m simply printing a single line based on the environment.

    Expanding on this, say, I want to change the ownership of the bits on an Apache directory based on the environment. Here is an example of how one might do it:

    If you have any suggestions on how to make it more complex, let me know.

    Custom mod_security RPM spec with Atomic Secured Ruleset (no rules included)

    I build a mod_security RPM that uses the ASL (Atomic ModSecurity Rules, ) which is a subscription based service. The rules are updated on daily basis to fix false positives and addressing false negatives. In my environment, I have a build server that downloads the latest rules from ASL, and then compiles the RPM. I use the recommended minimum of the rules to compile, and then the build host tests the RPM against itself to ensure the new rules aren’t going to break HTTPD. Once it passes the sanity check, it pushes the newly built RPM to the yum repository. I will update this post when I have fully tested the scripts.

     

     

    Linux kickstart lifecycle (diagram)

    A while back, I was asked to create a functional flow diagram of the Linux kickstart. I drew some inspiration from the other kickstart diagram online, but tried to improve on those. Here is the link to the file: Linux Kickstart Lifecycle

    Peace

    I got this from someone on reddit not too long ago:

    I bookmarked it because it represents a dream that I think everyone has. I don’t know you or anything about you. I don’t know what kind of worries you had or crises you may have been going through at that time. What I do know is this picture isn’t about you, your dog, the lake, or that day. This picture, to me, is only about one thing. Peace. The peace of not worrying about your mortgage, that project at work, issues with your family, diseases, politics, or anything.

    Thankfully, I’m not dealing with any sorts of crises now, but I still look at that picture every now and then in hopes that I can one day feel at peace with everything as you did that day.

    I thought it was an excellent analogy of how I felt about it. By far, my favorite.

     

    /usr/bin/ld: cannot find -luuid

    I was compiling an RPM for the latest version of HTTPD (2.2.22) for CentOS 6.2 x86_64 when I ran into a build error:

    Apparently, my build host was missing a few packages. Namely, the uuid packages To resolve the issue, I installed the following via Yum:

    yum provides */libuuid.so – identify the package, and then proceed to installing it.

    Happy compiling!

    CentOS 6.x Zabbix dashboard show zabbix-server is not running

    Update: Upgrading to version 1.8.12 resolved this issue.

    If you’re running Zabbix 1.8.10 server on a CentOS 6.x server that was installed from EPEL, then you will more than likely run into this issue. Apparently, the default Zabbix Linux template looks for the following:

    This is incorrect for the current EPEL installation (v1.8.10) since the correct proc is named zabbix_server_mysql. To correct the issue, adjust the configuration for your Zabbix Linux template to look for the aforementioned, and then change to the following:

    Problem solved.