Extended host cgi


#1

I have a 1.2 installation that does not have an extended host or service cgi files. My cgi.cfg-sample has lines that should be in the extended host and service cgi, however no directive to to define the cgi file.

I have attempted to define the use of image directly in the cgi.cfg file to no avail. I searched this faq on images, gd2, and logos without result. The installation documentation refers to files that do not exist in my /etc directory. Where should I look for answers?

Thank you.


#2

you have to define some files yourself,but there are templates for them,


#3

That of course makes perfect sense. Thank you for clearing my mindblock. Somewhere I read about a declaration that is required in the cgi.cfg file to recognize and read the extended information. I can no longer put finger on the command. Where can I find the reference to that command again?

Thank you for the quick repsonse.


#4

i’m not sure this is what you want… didi you check that during Configure nagios didn’t complain about missing GD libraries?

Luca


#5

I have to assume you meant hostextinfo.cfg and serviceextinfo.cfg. Those files are not needed. Use them, if you wish to move icons around on the maps, add pretty icons, etc.

[quote]
My cgi.cfg-sample has lines that should be in the extended host and service cgi, however no directive to to define the cgi file.[/quote]

again, I assume you are referring to the .cfg file’s and not cgi files.
The cgi-cfg-sample does NOT have any lines that should be in other .cfg files. Now that does not mean that you didn’t add them. If you have added some lines, then don’t do that.

[quote]
I have attempted to define the use of image directly in the cgi.cfg file to no avail. [/quote]

Why did you do this? I see nothing in the docs, that suggest’s that you can define icons in the cgi.cfg file. The icons and other pretty decorations are defined in the hostextinfo.cfg and serviceextinfo.cfg files.

[quote]
I searched this faq on images, gd2, and logos without result. The installation documentation refers to files that do not exist in my /etc directory. Where should I look for answers?
Thank you.[/quote]

What files exactly does the docs talk about, that you do not have? The only one I can think of is htpasswd.users and that is created when you setup authentication. Please elaborate.
There is nothing more important that the docs to find the answers to all of your questions thus far.