Step by Step Guide on How to Install Nagios in Ubuntu Jaunty To EC2 Instance from Source

Nagios is a good open source montoring tool. When trying to install nagios to our ubuntu server, I find there are lot of scattered documentation on the web, but not a single complete one that walk you step by step on how to install it to Ubuntu 9.04 Jaunty server. After encounter many dependency problems, espeically with the nagios plugin, I decided to do a total clean install in a valila server and record each steps. Hopefully, it will be useful to others who might want to install Nagios 3 to Ubuntu Jaunty.

Step I : Get a basic Ubuntu Jaunty OS server ready.

location module for cck - problem

* warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/vhosts/lafra/sites/all/modules/location/contrib/location_cck/location_cck.module on line 389.

patch location.module solve the problem:

Changing line 386 from location_cck.module from:

'hide' => array_keys(array_filter($item['location_settings']['display']['hide'])),

to:

'hide' => (isset($item['location_settings'])) ? array_keys(array_filter($item['location_settings']['display']['hide'])) : array(),

preview node -- taxonomy , taxonomy superselect problem

patch the taxonomy superselect module solves this problem

One Ubercart 2 Gotcha - "Unable to send e-mail. Please contact the site administrator if the problem persists." - Drupal 6

When using ubercart as your shopping cart, after successfully checkout and paid, you get the following error message:
Unable to send e-mail. Please contact the site administrator if the problem persists.

The first thing come to your mind maybe, oh, my system can not send email?!, but I know that was not the case, since all registeration, friend invitation, emails were sent out with out a glitch. So, it is ubercart related.

collapse div the easy way - drupal 5

While trouble shooting why the collapseblock module does not work on the site we are developing, I find that the use of panel for those dynamic blocks does not go well with the javascript in that module. Unless we are willing to spend more time to rewrite that so it can be used in our situation, or go to to route of general tool.

Node Template Creation Gotcha - Drupal 6

The following are very important tools in my box when creating node template for drupal 6:


<?php
print '

';
print_r(get_defined_vars());
print '

';
?>


<?php
print '

';
print htmlspecialchars(print_r(get_defined_vars(), TRUE), ENT_QUOTES);
print '

';
?>

<?php print_r($node); ?>

Coupons and Deals for Books

I just got this email from manning.com because I brought books from their site before, so I decided to share, if you find it before it expires, you can save some money. Here it is their message:
through July 31, you can save 45% on your complete order at manning.com. Just enter regj3145 in the Promotional Code box when you check out. The discount will apply to all items in your cart.

act fast, offer expired on July 31, 2009.

Syndicate content