[Xymon] TR: Showgraph.sh do not works !

RIERA Hubert (HERAKLES) hubert.riera at herakles.com
Thu Apr 3 15:27:04 CEST 2014




Bonjour,

                Know i have some data , and the rrd works  with data inside 2h of data ( testing with rrdtools dump ) so when i try to see it with the xymon-cgi/showgraph.sh  i have this message on my web interface :
"I don't understand ': 03-Apr-2014 14:15:09' in command: 'COMMENT:Updated: 03-Apr-2014 14:15:09'."  is the result of this url :
http://xymon/xymon-cgi/showgraph.sh?host=serveur1&color=green&service=tcp%3aconn&graph_height=120&graph_width=576&disp=srerveur1&nostale&graph=hourly&action=selzoom&color=green
regards
i have doing a mode debug and i have this :
QUERY_STRING="host=server1&service=tcp:conn&graph_width=576&graph_height=120&disp=server1&nostale&color=green&graph_start=1396357817&graph_end=1396530617&graph=custom&action=selzoom"
REQUEST_METHOD=GET
SCRIPT_NAME=showgraph.sh


export REQUEST_METHOD SCRIPT_NAME QUERY_STRING


. /home/Xymon/server/etc/cgioptions.cfg

exec /home/Xymon/server/bin/showgraph.cgi $CGI_SHOWGRAPH_OPTS --debug --save=/tmp/toto.pgn

./zub.sh
2473 2014-04-03 15:17:08 Opening file /home/Xymon/server/etc/graphs.cfg
2473 2014-04-03 15:17:08 rrdgraph
2473 2014-04-03 15:17:08 /dev/null
2473 2014-04-03 15:17:08 --title
2473 2014-04-03 15:17:08 server1 TCP Connection Times 01/Apr/2014 - 03/Apr/2014
2473 2014-04-03 15:17:08 -w576
2473 2014-04-03 15:17:08 -h120
2473 2014-04-03 15:17:08 -v
2473 2014-04-03 15:17:08 Seconds
2473 2014-04-03 15:17:08 -a
2473 2014-04-03 15:17:08 PNG
2473 2014-04-03 15:17:08 -s 1396357817
2473 2014-04-03 15:17:08 -e 1396530617
2473 2014-04-03 15:17:08 DEF:p0=tcp.conn.rrd:sec:AVERAGE
2473 2014-04-03 15:17:08 LINE2:p0#0000FF:conn
2473 2014-04-03 15:17:08 GPRINT:p0:LAST: \: %5.1lf%s (cur)
2473 2014-04-03 15:17:08 GPRINT:p0:MAX: \: %5.1lf%s (max)
2473 2014-04-03 15:17:08 GPRINT:p0:MIN: \: %5.1lf%s (min)
2473 2014-04-03 15:17:08 GPRINT:p0:AVERAGE: \: %5.1lf%s (avg)\n
2473 2014-04-03 15:17:08 COMMENT:Updated: 03-Apr-2014 15:17:08
Content-type: text/html

<html><head><title>Invalid request</title></head>
<body>I don't understand ': 03-Apr-2014 15:17:08' in command: 'COMMENT:Updated: 03-Apr-2014 15:17:08'.</body></html>

Regards
à+


Hubert Riera

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles, être soumis aux règlementations relatives au contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Toute exportation ou réexportation non autorisée est interdite Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information and may be subject to export control laws and regulations. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. Unauthorized export or re-export is prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140403/2ae40b5f/attachment.html>


More information about the Xymon mailing list