Posted by joseph on December 3, 2011 ·
With the commands below, Nagios can be controlled in command line mode. It’s helpful for your automation work.
To disable notifications
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=450505674975932";
[...]
Posted by joseph on November 25, 2011 ·
How can we dump the HTTP header for a specified URL?
It’s not difficult since linux has such tools to do that, below is an example:
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=450505674975932";
[...]
Posted by joseph on June 19, 2011 ·
With the help of Hudson’s remote access API, we can create/clone a bunch of jobs easily within seconds, here are some example scripts which can be used to explain how we achieve that.
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = [...]