<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Sysmon and SNMP</TITLE>
</HEAD>
<BODY>
<P>
</P>
<P> <FONT SIZE=2>I must be doing something wrong, but I have this configuration file:</FONT>
</P>
<P><FONT SIZE=2>root = "root-object";</FONT>
<BR><FONT SIZE=2>config statusfile html "/sysmon.html";</FONT>
<BR><FONT SIZE=2>config logging file "/var/log/sysmond.log";</FONT>
<BR><FONT SIZE=2>config sender "root";</FONT>
<BR><FONT SIZE=2>config dnsexpire 7200;</FONT>
<BR><FONT SIZE=2>config maxqueued 50;</FONT>
<BR><FONT SIZE=2>config numfailures 3;</FONT>
<BR><FONT SIZE=2>config pageinterval 60;</FONT>
<BR><FONT SIZE=2>config queuetime 20;</FONT>
<BR><FONT SIZE=2>config showupalso;</FONT>
<BR><FONT SIZE=2>object root-object {</FONT>
<BR><FONT SIZE=2> ip "127.0.0.1";</FONT>
<BR><FONT SIZE=2> type ping;</FONT>
<BR><FONT SIZE=2> desc "Root PING";</FONT>
<BR><FONT SIZE=2> dep "root-object";</FONT>
<BR><FONT SIZE=2>};</FONT>
</P>
<P><FONT SIZE=2>object root-object-snmp {</FONT>
<BR><FONT SIZE=2> ip "127.0.0.1";</FONT>
<BR><FONT SIZE=2> type snmp;</FONT>
<BR><FONT SIZE=2> snmp-type "exact";</FONT>
<BR><FONT SIZE=2> snmp-exact "1";</FONT>
<BR><FONT SIZE=2> oid ".1.0"; # Just some dummy value</FONT>
<BR><FONT SIZE=2> community "public";</FONT>
<BR><FONT SIZE=2> desc "Root SNMP";</FONT>
<BR><FONT SIZE=2> dep "root-object";</FONT>
<BR><FONT SIZE=2>};</FONT>
</P>
<P> <FONT SIZE=2>When I run sysmond, I get this:</FONT>
</P>
<P><FONT SIZE=2>sysmond: 10:17:27 Invalid type specified in /etc/sysmon.conf line 20</FONT>
<BR><FONT SIZE=2>sysmond: 10:17:27 unable to determine check type for object root-object-snmp</FONT>
<BR><FONT SIZE=2>sysmond: 10:17:27 did not add object root-object-snmp as it was not valid</FONT>
<BR><FONT SIZE=2>sysmond: 10:17:27 Starting sysmon v0.91.18</FONT>
<BR><FONT SIZE=2>sysmond started on isa.margmidlun.is</FONT>
<BR><FONT SIZE=2>forked process as pid 3866</FONT>
</P>
<P> <FONT SIZE=2>What am I doing wrong? How do I make sysmon use SNMP? :-)</FONT>
</P>
<BR>
<P><FONT SIZE=2>Marko.</FONT>
</P>
<P><FONT SIZE=2>Tölvupóstur þessi er frá Margmiðlun hf., Suðurlandsbraut 4, Reykjavík. Fyrirvara og leiðbeiningar til viðtakenda tölvupósts frá Margmiðlun hf. er að finna á vefsíðunni <A HREF="http://www.mi.is/fyrirvari" TARGET="_blank">http://www.mi.is/fyrirvari</A> </FONT></P>
</BODY>
</HTML>