search
top

Retrieving Disk Information and Freespace Using PowerShell 2

It is always nice to be able to retrieve disk information for the systems. Alot of scripts are used to gather the information so Administrators can keep ahead of the demand for space. With PowerShell 2 it is simple to retrieve the information in a single line using the win32_volume WMI class call. Now in this example I am only retrieving four items and rounding the values to two decimal places. There are... read more

Monitoring Your System with Munin on Fedora

Have a few servers and want to get some stats on IO, CPU, networking and other data don’t have full blown monitoring, this is where Munin can help out. Installation is simple Install Munin. $ sudo yum install munin munin-node Enable and start munin-node service $ sudo systemctl enable munin-node.service $ sudo systemctl start munin-node.service Set the password for the Munin id to access theĀ  site $... read more

Monitoring Filesystem Events with incron on RHEL 6

Have you ever wanted to know when a file is changed or accessed by the system or user? There is a program that does just that task called Inotify cron (incron). Incron is for monitoring filesystem activity. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the inotify cron handles filesystem events rather than time periods incron... read more

Windows 2008 R2 Cluster Report with PowerShell

You know how it is, manager love reports and really we geeks like some reports as well. Recently I was tasked to generate a health check report for some of the Windows 2008 R2 Active / Passive clusters using PowerShell. With Windows 2008 R2 cluster Microsoft has provided FailoverClusters modules as well as the deprecated cluster command. There is no per say report to check for a status on clusters. Using... read more

Installing Nagios Part 2 – The Agents

In following with a previous post on installing Nagios we are ready to move to installing the agents. In particular Linux, Solaris 10 and Windows agents to allow Nagios to do what it does best and monitor. Linux For my installation I am using CentOS 6.2 for which the EPEL repository has all the packages I need for NRPE and Nagios Plugins. # yum search nagios nagios.x86_64 : Nagios monitors hosts and... read more

« Previous Entries

top