hostextinfo being ignored

carole verdon verdon at cict.fr
Tue Jul 6 15:03:22 CEST 2004


Hi,

I have already sent my problem the last week and nobody answer me.

I see my hosts in statusmap but when i want to use hostextinfo to add an 
image or coordinates, nothing happens.

And when i choose User-supplied coords in the layout method, it says to 
me that i have not supplied any.

I don't find solutions to solve it.

Do someone have an idea?

Here the post that i have been sent:


I use nagios 1.2 and nagmin 2.1.0 to configure hosts and services on 
solaris boxe.

I compiled nagios with mysql database support using the option 
--with-mysql-xdata.

I see my hosts in statusmap but when i want to use hostextinfo to add an 
image or coordinates, nothing happens.

I defined in table 'Host Extended Information' of Nagmin, those hosts 
without success:

  *Template* *Host Name* *Notes URL* *Icon Image* *Icon Image Alt* *VRML 
Image* *Statusmap Image* *2D Coordinates* *3D Coordinates* *Comment*

aurore.cict.fr
 sun40.gif Sun Server    sun.gd2



gw1-mail.cict.fr
  Mail Gateway     110,80


lambi.cict.fr
  NIS Server     100.0,50.0


telline.cict.fr
 hpux.png HPUX Server    hpux.gif 100,60


vae.cict.fr
 linux40.jpg Linux Server    linux40.png 50,10



I have got serveral problems:

1. The gd2 images don't appear.
If i execute ldd statusmap.cgi, it find the gd library
        libmysqlclient.so.10 =>  
/usr/local/mysql/lib/mysql/libmysqlclient.so.10
        libgd.so.2 =>    /usr/local/lib/libgd.so.2
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libz.so =>       /usr/local/lib/libz.so
        libm.so.1 =>     /usr/lib/libm.so.1
        libpng.so.3 =>   /usr/local/lib/libpng.so.3
        libjpeg.so.62 =>         /usr/local/lib/libjpeg.so.62
        libc.so.1 =>     /usr/lib/libc.so.1
        libz.so.1 (SUNW_1.1) =>  (version not found)
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libXpm.so.4.11 =>        /usr/local/lib/libXpm.so.4.11
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libfreetype.so.6 =>      /usr/local/lib/libfreetype.so.6
        libpng12.so.0 =>         /usr/local/lib/libpng12.so.0
        libz.so.1 (SUNW_1.1) =>  (version not found)
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libz.so.1 (SUNW_1.1) =>  (version not found)
        /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

I have even made this command: crle -l /usr/lib:/usr/local/lib, but that 
didn't change nothing

# crle

Configuration file [3]: /var/ld/ld.config
  Default Library Path (ELF):   /usr/lib:/usr/local/lib
  Trusted Directories (ELF):    /usr/lib/secure  (system default)

Command line:
  crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib

2. I create a new gd2 image in /usr/local/nagios/share/images/logos : 
pngtogd2 sun40.png sun.gd2 0 1
When i wanted to choose this new image in the 'Statusmap Image' field of 
nagmin, i didn't see it. I realized the directory that took into account 
was /opt/webmin/nagmin/images/logos. Why??????

3. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that 
extended informations of hosts are well created:
## NagMIN Configuration File 
(/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host
## Generated Thu Jul  1 17:31:44 2004
## NagMIN Configuration File 
(/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo
## Generated Thu Jul  1 17:31:44 2004
define hostextinfo {
    host_name    aurore.cict.fr
    icon_image    sun40.gif
    icon_image_alt    Sun Server
    statusmap_image    sun.gd2
}
define hostextinfo {
    host_name    telline.cict.fr
    icon_image    hpux.png
    icon_image_alt    HPUX Server
    statusmap_image    hpux.gif
    2d_coords    100,60
}
define hostextinfo {
    host_name    vae.cict.fr
    icon_image    linux40.jpg
    icon_image_alt    Linux Server
    statusmap_image    linux40.png
    2d_coords    50,10
}
## NagMIN Configuration File 
(/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate
## Generated Thu Jul  1 17:31:44 2004

4. Another problem with nagmin is that if i want to modify coordinates 
of one host for example, that don't works. When i click on 'save' 
button, nothing changes.

5. I have a question. Is it possible in status map that one host becomes 
red when a service becomes critical or yellow when it becomes in warning?


I cannot any more what make. Can someone help me, please?

Thanks.

Carole.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun40.gif
Type: image/gif
Size: 1903 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment.gif>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment-0001.html>
-------------- next part --------------
gd2   ( ( ?    ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? uuz ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? UUZ ??? ??? ??? ||? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? UUZ ??? ??? JJ? ??? ??? xx} ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? TTY ??? ??? BB~ ==| HH? ??? ??? xx} ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? TTY ??? ??? DD? ``? ??? ``? BB ??? ??? ||? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? NNT ??? ??? BB~ gg? ??? ??? ??? xx? ==| ??? ??? uuz ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? NNT ??? ??? DD? HH? ??? ??? ??? ??? ??? {{? @@} ??? ??? uuz ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? JJN ??? ??? BB FF? TT? ??? ??? ??? ??? ??? ??? ??? ==| ??? ??? uuz ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? JJN ??? ??? BB PP? ??? rr? ??? ??? ??? ??? ??? ??? ??? ??? @@} ??? ??? nnr ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? FFJ ??? ??? @@} PP? ??? ??? ??? xx? ??? ??? ??? ??? ??? ??? ??? ??? BB ??? ??? sst ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? FFJ ??? ??? BB UU? ??? ??? ??? ??? ??? tt? ??? ??? ??? ??? ??? ??? ??? ii? @@} ??? ??? jjm ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? FFJ ??? ??? @@} NN? xx? ??? ??? ??? ??? ??? ??? tt? ??? ??? ??? ??? ??? ??? {{? PP? BB~ ??? ??? nnr ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? BBH ??? ??? BB PP? ??? ??? ??? ??? ??? ??? ??? ??? ??? tt? ??? ??? ??? ??? xx? ??? ??? UU? BB ??? ??? jjm ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? BBF ??? ??? BB~ NN? ??? ??? ??? rr? ??? ??? ??? ??? ??? ??? ??? tt? ??? ??? }}? ??? ??? ??? ??? TT? BB~ ??? ??? eei ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? @@B ??? ??? DD? NN? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ZZ? ww? ??? ??? ??? ??? ??? ??? UU? FF? ??? ??? eei ??? ??? ??? ??? ??? ??? ??? ??? @@B ??? ??? BB LL? ??? ??? ??? ??? ??? ??? ??? DD} nn? ??? ??? ??? ??? ??? UU? ??? ??? ??? ??? ??? ??? ??? ZZ? DD BB ??? ??? ``e ??? ??? ??? ??? ??? ??? ==@ ??? ??? DD? LL? ??? ??? ??? ??? ??? ??? ??? nn? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? {{? ??? ??? ss? DD? ??? ??? ``e ??? ??? ??? ??? @@B ??? ??? FF? JJ? ??? ??? ??? ??? ??? ??? ??? xx? ??? ??? ??? ??? jj? ??? ii? ??? ??? ??? ??? ??? ??? ??? {{? ??? ??? ??? ??? ee? BB ??? ??? eei ??? ??? TTT ??? ??? FF? @@} ??? ??? ??? ??? ??? ??? ??? xx? ??? ??? ??? ??? ??? xx? 55w ZZ? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? =={ FF? ??? ??? ??? ??? ==@ ??? ??? NN? ==| ??? ??? ??? ??? ??? ??? xx? ??? ??? ??? ??? ??? ??? ``? LL? ZZ? ??? ??? ??? ??? ??? }}? ??? ??? ??? ??? ??? ??? ??? ;;z ??? ??? BBH ??? ??? ???  ??? ??? NN? HH? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? ??? ??? HH? ??? ??? BBH ]]] ??? ??? ??? nnr  ??? ??? UU? FF? xx? tt? nn? ??? ??? ??? ??? ??? ??? }}? ??? ??? ??? ??? ??? ee? xx? nn? ??? ??? ??? ??? ??? ??? ??? FF? ??? ??? BBF TTT ??? ??? ??? ??? ??? jjm  ??? ??? UU? ==| UU? ??? ??? ??? ??? ??? ??? ??? ..r ??? ??? ??? ??? ??? ??? ==| ??? ??? ??? ??? ??? ??? ??? FF? ??? ??? +++ ]]] ??? ??? ??? ??? ??? ??? ??? sst  xxx ??? UU? JJ? ??? ??? ??? ??? ??? ??? ??? ee? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? FF? ??? ??? ++3 sst ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ''' xxx ??? PP? FF? ??? ??? ??? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? ??? ??? nn? ??? ??? ??? FF? ??? ??? ++3 xxx ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ''' {{{ ??? PP? JJ? ??? ??? ??? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? ??? ??? ??? ??? FF? ??? ??? ++3 {{{ ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ''' ~~~ ??? NN? DD? nn? ??? ??? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? ??? ww? BB ??? ??? ..5 ~~~ ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ''' ~~~ ??? NN? LL? ??? ??? ??? ??? ??? ??? ??? ww? ??? ??? ??? ??? ??? NN? ??? ??? ..5 {{{ ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ''' ~~~ ??? NN? HH? ??? ??? ??? ??? ??? ??? ??? xx? ??? ??? ??? BB ??? ??? ..5 ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? +++ ??? ??? NN? JJ? ??? ??? ??? ??? ??? ??? ??? gg? ??? TT? ??? ??? 55; ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? +++ ??? ??? LL? JJ? ??? ??? ??? ??? ??? ??? UU? ;;z ??? ??? 55; ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ..3 ??? ??? LL? JJ? ??? ??? ??? ??? ??? DD ??? ??? 55; ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? +++ ??? ??? JJ? JJ? ??? ??? ??? HH? ??? ??? ;;B ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? 555 ??? ??? NN? BB~ BB~ ;;z ??? ??? ;;B ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ..3 ??? ??? NN? @@} ??? ??? ;;B ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? 555 ??? ??? ii? ??? ``e ~~~ ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? 555 ??? ??? eei jjm ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? TTT TTY ||} ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpux.png
Type: image/png
Size: 662 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpux.gif
Type: image/gif
Size: 1097 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux40.jpg
Type: image/jpeg
Size: 1666 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux40.png
Type: image/png
Size: 1972 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040706/255a7892/attachment-0001.png>


More information about the Users mailing list