Additional image for action_url in host and service definitions patch

Wim Hoekman wim.hoekman at altium.com
Tue Jan 10 12:13:29 CET 2012


Bump!


On 2011-01-12 15:47, Wim Hoekman wrote:
> (I've submitted this patch about 2 years ago, but it wasn't considered
> 'feature complete' by then. And I didn't have the time to add the
> missing features, as I didn't use them myself. But here it is again, now
> complete)
>
> 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.
>
>
> 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 graph.gif
> action_image_alt View graphs
> }
>
> If the action_image is not defined, the default red "splat" icon is used.
>
> If action_image_alt is not defined, the default text "Perform additional
> actions" is used.
>
> I have also added the notes_image (as requested previously) and
> notes_image_alt keywords.
>
> Attached patch is made against 3.2.3, and is already running on my
> production Nagios servers.
>
> I would be very happy if this patch can be included in the next Nagios
> minor release. (probably 3.3.0 or something ?)
>
> Regards,
>
> Wim.
>
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
>
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev




More information about the Developers mailing list