serviceextinfo icons

Peter Ringe Peter.Ringe at web.de
Wed Apr 11 09:37:37 CEST 2007


Hi ,


There is a way, described in the Nagios Book "Pro Nagios 2.0: (Expert's 
Voice in Open Source)", by James Turnbull,  APress. It shows, how to 
have a direkt link to perfdata gathered with nagiosgraph, but with some 
changes it may work for your requirements aswell.
This method works with all 2.x Versions I have tried, even with 3.0a1. 
But be advised, this method isn't officailly supported and actually 
there ist an discussion how to handle html-tags of plugin-outputs and/or 
cgi-Input.





define serviceextinfo{
   host_name        pcmon1
   service_description    DISK_C
   icon_image        dot.png' border="0"></a><A TARGET="_blank" 
HREF="/nagiosgraph/show.cgi?geom=450x100&host=pcmon1&service=DISK_C" 
BORDER="0"><img src="/nagios/images/logos/graph.png" border="0"
}


(dot.png is an 'unvisible' png of 1x1-Pixel)

Peter

Max Hetrick schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Karoly VEGH wrote:
>   
>> 2007/4/10, Karoly VEGH <karoly.vegh at gmail.com>:
>>
>> It seems as if I wasn't the only one with this problem, see:
>>
>> http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?8442.post
>>
>> though there there isn't any solution posted either... could this be a
>> problem in 2.7?
>>
>>
>>     
>
>
> Hmm, not sure. I'm using 2.8. I have two icons as well, but one is
> pointing to the extended info page, and the definition I gave you as an
> example, is pointing directly to my graph page.
>
> I guess I've just never noticed the strange behavior. I also use host
> extended information which works too.
>
> Max
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
>
> iD8DBQFGG8bBHoeeepPau2ERAsvZAJsFhOmp9ADDF/MLnDCo3yNC4Ak5uwCgylF8
> m4AkXPPUK6Oozu1A1y1KaOc=
> =O9Od
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> 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
>
>   


-------------------------------------------------------------------------
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