DevOps Monkey Goodness

Posts in category Uncategorised

OpsView Nagios Check_AWS_EC2 – ...

OpsView Nagios Check_AWS_EC2 – Can’t Locate Nagios/Plugin.pm

This one got me stuck for a little while trying to get Nagios AWS plugins working on my RHEL OpsView (Nagios) server: Can’t locate Nagios/Plugin.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./check_aws_ec2 line 12. BEGIN failed–compilation aborted at ./check_aws_ec2 line 12. This turns out to be quite simple to […]

How To Install The MarkLogic Nagios P...

How To Install The MarkLogic Nagios Plugin in OpsView

Monitoring MarkLogic clusters can easily be accomplished using OpsView and the MarkLogic Nagios plugin.  Here’s how: NOTES:  According to the MarkLogic monitoring documentation: The Nagios host must be one of the following platforms: • Red Hat Enterprise Linux 5 (x64)• SUSE Linux Enterprise Server 11 (x64)• CentOS 5 (x64)• Sun Solaris 10 (x64) The Nagios […]

How To Install OpsView On Centos Virt...

How To Install OpsView On Centos VirtualBox

As part of my “noob” Centos series this time I’m installing OpsView onto Centos 6.4 using VirtualBox and a Windows 7 host. Prerequisites You have Centos Running in VirtualBox and Internet Access You’ll need to register (free) with OpsView for an account here: http://www.opsview.com/user/register How To Install OpsView Logon on to a new session (AS […]

How To Install Centos Using VirtualBo...

How To Install Centos Using VirtualBox and Windows 7 Host

Install VirtualBox Install Centos Even though this is the full DVD it seems to be missing some key features so to ensure you have some essentials run: [root@localhost ~]# yum groupinstall base sd

Wget Not Found On Centos 6.4

Wget Not Found On Centos 6.4

As part of my Centos “noob” series here is another easy fix for the following problem: [root@localhost ~]# wget -bash: wget: command not found How to Install wget on Centos 6.4 [root@localhost ~]# yum install wget

Why Is It So Hard To Install the .Net...

Why Is It So Hard To Install the .Net 3.5 Feature On Windows 8

Having just rebuilt my PC with Windows 8 one of the first things I tried to do is get Visual Studio back up and running.  I tried to install MVC 2 and MVC 3 and Windows 8 tells me “You need Microsoft .Net 3.5”, and it gives you a nice convenient way to install it […]

How to Import SVN To TFS

How to Import SVN To TFS

I had a situation where I needed to import a Subversion (SVN) repository from a third party into our internal TFS2010 code repo.  It took a little fiddling but actually quite forward in the end:   Prerequisites I found the easiest way to install SVN is to use Visual SVN from http://www.visualsvn.com/server/download/  Make sure your […]

How to Provision Windows 2008 Using V...

How to Provision Windows 2008 Using Vagrant With Windows 8

Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team. In this article we’ll setup Virtual Box with Vagrant v1.1.5.  As of writting the vagrant-windows plugin currently only works with […]

Chef Run Action Only If Installer Exe...

Chef Run Action Only If Installer Executes

Here’s a snippet to only run an action within a Chef recipe if the windows_package executes.  This is useful if you need to perform further action after an application has been installed. if platform?(“windows”) powershell “Configure-MarkLogic” do code <<-EOH write-host “dan executing” EOH action :nothing end windows_package “MarkLogic Server” do source node[‘markLogic’][‘installUrl’] action :install notifies […]

How to Silently Install Web Deploymen...

How to Silently Install Web Deployment Tool Excluding Remote Management Service

Whilst writing my Chef recipe I needed to install the Microsoft Web Deployment tool (MSDeploy) silently and I wanted all options except the Remote Agent Service or Web Deployment Agent Service as seen in services (MsDepSvc). I couldn’t find anything out there so after running the msi with verbose logging I eventually found the solution […]