PDA

View Full Version : problem with hostextinfo (icons)


jeancog84
08-06-2008, 02:42 PM
Hello,
I'm having problems in the import of my hostextinfo.cfg
My current file is thus for example:

# d-link-dsl-500g
define hostextinfo{
name d-link-dsl-500g

icon_image d-link-dsl-500g.gif
statusmap_image d-link-dsl-500g-bw.jpg

register 0
}

define hostextinfo{
use d-link-dsl-500g
host_name blabla

notes_url http://blabla/hostinfo/barara.html
}

after import to the centreon, my file is this:
define hostextinfo{
host_name blabla

notes_url http://blabla/hostinfo/barara.html
}

the images are no longer associated with the host, and he does not show in statusmap the images that I had already set in hostextinfo.

Is there any possibility of using this with centreon?

Thanks

Sorry for my translator's English.

mrcoffee
08-07-2008, 01:42 PM
Yes, this is a very important one. I also miss the serviceextinfo which I use to create a link to nagiosgrapher graphs that I have been collecting for a year now. I really would like to keep this data available in Nagios.


# ExtInfo for b4900-z1, ping
define serviceextinfo{
host_name b4900-z1
icon_image dot.png' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?host=b4900-z1&service=ping"><img src='/nagios/images/logos/graph.png'
service_description ping
}


# ExtInfo for b4900-z1, Brocade-4900-Status
define serviceextinfo{
host_name b4900-z1
icon_image dot.png' border="0"></a><A TARGET="_blank" HREF="graphs.cgi?host=b4900-z1&service=Brocade-4900-Status"><img src='/nagios/images/logos/graph.png'
service_description Brocade-4900-Status
}

YodaNC
08-08-2008, 11:38 AM
which version of centreon ?

jeancog84
08-08-2008, 03:14 PM
tested in 1.4.2.4 and 1.4.2.7 (actual)

jeancog84
08-12-2008, 08:20 PM
I do not understand, but is functioning now.

Thanks for attention.