[hobbit] Help: No graphs in xymon

Usha Donthi udonthi at cisco.com
Fri Apr 2 23:52:23 CEST 2010


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:stef.coene at docum.org] 
Sent: Thursday, April 01, 2010 12:16 AM
To: hobbit at hswn.dk
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&service=tcp:conn&graph_width=57
6&graph_height=120&disp=adbu%2drelbld%2d1&nostale&color=gree
n&graph=hourly&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

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list