Browsed by
Month: January 2013

Java Class Path Error–invalid flag

Java Class Path Error–invalid flag

I’m brand new to Java and by no means a professional coder but due to the nature of my job I have to be able to write a little bit of code in different languages. Yesterday I found out that I needed to be able to write a bit of Java for a project I’m working on so you may see Java related stuff on my blog the next couple days. Here’s the first thing I noticed:I tried to include…

Read More Read More

Pushing New Plugin to Hyperic Agents

Pushing New Plugin to Hyperic Agents

If you ever update a plugin on your Hyperic Server you may need to push it out to your Hyperic Agents. To do this find you Hyperic Agent under the Servers group. It should look like <Server Name> HQ Agent 5.0.0. Select this and go to the Views tab. From here select Agent Commands and Push Plugin. After pushing your plugin you will need to restart the agent using the same Agent Commands section.

Apt-Get Proxy Settings

Apt-Get Proxy Settings

I needed to tell apt-get to use a specific proxy and here is what I found after some googling… 1. Go to /etc/apt/apt.conf.d/ 2. Create a new file called “80proxy” 3. Put your proxy information in said file in the following format: Acquire::http::proxy “http://proxy.domain.com:port/”; Acquire::https::proxy “http://proxy.domain.com:port/”; Acquire::ftp::proxy “http://proxy.domain.com:port/”;

Multiple Monitors on Linux Mint XFCE

Multiple Monitors on Linux Mint XFCE

If you want to run multiple monitors with Linux Mint I found a great way to do it thanks to http://forums.linuxmint.com/viewtopic.php?f=57&t=122367. sudo apt-get install arandr Then go to Menu > Settings > ARandR and align the monitors correctly. It’s as easy as it should be.

Writing PowerCLI for Performance

Writing PowerCLI for Performance

I was building a piece of PowerCLU code to check on my vCD Deployed vAPPs for certain errors and because it’s me I was curious what performance difference there was between using array based operations verses piped operations in powershell. Here’s what I found out. Here is the array based operation – time to completion 2 minutes 30 seconds. $myVAPP = @(Get-CIVApp | Select-Object Org, Name, Status)        foreach ($myVAPP.Name in $myVAPP)            {                IF ($myVAPP.Status -eq “FailedCreation”)                     {                        Write-Host ‘vAPP’…

Read More Read More

vFabric Hyperic Server Heartbeat

vFabric Hyperic Server Heartbeat

I wrote a quick safety feature for my Hyperic server that monitors the Hyperic Server process every minute and if the Server stops or dies the script will attempt to restart it. Nothing fancy but it’s a nice little feature… plus you can change a couple lines and make one to monitor your Hyperic Agents as well… #!/usr/bin/perl# ———- Hyperic 5.0.0 Server Heartbeat Check ————# This script is used to verify that the Hyperic 5.0.0 Server is running and#    restarts…

Read More Read More

Getting Started with vFabric Hyperic Monitoring and Alerting

Getting Started with vFabric Hyperic Monitoring and Alerting

During the past couple days I have been working with Hyperic to setup basic alerting functionality for things like disk space thresholds, Windows Services and memory usage by process. Here is a quick getting started to setup basic disk monitoring as well as an intro to the Hyperic Escalation Schemes which allow tiered alerting. First off let’s create an Escalation Scheme. To do this go to Administration > Escalation Schemes Configuration. Next Let’s go ahead and build the process of…

Read More Read More

Configuring VMware vCSA with Active Directory

Configuring VMware vCSA with Active Directory

I ran into 2 issues while using the vCenter Server Appliance and integrating it with AD and what I found I figured might help some of you in the future. Here goes: Issue 1: vCSA fails to join the AD domain. On the initial deployment of my vCSA I got an error while attempting to join my AD Domain that says “Error: Enabling Active Directory failed”. That’s it… nothing useful… When this happens you can run the process manually and…

Read More Read More