Rock beats server

SCOM 2012 to Nagios Connector rc1

Running a little late this week on the update, but the good news is I finally have a proper release of the SCOM 2012 -> Nagios integration script. This new beta release is not backwards compatible with the old version. The configuration file format has changed and the tracking file format has changed… it should be easy enough to update your old map file to the new format but you will probably want to delete the old tracking file and let it recreate the contents.

Tighter AD/LDAP and Nagios XI integration

I’ve finally done it! I’ve written the follow up to last years presentation on designing a scalable configuration architecture! I left off talking about how automating Nagios can be something of a creative process rather than a thing that just happens. With that in mind I will be showing you today an example script that I put together a few years ago for importing AD users as both Nagios XI users and as Nagios contacts and contact groups.

WordPress Update Woes And New SNT Release

Quick Fix: WordPress failing to update I’ve actually got a number of updates to get through today, but I’ll start with the quick fix! For those of you trying to update WordPress and receiving a message similar to: Warning: touch() [function.touch]: Unable to create file /tmp/wordpress-3.tmp because No such file or directory in wp-admin/includes/file.php on line 179 It seemed bizarre to me that WordPress has an upload directory but tries to put it in /tmp where it may not have permissions, so to fix this add the following to the bottom of wp-config.

Getting VMWare virtual machine disk space

Comments unfortunately still not fixed but I do have an interesting little script that I put together the other day when I was asked about gathering the total disk space on every virtual server in the fleet. This uses the VMWare Perl API and you will of course need to put the username/password/vCenter host where appropriate. When run it will display two columns… the “VM-STORAGE” column displays the amount of storage assigned at the VMWare layer and the “OS-STORAGE” will display the total amount visible at the OS layer (as long as VMWare tools are installed).

Where have the comments gone!?

I’ve had to disable comments while I try to work out an issue with the form and the spam prevention system. They should be back within a few days.

SCOM 2012 to Nagios connector Part 2

So as it turns out my master plan to wait two weeks so I could sneak in a quick patch or two was all for naught… Instead I found myself corralled to a situation on another piece of work where code was needed and it was needed yesterday. So it looks like I’ll be releasing the beta as is instead. I’ll be focusing on mastering the mapping file for todays article as the majority of the script is pretty straight forward but the engine for conversion is pretty out there.

SCOM 2012 to Nagios connector

Introduction Hello all! I’ve been working on an exciting new project recently, well it’s exciting if you happen to use both SCOM and Nagios and you wish you only had to look at one of those two things. Specifically if that one thing you wanted to look at was Nagios… if you wanted to do it the other way around I won’t hold it against you… much. Before I launch into specifically what it is I’ve been tinkering with, a disclaimer: THIS IS NOT DONE YET AND CONTAINS BIG HAIRY BUGS, THE KIND OF BUGS THAT MAKE WEIRD NOISES AND PREVENT YOU SLEEPING AT NIGHT.

Nagios instant starter

As is probably evident by now if you’ve read this blog with any regularity I’ve been working with Nagios for sometime, however moving to Nagios XI is still a fairly recent move… well… relatively speaking. During that transition I was in fairly regular contact with Mike Guthrie who has only recently moved on from Nagios. Mike did an amazing job of helping to resolve technical problems, fix bugs and take on-board feature requests to improve the general user experience.

VMWare Sender v2.0 is here!

This post is a little later than I would have liked but it has been the kind of working week that wreaks an unpleasant havoc on your spare time. But there’s always a silver lining and that silver lining today is that VMWare Sender v2.0 is tested and ready for public consumption. I am pleased to say that all of the expected features that were listed in my previous post have made the cut and are present in the new version of vmware sender.

Reading INI files with powershell

Reading INI files with powershell I was horrified to learn recently while working on a script that despite Powershell having default commandlets for handling nearly everything from CSV to JSON file formats that there were no options available for reading in the venerable INI format for processing! In order to correct this great injustice I made one: function import_main_config([String]$strIniPath) { if (Test-Path $strIniPath) { $hshIniContents = @{} switch -regex -file $strIniPath { "^[(.