Xymon Mailing List Archive search

trends problem with hosts

5 messages in this thread

list Deepak Deore · Fri, 24 May 2013 17:41:32 +0530 ·
My hosts.cfg file has below entry.

1.2.3.4 server1.server.example.com #
http://server1.server.example.comCLASS:PRD_APP NAME:server1-prod

I can see the graphs on each page with no problem and on trends page as
well.

But when I want to see the graphs with Today, week, month etc. I see "no
such host", because on the url contains "server1-prod" instead of the full
name of the server.
I need to append the url with the full hostname and then it works fine.

Can anyone tell whats wrong and how can I fix this?

Thanks,
Deepak
list Mike Burger · Fri, 24 May 2013 11:52:39 -0400 (EDT) ·
What does the "search" line in your "/etc/resolv.conf" file look like?
-- 
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
quoted from Deepak Deore

My hosts.cfg file has below entry.

1.2.3.4 server1.server.example.com #
http://server1.server.example.comCLASS:PRD_APP NAME:server1-prod

I can see the graphs on each page with no problem and on trends page as
well.

But when I want to see the graphs with Today, week, month etc. I see "no
such host", because on the url contains "server1-prod" instead of the full
name of the server.
I need to append the url with the full hostname and then it works fine.

Can anyone tell whats wrong and how can I fix this?

Thanks,
Deepak

list Deepak Deore · Fri, 24 May 2013 22:16:51 +0530 ·
search compute-1.internal


On Fri, May 24, 2013 at 9:22 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid>wrote:
What does the "search" line in your "/etc/resolv.conf" file look like?
--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

My hosts.cfg file has below entry.

1.2.3.4 server1.server.example.com #
http://server1.server.example.comCLASS:PRD_APP NAME:server1-prod

I can see the graphs on each page with no problem and on trends page as
well.

But when I want to see the graphs with Today, week, month etc. I see "no
such host", because on the url contains "server1-prod" instead of the
full
name of the server.
I need to append the url with the full hostname and then it works fine.

Can anyone tell whats wrong and how can I fix this?

Thanks,
Deepak

list Deepak Deore · Tue, 28 May 2013 22:22:31 +0530 ·
can anyone help ?
quoted from Deepak Deore


On Fri, May 24, 2013 at 10:16 PM, deepak deore <user-7b03b2a1ee70@xymon.invalid>wrote:
search compute-1.internal


On Fri, May 24, 2013 at 9:22 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid>wrote:
What does the "search" line in your "/etc/resolv.conf" file look like?
--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

My hosts.cfg file has below entry.

1.2.3.4 server1.server.example.com #
http://server1.server.example.comCLASS:PRD_APP NAME:server1-prod

I can see the graphs on each page with no problem and on trends page as
well.

But when I want to see the graphs with Today, week, month etc. I see "no
such host", because on the url contains "server1-prod" instead of the
full
name of the server.
I need to append the url with the full hostname and then it works fine.

Can anyone tell whats wrong and how can I fix this?

Thanks,
Deepak

list Larry Barber · Tue, 28 May 2013 13:25:42 -0500 ·
You might try using the "rename" command in xymon: $ ./xymon <xymonhost>
'rename server1-prod  server1.server.example.com' .

FWIW, I've had much better luck using the CLIENT directive rather than
NAME. Much less confusion over what the name of the host is and what Xymon
is using for keys and the like.

Thanks,
Larry Barber
quoted from Deepak Deore


On Tue, May 28, 2013 at 11:52 AM, deepak deore <user-7b03b2a1ee70@xymon.invalid>wrote:
can anyone help ?


On Fri, May 24, 2013 at 10:16 PM, deepak deore <user-7b03b2a1ee70@xymon.invalid>wrote:
search compute-1.internal


On Fri, May 24, 2013 at 9:22 PM, Mike Burger <user-cc5c6e80f4c5@xymon.invalid>wrote:
What does the "search" line in your "/etc/resolv.conf" file look like?
--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever just
stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

My hosts.cfg file has below entry.

1.2.3.4 server1.server.example.com #
http://server1.server.example.comCLASS:PRD_APP NAME:server1-prod

I can see the graphs on each page with no problem and on trends page as
well.

But when I want to see the graphs with Today, week, month etc. I see
"no
such host", because on the url contains "server1-prod" instead of the
full
name of the server.
I need to append the url with the full hostname and then it works fine.

Can anyone tell whats wrong and how can I fix this?

Thanks,
Deepak