nagios to mrtg

jeff vier boinger at tradingtechnologies.com
Thu Oct 20 00:08:07 CEST 2005


On Wed, 2005-10-19 at 14:55 -0700, Harper Mann wrote:
> Hi,
> 
> It's in nagios/share/side.html:

he said *not* in the sidebar.

You have to do some cgi hacking to include links on the status page.

> <tr>
>     <td width=13><img src="images/greendot.gif" width="13" height="14"
> name="notifications-dot"></td>
>     <td nowrap><a href="/nagios/cgi-bin/notifications.cgi?contact=all"
> target="main" onMouseOver="switchdot('notifications-dot',1)"
> onMouseOut="switchdot('notifications-dot',0)"
> class="NavBarItem">Notifications</a></td>
>   </tr>
>   <tr>
>     <td width=13><img src="images/greendot.gif" width="13" height="14"
> name="logfile-dot"></td>
>     <td nowrap><a href="/nagios/cgi-bin/showlog.cgi" target="main"
> onMouseOver="switchdot('logfile-dot',1)"
> onMouseOut="switchdot('logfile-dot',0)" class="NavBarItem">Event
> Log</a></td>
>   </tr>
> 
> Copy between <tr> and </tr> and duplicate for your MRTG entry, something
> like:
> 
>   <tr>
>     <td width=13><img src="images/greendot.gif" width="13" height="14"
> name="mrtg-dot"></td>
>     <td nowrap><a href="/mrtg/myhost.html" target="main"
> onMouseOver="switchdot(mrtg-dot',1)" onMouseOut="switchdot(mrtg-dot',0)"
> class="NavBarItem">MRTG</a></td>
>   </tr>
> 
> Good luck!
> 
> Regards,
> 
> - Harper
> 
> Harper Mann
> Groundwork
> 510-599-2075 (cell)
> 
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of Jun Li
> > Sent: Wednesday, October 19, 2005 2:51 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] nagios to mrtg
> > 
> > Hi,
> > 
> > Anyone can let me know how to put some link in the main frame not the side
> > bar,for example in service detail main frame in my nagios web site to link
> > to ../www/html/mrtg/myhost.html, so, for example, people can see the
> > charts
> > as well as can check mrtg log.
> > 
> > Thanks in advance,
> > JUn
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Power Architecture Resource Center: Free content, downloads, discussions,
> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > _______________________________________________
> > 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
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051019/3e6c1b68/attachment.sig>


More information about the Users mailing list