service_this:Bug, should not have reached here

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


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



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