<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Cacti on OS X: Part 2</title>
	<link>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/</link>
	<description>Digital pimpery</description>
	<pubDate>Mon, 06 Feb 2012 09:47:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.3</generator>

	<item>
		<title>by: =.= è¡—å–µäººç”Ÿ &#187; ä»¥Cactiç›£æ¸¬OSXä¸»æ©Ÿæ•ˆèƒ½</title>
		<link>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-4918</link>
		<pubDate>Sat, 20 Feb 2010 07:22:44 +0000</pubDate>
		<guid>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-4918</guid>
					<description>[...] å®‰è£?Cactiçš„é?Žç¨‹å°±ä¸?ç”¨å¤šæ??äº†ï¼Œä¸?å¤–å°±æ˜¯å…ˆæŠŠMySQLã€?Apache2ã€?SNMPçš„è¨­å®šå…ˆå¼„å¥½ï¼Œè€ŒRRDToolèˆ‡Cactiéƒ½å?¯ä»¥ç›´æŽ¥é€?é?ŽPORTä¾†å®‰è£?ã€‚ä¸?é?ŽCactiæ‰€å…§é™„èˆ‡æ•ˆèƒ½ç›£æ¸¬ç›¸é—œçš„scriptèˆ‡templateï¼Œéƒ½æ˜¯çµ¦Linuxç”¨çš„ï¼Œåœ¨OSXä¸Šå¤šå?Šæœƒæœ‰å•?é¡Œï¼Œç•¢ç«ŸæŒ‡ä»¤èˆ‡æ‰€å¸¶å?ƒæ•¸éƒ½æœ‰ä¸?å°?çš„å·®ç•°ã€‚æ‰€å¹¸OSXå?¯ç”¨çš„scriptï¼Œå·²ç¶“æœ‰å–„å¿ƒäººå£«å¯«å¥½äº†ï¼Œä¸‹è¼‰èˆ‡å®‰è£?å?¯ä»¥å?ƒè€ƒé€™è£¡è·Ÿé€™è£¡ã€‚  å”¯ä¸€è¦?æ³¨æ„?çš„ä¸€é»žæ˜¯é—œæ–¼å•Ÿå‹•Cactiç”¨ä¾†æ±²å?–è³‡æ–™çš„é‚£æ”¯Poller.phpç¨‹å¼?ï¼Œä»¥å?Šå¯¦éš›ç”¢ç”Ÿç›£æ¸¬è³‡æ–™çš„scriptã€‚ä¸€èˆ¬çš„æ–¹æ³•æ˜¯åœ¨/etc/crontabè£¡åŠ ä¸Šï¼š */5 * * * * root&amp;#160; &amp;#160; /opt/net-snmp/scripts/cacti.bash */5 * * * * cactiuser php /var/www/cacti/poller.php &amp;#62; /dev/null 2&amp;#62;&amp;#38;1 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] å®‰è£?Cactiçš„é?Žç¨‹å°±ä¸?ç”¨å¤šæ??äº†ï¼Œä¸?å¤–å°±æ˜¯å…ˆæŠŠMySQLã€?Apache2ã€?SNMPçš„è¨­å®šå…ˆå¼„å¥½ï¼Œè€ŒRRDToolèˆ‡Cactiéƒ½å?¯ä»¥ç›´æŽ¥é€?é?ŽPORTä¾†å®‰è£?ã€‚ä¸?é?ŽCactiæ‰€å…§é™„èˆ‡æ•ˆèƒ½ç›£æ¸¬ç›¸é—œçš„scriptèˆ‡templateï¼Œéƒ½æ˜¯çµ¦Linuxç”¨çš„ï¼Œåœ¨OSXä¸Šå¤šå?Šæœƒæœ‰å•?é¡Œï¼Œç•¢ç«ŸæŒ‡ä»¤èˆ‡æ‰€å¸¶å?ƒæ•¸éƒ½æœ‰ä¸?å°?çš„å·®ç•°ã€‚æ‰€å¹¸OSXå?¯ç”¨çš„scriptï¼Œå·²ç¶“æœ‰å–„å¿ƒäººå£«å¯«å¥½äº†ï¼Œä¸‹è¼‰èˆ‡å®‰è£?å?¯ä»¥å?ƒè€ƒé€™è£¡è·Ÿé€™è£¡ã€‚  å”¯ä¸€è¦?æ³¨æ„?çš„ä¸€é»žæ˜¯é—œæ–¼å•Ÿå‹•Cactiç”¨ä¾†æ±²å?–è³‡æ–™çš„é‚£æ”¯Poller.phpç¨‹å¼?ï¼Œä»¥å?Šå¯¦éš›ç”¢ç”Ÿç›£æ¸¬è³‡æ–™çš„scriptã€‚ä¸€èˆ¬çš„æ–¹æ³•æ˜¯åœ¨/etc/crontabè£¡åŠ ä¸Šï¼š */5 * * * * root&nbsp; &nbsp; /opt/net-snmp/scripts/cacti.bash */5 * * * * cactiuser php /var/www/cacti/poller.php &gt; /dev/null 2&gt;&amp;1 [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: LePtiFilou</title>
		<link>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-303</link>
		<pubDate>Fri, 13 Jul 2007 18:23:17 +0000</pubDate>
		<guid>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-303</guid>
					<description>Issue solved while reinstalling net-snmp 5.4</description>
		<content:encoded><![CDATA[<p>Issue solved while reinstalling net-snmp 5.4
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: LePtiFilou</title>
		<link>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-294</link>
		<pubDate>Mon, 09 Jul 2007 16:21:24 +0000</pubDate>
		<guid>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-294</guid>
					<description>Hello

everything is working fine for me with cacti but these scripts. I'm on a Macbook Pro 10.4.10 and it is not working fine with this 'exec' thing.
I'm getting this:
leptifilou:~/Sites/cacti/rra LePtiFilou$ snmpd -H 
No log handling enabled - turning on stderr logging 
/etc/snmpd.conf: line 204: Warning: Unknown token: exec. 
/etc/snmpd.conf: line 205: Warning: Unknown token: exec. 
/etc/snmpd.conf: line 206: Warning: Unknown token: exec. 
/etc/snmpd.conf: line 207: Warning: Unknown token: exec.

Here's the part of my /etc/snmpd.conf:
exec 1.3.6.1.4.1.2021.8.1.101 cpu /bin/cat /opt/net-snmp/data/cpu 
exec 1.3.6.1.4.1.2021.8.2.101 temp /bin/cat /opt/net-snmp/data/temp 
exec 1.3.6.1.4.1.2021.8.3.101 disk /bin/cat /opt/net-snmp/data/disk 
exec 1.3.6.1.4.1.2021.8.4.101 mem /bin/cat /opt/net-snmp/data/mem 

With this:
leptifilou:~/Sites/cacti/rra LePtiFilou$ snmpd -v 
NET-SNMP version:  5.2.1 

I'm stuck and it is very annoying :(
Common disk usage, processes, logged users... are working fine, but everything with this 'exec' thing is not. On top of that, data are gathered into /opt/net-snmp/data but it looks like my snmpd agent is not willing to pick them up and put into an OID with 'exec' as it is unrecognized.

I'd appreciate your help :) Your advices were useful to install everything, I hope the saga will continue.</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>everything is working fine for me with cacti but these scripts. I&#8217;m on a Macbook Pro 10.4.10 and it is not working fine with this &#8216;exec&#8217; thing.<br />
I&#8217;m getting this:<br />
leptifilou:~/Sites/cacti/rra LePtiFilou$ snmpd -H<br />
No log handling enabled - turning on stderr logging<br />
/etc/snmpd.conf: line 204: Warning: Unknown token: exec.<br />
/etc/snmpd.conf: line 205: Warning: Unknown token: exec.<br />
/etc/snmpd.conf: line 206: Warning: Unknown token: exec.<br />
/etc/snmpd.conf: line 207: Warning: Unknown token: exec.</p>
<p>Here&#8217;s the part of my /etc/snmpd.conf:<br />
exec 1.3.6.1.4.1.2021.8.1.101 cpu /bin/cat /opt/net-snmp/data/cpu<br />
exec 1.3.6.1.4.1.2021.8.2.101 temp /bin/cat /opt/net-snmp/data/temp<br />
exec 1.3.6.1.4.1.2021.8.3.101 disk /bin/cat /opt/net-snmp/data/disk<br />
exec 1.3.6.1.4.1.2021.8.4.101 mem /bin/cat /opt/net-snmp/data/mem </p>
<p>With this:<br />
leptifilou:~/Sites/cacti/rra LePtiFilou$ snmpd -v<br />
NET-SNMP version:  5.2.1 </p>
<p>I&#8217;m stuck and it is very annoying <img src='http://benjaminrossi.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Common disk usage, processes, logged users&#8230; are working fine, but everything with this &#8216;exec&#8217; thing is not. On top of that, data are gathered into /opt/net-snmp/data but it looks like my snmpd agent is not willing to pick them up and put into an OID with &#8216;exec&#8217; as it is unrecognized.</p>
<p>I&#8217;d appreciate your help <img src='http://benjaminrossi.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Your advices were useful to install everything, I hope the saga will continue.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Martin Capella</title>
		<link>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-18</link>
		<pubDate>Fri, 26 Jan 2007 23:35:39 +0000</pubDate>
		<guid>http://benjaminrossi.com/blog/2006/07/22/cacti-on-os-x-part-2/#comment-18</guid>
					<description>This is a great solution for monitoring OS X servers. There is another script floating around with templates of os x as well, but the cpumon.pl for instance, is by far more acurate. 

Thank you.</description>
		<content:encoded><![CDATA[<p>This is a great solution for monitoring OS X servers. There is another script floating around with templates of os x as well, but the cpumon.pl for instance, is by far more acurate. </p>
<p>Thank you.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

