<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I've been trying to get the extended info working in here, but by some
reason, Nagios does not correctly read my .gif and .gd2 images.<br>
<br>
The images are very small (40x40) and I'd use the following script to
generate .gd2 images from the .gif images that I have:<br>
<br>
<blockquote><tt>for arg<br>
do<br>
if [ -f "$arg" ]; then<br>
echo converting $arg<br>
arg="$(echo $arg | sed 's/\.gif$//')"<br>
giftopnm $arg.gif > $arg.pnm<br>
pnmtopng -transparent rgb:ff/ff/ff $arg.pnm > $arg.png<br>
pnmtojpeg -quality=100 -optimize -smooth=0 $arg.pnm > $arg.jpg<br>
pngtogd2 $arg.png $arg.gd2 0 1 <br>
fi<br>
done<br>
<br>
rm -f *.pnm</tt><br>
</blockquote>
<div class="moz-signature"><font color="#000000">I'd to download the
libgd-tools via apt-get before get this running. The files are attached
in this email and the host is defined as the follow.<br>
<br>
</font>
<blockquote><tt><font color="#000000">define host{</font><br>
<font color="#000000"> use linux-server </font><br>
<font color="#000000"> host_name appserver01</font><br>
<font color="#000000"> alias appserver01</font><br>
<font color="#000000"> address 127.0.0.1</font><br>
<font color="#000000"> }</font><br>
<br>
<font color="#000000">define hostextinfo{</font><br>
<font color="#000000"> host_name appserver01</font><br>
<font color="#000000"> icon_image debian.gif</font><br>
<font color="#000000"> gd2_image debian.gd2</font><br>
<font color="#000000">}</font></tt><br>
</blockquote>
<font color="#000000">The host looks like this in the web interface: <br>
<br>
<img alt="service_details"
src="cid:part1.05050400.05080001@veltrac.com.br" height="78"
width="311"><br>
<br>
<img alt="statusmap" src="cid:part2.02060608.05040208@veltrac.com.br"
height="155" width="383"><br>
<br>
Can anyone point me ot the right direction? Tks in advance again.<br>
</font>-- <br>
<meta http-equiv="Content-Language" content="pt-br">
<meta http-equiv="Content-Type" content="text/html; ">
<title>Leonardo de Souza Carneiro</title>
<table id="sign">
<tbody>
<tr>
<td width="380">
<p><font color="#000080" face="Arial Rounded MT Bold" size="4"><b>Leonardo
de Souza Carneiro</b></font><br>
<font style="font-size: 11pt;" face="Arial" size="2"><b>Veltrac -
Tecnologia em Logística.</b></font><font face="Arial"><br>
</font>
<a href="mailto:lscarneiro@veltrac.com.br"><font
style="font-size: 9pt;" face="Arial" size="2">
lscarneiro@veltrac.com.br</font></a><font face="Arial"><br>
</font>
<a href="http://www.veltrac.com.br/"><font style="font-size: 9pt;"
face="Arial" size="2">
http://www.veltrac.com.br</font></a><font face="Arial"><br>
</font>
<font style="font-size: 9pt;" face="Arial" size="2"><i>Fone Com.:
(43)2105-5601</i></font><font face="Arial"><br>
</font>
<font style="font-size: 9pt;" face="Arial" size="2"><i>Av.
Higienópolis 1601 Ed. Eurocenter Sl. 803</i></font><font face="Arial"><br>
</font>
<font style="font-size: 9pt;" face="Arial" size="2"><i>Londrina-
PR</i></font><font face="Arial"><br>
</font>
<font style="font-size: 9pt;" face="Arial" size="2"><i>Cep:
86015-010</i></font><br>
<br>
</p>
</td>
<td><img src="cid:part3.03070705.04080702@veltrac.com.br"
align="right" border="0" height="138" width="206"><br>
<br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>