<?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>The Lazy Sys Admin &#187; Cacti</title>
	<atom:link href="http://www.thelazysysadmin.net/category/cacti/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Tue, 11 Oct 2011 05:31:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mitel Bandwidth Management Graphs for Cacti</title>
		<link>http://www.thelazysysadmin.net/2009/08/mitel-bandwidth-management-graphs-for-cacti/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mitel-bandwidth-management-graphs-for-cacti</link>
		<comments>http://www.thelazysysadmin.net/2009/08/mitel-bandwidth-management-graphs-for-cacti/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 05:43:07 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Mitel]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[Graphing]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[PABX]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=592</guid>
		<description><![CDATA[When running a cluster of Mitel PABX&#8217;s it is likely that you will have them interconnecting in one way or another. If you send calls over your WAN connection then these graphs are for you. There are two graphs added: &#8230; <a href="http://www.thelazysysadmin.net/2009/08/mitel-bandwidth-management-graphs-for-cacti/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When running a cluster of Mitel PABX&#8217;s it is likely that you will have them interconnecting in one way or another. If you send calls over your WAN connection then these graphs are for you.</p>
<p>There are two graphs added:</p>
<p>Bandwidth &#8211; Shows the current set bandwidth limit and usage figures for a Zone Access Point<br />
Calls &#8211; Shows the number of calls both accepted or rejected by Bandwidth Management</p>
<p><span id="more-592"></span>To install just copy the &#8220;mitel_bwmgt_stats.xml&#8221; file into your cacti &#8220;resource/snmp_queries&#8221; directory. Then import the host template file into Cacti (Minimum Ver 0.8.7d). Once that is done you should be able to add the Mitel graphs to your monitored Mitel hosts.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/08/MitelBandwidthManagement_bandwidth.png"><img class="alignnone size-full wp-image-595" title="Mitel Bandwidth Management Bandwidth Graph" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/08/MitelBandwidthManagement_bandwidth.png" alt="Mitel Bandwidth Management Bandwidth Graph" width="587" height="247" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/08/MitelBandwidthManagement_calls.png"><img class="alignnone size-full wp-image-594" title="Mitel Bandwidth Management Calls Graph" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/08/MitelBandwidthManagement_calls.png" alt="Mitel Bandwidth Management Calls Graph" width="587" height="247" /></a></p>
<p><strong>Requirements</strong></p>
<ul>
<li>Cacti &#8211; 0.8.7d</li>
<li>SNMP Enabled on the Mitel Controller</li>
</ul>
<p><strong>Download</strong></p>
<ul>
<li><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/08/MitelBandwidthManagementCactiGraphs.zip">Mitel Bandwidth Management Cacti Graphs</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/08/mitel-bandwidth-management-graphs-for-cacti/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linode Network Stats in Cacti</title>
		<link>http://www.thelazysysadmin.net/2009/07/linode-network-stats-in-cacti/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=linode-network-stats-in-cacti</link>
		<comments>http://www.thelazysysadmin.net/2009/07/linode-network-stats-in-cacti/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 23:15:09 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[Virtual Server]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=511</guid>
		<description><![CDATA[Linode provides a convenient XML data feed that provides information about your CPU usage and Network Usage. The graph for the CPU Usage seems a little useless, but I have included it here as the XML feed provides the data. &#8230; <a href="http://www.thelazysysadmin.net/2009/07/linode-network-stats-in-cacti/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Linode provides a convenient XML data feed that provides information about your CPU usage and Network Usage. The graph for the CPU Usage seems a little useless, but I have included it here as the XML feed provides the data.</p>
<p>You will need your linode account number to use the graphs, you can find this number by looking at the graphs provided to you in your Linode account management interface. The title of the graph will be &#8220;http://www.linode.com/ &#8211; yourhostname (linode12345) &#8211; CPU &#8211; &#8230;&#8230;.&#8221;. You will need the text from inside the ( ) for your username ie linode12345.</p>
<p><span id="more-511"></span>To install just copy the linode.pl file into the scripts directory of your Cacti installation. This script was taken from <a href="http://www.linode.com/forums/viewtopic.php?t=776" target="_blank">http://www.linode.com/forums/viewtopic.php?t=776</a> and modified for use with cacti.</p>
<p>Then just import the cacti host template file into Cacti. You should then be able to add the graphs to your relevant host.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/Linode_Network.jpg"><img class="alignnone size-full wp-image-513" title="Linode Network" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/Linode_Network.jpg" alt="Linode Network" width="600" height="211" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/Linode_CPU.jpg"><img class="alignnone size-full wp-image-514" title="Linode CPU" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/Linode_CPU.jpg" alt="Linode CPU" width="600" height="199" /></a></p>
<p><strong>Requirements</strong>:</p>
<ul>
<li>Cacti 0.8.7d</li>
<li>Perl XML::LibXML</li>
<li>Perl LWP::UserAgent</li>
<li>Perl IO::File</li>
</ul>
<p><strong>Download</strong></p>
<ul>
<li><a href="http://www.thelazysysadmin.net/file-downloads/" target="_self">Monitoring Linode Stats with Cacti</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/07/linode-network-stats-in-cacti/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cacti Error XML hash version does not exist</title>
		<link>http://www.thelazysysadmin.net/2009/06/cacti-error-xml-hash-version-does-not-exist/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cacti-error-xml-hash-version-does-not-exist</link>
		<comments>http://www.thelazysysadmin.net/2009/06/cacti-error-xml-hash-version-does-not-exist/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 21:46:59 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Error]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=349</guid>
		<description><![CDATA[I thought I would write a quick post on this error, it is very simple to fix. If you receive the following error when importing a Cacti Template: This simply means the template was generated on a version of Cacti &#8230; <a href="http://www.thelazysysadmin.net/2009/06/cacti-error-xml-hash-version-does-not-exist/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought I would write a quick post on this error, it is very simple to fix. If you receive the following error when importing a Cacti Template:</p>
<pre class="brush: plain; title: ; notranslate">Error: XML: Hash version does not exist</pre>
<p>This simply means the template was generated on a version of Cacti newer than the one you are importing to. Don&#8217;t despair, there are simple upgrade instructions on the cacti website.</p>
<p>Just make sure you make a full backup of your database and Cacti webfiles before attempting the upgrade (As a cautionary tale, if you installed cacti from a package you should first check to see if an updated package is available. Package installs can sometimes put the different files required in different places)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/cacti-error-xml-hash-version-does-not-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Linux Disk Statistics with Cacti</title>
		<link>http://www.thelazysysadmin.net/2009/06/monitoring-linux-disk-statistics-with-cacti/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitoring-linux-disk-statistics-with-cacti</link>
		<comments>http://www.thelazysysadmin.net/2009/06/monitoring-linux-disk-statistics-with-cacti/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 01:40:32 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Disk Stats]]></category>
		<category><![CDATA[Graphing]]></category>
		<category><![CDATA[iostat]]></category>
		<category><![CDATA[sysstat]]></category>
		<category><![CDATA[vmstat]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=234</guid>
		<description><![CDATA[Cacti Monitoring of Disk Statistics with iostat and vmstat that will show the disk mount point on the graph with details similar to what is found in Windows PerfMon. <a href="http://www.thelazysysadmin.net/2009/06/monitoring-linux-disk-statistics-with-cacti/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I firstly want to acknowledge the work of Mark Round and <a href="http://www.markround.com/archives/48-Linux-iostat-monitoring-with-Cacti.html" target="_blank">Linux iostat monitoring with Cacti</a>. The following work was inspired and based on the ideas found in Mark&#8217;s post.</p>
<p>My main objective when I started looking into disk monitoring was to get some similar stats into Cacti for Linux that can be found with the Windows PerfMon utility. I found Mark&#8217;s post and didn&#8217;t quite like the way it used cron to collect its statistics, and wanted something that I could easily add to snmpd.conf without needing to change much more. I was also keen on obtaining the mount point data for each partition as looking at &#8220;cciss/c0d0p3&#8243; doesn&#8217;t mean as much to management (and sometimes to me) and hopefully &#8220;/home&#8221; does.</p>
<p><span id="more-234"></span>So I wrote a script which uses the output from &#8220;df -l&#8221;, &#8220;vmstat -d&#8221;, &#8220;iostat -dk&#8221;, &#8220;iostat -xdk&#8221; to produce the results I wanted. This script only looks at the individual partition on the disk. Some of the stats don&#8217;t work with Software RAID, and some stats are missing for some older versions of the kernel when used with a HP Hardware RAID card (this is all I have tested with). These are the results.</p>
<p><img class="alignnone size-full wp-image-239" title="Disk Stats - Data Transferred" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/data-transferred.png" alt="Disk Stats - Data Transferred" width="603" height="270" /></p>
<p><img class="alignnone size-full wp-image-243" title="Disk Stats - Operations" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/operations.png" alt="Disk Stats - Operations" width="603" height="242" /></p>
<p><img class="alignnone size-full wp-image-240" title="Disk Stats - Disk Queue Size" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/disk-queue-size.png" alt="Disk Stats - Disk Queue Size" width="603" height="228" /></p>
<p><img class="alignnone size-full wp-image-244" title="Disk Stats - Time On Disk" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/time-on-disk.png" alt="Disk Stats - Time On Disk" width="603" height="242" /></p>
<p><img class="alignnone size-full wp-image-241" title="Disk Stats - Disk Utilisation" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/disk-utilisation.png" alt="Disk Stats - Disk Utilisation" width="603" height="228" /></p>
<p><img class="alignnone size-full wp-image-242" title="Disk Stats - Disk Wait Times" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/disk-wait-times.png" alt="Disk Stats - Disk Wait Times" width="603" height="242" /></p>
<h3>Requirements:</h3>
<ul>
<li>sysstat package</li>
<li>Net-SNMP</li>
<li>Tie::IxHash perl module</li>
<li>Cacti (Ver 0.8.7d minimum)</li>
</ul>
<h3>Installation:</h3>
<ol>
<li>Make sure you have the requirements installed.<br />
Tie::IxHash comes as a package on both Debian/Ubuntu and OpenSUSE and at the very least you could install it using CPAN.<br />
Sysstat also should come prepackaged for most Linux Distros.</li>
<li>Copy the &#8220;<em>disk_stats.xml</em>&#8221; file from the archive into the &#8220;<em>resource/snmp_queries</em>&#8221; folder of your Cacti installation.</li>
<li>Copy the &#8220;<em>disk_stats.pl</em>&#8221; file to your &#8220;<em>/usr/local/bin</em>&#8221; directory and run &#8220;<em>chmod +x /usr/local/bin/disk_stats.pl</em>&#8220;.</li>
<li>Edit your &#8220;<em>snmpd.conf</em>&#8221; file and add the following line &#8220;<em>pass .1.3.6.1.4.1.2021.51 /usr/bin/perl /usr/local/bin/disk_stats.pl</em>&#8221; (If that OID conflicts with another OID on your system you need to change the value used both in your snmpd.conf file and in the disk_stats.pl file. You will need to restart SNMPD after this change.</li>
<li>Import the &#8220;<em>cacti_data_query_snmp_-_disk_stats.xml</em>&#8221; file into your Cacti installation using the &#8220;<em>Import Templates</em>&#8221; menu option.</li>
</ol>
<p>You should now be able to open a device and add the &#8220;SNMP &#8211; Disk Stats&#8221; in the &#8220;Associated Data Queries&#8221; section.</p>
<h3>Download:</h3>
<ul>
<li><a href="http://www.thelazysysadmin.net/file-downloads/" target="_self">Monitoring Linux Disk Stats with Cacti</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/monitoring-linux-disk-statistics-with-cacti/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monitoring VMWare&#8217;s Free ESXi 3.5 with Cacti</title>
		<link>http://www.thelazysysadmin.net/2009/04/monitoring-vmwares-free-esxi-35-with-cacti/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=monitoring-vmwares-free-esxi-35-with-cacti</link>
		<comments>http://www.thelazysysadmin.net/2009/04/monitoring-vmwares-free-esxi-35-with-cacti/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 04:02:12 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Cacti]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Graphing]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=17</guid>
		<description><![CDATA[Monitor the free VMWare ESXi 3.5 with Cacti to keep historical data based on CPU Utilisation and Memory Usage over time. <a href="http://www.thelazysysadmin.net/2009/04/monitoring-vmwares-free-esxi-35-with-cacti/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When I realised that the free version of VMWare ESXi only kept an hours worth of logging information I went looking for a solution to keep more statistical data. This is what I have come up with so far.</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 394px"><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/cpugraph.png"><img class="size-full wp-image-25" title="VMWare ESXi 3.5 CPU Graph in Cacti" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/cpugraph.png" alt="VMWare ESXi 3.5 CPU Graph in Cacti" width="384" height="170" /></a><p class="wp-caption-text">VMWare ESXi 3.5 CPU Graph in Cacti</p></div>
<div id="attachment_24" class="wp-caption alignnone" style="width: 393px"><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/memorygraph.png"><img class="size-full wp-image-24" title="VMWare ESXi 3.5 Memory Graph in Cacti" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/memorygraph.png" alt="VMWare ESXi 3.5 Memory Graph in Cacti" width="383" height="170" /></a><p class="wp-caption-text">VMWare ESXi 3.5 Memory Graph in Cacti</p></div>
<p><span id="more-17"></span>This method uses the VMWare Remove CLI tools to connect to the ESX server and download the information via an XML interface.</p>
<p>Software Required:</p>
<ul>
<li>Download the VMWare Remote CLI from <a title="http://www.vmware.com/go/remotecli" href="http://www.vmware.com/go/remotecli/" target="_blank">http://www.vmware.com/go/remotecli</a></li>
<li>Cacti <a title="http://www.cacti.net/" href="http://www.cacti.net/" target="_blank">http://www.cacti.net/</a></li>
</ul>
<p>Firstly download and install the VMWare Remote CLI tools to your Cacti server.</p>
<p>Next you need to add a user to ESX for the statistics collection.</p>
<p>On the ESX Virtual Infrastructure Client goto the <em>&#8220;Users &amp; Groups&#8221;</em> tab.</p>
<div id="attachment_30" class="wp-caption alignnone" style="width: 430px"><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap01.jpg"><img class="size-full wp-image-30" title="VMWare ESXi 3.5 Add Stats User Step 1" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap01.jpg" alt="VMWare ESXi 3.5 Add Stats User Step 1" width="420" height="330" /></a><p class="wp-caption-text">VMWare ESXi 3.5 Add Stats User Step 1</p></div>
<p>Right Mouse Click and <em>&#8220;Add&#8221;</em> a new user.</p>
<div id="attachment_31" class="wp-caption alignnone" style="width: 384px"><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap02.jpg"><img class="size-full wp-image-31" title="VMWare ESXi 3.5 Add Stats User Step 2" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap02.jpg" alt="VMWare ESXi 3.5 Add Stats User Step 2" width="374" height="477" /></a><p class="wp-caption-text">VMWare ESXi 3.5 Add Stats User Step 2</p></div>
<p>Then go to the <em>&#8220;Permissions&#8221;</em> tab, and Right Mouse Click to <em>&#8220;Add Permission&#8221;</em>.</p>
<div id="attachment_33" class="wp-caption alignnone" style="width: 426px"><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap04.jpg"><img class="size-full wp-image-33" title="VMWare ESXi 3.5 Add Stats User Step 4" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/04/screencap04.jpg" alt="VMWare ESXi 3.5 Add Stats User Step 4" width="416" height="330" /></a><p class="wp-caption-text">VMWare ESXi 3.5 Add Stats User Step 3</p></div>
<p>Add the new StatsUser and select Read-Only for the assigned role and click Ok.</p>
<p>Now goto your Cacti installation and copy the <em>&#8220;esxstats.pl&#8221;</em> file into your cacti scripts directory and import the <em>&#8220;cacti_host_template_vmware_esxi_3_5_host.xml&#8221;</em> file into Cacti using the web interface. These scripts can be downloaded from the bottom of this post.</p>
<p>You should now be able to add a new ESX host into cacti. You will need to specify the <em>&#8220;Downed Device Detection&#8221;</em> mode to just <em>&#8220;Ping&#8221;</em> as there is no SNMP on the current Free version of VMWare ESXi 3.5.</p>
<p>I am hoping that SNMP support will come to the free versions as that would make life much easier.</p>
<p>Files Required:</p>
<ul>
<li><a href="http://www.thelazysysadmin.net/file-downloads/">VMWare ESXi 3.5 Cacti Graph Files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/04/monitoring-vmwares-free-esxi-35-with-cacti/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

