Xymon Mailing List Archive search

Help: No graphs in xymon

list Josh Luthman
Fri, 2 Apr 2010 18:07:33 -0400
Message-Id: <user-9b160d414431@xymon.invalid>

Put quotes around the URL.

On 4/2/10, Usha Donthi <user-243c31f4439c@xymon.invalid> wrote:
When I ran the wget command it errors with nostale: command not found
Any idea what it means?

--14:46:35--
http://csbu-bldsrv-09/xymon-cgi/hobbitgraph.sh?host=adbu-relbld-1
           => `hobbitgraph.sh?host=adbu-relbld-1'
Resolving csbu-bldsrv-09... 127.0.0.1
Connecting to csbu-bldsrv-09|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... [6] 12452
[7] 12454
[8] 12455
[2]   Done                    service=tcp:conn
[3]   Done                    graph_width=576
[4]   Done                    graph_height=120
[5]   Done                    disp=adbu%2drelbld%2d1
[xymon at csbu-bldsrv-09 ~]$ -bash: nostale: command not found
200 OK
14:46:36 (11.34 MB/s) - `hobbitgraph.sh?host=adbu-relbld-1' saved [107/107]


[1]   Done                    wget
http://csbu-bldsrv-09/xymon-cgi/hobbitgraph.sh?host=adbu-relbld-1
[6]   Exit 127                nostale


And the cat on file downloaded say's -

<html><head><title>Invalid request</title></head>
<body>Invalid request - no host or service</body></html>


-----Original Message-----
From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid]
Sent: Thursday, April 01, 2010 12:16 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Help: No graphs in xymon

On Thursday 01 April 2010, Josh Luthman wrote:
Does
Can you open the page in a browser?
http://csbu-bldsrv-09/xymon-
cgi/hobbitgraph.sh?host=adburelbld-1&amp;service=tcp:conn&amp;graph_width=57
6&amp;graph_height=120&amp;disp=adbu%2drelbld%2d1&amp;nostale&amp;color=gree
n&amp;graph=hourly&amp;action=view

This should be all on 1 line.  This is the part after SRC= and it is the url

for the image so you can copy it from the source of the html page.

If this is not showing anything in the browser, you can use the command wget

on your xymon server to download the image on the command line.
'wget http://';
If the file is downloaded, you can do 'cat <file>' to see the content.

The problem is that when there is an error in generating the image, some
text
is returned.  This is very confusing for a browser, but with wget you can
download the text and take a look at it.


Stef

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill