<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Transcending Frontiers &#187; Wider images in Cacti</title>
	<atom:link href="http://blog.thefrontiergroup.com.au/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thefrontiergroup.com.au</link>
	<description>Your peek inside the collective mind of The Frontier Group</description>
	<lastBuildDate>Tue, 03 Jan 2012 06:53:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Wider images in Cacti</title>
		<link>http://blog.thefrontiergroup.com.au/2009/01/wider-images-in-cacti/</link>
		<comments>http://blog.thefrontiergroup.com.au/2009/01/wider-images-in-cacti/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 08:16:22 +0000</pubDate>
		<dc:creator>mlambie</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thefrontiergroup.com.au/blog/?p=290</guid>
		<description><![CDATA[I like to have wider images in Cacti, the system we use to monitor our servers. Specifically, I like to have images that are 750px wide instead of the default 500px. It can be cumbersome to change the templates individually, so the following SQL can be executed against your Cacti database and they&#8217;ll all be [...]]]></description>
			<content:encoded><![CDATA[<p>I like to have wider images in Cacti, the system we use to monitor our servers.</p>
<p>Specifically, I like to have images that are 750px wide instead of the default 500px. It can be cumbersome to change the templates individually, so the following SQL can be executed against your Cacti database and they&#8217;ll all be changed at once:</p>
<pre name="code" class="sql">UPDATE graph_templates_graph SET width = 750 WHERE ID > 0;</pre>
<p>I&#8217;ve found that some templates can&#8217;t jam all their information into a 500px wide image, so this SQL fixes that. It&#8217;s annoying having to reverse-engineer the database every time I add a new device template but now I have this post to refer back to.</p>
<script src="http://feeds.feedburner.com/~s/TranscendingFrontiers?i=http://blog.thefrontiergroup.com.au/2009/01/wider-images-in-cacti/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://blog.thefrontiergroup.com.au/2009/01/wider-images-in-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating random data with MySQL</title>
		<link>http://blog.thefrontiergroup.com.au/2008/12/generating-random-data-with-mysql/</link>
		<comments>http://blog.thefrontiergroup.com.au/2008/12/generating-random-data-with-mysql/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 04:56:10 +0000</pubDate>
		<dc:creator>mlambie</dc:creator>
				<category><![CDATA[Inside TFG]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[typecast]]></category>

		<guid isPermaLink="false">http://thefrontiergroup.com.au/blog/?p=261</guid>
		<description><![CDATA[I&#8217;m doing some modifications to a Copper installation for a customer that involved the addition of some new fields to their project table, namely CashContribution and InKind. They both track different donation types that can be made against a project. I needed a quick way to populate some projects with dummy, random data, and here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m doing some modifications to a Copper installation for a customer that involved the addition of some new fields to their project table, namely <code>CashContribution</code> and <code>InKind</code>. They both track different donation types that can be made against a project.</p>
<p>I needed a quick way to populate some projects with dummy, random data, and here&#8217;s what I ended up with:</p>
<pre name="code" class="sql">UPDATE Projects
SET CashContribution = (SELECT CONVERT(RAND() * 1000, UNSIGNED))
WHERE ID > 600;</pre>
<p>This meant that I wasn&#8217;t looking at row-after-row of the same dummy data, and that the test system better represents the intended real-world use. </p>
<script src="http://feeds.feedburner.com/~s/TranscendingFrontiers?i=http://blog.thefrontiergroup.com.au/2008/12/generating-random-data-with-mysql/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://blog.thefrontiergroup.com.au/2008/12/generating-random-data-with-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

