<?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>mainesysadmin.com &#187; snmp</title>
	<atom:link href="http://mainesysadmin.com/tag/snmp/feed/" rel="self" type="application/rss+xml" />
	<link>http://mainesysadmin.com</link>
	<description>SysAdmin in Maine</description>
	<lastBuildDate>Wed, 06 Jan 2010 16:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HowTo &#8211; VMware ESX 3.5 and remote syslog configuration</title>
		<link>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/</link>
		<comments>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 20:16:46 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vi3]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/?p=168</guid>
		<description><![CDATA[
SSH over to the ESX server required.  You&#8217;ll need sudo or root access to complete the following.
To view the file:  cat /etc/syslog.conf
To modify the file:  vi /etc/syslog.conf (google for vi help if required, i = insert.  esc = exit insert mode)
Move to the bottom of the file and add the line in the next step [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>SSH over to the ESX server required.  You&#8217;ll need sudo or root access to complete the following.</li>
<li>To view the file:  <em>cat /etc/syslog.conf</em></li>
<li>To modify the file:  <em>vi /etc/syslog.conf</em> (google for vi help if required, i = insert.  esc = exit insert mode)</li>
<li>Move to the bottom of the file and add the line in the next step if you want ALL the logs to be sent over to your syslog server.</li>
<li>#syslog server setup<br />
*.*    @syslogsrv.mydomain</li>
<li>The first line in the above line is commented out by the # sign, the second line tells all the log files to be sent to &#8220;syslogsrv.mydomain&#8221;.  Use an ip address for the syslog server if you want this to work when your DNS server goes down.</li>
<li><em>service syslog restart </em>(restarts the syslog service)<em><br />
</em></li>
<li><em>esxcfg-firewall -o 514,udp,out,syslog </em>(opens the local firewall to allow remote syslogging)<em><br />
</em></li>
<li><em>esxcfg-firewall -l </em>(reloads the new firewall configuration)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2008/12/17/howto-vmware-esx-35-and-remote-syslog-configuration/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; vmware esx and snmp configuration</title>
		<link>http://mainesysadmin.com/2007/04/13/vmware-esx-and-snmp-configuration/</link>
		<comments>http://mainesysadmin.com/2007/04/13/vmware-esx-and-snmp-configuration/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 17:54:00 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://mainesysadmin.com/blog/?p=18</guid>
		<description><![CDATA[This information was stolen from vmtn.net
http://www.vmware.com/community/message.jspa?messageID=423354
Re: SNMP Information from ESX3
Posted: Sep 29, 2006 8:48 AM   in response to: cklemmer
Click to reply to this topic 	Reply
first edit snmpd.conf

 vi /etc/snmp/snmpd.conf

configure it to point to the management server IP address
use a community name (here it&#8217;s public)
trapsink *.*.*.*
trapcommunity public
then start snmpd service

 service snmpd start

configure it [...]]]></description>
			<content:encoded><![CDATA[<p>This information was stolen from vmtn.net<br />
<a href="http://www.vmware.com/community/message.jspa?messageID=423354" class="externalLink" title="External link to http://www.vmware.com/community/message.jspa?messageID=423354" target="_blank" onclick="javascript:pageTracker._trackPageview ('/outbound/www.vmware.com');">http://www.vmware.com/community/message.jspa?messageID=423354</a></p>
<p>Re: SNMP Information from <span class="externalLink">ESX3</span><br />
Posted: Sep 29, 2006 8:48 AM   in response to: cklemmer<br />
Click to reply to this topic 	Reply</p>
<p>first edit snmpd.conf</p>
<ol>
<li> vi /etc/snmp/snmpd.conf</li>
</ol>
<p>configure it to point to the management server IP address<br />
use a community name (here it&#8217;s public)</p>
<p>trapsink *.*.*.*<br />
trapcommunity public</p>
<p>then start snmpd service</p>
<ol>
<li> service snmpd start</li>
</ol>
<p>configure it to autostart</p>
<ol>
<li> chkconfig snmpd on</li>
</ol>
<p>test it on local machine</p>
<ol>
<li>snmpwalk -v 1 -c public localhost system</li>
</ol>
<p>test it on another system (x.x.x.x is the esx server&#8217;s IP)</p>
<ol>
<li>snmpwalk -v 1 -c public x.x.x.x system</li>
</ol>
<p>configure your management server to receive SNMP and act upon.</p>
<p>This article applies to <span class="externalLink">VMware</span> ESX 3.0.1 in addition to older versions 2.5.3 &#8211; 3.0</p>
<p><span class="externalLink">VMware</span> ESX server has snmpd daemon that can be used to monitor performance and send snmp traps<br />
Virtual Center monitor many performance metrics, like CPU, Memory, network and disk I/O, but it is expensive and it is limited to those metrics.<br />
What if you need to monitor disk space on /var/log partition? and want to receive an alert when it reaches 90%; What if you want to monitor httpd on ESX and receive a message when it fails.<br />
If you are working in an environment with many servers and a team of systems administrators, you are most likely using a system monitoring tool or at least evaluating one.</p>
<p>* Edit snmpd.confWhatsup pro<br />
# vi /etc/snmp/snmpd.conf<br />
* Configure it to point to the management server IP address and use a community name (here it&#8217;s public)<br />
trapsink *.*.*.* trapcommunity public<br />
* Then start snmpd service<br />
# service snmpd start<br />
* Configure it to autostart<br />
# chkconfig snmpd on<br />
* Test it on local machine<br />
#snmpwalk -v 1 -c public localhost system<br />
* Test it on another system (x.x.x.x is the esx server&#8217;s IP)<br />
#snmpwalk -v 1 -c public x.x.x.x system<br />
* Open the firewall esxcfg-firewall -o 162,tcp,in,snmp<br />
* Go to Whatsup machine (or any management station your have like Dell Open Manage IT Assistant or Nagios)<br />
* Compile ESX <span class="externalLink">MIBs</span> from ESX server<br />
/usr/lib/vmware/snmp/mibs/<br />
<span class="externalLink">VMWARE-ESX-MIB</span>.mib<br />
<span class="externalLink">VMWARE-RESOURCES-MIB</span>.mib<br />
<span class="externalLink">VMWARE-ROOT-MIB</span>.mib<br />
<span class="externalLink">VMWARE-SYSTEM-MIB</span>.mib<br />
<span class="externalLink">VMWARE-TRAPS-MIB</span>.mib<br />
<span class="externalLink">VMWARE-VMINFO-MIB</span>.mib<br />
* If you haven&#8217;t added the server to be monitored yet, run discovery or add device to add the server to the database<br />
* Create monitors for SNMP and configure credentials and communities (public, private etc&#8230;)<br />
* Open the firewall on the management station ( here it is Whatsup pro)<br />
* Write click the machine you want to monitor and select the monitored items (ping, http, cpu, disk space&#8230; etc.)<br />
* Configure the actions to be triggered (email, page, event log&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://mainesysadmin.com/2007/04/13/vmware-esx-and-snmp-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
