<?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/"
	>

<channel>
	<title>do while not .EOF</title>
	<atom:link href="http://blog.ozzie.web.id/rss.php" rel="self" type="application/rss+xml" />
	<link>http://blog.ozzie.web.id</link>
	<description>Rock &#38; Roll All Nite !!</description>
	<pubDate>Sun, 05 Feb 2012 18:16:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exploring SPARC</title>
		<link>http://blog.ozzie.web.id/?p=814</link>
		<comments>http://blog.ozzie.web.id/?p=814#comments</comments>
		<pubDate>Sun, 05 Feb 2012 18:07:09 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[*NIX]]></category>

		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Review]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid isPermaLink="false">http://blog.ozzie.web.id/?p=814</guid>
		<description><![CDATA[	muter2 hunting-searching.. susahnya cari workstation SPARC di jakarta..  
akhirnya ngeborong server2 ber architectur SPARC   



finally update my Private Home datacenter  

	

 ]]></description>
			<content:encoded><![CDATA[	<p>muter2 hunting-searching.. susahnya cari workstation<a href="http://en.wikipedia.org/wiki/SPARC" target="_blank"> SPARC</a> di jakarta.. <img src='http://blog.ozzie.web.id/smilies/yahoo_sweating.gif' alt='&#35;&#58;&#45;&#115;' border='0' class='wp-smiley' width='34' height='18' title='&#35;&#58;&#45;&#115;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_sweating.gif' alt='&#35;&#58;&#45;&#115;' border='0' class='wp-smiley' width='34' height='18' title='&#35;&#58;&#45;&#115;' /><br />
akhirnya ngeborong server2 ber architectur <a href="http://en.wikipedia.org/wiki/SPARC" target="_blank"><span class="caps">SPARC</span></a> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /><br />
<a href="http://images.ozzie.web.id/albums/main.php/v/sparc/" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15227&#38;g2_serialNumber=1" alt="Sun Fire" width="490" /></a><br />
<br />
<br />
finally update my Private Home datacenter <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /></p>

	<p><a href="http://images.ozzie.web.id/albums/main.php/v/sparc/" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15244&#38;g2_serialNumber=1" alt="home datacenter" width="490"  /></a></p>

 ]]></content:encoded>
			<wfw:commentRss>http://blog.ozzie.web.id/?feed=rss2&amp;p=814</wfw:commentRss>
		</item>
		<item>
		<title>Tambah Geser&#8230;</title>
		<link>http://blog.ozzie.web.id/?p=802</link>
		<comments>http://blog.ozzie.web.id/?p=802#comments</comments>
		<pubDate>Sat, 14 Jan 2012 14:08:37 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Foto]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Outdoor]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid isPermaLink="false">http://blog.ozzie.web.id/?p=802</guid>
		<description><![CDATA[	13.01.2012

	Akhirnya ada jg dokumentasi  
sela 4 hari dari kecelakaan Special Gift yg gak sempet didokumentasikan karena ketiduran di klinik 

	


	
 ]]></description>
			<content:encoded><![CDATA[	<p>13.01.2012</p>

	<p>Akhirnya ada jg dokumentasi <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /><br />
sela 4 hari dari kecelakaan <a href="http://blog.ozzie.web.id/?p=796">Special Gift</a> yg gak sempet didokumentasikan karena ketiduran di klinik <img src='http://blog.ozzie.web.id/smilies/yahoo_silly.gif' alt='&#56;&#45;&#125;' border='0' class='wp-smiley' width='24' height='18' title='&#56;&#45;&#125;' /></p>

	<p><br />
</p>

	<p><a href="http://images.ozzie.web.id/albums/main.php/v/bmx/13_1_002.jpg.html" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15218&#38;g2_serialNumber=1" width="490"></a></p>
 ]]></content:encoded>
			<wfw:commentRss>http://blog.ozzie.web.id/?feed=rss2&amp;p=802</wfw:commentRss>
		</item>
		<item>
		<title>Special Gift..</title>
		<link>http://blog.ozzie.web.id/?p=796</link>
		<comments>http://blog.ozzie.web.id/?p=796#comments</comments>
		<pubDate>Tue, 10 Jan 2012 13:18:27 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Outdoor]]></category>

		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://blog.ozzie.web.id/?p=796</guid>
		<description><![CDATA[	09.01.2012



	Special gift: Nambah Koleksi kenang2an di kaki &#38; tangan (lagi) +Tulang Bahu Nge-Geser..  




	*sangat disayangkan 2x moment terakhir gak sempet di dokumentasikan&#8230; karena bangun2 udah terbaring di Klinik.. 
 ]]></description>
			<content:encoded><![CDATA[	<p>09.01.2012<br />
<br />
</p>

	<p>Special gift: Nambah Koleksi kenang2an di kaki &#38; tangan (lagi) +<b>Tulang Bahu Nge-Geser</b>..  <img src='http://blog.ozzie.web.id/smilies/yahoo_bigsmile.gif' alt='&#58;&#100;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#100;' /><br />
<br />
<br />
</p>

	<p>*sangat disayangkan 2x moment terakhir gak sempet di dokumentasikan&#8230; karena bangun2 udah terbaring di Klinik.. <img src='http://blog.ozzie.web.id/smilies/yahoo_doh.gif' alt='&#35;&#45;&#111;' border='0' class='wp-smiley' width='24' height='18' title='&#35;&#45;&#111;' /></p>
 ]]></content:encoded>
			<wfw:commentRss>http://blog.ozzie.web.id/?feed=rss2&amp;p=796</wfw:commentRss>
		</item>
		<item>
		<title>Pop-Up &#8216;Hover&#8217; info weathermap-cacti</title>
		<link>http://blog.ozzie.web.id/?p=770</link>
		<comments>http://blog.ozzie.web.id/?p=770#comments</comments>
		<pubDate>Mon, 02 Jan 2012 16:03:14 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[*NIX]]></category>

		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Kerjaan]]></category>

		<category><![CDATA[Review]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid isPermaLink="false">http://blog.ozzie.web.id/?p=770</guid>
		<description><![CDATA[	

	

	

	



	edit weathermap config (NOTES)

	
NODE nmsdev0
        LABEL NMS-Devel
        INFOURL /graph.php?rra_id=all&#38;local_graph_id=6
        NOTES &#60;iframe width=\&#34;400px\&#34; height=\&#34;400px\&#34; src=\&#34;/plugins/weathermap/info.php?node=1\&#34;&#62;&#60;/iframe&#62;
        OVERLIBGRAPH /graph_image.php?rra_id=0&#38;graph_nolegend=true&#38;local_graph_id=6
        ICON images/Server0.png
   [...]]]></description>
			<content:encoded><![CDATA[	<p><a href="http://images.ozzie.web.id/wmap/wmap0.png"><img src="http://images.ozzie.web.id/wmap/wmap0.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap1.png"><img src="http://images.ozzie.web.id/wmap/wmap1.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap2.png"><img src="http://images.ozzie.web.id/wmap/wmap2.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap3.png"><img src="http://images.ozzie.web.id/wmap/wmap3.png" alt="Weathermap-Cacti" width="490" /></a><br />
<br />
</p>

	<p>edit weathermap config (<a href="http://www.network-weathermap.com/manual/latest/pages/config-reference.html#NODE_NOTES"><span class="caps">NOTES</span></a>)</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="text">NODE nmsdev0
        LABEL NMS-Devel
        INFOURL /graph.php?rra_id=all&amp;local_graph_id=6
        NOTES &lt;iframe width=\&quot;400px\&quot; height=\&quot;400px\&quot; src=\&quot;/plugins/weathermap/info.php?node=1\&quot;&gt;&lt;/iframe&gt;
        OVERLIBGRAPH /graph_image.php?rra_id=0&amp;graph_nolegend=true&amp;local_graph_id=6
        ICON images/Server0.png
        POSITION 296 486</pre></div></div>
</p>


	<p><br />
<br />
create file <b>info.php</b> (<i><a href="http://www.ozzie.web.id/tmp/info.txt" target="_blank">http://www.ozzie.web.id/tmp/info.txt</a></i>)</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #808080; font-style: italic;">//echo &quot;node id = &quot; . $_GET['node'];</span>
<span style="color: #000066;">chdir</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'../../'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./include/global.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/utility.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_data_source.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_tree.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/html_tree.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_graph.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/snmp.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/ping.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/data_query.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_device.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>!<span style="color: #000066;">empty</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;node&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0000ff;">$host</span> = db_fetch_row<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;select * from host where id=&quot;</span> . <span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;node&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> &amp;&amp; <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> || <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;span style='color: #ab3f1e; font-weight: bold;'&gt;SNMP not in use&lt;/span&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #0000ff;">$snmp_system</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span>
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.1.0&quot;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>,SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000066;">substr_count</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span>, <span style="color: #ff0000;">&quot;00:&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #0000ff;">$snmp_system</span> = <span style="color: #000066;">str_replace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;00:&quot;</span>, <span style="color: #ff0000;">&quot;&quot;</span>, <span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$snmp_system</span> = <span style="color: #000066;">str_replace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;:&quot;</span>, <span style="color: #ff0000;">&quot; &quot;</span>, <span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> 
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;span style='color: #ff0000; font-weight: bold;'&gt;SNMP error&lt;/span&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
   <span style="color: #66cc66;">&#125;</span>
   <span style="color: #b1b100;">else</span>
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #0000ff;">$snmp_uptime</span>	= cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.25.1.1.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
      <span style="color: #0000ff;">$snmp_hostname</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.5.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #0000ff;">$snmp_location</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.6.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #0000ff;">$snmp_contact</span>  = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.4.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;table&gt;&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;System_Name:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #66cc66;">&#93;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;System IP:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Availability:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #000066;">round</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;availability&quot;</span><span style="color: #66cc66;">&#93;</span>,<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> . <span style="color: #ff0000;">&quot;%&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td valign='top'&gt;&lt;strong&gt;System:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . html_split_string<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #0000ff;">$days</span>      = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_uptime</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">24</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$remainder</span> = <span style="color: #0000ff;">$snmp_uptime</span> % <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">24</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$hours</span>     = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$remainder</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$remainder</span> = <span style="color: #0000ff;">$remainder</span> % <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$minutes</span>   = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$remainder</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Uptime:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_uptime&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&amp;nbsp;($days days, $hours hours, $minutes minutes)&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Hostname:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_hostname&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Location:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_location&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Contact:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_contact&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;/table&gt;&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>
</p>


 ]]></content:encoded>
			<wfw:commentRss>http://blog.ozzie.web.id/?feed=rss2&amp;p=770</wfw:commentRss>
		</item>
	</channel>
</rss>
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/httpd/webozzie/blog/wp-includes/feed.php:360) in <b>/home/httpd/webozzie/blog/rss.php</b> on line <b>10</b><br />
<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.7.1" -->
<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/"
>

<channel>
	<title>do while not .EOF</title>
	<link>http://blog.ozzie.web.id</link>
	<description>Rock &#38; Roll All Nite !!</description>
	<pubDate>Sun, 05 Feb 2012 18:16:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>

		<item>
		<title>Exploring SPARC</title>
		<link>http://blog.ozzie.web.id/?p=814</link>
		<comments>http://blog.ozzie.web.id/?p=814#comments</comments>
		<pubDate>Sun, 05 Feb 2012 18:07:09 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[*NIX]]></category>

		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Review]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid>http://blog.ozzie.web.id/?p=814</guid>
		<description><![CDATA[	muter2 hunting-searching.. susahnya cari workstation SPARC di jakarta..  
akhirnya ngeborong server2 ber architectur SPARC   



finally update my Private Home datacenter  

	

 ]]></description>
			<content:encoded><![CDATA[	<p>muter2 hunting-searching.. susahnya cari workstation<a href="http://en.wikipedia.org/wiki/SPARC" target="_blank"> SPARC</a> di jakarta.. <img src='http://blog.ozzie.web.id/smilies/yahoo_sweating.gif' alt='&#35;&#58;&#45;&#115;' border='0' class='wp-smiley' width='34' height='18' title='&#35;&#58;&#45;&#115;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_sweating.gif' alt='&#35;&#58;&#45;&#115;' border='0' class='wp-smiley' width='34' height='18' title='&#35;&#58;&#45;&#115;' /><br />
akhirnya ngeborong server2 ber architectur <a href="http://en.wikipedia.org/wiki/SPARC" target="_blank"><span class="caps">SPARC</span></a> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_laughloud.gif' alt='&#58;&#41;&#41;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#41;&#41;' /><br />
<a href="http://images.ozzie.web.id/albums/main.php/v/sparc/" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15227&#38;g2_serialNumber=1" alt="Sun Fire" width="490" /></a><br />
<br />
<br />
finally update my Private Home datacenter <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /></p>

	<p><a href="http://images.ozzie.web.id/albums/main.php/v/sparc/" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15244&#38;g2_serialNumber=1" alt="home datacenter" width="490"  /></a></p>

 ]]></content:encoded>
			<wfw:commentRSS>http://blog.ozzie.web.id/?feed=rss2&amp;p=814</wfw:commentRSS>
	</item>
		<item>
		<title>Tambah Geser&#8230;</title>
		<link>http://blog.ozzie.web.id/?p=802</link>
		<comments>http://blog.ozzie.web.id/?p=802#comments</comments>
		<pubDate>Sat, 14 Jan 2012 14:08:37 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Foto]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Outdoor]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid>http://blog.ozzie.web.id/?p=802</guid>
		<description><![CDATA[	13.01.2012

	Akhirnya ada jg dokumentasi  
sela 4 hari dari kecelakaan Special Gift yg gak sempet didokumentasikan karena ketiduran di klinik 

	


	
 ]]></description>
			<content:encoded><![CDATA[	<p>13.01.2012</p>

	<p>Akhirnya ada jg dokumentasi <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /> <img src='http://blog.ozzie.web.id/smilies/yahoo_party.gif' alt='&#60;&#58;&#45;&#112;' border='0' class='wp-smiley' width='38' height='18' title='&#60;&#58;&#45;&#112;' /><br />
sela 4 hari dari kecelakaan <a href="http://blog.ozzie.web.id/?p=796">Special Gift</a> yg gak sempet didokumentasikan karena ketiduran di klinik <img src='http://blog.ozzie.web.id/smilies/yahoo_silly.gif' alt='&#56;&#45;&#125;' border='0' class='wp-smiley' width='24' height='18' title='&#56;&#45;&#125;' /></p>

	<p><br />
</p>

	<p><a href="http://images.ozzie.web.id/albums/main.php/v/bmx/13_1_002.jpg.html" target="_blank"><img src="http://images.ozzie.web.id/albums/main.php?g2_view=core.DownloadItem&#38;g2_itemId=15218&#38;g2_serialNumber=1" width="490"></a></p>
 ]]></content:encoded>
			<wfw:commentRSS>http://blog.ozzie.web.id/?feed=rss2&amp;p=802</wfw:commentRSS>
	</item>
		<item>
		<title>Special Gift..</title>
		<link>http://blog.ozzie.web.id/?p=796</link>
		<comments>http://blog.ozzie.web.id/?p=796#comments</comments>
		<pubDate>Tue, 10 Jan 2012 13:18:27 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Outdoor]]></category>

		<category><![CDATA[Review]]></category>

		<guid>http://blog.ozzie.web.id/?p=796</guid>
		<description><![CDATA[	09.01.2012



	Special gift: Nambah Koleksi kenang2an di kaki &#38; tangan (lagi) +Tulang Bahu Nge-Geser..  




	*sangat disayangkan 2x moment terakhir gak sempet di dokumentasikan&#8230; karena bangun2 udah terbaring di Klinik.. 
 ]]></description>
			<content:encoded><![CDATA[	<p>09.01.2012<br />
<br />
</p>

	<p>Special gift: Nambah Koleksi kenang2an di kaki &#38; tangan (lagi) +<b>Tulang Bahu Nge-Geser</b>..  <img src='http://blog.ozzie.web.id/smilies/yahoo_bigsmile.gif' alt='&#58;&#100;' border='0' class='wp-smiley' width='18' height='18' title='&#58;&#100;' /><br />
<br />
<br />
</p>

	<p>*sangat disayangkan 2x moment terakhir gak sempet di dokumentasikan&#8230; karena bangun2 udah terbaring di Klinik.. <img src='http://blog.ozzie.web.id/smilies/yahoo_doh.gif' alt='&#35;&#45;&#111;' border='0' class='wp-smiley' width='24' height='18' title='&#35;&#45;&#111;' /></p>
 ]]></content:encoded>
			<wfw:commentRSS>http://blog.ozzie.web.id/?feed=rss2&amp;p=796</wfw:commentRSS>
	</item>
		<item>
		<title>Pop-Up &#8216;Hover&#8217; info weathermap-cacti</title>
		<link>http://blog.ozzie.web.id/?p=770</link>
		<comments>http://blog.ozzie.web.id/?p=770#comments</comments>
		<pubDate>Mon, 02 Jan 2012 16:03:14 +0000</pubDate>
		<dc:creator>ozzie</dc:creator>
		
		<category><![CDATA[*NIX]]></category>

		<category><![CDATA[Aktifitas]]></category>

		<category><![CDATA[Cerita]]></category>

		<category><![CDATA[Code]]></category>

		<category><![CDATA[Iseng-Iseng]]></category>

		<category><![CDATA[Kerjaan]]></category>

		<category><![CDATA[Review]]></category>

		<category><![CDATA[Sok Tau]]></category>

		<guid>http://blog.ozzie.web.id/?p=770</guid>
		<description><![CDATA[	

	

	

	



	edit weathermap config (NOTES)

	
NODE nmsdev0
        LABEL NMS-Devel
        INFOURL /graph.php?rra_id=all&#38;local_graph_id=6
        NOTES &#60;iframe width=\&#34;400px\&#34; height=\&#34;400px\&#34; src=\&#34;/plugins/weathermap/info.php?node=1\&#34;&#62;&#60;/iframe&#62;
        OVERLIBGRAPH /graph_image.php?rra_id=0&#38;graph_nolegend=true&#38;local_graph_id=6
        ICON images/Server0.png
   [...]]]></description>
			<content:encoded><![CDATA[	<p><a href="http://images.ozzie.web.id/wmap/wmap0.png"><img src="http://images.ozzie.web.id/wmap/wmap0.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap1.png"><img src="http://images.ozzie.web.id/wmap/wmap1.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap2.png"><img src="http://images.ozzie.web.id/wmap/wmap2.png" alt="Weathermap-Cacti" width="490" /></a></p>

	<p><a href="http://images.ozzie.web.id/wmap/wmap3.png"><img src="http://images.ozzie.web.id/wmap/wmap3.png" alt="Weathermap-Cacti" width="490" /></a><br />
<br />
</p>

	<p>edit weathermap config (<a href="http://www.network-weathermap.com/manual/latest/pages/config-reference.html#NODE_NOTES"><span class="caps">NOTES</span></a>)</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="text">NODE nmsdev0
        LABEL NMS-Devel
        INFOURL /graph.php?rra_id=all&amp;local_graph_id=6
        NOTES &lt;iframe width=\&quot;400px\&quot; height=\&quot;400px\&quot; src=\&quot;/plugins/weathermap/info.php?node=1\&quot;&gt;&lt;/iframe&gt;
        OVERLIBGRAPH /graph_image.php?rra_id=0&amp;graph_nolegend=true&amp;local_graph_id=6
        ICON images/Server0.png
        POSITION 296 486</pre></div></div>
</p>


	<p><br />
<br />
create file <b>info.php</b> (<i><a href="http://www.ozzie.web.id/tmp/info.txt" target="_blank">http://www.ozzie.web.id/tmp/info.txt</a></i>)</p>

	<p>
<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #808080; font-style: italic;">//echo &quot;node id = &quot; . $_GET['node'];</span>
<span style="color: #000066;">chdir</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'../../'</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./include/global.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/utility.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_data_source.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_tree.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/html_tree.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_graph.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/snmp.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/ping.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/data_query.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">include_once</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;./lib/api_device.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>!<span style="color: #000066;">empty</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;node&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0000ff;">$host</span> = db_fetch_row<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;select * from host where id=&quot;</span> . <span style="color: #0000ff;">$_GET</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;node&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> &amp;&amp; <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> || <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span> == <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;span style='color: #ab3f1e; font-weight: bold;'&gt;SNMP not in use&lt;/span&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #0000ff;">$snmp_system</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span>
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.1.0&quot;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
   <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
	<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>,SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000066;">substr_count</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span>, <span style="color: #ff0000;">&quot;00:&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> 
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #0000ff;">$snmp_system</span> = <span style="color: #000066;">str_replace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;00:&quot;</span>, <span style="color: #ff0000;">&quot;&quot;</span>, <span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$snmp_system</span> = <span style="color: #000066;">str_replace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;:&quot;</span>, <span style="color: #ff0000;">&quot; &quot;</span>, <span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span> == <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #66cc66;">&#41;</span> 
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;span style='color: #ff0000; font-weight: bold;'&gt;SNMP error&lt;/span&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
   <span style="color: #66cc66;">&#125;</span>
   <span style="color: #b1b100;">else</span>
   <span style="color: #66cc66;">&#123;</span>
      <span style="color: #0000ff;">$snmp_uptime</span>	= cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.25.1.1.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
      <span style="color: #0000ff;">$snmp_hostname</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.5.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #0000ff;">$snmp_location</span> = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.6.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #0000ff;">$snmp_contact</span>  = cacti_snmp_get<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_community&quot;</span><span style="color: #66cc66;">&#93;</span>, <span style="color: #ff0000;">&quot;.1.3.6.1.2.1.1.4.0&quot;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_version&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_username&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_password&quot;</span><span style="color: #66cc66;">&#93;</span>,
      <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_auth_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_passphrase&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_priv_protocol&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_context&quot;</span><span style="color: #66cc66;">&#93;</span>,
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_port&quot;</span><span style="color: #66cc66;">&#93;</span>, 
		<span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;snmp_timeout&quot;</span><span style="color: #66cc66;">&#93;</span>, read_config_option<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;snmp_retries&quot;</span><span style="color: #66cc66;">&#41;</span>, SNMP_WEBUI<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;table&gt;&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;System_Name:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #66cc66;">&#93;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;System IP:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;hostname&quot;</span><span style="color: #66cc66;">&#93;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Availability:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . <span style="color: #000066;">round</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$host</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;availability&quot;</span><span style="color: #66cc66;">&#93;</span>,<span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> . <span style="color: #ff0000;">&quot;%&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td valign='top'&gt;&lt;strong&gt;System:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt;&quot;</span> . html_split_string<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_system</span><span style="color: #66cc66;">&#41;</span> . <span style="color: #ff0000;">&quot;&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #0000ff;">$days</span>      = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$snmp_uptime</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">24</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$remainder</span> = <span style="color: #0000ff;">$snmp_uptime</span> % <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">24</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$hours</span>     = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$remainder</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$remainder</span> = <span style="color: #0000ff;">$remainder</span> % <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #0000ff;">$minutes</span>   = <span style="color: #000066;">intval</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$remainder</span> / <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">60</span>*<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Uptime:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_uptime&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&amp;nbsp;($days days, $hours hours, $minutes minutes)&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Hostname:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_hostname&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr bgcolor='E2E2E2'&gt;&lt;td&gt;&lt;strong&gt;Location:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_location&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;tr&gt;&lt;td&gt;&lt;strong&gt;Contact:&lt;/strong&gt;&lt;/td&gt;&lt;td&gt; $snmp_contact&lt;/td&gt;&lt;/tr&gt;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
      <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;&lt;/table&gt;&quot;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>
</p>


 ]]></content:encoded>
			<wfw:commentRSS>http://blog.ozzie.web.id/?feed=rss2&amp;p=770</wfw:commentRSS>
	</item>
	</channel>
</rss>

