<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://techblog.willshouse.com/wp-atom.php">
	<title type="text">Tech Blog (wh)</title>
	<subtitle type="text">Techy Things • Web Development</subtitle>

	<updated>2012-02-04T17:10:06Z</updated>

	<link rel="alternate" type="text/html" href="http://techblog.willshouse.com" />
	<id>http://techblog.willshouse.com/feed/atom/</id>
	

	<generator uri="http://wordpress.org/" version="3.3.1">WordPress</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/willshouse" /><feedburner:info uri="willshouse" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Google Logout URL]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/2XqMuCRkYPo/" />
		<id>http://techblog.willshouse.com/?p=2415</id>
		<updated>2012-02-04T17:10:06Z</updated>
		<published>2012-02-04T17:10:06Z</published>
		<category scheme="http://techblog.willshouse.com" term="Security" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="account" /><category scheme="http://techblog.willshouse.com" term="google" /><category scheme="http://techblog.willshouse.com" term="logout" />		<summary type="html"><![CDATA[If you&#8217;re looking for a URL to Log Out of Google, Google Plus, or any of Google&#8217;s Services, you have a few options. If you just want to Logout, use the following URL: https://accounts.google.com/Logout If you would like to logout &#8230; <a href="http://techblog.willshouse.com/2012/02/04/google-logout-url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/02/04/google-logout-url/">&lt;p&gt;If you&amp;#8217;re looking for a URL to Log Out of Google, Google Plus, or any of Google&amp;#8217;s Services, you have a few options. If you just want to Logout, use the following URL:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;https://accounts.google.com/Logout
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you would like to logout and then redirect, add the &lt;code class="prettyprint"&gt;continue&lt;/code&gt; parameter to the end of the URL. For example if you want to log out and then redirect to &lt;code class="prettyprint"&gt;google.com&lt;/code&gt;, use this URL:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;https://accounts.google.com/Logout?&amp;amp;continue=http://www.google.com/
&lt;/code&gt;&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/2XqMuCRkYPo" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/02/04/google-logout-url/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/02/04/google-logout-url/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/02/04/google-logout-url/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Google Docs: Share Outside My Organization (solved)]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/gjO2l-iKU58/" />
		<id>http://techblog.willshouse.com/?p=2394</id>
		<updated>2012-02-01T15:03:59Z</updated>
		<published>2012-02-01T15:03:59Z</published>
		<category scheme="http://techblog.willshouse.com" term="Security" /><category scheme="http://techblog.willshouse.com" term="Software" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="docs" /><category scheme="http://techblog.willshouse.com" term="domain" /><category scheme="http://techblog.willshouse.com" term="google" /><category scheme="http://techblog.willshouse.com" term="google docs" /><category scheme="http://techblog.willshouse.com" term="google-apps" /><category scheme="http://techblog.willshouse.com" term="preferences" /><category scheme="http://techblog.willshouse.com" term="privacy" /><category scheme="http://techblog.willshouse.com" term="sharing" />		<summary type="html"><![CDATA[If you&#8217;re facing the problem with Google Docs where the &#8220;Users can share documents outside this domain&#8221; option doesn&#8217;t work, or the following issues, see the solution below on how to fix this. These are the problems reported by others &#8230; <a href="http://techblog.willshouse.com/2012/02/01/google-docs-share-outside-my-organization-solved/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/02/01/google-docs-share-outside-my-organization-solved/">&lt;p&gt;If you&amp;#8217;re facing the problem with Google Docs where the &amp;#8220;Users can share documents outside this domain&amp;#8221; option doesn&amp;#8217;t work, or the following issues, see the solution below on how to fix this.&lt;/p&gt;

&lt;p&gt;These are the problems reported by others about Share Google Docs Outside Your Organization:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;When I&amp;#8217;m in the sharing settings in the document there is NO option to share out of organization.
  I disabled the option &amp;#8220;Users can share documents outside this domain&amp;#8221; several time ago and now, I reactivated it in order to share documents with users outside my domain. &lt;/p&gt;
  
  &lt;p&gt;When I want to share any document with people outside the domain I am not able to get the option to do that. &lt;/p&gt;
  
  &lt;ul&gt;
  &lt;li&gt;When viewing document share options, I can&amp;#8217;t see the toolbar where I am asked to allow people outside the domain to view or edit the document. &lt;/li&gt;
  &lt;li&gt;When I try to get a public link to the document, I only have the option to get it for people inside the domain. &lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;p&gt;Control panel options are set properly but no change is performed in Google Docs.&lt;/p&gt;
  
  &lt;ul&gt;
  &lt;li&gt;I have another google apps domain account where I&amp;#8217;m able to do that. In that account I&amp;#8217;ve never disabled the share with people outside the domain.&lt;/li&gt;
  &lt;li&gt;I suspect the problem comes when you disable public sharing for the very first time and then you want to reactivate it again.&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;p&gt;I don&amp;#8217;t have the option &amp;#8216;Users can publish documents to the public internet&amp;#8217; available. &lt;/p&gt;
  
  &lt;ul&gt;
  &lt;li&gt;I have multiple Google Domains, to compare. It I can&amp;#8217;t find a way out of this problem. &lt;/li&gt;
  &lt;li&gt;In my other domains I have the &amp;#8216;Users can publish documents to the public internet&amp;#8217; option available. But the domain I initially disabled sharing I don&amp;#8217;t have the option at this point&amp;#8230;&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;p&gt;So it seems that once the option &amp;#8216;Users cannot share documents outside this domain&amp;#8217; has been set there is no way back.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h1&gt;How Google Docs Allows you to Share Documents&lt;/h1&gt;

&lt;p&gt;Google offers the following levels of sharing&lt;/p&gt;

&lt;h3&gt;Public on the web&lt;/h3&gt;

&lt;p&gt;Anyone on the Internet can find and access. No sign-in required.&lt;/p&gt;

&lt;h3&gt;Anyone with the link&lt;/h3&gt;

&lt;p&gt;Anyone who has the link can access. No sign-in required.&lt;/p&gt;

&lt;h3&gt;My Organization&lt;/h3&gt;

&lt;p&gt;People at My Organization can find and access.&lt;/p&gt;

&lt;h3&gt;People at My Organization with the link&lt;/h3&gt;

&lt;p&gt;People at My Organization who have the link can access.&lt;/p&gt;

&lt;h3&gt;Private&lt;/h3&gt;

&lt;p&gt;Only people explicitly granted permission can access. Sign-in required.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/02/screenshot-with-shadow.png" alt="Users can share documents outside this domain" title="How to Fix Google Docs and allow &amp;quot;Share Outside My Organization&amp;quot;" width="530" height="531" class="alignnone size-full wp-image-2409" /&gt;&lt;/p&gt;

&lt;h2&gt;How to Fix Google Docs and allow &amp;#8220;Share Outside My Organization&amp;#8221;&lt;/h2&gt;

&lt;p&gt;The top two options, &amp;#8220;Public on the web&amp;#8221; and &amp;#8220;Anyone with the link&amp;#8221; are only available if you have the preference set for &amp;#8220;Users can share documents outside this domain&amp;#8221;&lt;/p&gt;

&lt;p&gt;You can change that preference in your Google Apps control panel, choose Settings, then Docs, then Users can share documents outside this domain.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/02/Google-Docs-Share-Outside-My-Organization.png" alt="Fixing Google Docs: Share Outside My Organization" title="Solved: Users cannot share documents outside this domain" width="661" height="413" class="alignnone size-full wp-image-2411" /&gt;&lt;/p&gt;

&lt;p&gt;However the key here, the &amp;#8220;gotcha&amp;#8221;, is that after changing this setting you may have to wait up to 6 hours for this to take effect. See the note from Google Support via email:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Hello,&lt;/p&gt;
  
  &lt;p&gt;Thank you for your message. I understand you are experiencing an issue when sharing documents outside your organization.&lt;/p&gt;
  
  &lt;p&gt;Please ensure you have the checked &amp;#8216;Users can share documents outside this organization&amp;#8217; checked in the Document settings section of your control panel. Be advised that changes to these settings can take up to six hours to take effect in your account.&lt;/p&gt;
  
  &lt;p&gt;Once this time has passed, click on the blue Share button at the top right of the document in question. Clicking on the text &amp;#8216;Change&amp;#8230;&amp;#8217; under &amp;#8216;Who has access&amp;#8217; and you should have the options &amp;#8216;Anyone with the link&amp;#8217; and &amp;#8216;Public on the web&amp;#8217; in order to share this document outside of your organization.&lt;/p&gt;
  
  &lt;p&gt;If your issue persists, and you have waited the appropriate time after making changes in the control panel, please reply to this message with the following screenshots:&lt;/p&gt;
  
  &lt;ul&gt;
  &lt;li&gt;The Docs settings in the control panel showing that you have allowed sharing outside the organization.&lt;/li&gt;
  &lt;li&gt;The visibility options, showing that &amp;#8216;Public on the web&amp;#8217; and &amp;#8216;Anyone with the link&amp;#8217; are not available options.&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;p&gt;If you have any other related queries you can include them in your response and I&amp;#8217;ll be happy to assist you further. I look forward to hearing from you.&lt;/p&gt;
  
  &lt;p&gt;Sincerely,&lt;/p&gt;
  
  &lt;p&gt;Enterprise Support&lt;/p&gt;
&lt;/blockquote&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/gjO2l-iKU58" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/02/01/google-docs-share-outside-my-organization-solved/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/02/01/google-docs-share-outside-my-organization-solved/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/02/01/google-docs-share-outside-my-organization-solved/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[knife create syntax (man page)]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/KFtQrUg2yAc/" />
		<id>http://techblog.willshouse.com/?p=2389</id>
		<updated>2012-01-30T19:01:14Z</updated>
		<published>2012-01-30T19:00:27Z</published>
		<category scheme="http://techblog.willshouse.com" term="Linux" /><category scheme="http://techblog.willshouse.com" term="Server Admin" /><category scheme="http://techblog.willshouse.com" term="amazon" /><category scheme="http://techblog.willshouse.com" term="chef" /><category scheme="http://techblog.willshouse.com" term="cloud" /><category scheme="http://techblog.willshouse.com" term="ec2" /><category scheme="http://techblog.willshouse.com" term="knife" /><category scheme="http://techblog.willshouse.com" term="opscode" /><category scheme="http://techblog.willshouse.com" term="server" />		<summary type="html"><![CDATA[I was trying to launch an instance of Chef with the &#8220;knife create&#8221; command that chef&#8217;s knife provides. The documentation page gives this example for how to launch a web server on Amazon&#8217;s EC2 server, but without much explanation of &#8230; <a href="http://techblog.willshouse.com/2012/01/30/knife-create-syntax-man-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/30/knife-create-syntax-man-page/">&lt;p&gt;I was trying to launch an instance of Chef with the &amp;#8220;knife create&amp;#8221; command that chef&amp;#8217;s knife provides. The documentation page gives this example for how to launch a web server on Amazon&amp;#8217;s EC2 server, but without much explanation of the terms:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;knife ec2 server create -r "role[webserver]" -I ami-2d4aa444 --flavor m1.small -G www,default -x ubuntu -N server01
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After doing some searching I just ended up digging into the code and found this information quite helpful, and so I am sharing it:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;-f FLAVOR ( or --flavor FLAVOR )
    The flavor of server (m1.small, m1.medium, etc)
    default: m1.small

-I IMAGE ( or --image IMAGE )
    The AMI for the server

-G X,Y,Z ( or --groups X,Y,Z )
    The security groups for this server
    default: "default"

-Z ZONE ( or --availability-zone ZONE )
    The Availability Zone
    default: us-east-1b

-N NAME ( or --node-name NAME )
    The Chef node name for your new node

-S KEY ( or --ssh-key KEY )
    The AWS SSH key id

-x USERNAME ( or --ssh-user USERNAME )
    The ssh username
    default: root

-P PASSWORD ( or --ssh-password PASSWORD )
    The ssh password

-i IDENTITY_FILE ( or --identity-file IDENTITY_FILE )
    The SSH identity file used for authentication

--prerelease
    Install the pre-release chef gems

--bootstrap-version VERSION
    The version of Chef to install

-d DISTRO ( or --distro DISTRO )
    Bootstrap a distro using a template
    default: ubuntu10.04-gems

--template-file TEMPLATE
    Full path to location of template to use


--ebs-size SIZE
    The size of the EBS volume in GB, for EBS-backed instances

--ebs-no-delete-on-term
    Do not delete EBS volume on instance termination

-r RUN_LIST ( or --run-list RUN_LIST )
    Comma separated list of roles/recipes to apply


-s SUBNET-ID ( or --subnet SUBNET-ID )
    create node in this Virtual Private Cloud Subnet ID (implies VPC mode)


--no-host-key-verify
    Disable host key verification


--user-data USER_DATA_FILE (or -u USER_DATA_FILE )
    The EC2 User Data file to provision the instance with
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;There is also the &lt;code class="prettyprint"&gt;knife --help&lt;/code&gt; command:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;Usage: knife sub-command (options)
    -s, --server-url URL             Chef Server URL
    -k, --key KEY                    API Client Key
        --color                      Use colored output
    -c, --config CONFIG              The configuration file to use
        --defaults                   Accept default values for all questions
    -e, --editor EDITOR              Set the editor to use for interactive commands
    -E, --environment ENVIRONMENT    Set the Chef environment
    -F, --format FORMAT              Which format to use for output
        --no-color                   Don\'t use colors in the output
    -n, --no-editor                  Do not open EDITOR, just accept the data as is
    -u, --user USER                  API Client Username
        --print-after                Show the data after a destructive operation
    -V, --verbose                    More verbose output. Use twice for max verbosity
    -v, --version                    Show chef version
    -y, --yes                        Say yes to all prompts for confirmation
    -h, --help                       Show this message

Available subcommands: (for details, knife SUB-COMMAND --help)

** BOOTSTRAP COMMANDS **
knife bootstrap FQDN (options)

** CLIENT COMMANDS **
knife client list (options)
knife client reregister CLIENT (options)
knife client edit CLIENT (options)
knife client bulk delete REGEX (options)
knife client create CLIENT (options)
knife client show CLIENT (options)
knife client delete CLIENT (options)

** CONFIGURE COMMANDS **
knife configure client DIRECTORY
knife configure (options)

** COOKBOOK COMMANDS **
knife cookbook test [COOKBOOKS...] (options)
knife cookbook create COOKBOOK (options)
knife cookbook download COOKBOOK [VERSION] (options)
knife cookbook list (options)
knife cookbook delete COOKBOOK VERSION (options)
knife cookbook metadata from FILE (options)
knife cookbook show COOKBOOK [VERSION] [PART] [FILENAME] (options)
knife cookbook bulk delete REGEX (options)
knife cookbook metadata COOKBOOK (options)
knife cookbook upload [COOKBOOKS...] (options)

** COOKBOOK SITE COMMANDS **
knife cookbook site show COOKBOOK [VERSION] (options)
knife cookbook site share COOKBOOK CATEGORY (options)
knife cookbook site search QUERY (options)
knife cookbook site download COOKBOOK [VERSION] (options)
knife cookbook site list (options)
knife cookbook site unshare COOKBOOK
knife cookbook site install COOKBOOK [VERSION] (options)

** DATA BAG COMMANDS **
knife data bag show BAG [ITEM] (options)
knife data bag edit BAG ITEM (options)
knife data bag list (options)
knife data bag from file BAG FILE (options)
knife data bag create BAG [ITEM] (options)
knife data bag delete BAG [ITEM] (options)

** EC2 COMMANDS **
knife ec2 instance data (options)
knife ec2 server list (options)
knife ec2 server create (options)
knife ec2 server delete SERVER [SERVER] (options)

** ENVIRONMENT COMMANDS **
knife environment list (options)
knife environment show ENVIRONMENT (options)
knife environment edit ENVIRONMENT (options)
knife environment create ENVIRONMENT (options)
knife environment from file FILE (options)
knife environment delete ENVIRONMENT (options)

** EXEC COMMANDS **
knife exec [SCRIPT] (options)

** HELP COMMANDS **
knife help [list|TOPIC]

** INDEX COMMANDS **
knife index rebuild (options)

** NODE COMMANDS **
knife node from file FILE (options)
knife node create NODE (options)
knife node show NODE (options)
knife node edit NODE (options)
knife node delete NODE (options)
knife node list (options)
knife node run_list remove [NODE] [ENTRY] (options)
knife node run_list add [NODE] [ENTRY] (options)
knife node bulk delete REGEX (options)

** RECIPE COMMANDS **
knife recipe list [PATTERN]

** ROLE COMMANDS **
knife role from file FILE [FILE..] (options)
knife role show ROLE (options)
knife role edit ROLE (options)
knife role list (options)
knife role delete ROLE (options)
knife role create ROLE (options)
knife role bulk delete REGEX (options)

** SEARCH COMMANDS **
knife search INDEX QUERY (options)

** SSH COMMANDS **
knife ssh QUERY COMMAND (options)

** STATUS COMMANDS **
knife status QUERY (options)

** TAG COMMANDS **
knife tag list NODE
knife tag delete NODE TAG ...
knife tag create NODE TAG ...
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And also the  &lt;code class="prettyprint"&gt;knife create --help&lt;/code&gt; command:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;knife ec2 server create (options)
    -Z, --availability-zone ZONE     The Availability Zone
    -A, --aws-access-key-id KEY      Your AWS Access Key ID
    -K SECRET                        Your AWS API Secret Access Key
        --aws-secret-access-key
        --user-data USER_DATA_FILE   The EC2 User Data file to provision the instance with
        --bootstrap-version VERSION  The version of Chef to install
    -N, --node-name NAME             The Chef node name for your new node
        --server-url URL             Chef Server URL
    -k, --key KEY                    API Client Key
        --color                      Use colored output
    -c, --config CONFIG              The configuration file to use
        --defaults                   Accept default values for all questions
    -d, --distro DISTRO              Bootstrap a distro using a template
        --ebs-no-delete-on-term      Do not delete EBS volumn on instance termination
        --ebs-size SIZE              The size of the EBS volume in GB, for EBS-backed instances
    -e, --editor EDITOR              Set the editor to use for interactive commands
    -E, --environment ENVIRONMENT    Set the Chef environment
    -f, --flavor FLAVOR              The flavor of server (m1.small, m1.medium, etc)
    -F, --format FORMAT              Which format to use for output
    -i IDENTITY_FILE                 The SSH identity file used for authentication
        --identity-file
    -I, --image IMAGE                The AMI for the server
        --no-color                   Don\'t use colors in the output
    -n, --no-editor                  Do not open EDITOR, just accept the data as is
        --no-host-key-verify         Disable host key verification
    -u, --user USER                  API Client Username
        --prerelease                 Install the pre-release chef gems
        --print-after                Show the data after a destructive operation
        --region REGION              Your AWS region
    -r, --run-list RUN_LIST          Comma separated list of roles/recipes to apply
    -G, --groups X,Y,Z               The security groups for this server
    -S, --ssh-key KEY                The AWS SSH key id
    -P, --ssh-password PASSWORD      The ssh password
    -x, --ssh-user USERNAME          The ssh username
    -s, --subnet SUBNET-ID           create node in this Virtual Private Cloud Subnet ID (implies VPC mode)
        --template-file TEMPLATE     Full path to location of template to use
    -V, --verbose                    More verbose output. Use twice for max verbosity
    -v, --version                    Show chef version
    -y, --yes                        Say yes to all prompts for confirmation
    -h, --help                       Show this message
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Hope these will be helpful.&lt;/p&gt;

&lt;p&gt;These are some of the terms I was trying to use to find information about the syntax of the knife create (ec2) manual / page.
&lt;ul&gt;
    &lt;li&gt;knife flavor group&lt;/li&gt;
    &lt;li&gt;knife ec2&lt;/li&gt;
    &lt;li&gt;knife ec2 g group&lt;/li&gt;
    &lt;li&gt;knife ec2 g group man&lt;/li&gt;
    &lt;li&gt;knife ec2 server flavor g n x &lt;/li&gt;
    &lt;li&gt;knife ec2 server flavor g n x&lt;/li&gt;
    &lt;li&gt;knife ec2 server flavor g n x man&lt;/li&gt;
&lt;/ul&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/KFtQrUg2yAc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/30/knife-create-syntax-man-page/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/30/knife-create-syntax-man-page/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/30/knife-create-syntax-man-page/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[jQuery: Change Doctype]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/lz4w5Vkzxb4/" />
		<id>http://techblog.willshouse.com/?p=2387</id>
		<updated>2012-01-30T18:22:08Z</updated>
		<published>2012-01-30T18:22:08Z</published>
		<category scheme="http://techblog.willshouse.com" term="Tech Tips" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="browser" /><category scheme="http://techblog.willshouse.com" term="browsers" /><category scheme="http://techblog.willshouse.com" term="doctype" /><category scheme="http://techblog.willshouse.com" term="document type" /><category scheme="http://techblog.willshouse.com" term="html" /><category scheme="http://techblog.willshouse.com" term="javascript" /><category scheme="http://techblog.willshouse.com" term="jQuery" />		<summary type="html"><![CDATA[There are a few things you might want to know if you&#8217;re looking to change the document type (doctype) using jQuery or Javascript. First, doctype is listed as a property in the W3C documentation, and is defined as read-only: interface &#8230; <a href="http://techblog.willshouse.com/2012/01/30/jquery-change-doctype/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/30/jquery-change-doctype/">&lt;p&gt;There are a few things you might want to know if you&amp;#8217;re looking to change the document type (doctype) using jQuery or Javascript. First, doctype is &lt;a href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#i-Document"&gt;listed as a property in the W3C documentation&lt;/a&gt;, and is defined as read-only:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;interface Document : Node {
  readonly attribute DocumentType     doctype;
  readonly attribute DOMImplementation  implementation;
  readonly attribute Element          documentElement;
  Element            createElement(in DOMString tagName)
                                        raises(DOMException);
  DocumentFragment   createDocumentFragment();
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;While it may be possible to insert a doctype with javascript / jquery above the HTML tag, it is not advisable to do so. Sample code which would do this might look like:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;&amp;lt;!-- no doctype, loads in Quirks Mode (BackCompat) --&amp;gt;
&amp;lt;html&amp;gt;
    &amp;lt;!-- rest of the document, then at the end: --&amp;gt;

    &amp;lt;script&amp;gt;
        alert('now in compatMode '+document.compatMode);
        if (document.compatMode==='BackCompat') {
            setTimeout(function() {
                var markup= document.documentElement.innerHTML;
                markup= '&amp;lt; !DOCTYPE html&amp;gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&amp;gt;'+markup+'&amp;lt;/html&amp;gt;';
                document.open();
                document.write(markup);
                document.close();
            }, 0);
        }
    &amp;lt;/script&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/4493845/need-help-with-jquery-prepend-doctype-to-html" rel="nofollow noreferrer"&gt;via&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/lz4w5Vkzxb4" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/30/jquery-change-doctype/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/30/jquery-change-doctype/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/30/jquery-change-doctype/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Amazon EC2 Alternatives]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/qr6I-a0lDNo/" />
		<id>http://techblog.willshouse.com/?p=2384</id>
		<updated>2012-01-30T17:55:34Z</updated>
		<published>2012-01-30T16:08:16Z</published>
		<category scheme="http://techblog.willshouse.com" term="Uncategorized" /><category scheme="http://techblog.willshouse.com" term="alternative" /><category scheme="http://techblog.willshouse.com" term="amazon" /><category scheme="http://techblog.willshouse.com" term="cloud" /><category scheme="http://techblog.willshouse.com" term="cloud computing" /><category scheme="http://techblog.willshouse.com" term="ec2" /><category scheme="http://techblog.willshouse.com" term="rackspace" />		<summary type="html"><![CDATA[Amazon EC2 Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. Amazon EC2’s simple web service interface allows you to obtain &#8230; <a href="http://techblog.willshouse.com/2012/01/30/amazon-ec2-alternatives/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/30/amazon-ec2-alternatives/">&lt;h2&gt;Amazon EC2&lt;/h2&gt;

&lt;p&gt;Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.&lt;/p&gt;

&lt;p&gt;Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.&lt;/p&gt;

&lt;h2&gt;Terremark&lt;/h2&gt;

&lt;p&gt;Terremark brings the power of the cloud to the enterprise with solutions built to integrate seamlessly into your existing I.T. infrastructure, compatible with your existing applications, and conforming to your policies and compliance needs, helping you move faster, respond quicker, and accelerate innovation. Terremark’s Enterprise Cloud gives you precise, dynamic allocation of computing resources with the scale, performance and security to handle enterprise-wide applications.  Large organizations, IT executives and multi-site teams will appreciate the robust solution for its multi-user capacity, dedicated resource pool architecture and role-based security model as well as private network connectivity and physical device integration.&lt;/p&gt;

&lt;h2&gt;Eucalyptus&lt;/h2&gt;

&lt;p&gt;Eucalyptus is the world&amp;#8217;s most widely deployed cloud computing software platform for on-premise (private) Infrastructure as a Service clouds. It uses existing infrastructure to create scalable and secure AWS-compatible cloud resources for compute, network and storage. &lt;/p&gt;

&lt;h2&gt;Slicehost / Rackspace&lt;/h2&gt;

&lt;p&gt;Create Cloud Virtual Servers in minutes and pay per usage. Get a Windows or Linux Cloud Server with root access. 1 to 50 servers in minutes. Choose a server size and pay for what you use. Accessible via online control panel and open API. Easily Control Your DNS. Fully customizable with root access. Fanatical Support always included. No long-term contracts, pay for what you use. Up to 30 GB servers.&lt;/p&gt;

&lt;h2&gt;DuraCloud&lt;/h2&gt;

&lt;p&gt;DuraCloud makes it easy to store and do more in the cloud. Our service makes the preservation of your content simple and cost effective. DuraCloud is the only service that makes it easy to move copies of your content into the cloud and store them with several different providers, all with just one click. We eliminate the risk of storing content with a single cloud provider by making it easy to move and copy files of any shape or size.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/qr6I-a0lDNo" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/30/amazon-ec2-alternatives/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/30/amazon-ec2-alternatives/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/30/amazon-ec2-alternatives/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Statcounter: Add Existing Project to Group]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/5jj1cNh7ovM/" />
		<id>http://techblog.willshouse.com/?p=2361</id>
		<updated>2012-01-25T16:56:32Z</updated>
		<published>2012-01-25T16:54:45Z</published>
		<category scheme="http://techblog.willshouse.com" term="Marketing" /><category scheme="http://techblog.willshouse.com" term="Tech Tips" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="analytics" /><category scheme="http://techblog.willshouse.com" term="groups" /><category scheme="http://techblog.willshouse.com" term="projects" /><category scheme="http://techblog.willshouse.com" term="statcounter" /><category scheme="http://techblog.willshouse.com" term="tracking" />		<summary type="html"><![CDATA[If you can&#8217;t find the option to move my existing projects to a group: Click on &#8216;Organise Projects&#8217; beneath your list of Projects Then type new group name in the &#8220;Move to Group&#8221; box and tick the projects you want &#8230; <a href="http://techblog.willshouse.com/2012/01/25/statcounter-add-existing-project-to-group/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/25/statcounter-add-existing-project-to-group/">&lt;p&gt;If you can&amp;#8217;t find the option to move my existing projects to a group:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click on &amp;#8216;Organise Projects&amp;#8217; beneath your list of Projects&lt;/li&gt;
&lt;li&gt;Then type new group name in the &amp;#8220;Move to Group&amp;#8221; box and tick the projects you want to include&lt;/li&gt;
&lt;li&gt;Press submit&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;How to Add your Project to an Existing Group (screenshots)&lt;/h2&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/01/Statcounter-Add-Existing-Project-to-Group.png" alt="Statcounter- Add Existing Project to Group" title="Statcounter- Add Existing Project to Group" width="598" height="101" class="alignnone size-full wp-image-2363" /&gt;&lt;/p&gt;

&lt;p&gt;Note: you&amp;#8217;ll need at least 4 projects to be able to view and use this feature.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/5jj1cNh7ovM" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/25/statcounter-add-existing-project-to-group/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/25/statcounter-add-existing-project-to-group/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/25/statcounter-add-existing-project-to-group/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[How to Monitor Canon Printers with SNMP]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/iEe-Ylx9eM0/" />
		<id>http://techblog.willshouse.com/?p=2319</id>
		<updated>2012-01-24T20:46:23Z</updated>
		<published>2012-01-24T20:34:22Z</published>
		<category scheme="http://techblog.willshouse.com" term="Linux" /><category scheme="http://techblog.willshouse.com" term="Server Administration" /><category scheme="http://techblog.willshouse.com" term="Tech Tips" /><category scheme="http://techblog.willshouse.com" term="agent" /><category scheme="http://techblog.willshouse.com" term="canon" /><category scheme="http://techblog.willshouse.com" term="linux" /><category scheme="http://techblog.willshouse.com" term="monitor" /><category scheme="http://techblog.willshouse.com" term="monitoring" /><category scheme="http://techblog.willshouse.com" term="nagios" /><category scheme="http://techblog.willshouse.com" term="oid" /><category scheme="http://techblog.willshouse.com" term="paper" /><category scheme="http://techblog.willshouse.com" term="printer" /><category scheme="http://techblog.willshouse.com" term="snmp" />		<summary type="html"><![CDATA[I&#8217;m working to set up monitoring of Canon printers with SNMP, and I&#8217;m having a hard time finding resources around the internet on how to go about doing this, so this article will be collecting the resources I&#8217;ve found and &#8230; <a href="http://techblog.willshouse.com/2012/01/24/how-to-monitor-canon-printers-with-snmp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/24/how-to-monitor-canon-printers-with-snmp/">&lt;p&gt;I&amp;#8217;m working to set up monitoring of Canon printers with SNMP, and I&amp;#8217;m having a hard time finding resources around the internet on how to go about doing this, so this article will be collecting the resources I&amp;#8217;ve found and putting them in once place.&lt;/p&gt;

&lt;h2&gt;Commands for Monitoring Canon Printers with SNMP&lt;/h2&gt;

&lt;p&gt;One of the problems that I had to look into was monitoring of CANON printers, and properly modifying Nagios config files for that:
Once you understand a little how NAGIOS works you will understand what I am trying to show you here in example:&lt;/p&gt;

&lt;p&gt;in /usr/local/nagios/etc/objects/commands.cfg I added a command:&lt;/p&gt;

&lt;hr /&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;define command{
          command_name check_snmp_canon
          command_line $USER1$/check_snmp -H $HOSTADDRESS$ -l STATUS -C public $ARG1$ $ARG2$
          }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;then in: /usr/local/nagios/etc/objects/printer.cfg you define host and service like this:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;define host{
          use          generic-printer
          host_name    SOMECANONPRINTER
          alias        SOMECANONPRINTER Alias
          address      "IP of the printer goes here"
          hostgroups   network-printers
          }

define service{
          use                   generic-service
          host_name             SOMECANONPRINTER
          service_description   Printer Status
          check_command         check_snmp_canon!-o hrDeviceStatus.1 -r "2|3"
          normal_check_interval   10
          retry_check_interval  1
          }
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;via http://mariuszgal.com/blog/?p=93&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;Some of the commands I&amp;#8217;ve tried to execute directly from the command line use something like this:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;/usr/lib/nagios/plugins/check_snmp -H 192.168.0.105 -C public -o hrDeviceStatus.1 

snmpwalk -v &amp;lt;snmp version, typically '2c'&amp;gt; -c &amp;lt;community string&amp;gt; &amp;lt;agent address, e.g. '192.168.3.141'&amp;gt; 1.3.6.1

snmpwalk -v 2c -c public 192.168.0.104
&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;What is SNMP&lt;/h2&gt;

&lt;p&gt;Simple Network Management Protocol (SNMP) is a set of standards for managing network devices, network devices are monitored by a SNMP manager which connects to an SNMP agent on network devices. Data which the SNMP agent can access is stored in a database called Management Information Base (MIB), MIBs are sometimes called MIB trees and small pieces of information (variables) are stored on MIB leaves.&lt;/p&gt;

&lt;p&gt;A community string is a password for accessing the SNMP agent and separate community strings are usually used for systems which require read only or read/write access.&lt;/p&gt;

&lt;p&gt;There are 4 version of SNMP;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;SNMPv1&lt;/strong&gt; &amp;#8211; Basic authentication through the use of community strings using SMIv1, the community string is sent in plain text&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SNMPv2&lt;/strong&gt; &amp;#8211; Does not community strings to authenticate. Mandates the use of SMIv2 and allows the use of a new message GetBulk and Inform&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SNMPv2c&lt;/strong&gt; &amp;#8211; Uses SNMP version 1 style community strings sent in plain text but operates more similarly to to SNMPv2&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SNMPv3&lt;/strong&gt; &amp;#8211; Similar to SNMPv2 but improvements made for security and access control.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There aren’t that many SNMP message types and its useful to know them all, the SNMP message types are;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Get&lt;/strong&gt; &amp;#8211; Requests a single single variable from a MIB&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GetNext&lt;/strong&gt; &amp;#8211; Requests the next MIB leaf in the MIB tree&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GetBulk&lt;/strong&gt; &amp;#8211; Requests a sequential list of MIB leaves in a single request, GetBulk is commonly used to extract complex MIB structures&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Set&lt;/strong&gt; &amp;#8211; this message changes the value of a MIB variable&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Response&lt;/strong&gt; &amp;#8211; Sent in response to a set, get or inform type messages&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Trap&lt;/strong&gt; &amp;#8211; This message is sent in an unsolicited fashion and does not require confirmation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inform&lt;/strong&gt; &amp;#8211; Sent between SNMP managers to inform each other about MIB data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;via http://communitystring.com/2009/06/snmp-community-strings/&lt;/p&gt;

&lt;hr /&gt;

&lt;h2&gt;monitor all HP Laserjet printers using nagios&amp;#8217; check_hpjd&lt;/h2&gt;

&lt;p&gt;On Thu, Jul 23, 2009 at 11:35 AM, SYS ADMIN&lt;sysad ...@cmda.org&gt; wrote:&lt;/sysad&gt;&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I have managed to monitor all my HP Laserjet printers using check&lt;em&gt;hpjd.
  I have several networked Canon copier/printers on my LAN, and can&amp;#8217;t seem
  to get any response back from them, although snmp is installed, and I
  try check&lt;/em&gt;snmp.
  Does anyone have any experience/idea what to do?
  I can&amp;#8217;t seem to even find OIDs for Canons.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Make sure you are using the correct SNMP community string .. if you
use an incorrect community string with an SNMP agent, you will not get
an error back from the agent, just a timeout.&lt;/p&gt;

&lt;p&gt;Did you check the vendor&amp;#8217;s web site for MIBs?  That is my first step
when I am asked to monitor a device for which I have no local MIBs to
look at.&lt;/p&gt;

&lt;p&gt;Once you have a valid community string, you can do an SNMP walk on the
device to see what OIDs it supports .. e.g. with the Net-SNMP CLI
utilities&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;snmpwalk -v &amp;lt;snmp version, typically '2c'&amp;gt; -c &amp;lt;community string&amp;gt; &amp;lt;agent address, e.g. '192.168.3.141'&amp;gt; 1.3.6.1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;that will walk the entire OID tree of the agent.  Some agents won&amp;#8217;t
walk the enterprise OID tree with that, so you might have to do a
separate walk to get the enterprise OID tree output from the agent&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;snmpwalk -v &amp;lt;snmp version, typically '2c'&amp;gt; -c &amp;lt;community string&amp;gt; 192.168.3.1 1.3.6.1.4.1
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Other good resources to search for MIBs are the obvious one (Google)
or mibdepot.com&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Max&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;via http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg28182.html&lt;/p&gt;

&lt;hr /&gt;

&lt;h2&gt;Keywords I used to find information about Monitoring Canon Printers with Nagios&lt;/h2&gt;

&lt;p&gt;Keywords I used when I was searching for how to do this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Canon iR nagios&lt;/li&gt;
&lt;li&gt;canon snmp nagios example&lt;/li&gt;
&lt;li&gt;canon snmp oid -&lt;/li&gt;
&lt;li&gt;check_hpjd | Nagios Plugins&lt;/li&gt;
&lt;li&gt;check_snmp -H 192.168.0.15 -C public -o 1.3.6.1.2.1.43.11&lt;/li&gt;
&lt;li&gt;community snmp agent community snmp sysad &lt;/li&gt;
&lt;li&gt;define command check_snmp canon&lt;/li&gt;
&lt;li&gt;ir 3035 oid smnp&lt;/li&gt;
&lt;li&gt;monitoring &amp;#8211; How can I set up Nagios to Monitor a Canon iR 3035? -&lt;/li&gt;
&lt;li&gt;canon check_snmp public&lt;/li&gt;
&lt;li&gt;nagios canon check_snmp public&lt;/li&gt;
&lt;li&gt;nagios canon snmp oid&lt;/li&gt;
&lt;li&gt;nagios monitor canon imagerunner paper &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Canon Environment Setup&lt;/h2&gt;

&lt;p&gt;This section describes how to set up the environment for communication between the machine and computers on your network. If you are configuring the settings for the first time, use the control panel of the machine.&lt;/p&gt;

&lt;p&gt;The machine supports the SNMP v. 1 and SNMP v. 3 management functions. You can use them simultaneously. The [Read Only]/[Read/Write] functions of SNMP v. 1 and the security functions of SNMP v. 3, such as an encrypted communication path, enable you to manage devices more securely. The available combinations of SNMP v. 1 and SNMP v. 3 functions you can use are shown below:&lt;/p&gt;

&lt;p&gt;&lt;img src="http://img201.imageshack.us/img201/1844/canonnagiossnmp.png" alt="canon-nagios-snmp.png" /&gt;&lt;/p&gt;

&lt;p&gt;If you want to specify a Community Name 1
Press [Community Name 1 Settings] ? [On] ? specify the settings for &lt;mib Access Permission&gt; and the community name in [Community Name].&lt;/mib&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://img39.imageshack.us/img39/3179/s1a11.gif" alt="How to Monitor Canon Printers with SNMP" /&gt;&lt;/p&gt;

&lt;p&gt;You can also change the community name in [Community Name] to a name other than &amp;#8216;public&amp;#8217;.&lt;/p&gt;

&lt;p&gt;via http://www.tcnj.edu/~helpdesk/documents/Canon%20eManuals/Canon%20BW%20eManual/imageRUNNER3245&lt;em&gt;Manual&lt;/em&gt;us/contents/nw_007/func.html&lt;/p&gt;

&lt;h2&gt;How can I set up Nagios to Monitor a Canon iR 3035?&lt;/h2&gt;

&lt;p&gt;Canon ImageRunner printers support SNMP(v1, &amp;#8220;public&amp;#8221; community by default) to query their status.  They report through the standard printers MIB (&lt;code class="prettyprint"&gt;.1.3.6.1.43&lt;/code&gt;, &lt;a href="http://www.oidview.com/mibs/0/Printer-MIB.html"&gt;available here&lt;/a&gt;) as well as a proprietary Canon MIB (available through &lt;a href="http://www.developersupport.canon.com/assets"&gt;Canon, with a developer membership&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;You can also implement screen-scraping from the web interface, but SNMP would be easier (and less likely to change if you change printers in the future).&lt;/p&gt;

&lt;p&gt;via http://serverfault.com/questions/352801/how-can-i-set-up-nagios-to-monitor-a-canon-ir-3035/&lt;/p&gt;

&lt;h2&gt;Nagios Plugin Check SNMP&lt;/h2&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;Usage:
check_snmp -H &amp;lt;ip_address&amp;gt; -o &amp;lt;oid&amp;gt; [-w warn_range] [-c crit_range]
[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]
[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]
[-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto]
[-A authpasswd] [-x privproto] [-X privpasswd]

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 -H, --hostname=ADDRESS
    Host name, IP Address, or unix socket (must be an absolute path)
 -p, --port=INTEGER
    Port number (default: 161)
 -n, --next
    Use SNMP GETNEXT instead of SNMP GET
 -P, --protocol=[1|2c|3]
    SNMP protocol version
 -L, --seclevel=[noAuthNoPriv|authNoPriv|authPriv]
    SNMPv3 securityLevel
 -a, --authproto=[MD5|SHA]
    SNMPv3 auth proto
 -x, --privproto=[DES|AES]
    SNMPv3 priv proto (default DES)
 -C, --community=STRING
    Optional community string for SNMP communication (default is "public")
 -U, --secname=USERNAME
    SNMPv3 username
 -A, --authpassword=PASSWORD
    SNMPv3 authentication password
 -X, --privpasswd=PASSWORD
    SNMPv3 privacy password
 -o, --oid=OID(s)
    Object identifier(s) or SNMP variables whose value you wish to query
 -m, --miblist=STRING
    List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL'
    for symbolic OIDs.)
 -d, --delimiter=STRING
    Delimiter to use when parsing returned data. Default is "="
    Any data on the right hand side of the delimiter is considered
    to be the data that should be used in the evaluation.
 -w, --warning=THRESHOLD(s)
    Warning threshold range(s)
 -c, --critical=THRESHOLD(s)
    Critical threshold range(s)
 --rate
    Enable rate calculation. See 'Rate Calculation' below
 --rate-multiplier
    Converts rate per second. For example, set to 60 to convert to per minute
 -s, --string=STRING
    Return OK state (for that OID) if STRING is an exact match
 -r, --ereg=REGEX
    Return OK state (for that OID) if extended regular expression REGEX matches
 -R, --eregi=REGEX
    Return OK state (for that OID) if case-insensitive extended REGEX matches
 --invert-search
    Invert search result (CRITICAL if found)
 -l, --label=STRING
    Prefix label for output from plugin
 -u, --units=STRING
    Units label(s) for output data (e.g., 'sec.').
 -D, --output-delimiter=STRING
    Separates output on multiple OID requests
 -t, --timeout=INTEGER
    Seconds before connection times out (default: 10)
 -e, --retries=INTEGER
    Number of retries to be used in the requests
 -v, --verbose
    Show details for command-line debugging (Nagios may truncate output)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;via http://nagiosplugins.org/man/check_snmp&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/iEe-Ylx9eM0" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/24/how-to-monitor-canon-printers-with-snmp/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/24/how-to-monitor-canon-printers-with-snmp/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/24/how-to-monitor-canon-printers-with-snmp/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Google Search Lucky]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/wVF1EmOiOhc/" />
		<id>http://techblog.willshouse.com/?p=2307</id>
		<updated>2012-01-23T16:23:29Z</updated>
		<published>2012-01-23T16:22:12Z</published>
		<category scheme="http://techblog.willshouse.com" term="Mac" /><category scheme="http://techblog.willshouse.com" term="Software" /><category scheme="http://techblog.willshouse.com" term="Tech Tips" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="browser" /><category scheme="http://techblog.willshouse.com" term="chrome" /><category scheme="http://techblog.willshouse.com" term="chromium" /><category scheme="http://techblog.willshouse.com" term="custom search" /><category scheme="http://techblog.willshouse.com" term="google" /><category scheme="http://techblog.willshouse.com" term="google search" /><category scheme="http://techblog.willshouse.com" term="https" /><category scheme="http://techblog.willshouse.com" term="i'm feeling lucky" /><category scheme="http://techblog.willshouse.com" term="lucky" /><category scheme="http://techblog.willshouse.com" term="search" /><category scheme="http://techblog.willshouse.com" term="ssl" />		<summary type="html"><![CDATA[Google&#8217;s &#8220;I&#8217;m Feeling Lucky&#8221; search in Google Chrome Do you want to use Google&#8217;s &#8220;I&#8217;m Feeling Lucky&#8221; search in Google Chrome? It&#8217;s easy using the custom search engines. In Google Chrome click the wrench icon and then choose prferences next &#8230; <a href="http://techblog.willshouse.com/2012/01/23/google-search-lucky/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/23/google-search-lucky/">&lt;h2&gt;Google&amp;#8217;s  &amp;#8220;I&amp;#8217;m Feeling Lucky&amp;#8221; search in Google Chrome&lt;/h2&gt;

&lt;p&gt;Do you want to use Google&amp;#8217;s  &amp;#8220;I&amp;#8217;m Feeling Lucky&amp;#8221; search in Google Chrome? It&amp;#8217;s easy using the custom search engines.&lt;/p&gt;

&lt;p&gt;In Google Chrome click the wrench icon and then choose prferences &lt;img style="border: 1px solid #ccc;"  src="http://techblog.willshouse.com/wp-content/uploads/2012/01/google-chrome-im-feeling-lucky-search.png" alt="Google Search Lucky" title="google chrome im feeling lucky search" width="271" height="404" class="alignnone size-full wp-image-2308" /&gt;&lt;/p&gt;

&lt;p&gt;next click manage custom search engines&lt;/p&gt;

&lt;p&gt;&lt;img style="border: 1px solid #ccc;"  src="http://techblog.willshouse.com/wp-content/uploads/2012/01/manage-custom-search-engines.png" alt="" title="manage custom search engines" width="556" height="191" class="alignnone size-full wp-image-2309" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img style="border: 1px solid #ccc;"  src="http://techblog.willshouse.com/wp-content/uploads/2012/01/google-lucky-search-chrome.png" alt="" title="google lucky search chrome" width="596" height="74" class="alignnone size-full wp-image-2310" /&gt;&lt;/p&gt;

&lt;p&gt;Inser the string(s) below and a name (pretty much irrelevant) and they shortcut keyword you want to use. I use &lt;code class="prettyprint"&gt;&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Google Search Lucky Strings&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Standard &amp;#8220;Im Feeling Lucky&amp;#8221; Search&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;http://www.google.com/search?q=%s&amp;amp;btnI=Im+Feeling+Lucky
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;SSL Encrypted &amp;#8220;Im Feeling Lucky&amp;#8221; Search&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;https://www.google.com/search?q=%s&amp;amp;btnI=Im+Feeling+Lucky
&lt;/code&gt;&lt;/pre&gt;

&lt;blockquote&gt;
  &lt;p&gt;Note: I&amp;#8217;ve stripped out all items such as encoding and referrer to keep this as clean and simple as it can be.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now you can simply type in something like &lt;code class="prettyprint"&gt;&amp;gt; Google Docs&lt;/code&gt; into your browser bar and have it go to the first result &amp;#8211; which is most likely the right place.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/wVF1EmOiOhc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/23/google-search-lucky/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/23/google-search-lucky/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/23/google-search-lucky/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Make YSlow work with Firefox 9.0]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/RrBUNpzqT60/" />
		<id>http://techblog.willshouse.com/?p=2279</id>
		<updated>2012-01-25T00:57:05Z</updated>
		<published>2012-01-23T00:06:28Z</published>
		<category scheme="http://techblog.willshouse.com" term="Mac" /><category scheme="http://techblog.willshouse.com" term="Software" /><category scheme="http://techblog.willshouse.com" term="Tech Tips" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="addons" /><category scheme="http://techblog.willshouse.com" term="broken" /><category scheme="http://techblog.willshouse.com" term="extension" /><category scheme="http://techblog.willshouse.com" term="firefox" /><category scheme="http://techblog.willshouse.com" term="firefox 9" /><category scheme="http://techblog.willshouse.com" term="web development" /><category scheme="http://techblog.willshouse.com" term="yahoo" /><category scheme="http://techblog.willshouse.com" term="yslow" />		<summary type="html"><![CDATA[YSlow won&#8217;t work with Fire Fox 9 because it requires Firebug to work. And the latest versions of Firebug, 1.8, 1.9, and 1.10, do not work with YSlow. Until Yahoo gets around to updating their plugin, use this method to &#8230; <a href="http://techblog.willshouse.com/2012/01/22/make-yslow-work-with-firefox-9-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/22/make-yslow-work-with-firefox-9-0/">&lt;p&gt;YSlow won&amp;#8217;t work with Fire Fox 9 because it requires Firebug to work. And the latest versions of Firebug, 1.8, 1.9, and 1.10, do not work with YSlow. Until Yahoo gets around to updating their plugin, use this method to make YSlow work with your Firefox.&lt;/p&gt;

&lt;p&gt;You may want to backup your profile before doing this &amp;#8211; instructions are provided at the end of the posting.&lt;/p&gt;

&lt;p&gt;Type in &lt;code class="prettyprint"&gt;about:config&lt;/code&gt; into your address bar. After accepting the &amp;#8220;this is dangerous&amp;#8221; message right click and create a new entry. Make sure it is a BOOL.&lt;/p&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-22-at-6.55.15-PM.png" alt="yslow on firefox 9" title="make firefox 9 work with yslow" width="327" height="189" class="alignnone size-full wp-image-2287" /&gt;&lt;/p&gt;

&lt;p&gt;Set the name to:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;extensions.checkCompatibility.9.0
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and then set the value to &lt;code class="prettyprint"&gt;false&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/01/Picture-17.png" alt="yslow not working on ff9" title="fix yslow on firefox" width="307" height="156" class="alignnone size-full wp-image-2288" /&gt;&lt;/p&gt;

&lt;p&gt;Now visit &lt;a href="http://getfirebug.com/releases/firebug/1.7X/" rel="nofollow"&gt;http://getfirebug.com/releases/firebug/1.7X/&lt;/a&gt; and click on the latest version of Firebug 1.7, which I believe is &lt;code class="prettyprint"&gt;firebug-1.7X.0b4.xpi&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I&amp;#8217;m assuming that you already have YSlow installed &amp;#8211; but if you don&amp;#8217;t then install it too.&lt;/p&gt;

&lt;p&gt;Restart Firefox. Voila! Now your YSlow is working again! Feel free to leave a comment to thank me or suggest any tips or tricks related to YSlow and Firefox :)&lt;/p&gt;

&lt;p&gt;&lt;img src="http://techblog.willshouse.com/wp-content/uploads/2012/01/Picture-18.png" alt="Firebug and YSlow - firefox" title="YSlow working on Firefox 9 - with Firebug" width="506" height="497" class="alignnone size-full wp-image-2289" /&gt;&lt;/p&gt;

&lt;p&gt;You can either keep using Firebug 1.7 but if it&amp;#8217;s really bothering you go ahead and reinstall the latest Firebug and then create a separate profile to use with YSlow.&lt;/p&gt;

&lt;p&gt;See Mozilla&amp;#8217;s notes on using separate profiles: &lt;a rel="nofollow" href="http://kb.mozillazine.org/Profile_manager"&gt;http://kb.mozillazine.org/Profile_manager&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/RrBUNpzqT60" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/22/make-yslow-work-with-firefox-9-0/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/22/make-yslow-work-with-firefox-9-0/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/22/make-yslow-work-with-firefox-9-0/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>W</name>
					</author>
		<title type="html"><![CDATA[Setting Nagios host check frequency and Nagios default check interval]]></title>
		<link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/willshouse/~3/GyLhyyQ1acc/" />
		<id>http://techblog.willshouse.com/?p=2285</id>
		<updated>2012-01-22T08:33:34Z</updated>
		<published>2012-01-22T08:33:34Z</published>
		<category scheme="http://techblog.willshouse.com" term="Software" /><category scheme="http://techblog.willshouse.com" term="Web Development" /><category scheme="http://techblog.willshouse.com" term="check" /><category scheme="http://techblog.willshouse.com" term="linux" /><category scheme="http://techblog.willshouse.com" term="monitoring" /><category scheme="http://techblog.willshouse.com" term="nagios" /><category scheme="http://techblog.willshouse.com" term="nagios3" /><category scheme="http://techblog.willshouse.com" term="optimization" />		<summary type="html"><![CDATA[With nagios (nagios3), the normal check interval is set to 5 minutes, and the retry is set to 1 minute. If your services are not that critical, you can increase the default check interval, perhaps from five minutes (or 600 &#8230; <a href="http://techblog.willshouse.com/2012/01/22/setting-nagios-host-check-frequency-and-nagios-default-check-interval/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></summary>
		<content type="html" xml:base="http://techblog.willshouse.com/2012/01/22/setting-nagios-host-check-frequency-and-nagios-default-check-interval/">&lt;p&gt;With nagios (nagios3), the normal check interval is set to 5 minutes, and the retry is set to 1 minute. If your services are not that critical, you can increase the default check interval, perhaps from five minutes (or 600 seconds) to something like 10 minutes or 15 minutes.&lt;/p&gt;

&lt;p&gt;Look for a file like &lt;code class="prettyprint"&gt;generic-service_nagios.cfg&lt;/code&gt; in your configuration directory, possibly:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;/etc/nagios3/conf.d/generic-service_nagios2.cfg
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then you can find the corresponding lines to make the edits you need:&lt;/p&gt;

&lt;pre class="prettyprint"&gt;&lt;code&gt;define service{                                         
        name                            generic-service 
        active_checks_enabled           1               
        passive_checks_enabled          1               
        parallelize_check               1               
        obsess_over_service             1               
        check_freshness                 0               
        notifications_enabled           1               
        event_handler_enabled           1               
        flap_detection_enabled          1               
        failure_prediction_enabled      1               
        process_perf_data               1               
        retain_status_information       1               
        retain_nonstatus_information    1               
                notification_interval   0               
                is_volatile             0               
                check_period            24x7            
                normal_check_interval   5              
                retry_check_interval    1               
                max_check_attempts      4               
                notification_period     24x7            
                notification_options    w,u,c,r         
                contact_groups          admins          
        register                        0               
}
&lt;/code&gt;&lt;/pre&gt;
&lt;img src="http://feeds.feedburner.com/~r/willshouse/~4/GyLhyyQ1acc" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://techblog.willshouse.com/2012/01/22/setting-nagios-host-check-frequency-and-nagios-default-check-interval/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://techblog.willshouse.com/2012/01/22/setting-nagios-host-check-frequency-and-nagios-default-check-interval/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://techblog.willshouse.com/2012/01/22/setting-nagios-host-check-frequency-and-nagios-default-check-interval/</feedburner:origLink></entry>
	</feed><!-- Dynamic page generated in 0.571 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-04 12:31:29 --><!-- Compression = gzip -->

