serviceextinfo icons

Karoly VEGH karoly.vegh at gmail.com
Tue Apr 10 18:13:42 CEST 2007


2007/4/10, Max Hetrick wrote:
> Karoly VEGH wrote:
>
> > I understand that adding extra actions and features are nice features
> > to add per service, but it really isn't possible now to have a single
> > self-defined icon which directly links to an url?
>
> Sure, the action_url is just that. It just doesn't sound like it. If I
> understand you correctly, you want the icon to be linked directly to an
> outside URL...correct?
>
> I do that by the following:
>
> define serviceextinfo{
>         host_name               montemp
>         service_description     TEMP
>         notes_url               http://nagios/mrtg/monitor1_1.html
>         icon_image              graph.gif
>         icon_image_alt          Extended Info
>         }
>
> A little graph shows up beside my TEMP service which goes directly to my
> MRTG graphs when clicked on the icon.

Thanks, I recreated right now with the config you suggested:

root at meta:/opt/csw/nagios# cat etc/servers/serviceextinfo.cfg
define serviceextinfo{
       host_name               datapool
       service_description     / Free space
       notes_url
http://targethost/munin/domain.net/datapool.domain.net-df.html
       icon_image              graph.gif
       icon_image_alt          Extended Info
}
root at meta:/opt/csw/nagios#

This shows at me next to my "/ Free space" service 2 icons. One red
paperfolder, linking directly to the munin url, and the graph.gif
icon, linking to
http://nagios/nagios/cgi-bin/extinfo.cgi?type=2&host=datapool&service=%2F+Free+space

I'd prefer to have only the latter one, linking to the munin graphs url :)


wbr,

charlie

-- 
Karoly VEGH - Systemadministrator
SSETI - Students Space Exploration and Technology Initiative
INFRA Team - http://sseti.net
https://www.openbc.com/hp/Karoly_Vegh/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list