PDA

View Full Version : problem with hostextinfo (icons)


jeancog84
6th August 2008, 14:42
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
7th August 2008, 13:42
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
8th August 2008, 11:38
which version of centreon ?

jeancog84
8th August 2008, 15:14
tested in 1.4.2.4 and 1.4.2.7 (actual)

jeancog84
12th August 2008, 20:20
I do not understand, but is functioning now.

Thanks for attention.

xoroz
18th August 2009, 12:29
Hello all,
I know this is a old post, but I am current with version 2.0.2 and trying to make the icons work, and it does not work. Thru the configuration made it really easy to add an icon, even upload it. It gets displayed only in Nagio web interface.

THe other problem was when IMporting (>Nagios>Load) serviceextinfo.cfg
nothing gets imported at all! I have to manually add 400 links to my recently migrated server (from nagios to centreon), that is going to be a lot of work.

THe import could have a debug (log) or something were it would say why something does not get imported, or if some required field is not present.

anyone got icons working? anyone can import serviceextinfo or hostextinfo?

cheers,

xoroz
3rd December 2009, 17:44
version 2.1.3 same old problem...
has this ever worked?