Re: not a valid dns name

From: Jared Mauch (jared@puck.nether.net)
Date: Mon Dec 17 2001 - 14:54:28 EST


On Mon, Dec 17, 2001 at 12:04:58PM -0600, Marius Schamschula wrote:
> Jared,
>
> sysmon is a tool I have been looking for, since I've got servers spread
> around in several physical locations.
>
> I compiled and installed sysmon under Mac OS X. I've got two problems:

        This isn't one of my test platforms but there
are people on the sysmon-help list that have/use OS/X

> 1) The entry in /etc/sysmon.conf for my routers will not take. sysmond
> gives me the following message:
>
> 198.180.133.1 is not a valid dns name, not monitoring
> did not add object 133-router as it was not valid
>
> the corresponding entry is
>
> object 133-router {
> ip "198.180.133.1";
> type ping;
> desc "ping-router-133";
> };
>
> I also tried this with the fully qualified domain name
>
> ip "router-133.sas.aamu.edu";
>
> I also have the same problem with a upstream router. Is there a problem
> specific to routers?

        I think this is a "bug" with the C library on OS/X
whereby gethostbyname("127.0.0.1") returns NULL. OS/X is the only
OS that does this that i've found.

> The setup for normal hosts, even a managed switch, seems to work.

        Yeah, you need to use hostnames ..

> 2) when exiting the sysmon application any text I type on the terminal
> (both on the Apple terminal and xterm) is not echoed. The command
> prompt is still there, when you hit return. Seems like a problem with
> (n)curses. I close the window and open a new one...

        you should be able to fix this by typing "stty sane"

        i need to fix it. most people use the webpage/statusfile
html stuff to check what hosts are down. If you want to work on fixing
it you are welcome to, but curses has driven me nuts.. the program
really needs to be rewritten (the client that is).

        - Jared
>
> TIA
>
> Marius
> --
> Marius Schamschula, optical physicist, mac, and network coordinator
>
> The Center for Applied Optical Sciences: http://www.caos.aamu.edu/
> Department of Physics, Alabama A & M University

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