Find the Largest Files on a Linux Machine

Mark Berry April 12, 2013

The PBX in a Flash machine at a client site sends me a daily Logwatch email (setup described here). At the bottom of that email are a few lines telling me how much disk space is in use. I also SNMP to monitor disk usage (described here).

Both of these tell me that disk usage is up to 75%. Looking back a few months, it was only 50%. What is using up so much space?

More...

Manage and Monitor Dell PERC RAID under Linux

Mark Berry February 17, 2012

I’ve repurposed an old Dell PowerEdge 1500SC with a PERC 3/SC RAID card for use as a Linux phone server running Asterisk. Unfortunately, the only version of Dell OpenManage that works for the 1500SC (OpenManage 4.5 docs and download) is only supported under Redhat 7.1. I’m using CentOS 5.2, so I’m out of luck.

I eventually found that I could use Linux tools for the LSI MegaRAID SCSI 320-1LP to control and monitor the PERC 3/SC. Visit this download page and search for “OS: Linux”.

More...

SNMP ssCPUIdle Incorrect on CentOS 5.2

Mark Berry July 8, 2011

I use SNMP to monitor ssCPUIdle on CentOS 5.2. Today, after 248 days of uptime, it started returning 0% idle:

$snmpwalk -v 1 localhost –c public .1.3.6.1.4.1.2021.11.11
UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 0

More...

SNMPUtil on Server 2008 R2

Mark Berry July 8, 2011

Yes, SNMPUtil from the Server 2000 Resource Kit, available here, works on Server 2008 R2. The package also includes the handy SNMPUtilG with a graphical interface.

More...

Linux Daily Delete Job with Logwatch

Mark Berry June 7, 2010

I have PBX in a Flash set up to create a daily backup and FTP the file to a Windows server. But how do I get rid of the old backups on the Linux machine, which is running CentOS 5.2? A cron job can do the deletes, but I also want a list of the deleted files delivered with my daily Logwatch 7.3 report.

Here’s what I did:

More...

Using Gzip in a Cron Job at Go Daddy

Mark Berry June 2, 2010

I wanted to copy my web site and subwebs from Go Daddy to my local machine. My trusty old WS_FTP32 client kept disconnecting partway through the (large) download. I installed FileZilla, and while that got further, it ultimately disconnected as well.

I figured if I could compress the larger folders using gzip, I could just download a few compressed files. But this Go Daddy account doesn’t have shell access. How do I run gzip? With a Cron job!

More...

PBX in a Flash as a Virtual Machine, Take 2: Hyper-V

Mark Berry February 16, 2010

Back in November 2008, I blogged  about Setting Up PBX in a Flash, Part 1: Configuring a Virtual Machine. That article discussed running PBX in a Flash (PiaF) under Microsoft Virtual PC or Virtual Server 2005. Within a couple weeks, I abandoned the virtual machine approach and published Moving PBX in a Flash from a Virtual to a Physical Machine.

Recently I’ve been testing Microsoft’s free bare-metal hypervisor, Microsoft Hyper-V Server 2008 R2. Especially now that Hyper-V supports Red Hat Enterprise Linux, could Hyper-V be the answer to virtualizing PiaF on a Microsoft platform?

Let’s try it and see what happens.

More...

Using an APC UPS with PBX in a Flash

Mark Berry March 30, 2009

Today a client had a power outage. Although the PBX in a Flash (PiaF) server was on an Uninterruptible Power Supply (UPS), the outage lasted long enough that the PiaF server crashed. Twice. Time to brave the waters of installing UPS monitoring software under Linux.

The version of PiaF that I’m using is based on CentOS 5.2, which is derived from Red Hat Enterprise Linux 5.2. APC PowerChute Business Edition supports Linux if you are using their higher-end SmartUPS line, but there is no support for BackUPS-type UPSs.

More...

About

Welcome to MCB Systems!

MCB Systems is a San Diego-based provider of software and information technology services.

Our software services include customization and programming to make software work for you.

Our proactive I.T. services help businesses control costs by providing a fixed monthly bill for routine I.T. services.

We take a consulting approach that listens first and provides solutions tailored to your business.

Contact MCB Systems today to discuss your technology needs!

Copyright © 2017 MCB Systems. All rights reserved.
Terms of Use - Privacy Policy
Created in WordPress using the Afterburner theme by RocketTheme.