RE: service_this:Bug, should not have reached here

From: Garrett Scott (garrett@gothik.org)
Date: Tue May 08 2001 - 19:45:35 EDT


doh!

That's supposed to be smtp.

Thanks.

--Garrett

-----Original Message-----
From: Jared Mauch
To: Garrett Scott
Cc: 'sysmon-help@puck.nether.net'
Sent: 5/8/01 4:45 PM
Subject: Re: service_this:Bug, should not have reached here

        This I suspect is happening because of the type "snmp" you have
configured which the parser understands but the underlying code
has commented out by a #ifdef statement.

        I would recommend commenting that object out of your
config file.

        Also, i'm interested in features and what people want the
snmp check to do. What types of variables you want to test and what
operation(s) you want done with various data.

        I'd ideally like to avoid creating a database backend for sysmon
where we manage the config out of a more complicated system in order to
get the added functionality of more conditional execution of code
based on snmp variables.

        - Jared

On Tue, May 08, 2001 at 04:08:42PM -0700, Garrett Scott wrote:
> Hello, :)
>
> I'm getting the following error when attempting to start the daemon.
It
> appears to repeat indefinatly, at least until the daemon is killed.
Config
> checks out as far 'sysmond -t' goes.
>
> I figured before I dive into the code, I'd ask here in case what I'm
doing
> is way out of line.
>
> Before I split my conf file up into multiple include files, the
program was
> running without complaint.
>
> #Pretty standard start of sysmon.conf
>
> root = "sysmon-cmh-1";
> config statusfile html "/var/http/sysmon/index.html";
> config logging file "/var/log/sysmond.log";
> config sender "sysmon";
> config dnsexpire 7200;
> config maxqueued 50;
>
> object sysmon-cmh-1 {
> ip "parchment.domain.org";
> type ping;
> desc "sysmon server";
> contact "me@domain.org";
> };
> object router {
> ip "10.1.1.1";
> type ping;
> desc "router gateway interface";
> dep "sysmon-cmh-1";
> contact "me@domain.org";
> };
> object 10.1.2.13 {
> ip "10.1.2.13";
> type ping;
> desc "router uplink";
> dep "router";
> contact "me@domain.org";
> };
>
> # We get funky here.
>
> include "/etc/sysmon/host1.domain.org-include";
> include "/etc/sysmon/host2.domain.org-include";
> include "/etc/sysmon/host3.domain.org-include";
> include "/etc/sysmon/host4.domain.org-include";
>
> ----
> The include files are pretty basic, here's one for show:
>
> # sysmon conf include file
> # for host:
> # host1.domain.org
> object host1.domain.org {
> ip "host1.domain.org";
> type ping;
> desc "host1.domain.org";
> dep "sysmon-cmh-1";
> contact "me@domain.org";
> };
> object snmp-host1.domain.org {
> ip "host1.domain.org";
> type snmp;
> desc "snmp-host1.domain.org";
> dep "host1.domain.org";
> contact "me@domain.org";
> };
>
> ----
>
> If anyone has any ideas, I'm open to them.
>
> Thanks,
> Garrett
>
>
> -- Garrett Scott
> -- Systems Administrator
> -- garrett@gothik.org

-- 
Jared Mauch  | pgp key available via finger from jared@puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only
mine.



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:14:07 EDT