Re: [Nagios-devel] Additional image for action_url in host and

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Additional image for action_url in host and

Post by Guest »

Wim Hoekman schrieb:
> Hello all,
>
> For some services my action_url is set to view performance
> data (graphs), while for other services the action_url is set to lead to
> an external webbased system to perform additional commands.
>
> To be able to see what action is to be performed in the Service Detail
> overview , I would like to be able to define different images for
> different actions.
>
> Some time ago (almost a year) I posted a request for this, but since
> then nothing happened.
>
> So, I decided to roll up my sleeves, and make the modifications myself.
>
> The attached patch adds the field 'action_image' to be defined for
> hosts, hostgroups, services, and service groups:
>
> define service {
> use template
> host_name host1
> service_description Load
> action_url http://....
> action_image action1.gif
> }
>
> If the action_image is not defined, the default red "splat" icon is used.
>
> Attached patch is made against 3.0.5, and is already running on my
> production Nagios server.
>
> I would be very happy if this patch can be included in the next Nagios
> release.

Hi Wim,
thank you very much for providing this patch.

I have tested this patch and everything work like a charm.

@Andreas
i think this patch is an candidate for Ethans patch queue.

Regards
Joerg






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked