Re: sysmon-0.91.6 installation

From: Jared Mauch (jared@sysmon.org)
Date: Thu Sep 27 2001 - 12:38:52 EDT


        I recommend downloading 0.91.7 which I just posted.

        It will fix this build problem as well as another
critical bug related to icmp.

On Thu, Sep 27, 2001 at 11:11:48AM +0200, Jeroen Heijungs wrote:
> Jared,
>
> I have Sysmon-0.91.2 running for a while, and quite pleased with it.
> Right now I am trying to install the newest version, but encounter
> the following problem:
>
> - bash-2.04# make
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c heartbeat.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c syswatch.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c page.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c tcp.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c udp.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c icmp.c
> icmp.c: In function `handle_icmp_responses':
> icmp.c:170: incompatible types in initialization
> icmp.c:170: incompatible types in initialization
> *** Error code 1
>
> Stop in /usr/local/src/sysmon-0.91.6/src.
>
> I am running: FreeBSD 4.4-RELEASE #0
>
>
> Also I have some questions:
>
> - which port is sysmon using by default? I could not find that in the docs
> when I start a second sysmon, bind() gives an error message,
> I can just take some port with the -p option,
> but want to stay close to the original

        1345 is the port. I need to document that.

> - when I don't specify a dependency, I get an errormessage:
> object ... has no relationship. It will not be monitored.
> Am I not able to monitor objects without dependencies?

        Correct. What I recommend doing is this:

root = "localhost";
object localhost {
        type ping;
        ip "127.0.0.1";
        desc "localhost";
};

then just make everything dep on localhost.

        let me know if you have more questions.

        - jared

        
> Jeroen Heijungs
> Het Muziektheater
> Amsterdam

-- 
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