trends problem with hosts
list 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 Mike Burger
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
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, SG1My 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
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, SG1My 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
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
▸
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, SG1My 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"nosuch 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